Posts: 117
Threads: 34
Joined: Nov 2014
Reputation:
0
Hi guys i need a code that bans the player if it write ! Or !text (something instead text) not like this blabla! And this code going to be in the onplayerconnect function
Posts: 1,241
Threads: 67
Joined: Dec 2013
Are you sure that you will ban any player that says "!" ? And I don't see how you will use it.
Posts: 920
Threads: 113
Joined: Nov 2009
Reputation:
0
You might want to warn players about this so you don't ban your whole playerbase
Posts: 117
Threads: 34
Joined: Nov 2014
Reputation:
0
No cheaters they use some commands like !attack and it restarting my server. I dont know how but i will block this commands. Like !%s
If i put this in onplayertext line it doesn't work because some bot spawner programs can write something without to need spawn i mean when they connect to the server..