Posts: 565
Threads: 32
Joined: Jul 2012
Reputation:
0
Hey. Is there any chance to prevent player from using commands until he log in. Because while server is connecting and before login dialog if type /stats i get this: "You are banned from this server.". And when i restart and wait for login dialog everything is normal.
Thank you.
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
If you are using OnPlayerCommandText you can disable the whole rest of the OPCT (shortened). If you are using ZCMD or something, I am afraid that you will have to code in a check in every command or you can (maybe) use the #if statements. Normal if-statements don't work outside functions iirc.
Edit: Well, those were two fast responses xD