public interface HandleTS3Events
| Modifier and Type | Method and Description |
|---|---|
String |
botChatCommandHelp(String command)
Return the help text of the given chat command or
null if the given chat command does not exist. |
String[] |
botChatCommandList(HashMap<String,String> eventInfo,
boolean isFullAdmin,
boolean isAdmin)
Return a list of chat commands as String array for this client or
null if there are no chat commands. |
boolean |
handleChatCommands(String msg,
HashMap<String,String> eventInfo,
boolean isFullAdmin,
boolean isAdmin)
This method will be called by the bot, if a chat command for this plugin was received.
|
void |
handleTS3Events(String eventType,
HashMap<String,String> eventInfo)
If the plugin is registered for receiving Teamspeak 3 channel or server events, this function will be called after receiving an event.
|
String botChatCommandHelp(String command)
null if the given chat command does not exist.command - Chat commandString[] botChatCommandList(HashMap<String,String> eventInfo, boolean isFullAdmin, boolean isAdmin)
null if there are no chat commands.eventInfo - Information about the client who asked for the chat command list.isFullAdmin - true if client is a bot full admin.isAdmin - true if client is a bot admin.boolean handleChatCommands(String msg, HashMap<String,String> eventInfo, boolean isFullAdmin, boolean isAdmin)
msg - The received chat commandeventInfo - Information about the client sending that chat commandisFullAdmin - true if client is a bot full admin.isAdmin - true if client is a client bot admin.true if the chat command was valid and the plugin was enabled, false if not.void handleTS3Events(String eventType, HashMap<String,String> eventInfo)
notifyserveredited - Server properties was editednotifycliententerview - Client join servernotifyclientleftview - Client left servernotifyclientmoved - Client was moved or switched channelnotifychannelcreated - Channel was creatednotifychanneledited - Channel properties was editednotifychanneldeleted - Channel was deletedeventType - Event type, look description above.eventInfo - HashMap with information about the event and who triggered it.JTS3ServerMod_Interface.addTS3ChannelEvent(Object),
JTS3ServerMod_Interface.addTS3ServerEvent(Object)