crwdns131109:0crwdne131109:0
crwdns131111:0:javadoc:crwdnd131111:0:javadoc:crwdne131111:0
crwdns131113:0:javadoc:crwdne131113:0
import org.spongepowered.api.Sponge;
import org.spongepowered.api.command.CommandManager;
CommandManager cmdManager = Sponge.getCommandManager();
cmdManager.register(this, myCommandSpec, "alias1", "alias2", "alias3");
Note
crwdns131115:0crwdne131115:0
crwdns131117:0crwdne131117:0
cmdManager.process(player, "msg Notch hi notch!");
crwdns131119:0crwdne131119:0
cmdManager.process(Sponge.getServer().getConsole(), "kill Notch");