General > Developers Corner

PermaBan v1.0

<< < (2/3) > >>

Caustic Soda-Senpai:
So it's a misleading name. Should be called permban

Livaco:

--- Quote from: syst3M4TiK on April 04, 2015, 10:17:49 AM ---So it's a misleading name. Should be called permban

--- End quote ---
And That's The New Name, Il Update It Thx

Buzzkill:
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?





Livaco:

--- Quote from: Buzzkill-THABB 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"   ?

--- End quote ---
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

Buzzkill:

--- Quote from: Livaco on April 04, 2015, 11:01:59 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

--- End quote ---

Then.... why?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version