-
Notifications
You must be signed in to change notification settings - Fork 0
Permissions
Elite Holograms features an advanced permission system that allows server administrators to control who can use its commands. It integrates with popular permission management mods and provides a fallback for servers without them.
Elite Holograms will automatically detect and integrate with the following permission mods if they are present on your server:
- LuckPerms
- FTB Ranks
If neither of these mods is detected, Elite Holograms will default to requiring Operator (OP) status (level 2) for all its commands.
All permission nodes for Elite Holograms start with the base eliteholograms. followed by a specific command or category.
Here is a list of all available permission nodes:
-
eliteholograms.create- Allows creating new holograms.
- Covers commands:
/eh create,/eh copy.
-
eliteholograms.delete- Allows deleting existing holograms.
- Covers command:
/eh delete.
-
eliteholograms.edit- Allows modifying existing holograms (their text content and position).
- Covers commands:
/eh addline,/eh setline,/eh insertline,/eh removeline,/eh movehere.
-
eliteholograms.list- Allows listing all holograms on the server.
- Covers command:
/eh list.
-
eliteholograms.info- Allows viewing detailed information about a specific hologram.
- Covers command:
/eh info.
-
eliteholograms.near- Allows listing holograms near the player's current location.
- Covers command:
/eh near.
-
eliteholograms.teleport- Allows teleporting to a hologram's location.
- Covers command:
/eh teleport.
-
eliteholograms.admin- Grants access to administrative commands for the mod.
- Covers command:
/eh reload. - Note: It is generally recommended to give this node only to trusted server administrators.
-
eliteholograms.*(Wildcard)- Grants all Elite Holograms permissions. Use with caution, typically only for admin roles.
- Console: The server console always has full permission to execute all Elite Holograms commands.
- Command Blocks: Command blocks also have full permission to execute all Elite Holograms commands.
The exact commands for assigning permissions will vary depending on the permission mod you are using (LuckPerms or FTB Ranks).
To allow a group named moderator to create, edit, and delete holograms:
/lp group moderator permission set eliteholograms.create true
/lp group moderator permission set eliteholograms.edit true
/lp group moderator permission set eliteholograms.delete true
To allow a group named player to only list and teleport to holograms:
/lp group player permission set eliteholograms.list true
/lp group player permission set eliteholograms.teleport true
/lp group player permission set eliteholograms.near true
(Refer to FTB Ranks documentation for the exact command syntax, as it can vary. The concept involves adding the permission nodes listed above to the desired ranks.)
A conceptual example for FTB Ranks might look like this if editing its config files or using in-game commands:
- Grant
eliteholograms.createto a rank. - Grant
eliteholograms.editto a rank.
If you are not using LuckPerms or FTB Ranks, Elite Holograms commands will only be usable by players who are OPs and have an operator permission level of 2 or higher (as defined in Minecraft's server.properties op-permission-level).
By default, most common server setups give OPs level 4, which is sufficient.