Ulysses
General => Off-Topic => Topic started by: dbodz on November 26, 2014, 09:25:13 AM
-
I've been involved with a few servers over the past few years whereby admins have gone 'fudge this' and banned everyone from the server.
I would like to make a way to stop this so when they type '!ban *' or use the console command 'ulx ban *', it has no effect and instead bans the person that uses it.
Now I'm just not sure where to start for this one.
Is it possible?
Thanks a ton,
~DBodz.
-
I'm 99% sure that stock ULX doesn't allow "ulx ban *" or "!ban *" from being used at all - Even as a superadmin.
-
I'm 99% sure that stock ULX doesn't allow "ulx ban *" or "!ban *" from being used at all - Even as a superadmin.
I'm 100% sure that ulx ban requires a PlayerArg, not a PlayersArg. So, yes– ulx ban * is not possible unless modified to do so.
-
Decicus and Bytewave are correct. This is already not possible. In short, happy we could help you! ;)
-
And to answer the second part of your question. ULib has hooks called when ULX commands are run that could be programmed to look for "ulx ban *" and ban calling player.
Team Ulysses likely won't do it for you, but, it would be a great chance for you to 1) learn Lua. 2) Learn ULib 3) Learn Ulib construct and program it yourself.
Ask for assistance/tips in the Developers Corner section of the forum.