Skip to content

Commands and Permissions

Konicai edited this page Jan 14, 2023 · 7 revisions

The root command and permission prefixes are slightly different on each platform. The root command can be changed by setting root-command in config.yml.

Default root commands:

  • Spigot: forms
  • BungeeCord: formsb
  • Velocity: formsv

Permissions prefixes:

  • Spigot: crossplatforms
  • Velocity: crossplatformsvelocity
  • BungeeCord: crossplatformsbungee

The following information was created with the Spigot root command and permission prefix, but can be easily adapted for other platforms:

Commands

Command Permission Description
forms crossplatforms.command.base Access to the root command
forms help crossplatforms.command.help See commands you have permission to run
forms list crossplatforms.command.list See forms and menus you have permission to open with the open command
forms open crossplatforms.command.open Open a form or menu
forms send crossplatforms.command.send Make another player open a form or menu
forms give crossplatforms.command.give Give an access item to yourself
forms give crossplatforms.command.give.others Give an access item to another player
forms identify crossplatforms.command.identify Determine if a player is from Bedrock Edition
forms version crossplatforms.command.version See version information
forms reload crossplatforms.command.reload Reload the configuration

Forms and Menus

<identifier> is the identifier of the form or menu.

On Spigot servers and BungeeCord/Velocity servers with LuckPerms installed, these permissions will be automatically set from permission-defaults of the form/menu.
See Common Interface Members for more information.

Forms:

Permission Description
crossplatforms.form.<identifier>.use The minimum requirement to use this form
crossplatforms.form.<identifier>.command Ability open or send this form use the open or send command

Menus:

Permission Description
crossplatforms.menu.<identifier>.use The minimum requirement to use this menu
crossplatforms.menu.<identifier>.command Ability open or send this menu use the open or send command

Access Items (Spigot only)

<identifier> is the identifier of the access item.

These permissions will be automatically set from permission-defaults in the access item and global-permission-defaults in access-items.yml

Permission Description
crossplatforms.item.<identifier>.possess Have and receive the item in your inventory
crossplatforms.item.<identifier>.event Get the item from its defined events
crossplatforms.item.<identifier>.command Give yourself or others the item with the give command
crossplatforms.item.<identifier>.drop Drop the item from your inventory
crossplatforms.item.<identifier>.preserve Stop the item from being automatically destroyed when it is dropped
crossplatforms.item.<identifier>.move Move the item within your inventory and to other inventories