Repository navigation
Command Attributes
Every command consists of a few properties that define its appearance and how it can be used.
These properties are called Attributes.
Understanding how attributes work will allow you to create objects that work as you intend them to.
Here is a list of each currently supported attribute, and how it can be used.
-
Defines the functional name of the command.
Type:str|string-
helloworld
-
-
Defines the description that shows in autocomplete for the command.
Type:str|string-
Example command.
-
-
Argument structures that the command can have, which decide how it can be used.
Type:str|string-
/command ...args
For available argument types, see Endstone Built-In Types. -
/helloworld <message: str> <amount: int>
-
-
Names that can be substituted for the command.
Type:str|string-
hello
-
-
Permission ids that define who can use the command.
Type:str|string-
Available:
-
easyas.command.all- All players can use this. -
easyas.command.op- Only operators can use this.
?- To configure your own permissions, consider trying EasyAsPermissions. -
-
easyas.command.all
-
Available: