Permission

Restricts command execution to senders with the specified permission.

Can be applied to:

  • Classes: Restricts the entire command

  • Functions: Restricts a specific subcommand (when applied to build() methods)

Parameters

value

The permission node required to execute this command

Properties

Link copied to clipboard