Poll

Was This Command Helpfull

Yes
2 (50%)
No
1 (25%)
Not As Mutch As I Expected
1 (25%)
Needs Fixing
0 (0%)

Total Members Voted: 4

Author Topic: PermaBan v1.0  (Read 7702 times)

0 Members and 1 Guest are viewing this topic.

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
PermaBan v1.0
« on: April 04, 2015, 07:28:20 AM »
PermaBan v1.0
PermaBan Is A Command I Created That Bans A Target Forvever. This Is A Useless Command Because Of The Infinate Time In Regular Ban.

Commands
ulx permaban
ulx.permaban
!permaban

How To Install
1. Download The Attachment At The Bottom
2. Extract The Folder To The Addon Folder (NOT THE .ZIP)
3. Close The File And Play With It Installed

Helpers

ZMaster
Aaron113
syst3M4TiK
MrPresident

Name Decider
syst3M4TiK

Thanks And Please Report Anay Errors That You Get

Do Not Under Anay Sercumstances Repost This And Claim It Yours
Livaco Products©


EDIT: You Can Use This Command In Singleplayer If You Want

v1.1 Is Out And Please Note That The Attachment Is Linked To That
« Last Edit: April 13, 2015, 02:34:30 AM by Livaco »
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: Ban-IP v1.0
« Reply #1 on: April 04, 2015, 07:35:35 AM »
I'm confused.... why is it called BanIP if the IP of the player is never used, called..or banned?
Once you get to know me, you'll find you'll have never met me at all.

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
Re: Ban-IP v1.0
« Reply #2 on: April 04, 2015, 08:06:43 AM »
I'm confused.... why is it called BanIP if the IP of the player is never used, called..or banned?
Theirs No Other Name I Could Think Of
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©

Offline XxLMM13xX

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: -51
  • New to lua development
    • Twitch
Re: Ban-IP v1.0
« Reply #3 on: April 04, 2015, 09:52:30 AM »
So there is no way to ban a ip you get? Only bans a player?

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
Re: Ban-IP v1.0
« Reply #4 on: April 04, 2015, 10:07:37 AM »
So there is no way to ban a ip you get? Only bans a player?
Basicley Yes.
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: Ban-IP v1.0
« Reply #5 on: April 04, 2015, 10:17:49 AM »
So it's a misleading name. Should be called permban
Once you get to know me, you'll find you'll have never met me at all.

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
Re: Ban-IP v1.0
« Reply #6 on: April 04, 2015, 10:27:09 AM »
So it's a misleading name. Should be called permban
And That's The New Name, Il Update It Thx
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: Ban-IP v1.0
« Reply #7 on: April 04, 2015, 10:46:47 AM »
No offense, but this is exceptionally confusing.

"ulx banip" is already used by the ban by IP functionality of Cobalt77's fairly popular "Custom Commands" module, so you're running into the potential for collision here.

Beyond that, if this has nothing to do with banning by IP, how is this any different than "ulx ban <target name> 0"   ?

You listed the ULX folder structure incorrectly.  It should be garrysmod/addons/ULX/lua/ulx/modules/sh  (you missed the lua).  You should also avoid installing your modules directly into the ULX folder structure.  You should create the required ULX folder structure in your own addon folder (ie, /addons/permaban/lua/ulx/modules/sh), otherwise you create an unnecessary and potentially problematic dependency on the ULX addon folders.  What if someone clears out and re-installs ULX without remembering that he/she had to deploy your addon directly to the ULX folder?





« Last Edit: April 04, 2015, 11:01:59 AM by Buzzkill-THABB »

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
Re: Ban-IP v1.0
« Reply #8 on: April 04, 2015, 11:01:59 AM »
No offense, but this is exceptionally confusing.

"ulx banip" is already used by the ban by IP functionality of Cobalt77's fairly popular "Custom Commands" module, so you're running into the potential for collision here.

Beyond that, if this has nothing to do with banning by IP, how is this any different than "ulx ban <target name> 0"   ?
Oh Your Right. Its Permaban Anayway Now So Lets Hope That It Will Not Colide With It. Plus I Said its A Useless Command

EDIT: The Reson I Didn't Create A Folder As Its Own Addon Is Because 1. No Idea How 2. I Doint Know How To Add A Attachment Download
« Last Edit: April 04, 2015, 11:04:32 AM by Livaco »
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: Ban-IP v1.0
« Reply #9 on: April 04, 2015, 11:02:34 AM »
Oh Your Right. Its Permaban Anayway Now So Lets Hope That It Will Not Colide With It. Plus I Said its A Useless Command

Then.... why?

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
Re: Ban-IP v1.0
« Reply #10 on: April 04, 2015, 11:06:00 AM »
Then.... why?
What The Command Creatage. I Wanted To Get Into Lua And Post A Addon For ULX And I Had No Idea Of LUA At The Time So I Decided To Create A Useless Command That Bans Players Forever
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: PermaBan v1.0
« Reply #11 on: April 04, 2015, 01:08:23 PM »
Got it.  Just making sure I understood the intent.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: PermaBan v1.0
« Reply #12 on: April 04, 2015, 03:40:26 PM »
I'm glad you got into lua, but I'm a little confused as to why you felt the need to release something that can already be done with stock lua commands? Either way, I hope you continue to learn.

Offline XxLMM13xX

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: -51
  • New to lua development
    • Twitch
Re: PermaBan v1.0
« Reply #13 on: April 04, 2015, 04:25:05 PM »
I'm glad you got into lua, but I'm a little confused as to why you felt the need to release something that can already be done with stock lua commands? Either way, I hope you continue to learn.

I think i get it now! He made a command that we can now type !permaban <player> BECAUSE

Instead of doing !ban <player> 0 BECAUSE

THis is because typing a who 0 can be a lot of work... Just messing with ya cool command

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
Re: PermaBan v1.0
« Reply #14 on: April 12, 2015, 03:46:50 AM »
Ive Added A Attachment So That You Allredy Have The Files Sorted Out
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©