How to block some GM commands (?)
Hi y'all
I want to learn how to block some commands. It would be great if someone told me how to. I searched for a while before i made this thread.
Example,
I want to block some GM's to not spam items " /ci " To not shout out with " /sys " and i don't want they to teleport and summon and spam mobs. And ban, freeze these stuffs. Any idea how to block these?
Re: How to block some GM commands (?)
Re: How to block some GM commands (?)
Quote:
Originally Posted by
caja
FuncTextCmd.cpp
Thanks. But I would like to know, what i've to search for :- )
Re: How to block some GM commands (?)
Look for ON_TEXTCMDFUNC near the bottom. On the far right of each of those, is the AUTH level required to use the command.
Re: How to block some GM commands (?)
Quote:
Originally Posted by
ShadowDragon
Look for ON_TEXTCMDFUNC near the bottom. On the far right of each of those, is the AUTH level required to use the command.
Thanks mate. Now I learnt how to do this. And next time when someone is asking for this i'll help him out.