📄Commands and Permissions

AdvancedMiner plugin Commands and Permissions.

circle-info

The main command is /advancedminer.

It has several aliases, but the most recommended is to use /miner.

Help command

When using the command already mentioned above, different messages will be displayed depending on whether the user who used the command is Op or not. Both messages are configurable in the config.yml file in the plugin folder.

  messages_help_op:
    - "&f------&bCommands AdvancedMiner&f------"
    - " "
    - "&e- &7/advancerminer reload"
    - "&e- &7/advancedminer spawn"
    - "&e- &7/battery (add/set/remove) <player> <amount>"
    - "&e- &7/npcenchant <player> <enchant> <level>"
    - " "
  messages_help_default:
    - "&f------&dCommands Miner&f------"
    - " "
    - "&e- &7/miner spawn"
    - " "
    - "&7To open the Miner menu!"

Battery Command

Command to give, remove and configure the player's battery. Each message is configurable from the config.yml file.

circle-info

Usage: /battery (add/set/remove) <player> <amount>

The target_messages option is used to disable or enable the message for the player to whom the command was executed.

Enchantments Command

Command to set the level of an enchantment for a player.

circle-info

Usage: /npcenchant <player> <enchant> <level>

The buy section are the messages that appear when purchasing certain levels of an enchantment.

Permissions

Permission
Description

advancedminer.reload

Permission for the command to reload plugin files.

advancedminer.command.battery

Permission for the command to give batteries to the players.

advancedminer.command.enchants

Permission for the command to set the level of an enchantment for a player.

Last updated