java.lang.Object
com.bencodez.votingplugin.commands.executers.CommandVote
All Implemented Interfaces:
org.bukkit.command.CommandExecutor

public class CommandVote extends Object implements org.bukkit.command.CommandExecutor
The Class CommandVote.
  • Constructor Details

    • CommandVote

      public CommandVote(VotingPluginMain plugin)
      Instantiates a new command vote.
      Parameters:
      plugin - the plugin
  • Method Details

    • getInstance

      public static CommandVote 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 interface org.bukkit.command.CommandExecutor