Class CommandVote
java.lang.Object
com.bencodez.votingplugin.commands.executers.CommandVote
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
The Class CommandVote.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CommandVote
Gets the single instance of CommandVote.boolean
onCommand
(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, String label, String[] args)
-
Constructor Details
-
CommandVote
Instantiates a new command vote.- Parameters:
plugin
- the plugin
-
-
Method Details
-
getInstance
Gets the single instance of CommandVote.- Returns:
- single instance of CommandVote
-
onCommand
public boolean onCommand(org.bukkit.command.CommandSender sender, org.bukkit.command.Command cmd, String label, String[] args) - Specified by:
onCommand
in interfaceorg.bukkit.command.CommandExecutor
-