Class VelocityHubCommand

java.lang.Object
eu.cloudnetservice.modules.bridge.impl.platform.velocity.commands.VelocityHubCommand
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 final class VelocityHubCommand 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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final PlatformBridgeManagement<com.velocitypowered.api.proxy.Player, ?>
     
    private final com.velocitypowered.api.proxy.ProxyServer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    VelocityHubCommand(@NonNull com.velocitypowered.api.proxy.ProxyServer server, @NonNull PlatformBridgeManagement<com.velocitypowered.api.proxy.Player, ?> management)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(@NonNull com.velocitypowered.api.command.SimpleCommand.Invocation invocation)
     
    suggest(@NonNull com.velocitypowered.api.command.SimpleCommand.Invocation invocation)
     

    Methods inherited from class Object

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

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

    hasPermission, suggestAsync
  • Field Details

    • proxyServer

      private final com.velocitypowered.api.proxy.ProxyServer proxyServer
    • management

      private final PlatformBridgeManagement<com.velocitypowered.api.proxy.Player, ?> management
  • Constructor Details

  • Method Details

    • execute

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

      @NonNull public @NonNull List<String> suggest(@NonNull @NonNull com.velocitypowered.api.command.SimpleCommand.Invocation invocation)
      Specified by:
      suggest in interface com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>