Teach the API about Remote Consoles

This will allow us to raise events for remote consoles, and provide access
to them at a later date. Relates to BUKKIT-220

By: Andrew Ardill <andrew.ardill@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-12-07 16:37:35 +11:00
parent 1d06c840a4
commit a4a2fa8690
3 changed files with 18 additions and 3 deletions

View File

@@ -505,6 +505,12 @@ public abstract class Event implements Serializable {
* @see org.bukkit.event.server.ServerCommandEvent
*/
SERVER_COMMAND (Category.SERVER),
/**
* Called when a remote server command is called
*
* @see org.bukkit.event.server.ServerCommandEvent
*/
REMOTE_COMMAND(Category.SERVER),
/**
* Called when a map is initialized (created or loaded into memory)
*