Universal Perms
Have you ever encountered a situation where a server mod doesn't provide permission nodes for its commands? Have you faced issues with being unable to block access to the root command of certain mods? This mod solves these and many other permission-related problems.
How to Use
First, you'll need to install a mod for permission management. LuckPerms works great for this task, but Player Roles will also do the job. Before starting to use it, it's recommended to log into the server once so the permission system recognizes all available nodes - this will simplify their configuration through the web editor.
The mod provides two types of permissions for each command: universal_perms.use and universal_perms.view. The first permission allows overriding the command's standard requirements - users with it set to true will be able to execute the command, while those with false will be denied access. The second type is useful when you need to hide command autocompletion but preserve its functionality for macros or other purposes.
For all standard Minecraft commands (including even execute), subcommands and arguments are displayed as separate subnodes. For example, to disable the use of /help <command> while keeping /help available, use the universal_perms.use.help.command node. Unfortunately, this doesn't work with mods that use their own subcommand system.
Additional Permissions
Besides commands, the mod adds permission nodes for other functions:
universal_perms.misc.selector- using selectors like@aand@e(in vanilla game requires permission level 2)universal_perms.misc.query_block_nbt- querying block data from the server when using F3 + Iuniversal_perms.misc.query_entity_nbt- same as above, but for entitiesuniversal_perms.misc.update_difficulty- changing game difficulty through the pause menuuniversal_perms.misc.update_difficulty_lock- changing difficulty lock statusuniversal_perms.misc.use_admin_blocks- access to administrative tools like command blocks and debug sticks
There's also a meta-node universal_perms.misc.forced_permission_level that sets a standard Minecraft permission level for the player. These levels are used as default values for all checks added by the mod and cover most permission checks.
Features and Limitations
- The
viewpermission takes priority overusewhen sending available commands to the client, which can create situations where a command is visible but unusable. - Command aliases for other commands may behave unexpectedly if their target is blocked or hidden. Here's a list of standard aliases to watch out for:
tell/w→msg,tp→teleport,xp→experience,tm→teammsg. - Compatibility with other mods is not guaranteed if they add their commands later than usual or modify their requirements after Universal Perms.