Uses of Class
com.velocitypowered.api.event.command.CommandExecuteEvent.CommandResult
Packages that use CommandExecuteEvent.CommandResult
-
Uses of CommandExecuteEvent.CommandResult in com.velocitypowered.api.event.command
Methods in com.velocitypowered.api.event.command that return CommandExecuteEvent.CommandResultModifier and TypeMethodDescriptionCommandExecuteEvent.CommandResult.allowed()
Allows the command to be sent, without modification.Allows the command to be executed, but silently replaces the command with a different command.CommandExecuteEvent.CommandResult.denied()
Prevents the command from being executed.CommandExecuteEvent.CommandResult.forwardToServer()
Forwards the command to server instead of executing it on the proxy.CommandExecuteEvent.CommandResult.forwardToServer
(@NonNull String newCommand) Prevents the command from being executed on proxy, but forward command to server.CommandExecuteEvent.getResult()
Methods in com.velocitypowered.api.event.command with parameters of type CommandExecuteEvent.CommandResultModifier and TypeMethodDescriptionvoid
CommandExecuteEvent.setResult
(@NonNull CommandExecuteEvent.CommandResult result)