Skip to main content

Commands and Permissions

This document lists all basic commands and their corresponding permission nodes for the BellCommand plugin.

1. Basic Commands

CommandDescriptionPermission Node
/bcShow plugin help informationNone
/bc reloadReload plugin configuration (including all item files)bellcommand.reload
/bc give <player> <item_id> [amount]Give a specified command item to a playerbellcommand.give
/bc listList all currently loaded command itemsbellcommand.list

2. Permission Descriptions

Admin Permissions

  • bellcommand.reload: Allows executing the reload command.
  • bellcommand.give: Allows executing the give item command.
  • bellcommand.list: Allows viewing the list of loaded items.

Item Usage Permissions

In the item configuration files, you can set a permission node for each item individually.

  • If a permission is set, players must have that permission to trigger the item's commands.
  • If no permission is set, all players can use it.

3. Example Scenario

If you want players to only be able to use an item named magic_wand, you can set it in commands.yml:

items:
magic_wand:
item-id: STICK
permission: "myplugin.magic"
# ... other configs

Then grant the player the myplugin.magic permission.