Permissions and commands
This is an exhaustive list of all commands and permissions that exist in UnderscoreEnchants.
Preamble
All the commands here are subcommands of the central command /ue (e.g. /ue debug). Alternative variants of /ue are /underscoreenchants, /uenchants, /underscoree, /uenchs and /underscoreenchs.
If an argument is enclosed in angle brackets ("<>"), it's required; if it's enclosed in square brackets ("[]"), it is optional.
If a value has the pipe separator ("|"), it means that this argument can take one of these specific values.
The commands will fallback to a help message or an error message if a mandatory argument is missing.
Commands
/ue help
Info
This command is the help command and the fallback command. Any unknown command (a subcommand for /ue that is not recognized by the plugin) will fall back to this command.
Permission: uench.help (default: op)
/ue debug
Info
This command is used for debugging the current state of the plugin. Mostly used for development and troubleshooting purposes.
Aliases: /ue dbg, /ue deb
Variants:
/ue debug registry|reg|register: outputs the current generalized state of the registry (amount of registered content). If followed up by a specific registrable type (actions|applicables|conditions|indicators|placeholders|seekers|triggers), instead outputs general information about every registrable of that type./ue debug log|makelog|logfile|createlog: creates a log file in the data folder's subdirectorylogs. The log file contains general information about the server, the registry and loaded worlds./ue debug enchantment|ench <enchantment name>: outputs debug information about this specific enchantment.
Permission: uench.debug (default: op)
/ue enchant
Info
This command is used to enchantment an item that the player is currently holding. This command should ALWAYS be used instead of the /minecraft:enchant or /essentials:enchant or any other enchant command you have.
Aliases: /ue ench, /ue e
Arguments: <enchantment> <level> [player] [bypass]
- The
<enchantment>argument should be the name of any loaded enchantment, vanilla or custom - The
<level>argument should be the enchantment level, confined in the enchantment's level bounds - The
[player]argument is the online player whose item in hand should be enchanted - The
[bypass]argument is a valuetrue|falsewhich specifies whether to bypass conflicts and applicability for this enchantment (e.g. for combining Protection and Projectile Protection, or putting Sharpness on a bow)
Permissions:
- For enchanting one's own item in hand,
uench.enchant(default: op) - For enchanting somebody else's item in hand,
uench.enchant.other(default: op)
/ue toggle
Info
This command is used to toggle the enchantment personally (if a player toggles off an enchantment, it will not activate for them). Note that you can only toggle custom enchantments, not vanilla.
Aliases: /ue t
Arguments: <enchantment> [player]
- The
<enchantment>argument should be the name of any loaded custom enchantment - The
[player]argument is the online player for whom to toggle the enchantment
Permissions:
- For toggling enchantments for oneself,
uench.toggle(default: op) - For toggling enchantments for somebody else,
uench.toggle.other(default: op)
/ue locale
Info
This command is used for changing the player's personal localization. This command will not have any effect if players-can-change-locales is set to false in the configuration.
Aliases: /ue language, /ue lang, /ue l
Arguments: <locale> [player]
- The
<locale>argument should be the name of any loaded locale - The
[player]argument is the online player for whom to change the locale
Permissions:
- For changing one's own locale,
uench.locale(default: op) - For changing somebody else's locale,
uench.locale.other(default: op)
/ue reload
Info
Reloads the plugin's configurations, registry and saves the data to the storage medium.
Aliases: /ue rl, /ue r
Permission: uench.reload (default: op)
/ue browse
Info
Opens the GUI for browsing content from the repository for the respective type of content.
Aliases: /ue br
Arguments: <enchs|packs|locales>.
Permissions:
- For /ue browse enchs, the permission is uench.browse.enchants (default: op)
- For /ue browse packs, the permission is uench.browse.packs (default: op)
- For /ue browse locales, the permission is uench.browse.locales (default: op)
/ue browsepacks
Info
A shorthand for /ue browse packs.
Aliases: /ue bp, /ue brp
Permission: uench.browse.packs (default: op)
/ue browseenchs
Info
A shorthand for /ue browse enchs.
Aliases: /ue be, /ue bre, /ue browseenchantments, /ue browseenchants
Permission: uench.browse.enchants (default: op)
/ue browselocales
Info
A shorthand for /ue browse locales.
Aliases: /ue bl, /ue brl
Permission: uench.browse.locales (default: op)
/ue download
Info
Downloads content from the repository.
Aliases: /ue do, /ue down, /ue dnl, /ue dw
Arguments: <type> <id> [load]
- The
<type>argument takes one of these values:pack|ench|locale(only the first letter matters) - The
<id>argument is the ID of the content you want to download - The
[load]argument is atrue|falsevalue which indicates whether to immediately load the enchantment after downloading (defaults totrue)
Permissions:
- For
/ue dw pack, the permission isuench.download.pack(default: op) - For
/ue dw ench, the permission isuench.download.enchantment(default: op) - For
/ue dw locale, the permission isuench.download.locale(default: op)
/ue load
Info
Loads content from the data folder.
Aliases: /ue lo
Arguments: <type> <filename>
- The
<type>argument takes one of these values:pack|ench|locale(only the first letter matters) - The
<filename>argument is the full name of the file you want to load without the subdirectoryenchantmentsorlocales
Permissions:
- For /ue load pack, the permission is uench.load.pack (default: op)
- For /ue load ench, the permission is uench.load.enchantment (default: op)
- For /ue load locale, the permission is uench.load.locale (default: op)
/ue unload
Info
Unloads content from the plugin.
Aliases: /ue unlo, /ue unl, /ue un, /ue ul, /ue u
Arguments: <type> <name>
- The
<type>argument takes one of these values:pack|ench|locale(only the first letter matters) - The
<name>argument is the name of whatever you want to unload
Permissions:
- For /ue unload pack, the permission is uench.unload.pack (default: op)
- For /ue unload ench, the permission is uench.unload.enchantment (default: op)
- For /ue unload locale, the permission is uench.unload.locale (default: op)