Class VotingPluginVelocityCommand

java.lang.Object
com.bencodez.votingplugin.bungee.velocity.VotingPluginVelocityCommand
All Implemented Interfaces:
com.velocitypowered.api.command.Command, com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>, com.velocitypowered.api.command.SimpleCommand

public class VotingPluginVelocityCommand extends Object implements com.velocitypowered.api.command.SimpleCommand
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.velocitypowered.api.command.SimpleCommand

    com.velocitypowered.api.command.SimpleCommand.Invocation
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(com.velocitypowered.api.command.SimpleCommand.Invocation invocation)
     
    boolean
    hasPermission(com.velocitypowered.api.command.SimpleCommand.Invocation invocation)
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.velocitypowered.api.command.InvocableCommand

    suggest, suggestAsync
  • Constructor Details

  • Method Details

    • execute

      public void execute(com.velocitypowered.api.command.SimpleCommand.Invocation invocation)
      Specified by:
      execute in interface com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
    • isInt

      public boolean isInt(String st)
    • hasPermission

      public boolean hasPermission(com.velocitypowered.api.command.SimpleCommand.Invocation invocation)
      Specified by:
      hasPermission in interface com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>