View Single Post
Doodil
Senior Member
Join Date: Mar 2012
Old 04-04-2012 , 11:54   Re: !donators help (Basic Donator Interface)
Reply With Quote #4

atm it doesn't do anything since you weren't too specific what you want to happen, it just shows were you would have to add your code.

The hiding part is wether you return "Plugin_Continue" or "Plugin_Handled", if you return "Plugin_Continue" then you tell the server to proceed with the command (in this case showing the message to the chat), when you return "Plugin_Handled" you tell the server that you took care of that and that it no longer needs to take care of message (didn't test it myself and I just hope that "return Plugin_Handled" blocks messages when used with "say/say_team" and the command listener [according to the api it should block it, but it doesn't work for all commands yet])
Doodil is offline