Commands & Permissions
Commands & Permissions
This section details all available commands for EnchantCore-Premium and their associated permissions.
Player Commands
These commands are generally available to all players, though some might have specific permission nodes for access.
/tokensDescription: Checks your own token balance.
Usage:
/tokensPermission:
enchantcore.tokens.balance(Default: true)
/sellallDescription: Sells all items in your inventory that have a defined price in
autosell.yml.Usage:
/sellallPermission:
enchantcore.sellall(Default: true, as per your latestplugin.yml)
/toggleenchantmessagesAliases:
/tem,/togglemsg(as per your previousmessages.ymlstructure, may need to confirm aliases in premiumplugin.ymlif different)Description: Toggles enchantment activation messages for yourself.
Usage:
/toggleenchantmessagesPermission:
enchantcore.togglemessages.use(Default: true)
/toggleenchantsoundsAliases:
/tes,/togglesound(as per your previousmessages.ymlstructure, may need to confirm aliases in premiumplugin.ymlif different)Description: Toggles enchantment activation sounds for yourself.
Usage:
/toggleenchantsoundsPermission:
enchantcore.togglesounds.use(Default: true)
Admin Commands
These commands are intended for server administrators and typically require enchantcore.admin or specific sub-permissions.
Main Admin Command: /enchantcore
/enchantcoreAliases: /ec, /ecore (as per plugin.yml)
/enchantcore helpDescription: Displays a list of available admin subcommands for EnchantCore.
Permission:
enchantcore.admin(typically covers help) or a specificenchantcore.admin.help
/enchantcore reloadDescription: Reloads all EnchantCore configuration files (
config.yml,enchants.yml,pickaxe.yml,messages.yml,autosell.yml).Permission:
enchantcore.admin(or specific likeenchantcore.admin.reload)
/enchantcore give <player>Description: Gives the specified online player a default EnchantCore pickaxe based on
pickaxe.ymlsettings (including first join enchantments if defined and applicable, though usually a base pickaxe).Usage:
/enchantcore give <playerName>Permission:
enchantcore.admin(or specific likeenchantcore.admin.give)
/enchantcore givemax <player>Description: Gives the specified online player an EnchantCore pickaxe with all enabled enchantments set to their maximum levels as defined in
enchants.yml, and the pickaxe itself set to its maximum level defined inpickaxe.yml.Usage:
/enchantcore givemax <playerName>Permission:
enchantcore.admin(or specific likeenchantcore.admin.givemax)
/enchantcore setlevel <player> <level>Description: Sets the EnchantCore pickaxe level for the specified player (online or offline). This also updates their blocks mined count to the amount required to reach that level. If the player is online and holding an EnchantCore pickaxe, the item will be updated.
Usage:
/enchantcore setlevel <playerName> <levelNumber>Permission:
enchantcore.admin(or specific likeenchantcore.admin.setlevel)
/enchantcore addblocks <player> <amount>Description: Adds the specified amount of blocks to the player's (online or offline) total blocks mined count for their EnchantCore pickaxe. This can trigger level-ups. If the player is online and holding an EnchantCore pickaxe, the item will be updated.
Usage:
/enchantcore addblocks <playerName> <amount>Permission:
enchantcore.admin(or specific likeenchantcore.admin.addblocks)
Admin Token Commands: /tokens
/tokensAliases: /token, /tk (as per plugin.yml)
/tokens balance [player]Description: Checks the token balance. If
[player]is specified, checks that player's balance; otherwise, checks your own if you are a player.Usage:
/tokens balanceOR/tokens balance <playerName>Permissions:
enchantcore.tokens.balance(for own balance - Default: true)enchantcore.tokens.balance.others(to check other players - Default: op)
/tokens give <player> <amount>Description: Gives a specified amount of tokens to an online or offline player.
Usage:
/tokens give <playerName> <amount>Permission:
enchantcore.tokens.modify.give(Default: op)
/tokens take <player> <amount>Aliases:
/tokens remove <player> <amount>Description: Takes a specified amount of tokens from an online or offline player.
Usage:
/tokens take <playerName> <amount>Permission:
enchantcore.tokens.modify.take(Default: op)
/tokens set <player> <amount>Description: Sets an online or offline player's token balance to a specific amount.
Usage:
/tokens set <playerName> <amount>Permission:
enchantcore.tokens.modify.set(Default: op)
/tokens helpDescription: Shows help for the
/tokenscommand.Permission:
enchantcore.tokens.balance(or a general help permission if separate)
Permissions List
Below is a summary of permissions used by EnchantCore-Premium.
enchantcore.adminDescription: Grants access to all
/enchantcoreadmin subcommands and all/tokensadmin subcommands.Default:
op
enchantcore.gui.openDescription: Allows opening the EnchantCore GUI by right-clicking the pickaxe.
Default:
true
enchantcore.sellallDescription: Allows usage of the
/sellallcommand.Default:
true(as per your latestplugin.yml)
enchantcore.autosellDescription: Allows the AutoSell feature to function for the player (if enabled in
config.yml).Default:
true
enchantcore.autopickupDescription: Allows the AutoPickup feature to function for the player (if enabled in
config.yml).Default:
true
enchantcore.togglemessages.useDescription: Allows usage of the
/toggleenchantmessagescommand.Default:
true
enchantcore.togglesounds.useDescription: Allows usage of the
/toggleenchantsoundscommand.Default:
true
enchantcore.tokens.balanceDescription: Allows checking own token balance using
/tokensor/tokens balance.Default:
true
enchantcore.tokens.balance.othersDescription: Allows checking other players' token balances using
/tokens balance <player>.Default:
op
enchantcore.tokens.modify.*Description: Grants access to all token modification subcommands (
give,take,set).Default:
opChildren (auto-granted if parent is granted):
enchantcore.tokens.modify.give: trueenchantcore.tokens.modify.take: trueenchantcore.tokens.modify.set: true
enchantcore.tokens.modify.giveDescription: Allows giving tokens using
/tokens give <player> <amount>.Default:
op
enchantcore.tokens.modify.takeDescription: Allows taking tokens using
/tokens take <player> <amount>.Default:
op
enchantcore.tokens.modify.setDescription: Allows setting a player's token balance using
/tokens set <player> <amount>.Default:
op
(Note: Default values are based on typical Spigot plugin.yml configurations. "op" means server operators have it by default, "true" means all players have it by default, "false" means no one has it by default unless explicitly granted).
Last updated