Class RunCommandAction
java.lang.Object
net.md_5.bungee.api.dialog.action.RunCommandAction
- All Implemented Interfaces:
Action
Executes a command. If the command requires a permission higher than 0, a
confirmation dialog will be shown by the client.
-
Constructor Summary
ConstructorsConstructorDescriptionRunCommandAction(@NonNull String template) Creates a newRunCommandActioninstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()@NonNull Stringtemplate()The template to be applied, where variables of the form$(key)will be replaced by theirDialogInput.keyvalue.The template to be applied, where variables of the form$(key)will be replaced by theirDialogInput.keyvalue.toString()
-
Constructor Details
-
RunCommandAction
Creates a newRunCommandActioninstance.- Parameters:
template- The template to be applied, where variables of the form$(key)will be replaced by theirDialogInput.keyvalue.
-
-
Method Details
-
template
The template to be applied, where variables of the form$(key)will be replaced by theirDialogInput.keyvalue. -
template
The template to be applied, where variables of the form$(key)will be replaced by theirDialogInput.keyvalue.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-