0

added 'empty' commands (e.g /stop)

This commit is contained in:
NEMESIS13cz
2016-11-19 16:56:48 +01:00
parent 5358030f8d
commit cbe402fc73
6 changed files with 118 additions and 57 deletions

View File

@@ -17,6 +17,12 @@ public class CmdMgrTest extends JavaPlugin {
}
@Command(hook="home_empty")
public boolean executeHomeNull(CommandSender sender) {
sender.sendMessage("You executed an empty /home");
return true;
}
@Command(hook="home_set")
public boolean executeSetHome(CommandSender sender, String name) {
sender.sendMessage("You executed:");