Class AdminCommands
java.lang.Object
dev.despical.whackme.command.CommandCategory
dev.despical.whackme.command.AdminCommands
-
Field Summary
Fields inherited from class CommandCategory
arenaManager, arenaRegistry, chatManager, plugin, userManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhelpCommand(Arguments arguments) voidkickCommand(User user, Arguments arguments) voidmainCommand(Arguments arguments) voidreloadCommand(Arguments arguments) voidstopCommand(Arguments arguments)
-
Constructor Details
-
AdminCommands
public AdminCommands()
-
-
Method Details
-
mainCommand
@Command(name="whackme", aliases="wm", fallbackPrefix="thewhackme", usage="/whackme help", desc="Main command of the Whack Me.") public void mainCommand(Arguments arguments) -
reloadCommand
@Command(name="whackme.reload", aliases="wm.reload", permission="whackme.admin.reload", usage="/%label% reload", desc="Reloads configuration files.") public void reloadCommand(Arguments arguments) -
stopCommand
@Command(name="whackme.stop", aliases="wm.stop", permission="whackme.admin.stop", usage="/%label% stop [arena]", desc="Stops the current or specified arena game.", max=1) public void stopCommand(Arguments arguments) -
helpCommand
@Command(name="whackme.help", aliases="wm.help", permission="whackme.command.help", usage="/%label% help") public void helpCommand(Arguments arguments) -
kickCommand
@Command(name="whackme.kick", aliases="wm.kick", permission="whackme.admin.kick", usage="/%label% kick <player>", desc="Removes a player from their active Whack Me game and teleports them to the arena's end location.", min=1, max=1, senderType=PLAYER) public void kickCommand(User user, Arguments arguments)
-