'LinKin Posted September 28, 2014 Posted September 28, 2014 Hello, I've edited admin resource. I removed the commands ban, mute, kick, shout. I removed them at admin_server.lua inside the "aPlayer" event. It works, whenever I type /mute linkin it doesn't work. But, when I type for example /mute linka it shows "Error: 'linka' matches no players' I searched in EVERY file of the admin resource and I didn't find any other place where commands ban, mute, kick, shout were implemented.. As I've another script that gets a player from a part of his nick, the server is showing me two errors when I try to mute/ban/kick a player that is not in the server. I don't really know why these commands are still 'called' inside the admin resource, could someone give me a hint? Thanks Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
King12 Posted September 28, 2014 Posted September 28, 2014 go to /admin/conf/commands.xml and remove these lines "kick" call="kick" args="P,s" /> "ban" call="ban" args="P,s,i" /> "mute" call="mute" args="P,s,i" />
'LinKin Posted September 28, 2014 Author Posted September 28, 2014 OMG! I didn't think those files contained this info. Thanks a lot!. It has worked ! Need a clanwar script? Click here! Do you want some free scripts for your DD server? Visit my website.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now