Interface SimpleCommand
- All Superinterfaces:
io.papermc.paper.command.brigadier.BasicCommand
- All Known Implementing Classes:
CommandGroup
public interface SimpleCommand
extends io.papermc.paper.command.brigadier.BasicCommand
Interface for creating simple commands that extend Paper's BasicCommand.
This interface provides a simplified way to create commands with automatic registration.
-
Method Summary
Methods inherited from interface io.papermc.paper.command.brigadier.BasicCommand
canUse, execute, permission, suggest
-
Method Details
-
getName
String getName()Gets the name of the command. This is used for command registration and execution.- Returns:
- the command name
-
usage
-