Project Essentials Permissions
Documentation for Project Essentials Permissions users and developers, describing commands, permissions and API methods and other.
This modification serves as a command permissions provider for players. It is very suitable for delimiting the permissions of players and limiting the player's capabilities, for example, to prohibit changing the weather or to allow repair items. If you ever used PermissionsEx
for spigot, then you will not have problems with setting permissions. Also, the mod has its own API, to use it, start by reading the documentation.
How to Install
For start the modification, you need installed Forge, it is desirable that the version matches the supported versions. You can download Forge 1.14.4 from the link and Forge 1.15.2 from it link. Move the downloaded mod to the mods
folder (installation example below).
Dependencies
Also do not forget to install dependencies, only two types of dependencies: mandatory (game will not start without a mod) and recommended (without a mod, game can start, but I recommend using it).
One more step
Now try to start the game, go to the mods
tab, if this modification is displayed in the mods
tab, then the mod has been successfully installed.
Commands and Permissions
Name
Usage Example
Permission
Description
/permissions about
-
ess.perm.about
Just send you about message.
/permissions save
-
ess.perm.save
Save permissions configuration.
/permissions reload
-
ess.perm.reload
Reload permissions configuration without saving.
/permissions group
... [group name] [set | remove] [node]
ess.perm.group
Remove or set permission for the target group.
/permissions user
... [user name] [set | remove] [node]
or [user name] set [group name]
ess.perm.user
Remove or set user permission node or only set group for the user.
Configuration
Configuration location
Configuration documentation
groups
configuration section
groups
configuration sectiongroups
- contains an array of groups, each element of the array (group) must have the name
, isDefault
and permissions
properties, if there is no property, the default value will be used, but I strongly recommend adding all the properties manually.
name
- is the name of the group; it should preferably not contain any characters other than letters; This property is required.
isDefault
- only accepts a boolean value; if false, the group will not be set by default; if true, the group will be used as the default; Note: at least one group must have the value true
, if this is not the case, I do not know what will happen, I did not check.
permissions
- is a string array, it just records the rights for a specific group. If you are not familiar with json
, I strongly recommend that you get familiar with it. Note: If the permissions
array has "*"
, then this is equivalent to the operatorโs permissions or just gives all the permissions that the PermissionsAPI controls.
inheritFrom
- is a string array. Contains groups in which permissions must be inherited. For example: Supporter-1 group inherit Default permissions, etc.
users
configuration section
users
configuration sectionusers
- contains an array of users, each element of the array (user) must have the nickname
, group
and permissions
properties, if there is no property, the default value will be used, but I strongly recommend writing all the properties manually.
nickname
- is the nickname of the player; it should preferably not contain any characters other than letters; This property must be required.
group
- is the name of the group in which the player is entitled.
permissions
- is a list of rights that belong to a specific player, they can serve as a finer setting of rights; Note: If the player has a group, then the rights that are written by the player will be added to the rights that he received from the group. In short: these are just additional rights for the player.
Just in case
If something goes according to the cunt, and your configuration flies, just delete the configuration or take the default configuration from here.
Minimal default configuration:
And with default permissions:
API in Using
Dev. Dependencies 1.14.4
Dev. Dependencies 1.15.2
Get as Dependency
:: For Forge 1.14.4 only ::
:: For Forge 1.15.2 only ::
API Documentation
If you have any questions or encounter a problem, be sure to open an issue
Last updated
Was this helpful?