Class DemoCommand
java.lang.Object
me.agent.vgui.core.demo.DemoCommand
- 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 DemoCommand
extends Object
implements com.velocitypowered.api.command.SimpleCommand
/vgui opens a live tour of layouts, pagination, animation, dynamic updates,
navigation history, sounds, and anvil text input. The command also serves as example
code for plugin authors.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.velocitypowered.api.command.SimpleCommand
com.velocitypowered.api.command.SimpleCommand.Invocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(com.velocitypowered.api.command.SimpleCommand.Invocation invocation) booleanhasPermission(com.velocitypowered.api.command.SimpleCommand.Invocation invocation) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.velocitypowered.api.command.InvocableCommand
suggest, suggestAsync
-
Constructor Details
-
DemoCommand
public DemoCommand()
-
-
Method Details
-
execute
public void execute(com.velocitypowered.api.command.SimpleCommand.Invocation invocation) - Specified by:
executein interfacecom.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
-
hasPermission
public boolean hasPermission(com.velocitypowered.api.command.SimpleCommand.Invocation invocation) - Specified by:
hasPermissionin interfacecom.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
-