Finalising merge with head

By: stevenh <steven.hartland@multiplay.co.uk>
This commit is contained in:
Bukkit/Spigot 2011-01-29 17:28:31 +00:00
parent c736e00b8c
commit e56db60b83
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,19 @@
package org.bukkit.command;
public interface CommandSender {
/**
* Sends this sender a message
*
* @param message Message to be displayed
*/
public void sendMessage(String message);
/**
* Checks if this player is currently op
*
* @return true if they are
*/
public boolean isOp();
}

View File

@ -0,0 +1,13 @@
package org.bukkit.event.server;
import org.bukkit.event.Event;
/**
* Server Command events
*/
public class ServerCommandEvent extends Event {
public ServerCommandEvent(final Type type) {
super(type);
}
}

View File

@ -0,0 +1,12 @@
package org.bukkit.plugin;
import org.bukkit.event.Event;
import org.bukkit.event.Listener;
/**
* Interface which defines the class for event call backs to plugins
*/
public interface IExecutor {
public void execute( Listener listener, Event event );
}