Download ready permissions yml. PermissionsEx (PEX) setup tutorial. Player rights management

For Windows 09.12.2021
For Windows

Plugin installation:
1) Download the plugin itself, the latest version can ALWAYS be found at THIS link.
After downloading the archive, we will find the following files in it:
2)Move (copy) the files (ChatManager, Modifyworld, Permissions, PermissionsEx) to the plugins folder of your server (example path: C:\Server\plugins)
3) We start the server, wait for the inscription "Done" in the server console and stop it.
4) Go to the Plugins folder and see the following:


If you did everything right and saw the folders created by the plugin, then you can assume that the plugin is installed.

Setting PermissionsEx:
First, let's look at the permissions.yml file at (your server\plugins\PermissionsEx). Remark: files with the .yml extension can be viewed with ANY text editor, but for convenience I recommend using Notepad ++ (you can download it)

When we open the file, we will see the following:


In order:

groups: //do not touch this word, it indicates that groups and their permissions will go below.
default: //name of the group, all users who have just logged into the server get into it, unless of course you have registered them in another group.
default: true // this parameter sets the group as the default group. this means that any player for whom no other groups and/or exceptions are defined will have all the rights of this group.
permissions: //everything that goes below is actually the "rights" for the group itself, you need to write permissions from various plugins installed on your server there.
- modifyworld.* //possibility to "modify" the world, I do not recommend touching this parameter. Remark: in fact, the "modifyworld" parameter has a lot more values, but since this is a small FAQ and only the most important is described here, I did not explain this parameter, if you are interested, you can read the official documentation in English at THIS link.

Now let's look at the already configured permissions for a few plugins.

groups: default: default: true permissions: - modifyworld.* - commandbook.spawn - commandbook.who - commandbook.say - commandbook.msg - myhome.home.soc.* - iConomy.access - iConomy.bank.access - iConomy. bank.deposit - iConomy.bank.join - iConomy.bank.join.multiple - iConomy.bank.leave - iConomy.bank.list - iConomy.bank.main - iConomy.bank.main.change - iConomy.bank.main. set - iConomy.bank.main.view - iConomy.bank.transfer - iConomy.bank.transfer.multiple - iConomy.bank.withdraw - iConomy.list - iConomy.payment - iConomy.rank - jobs.join.* - jobs. world.* - lwc.protect - iConomyChestShop.shop.create - iConomyChestShop.shop.create. - iConomyChestShop.shop.exclude. - iConomyChestShop.shop.buy - iConomyChestShop.shop.sell - iConomyChestShop.command.iteminfo - commandbook.call - commandbook.time.check - commandbook.rules - myhome.home.basic.home - myhome.home.basic.set - myhome .home.basic.delete - myhome.home.soc.invite Moder: default: false inheritance: - Default permissions: - modifyworld.* - commandbook.kick - commandbook.bans.ban - commandbook.bans.unban - commandbook.shock. other - commandbook.rocket.other - commandbook.shock - commandbook.rocket - commandbook.mute - commandbook.teleport.* - commandbook.spawn - commandbook.kit.list - commandbook.who - commandbook.say - commandbook.msg - worldgurad. god - worldguard.ungod - worldguard.god.other - worldguard.ungod.other - worldguard.heal.* - worldguard.slay.* - myhome.* - iConomy.access - iConomy.bank.access - iConomy.bank.deposit - iConomy.bank.join - iConomy.bank.join.multiple - iConomy.bank.leave - iConomy.bank.list - iConomy.bank.main - iConomy.bank .main.change - iConomy.bank.main.set - iConomy.bank.main.view - iConomy.bank.transfer - iConomy.bank.transfer.multiple - iConomy.bank.withdraw - iConomy.list - iConomy.payment - iConomy .rank - jobs.join.* - jobs.world.* - commandbook.whereami.compass - commandbook.whereami - lwc.protect - iConomyChestShop.shop.create - iConomyChestShop.shop.create. - iConomyChestShop.shop.exclude. - iConomyChestShop.shop.buy - iConomyChestShop.shop.sell - iConomyChestShop.command.iteminfo - commandbook.call - worldedit.navigation.jumpto - worldedit.navigation.thru - commandbook.time.check - commandbook.rules - lwc.mod - myhome .home.basic.home - myhome.home.basic.set - myhome.home.basic.delete - myhome.home.soc.invite - vanish.* Admins: default: false inheritance: - Moder permissions: - "*" users : admin: group: - Admins permissions: null Moderator: group: - Moder permissions: null

This Permissions is configured for plugins: CommandBook, MyHome, VanishNoPickup, Jobs, LWC, WorldEdit, iConomy, iConomy ChestShop, WorldGuard.

Here, as you can see, there are new parameters:

  • info: //group parameters
  • prefix: "" //prefix
  • suffix: "" //suffix

// to display prefixes/suffixes, you need to enable the ChatManager plugin, which is included with PEX. To do this, in the plugins/ChatManager/ folder in the config.yml file, find enable and change it, if necessary, from enable: false to enable: true

  • inheritance: // rights inheritance

Default //in this case, all rights of the "default" group are inherited

You may also notice that the users parameter has appeared:
under it, you need to specify the nicknames of users to whom you want to give additional rights and / or move to another group. For example:

moderator:
group:
- Moderator
permissions: null

where "Moderator" is the player's nickname, "Moder" is the name of the group, permissions: null are the additional rights for this user, in this case there are none.

Remember! In YAML, you need to strictly follow the sequence, one extra space and the parameter will not work. In order to have fewer errors, I RECOMMEND using THIS site. Remark: paste your code into the left window, if it does not give errors in the right window, then you wrote the code in yaml correctly and it will work.

This article is taken from rubukkit.org

And so, probably each of you, except for experienced server holders, has problems with setting access rights.
Personally, I use the PermissionsEx plugin, because I think it's the best permission distribution plugin for servers.

What we need:

1.Notepad++
2. The plugin itself. You can always download the latest version.
3. Straight arms. (required item)

So, let's begin.

1. Download the plugin, unpack it. There are 3 files in the folder:

2. We drop the files into the plugins folder, start the server, stop it.
There are 3 folders there:
ChatManager and ModifyWorld

3. Open the PermissionsEx folder. In this folder, open the permissions.yml file with Notepad++
And we see this:

And so, in order:
groups://do not touch this word, it indicates that groups and their permissions will go below.
default://name of the group, all users who have just logged into the server will fall into it, unless of course you have registered them in another group.
default: true// this parameter sets the group as the default group. this means that any player for whom no other groups and/or exceptions are defined will have all the rights of this group.
//everything that goes below is actually the "rights" for the group itself, you need to write permissions from various plugins installed on your server there.

Groups default: default: true permissions: - modifyworld.* - commandbook.spawn - commandbook.who - commandbook.say - commandbook.msg - myhome.home.soc.* - iConomy.access - iConomy.bank.access - iConomy.bank .deposit - iConomy.bank.join - iConomy.bank.join.multiple - iConomy.bank.leave - iConomy.bank.list - iConomy.bank.main - iConomy.bank.main.change - iConomy.bank.main.set - iConomy.bank.main.view - iConomy.bank.transfer - iConomy.bank.transfer.multiple - iConomy.bank.withdraw - iConomy.list - iConomy.payment - iConomy.rank - jobs.join.* - jobs.world .* - lwc.protect - iConomyChestShop.shop.create - iConomyChestShop.shop.create. - iConomyChestShop.shop.exclude. - iConomyChestShop.shop.buy - iConomyChestShop.shop.sell - iConomyChestShop.command.iteminfo - commandbook.call - commandbook.time.check - commandbook.rules - myhome.home.basic.home - myhome.home.basic.set - myhome .home.basic.delete - myhome.home.soc.invite Moder: default: false inheritance: - Default permissions: - modifyworld.* - commandbook.kick - commandbook.bans.ban - commandbook.bans.unban - commandbook.shock. other - commandbook.rocket.other - commandbook.shock - commandbook.rocket - commandbook.mute - commandbook.teleport.* - commandbook.spawn - commandbook.kit.list - commandbook.who - commandbook.say - commandbook.msg - worldgurad. god - worldguard.ungod - worldguard.god.other - worldguard.ungod.other - worldguard.heal.* - worldguard.slay.* - myhome.* - iConomy.access - iConomy.bank.access - iConomy.bank.deposit - iConomy.bank.join - iConomy.bank.join.multiple - iConomy.bank.leave - iConomy.bank.list - iConomy.bank.main - iConomy.bank.main.change - iConomy.bank.main.set - iConom y.bank.main.view - iConomy.bank.transfer - iConomy.bank.transfer.multiple - iConomy.bank.withdraw - iConomy.list - iConomy.payment - iConomy.rank - jobs.join.* - jobs.world. * - commandbook.whereami.compass - commandbook.whereami - lwc.protect - iConomyChestShop.shop.create - iConomyChestShop.shop.create. - iConomyChestShop.shop.exclude. - iConomyChestShop.shop.buy - iConomyChestShop.shop.sell - iConomyChestShop.command.iteminfo - commandbook.call - worldedit.navigation.jumpto - worldedit.navigation.thru - commandbook.time.check - commandbook.rules - lwc.mod - myhome .home.basic.home - myhome.home.basic.set - myhome.home.basic.delete - myhome.home.soc.invite - vanish.* Admins: default: false inheritance: - Moder permissions: - "*" users : admin: group: - Admins permissions: null Moderator: group: - Moder permissions: null

This Permissions is configured for plugins: CommandBook, MyHome, VanishNoPickup, Jobs, LWC, WorldEdit, iConomy, iConomy ChestShop, WorldGuard.

Here, as you can see, there are new parameters:

info: //group parameters
prefix: " // prefix
suffix: " //suffix

// to display prefixes/suffixes, you need to enable the ChatManager plugin, which is included with PEX. To do this, in the plugins/ChatManager/ folder in the config.yml file, find enable and change it, if necessary, from enable: false to enable: true

inheritance: // rights inheritance
- Default // in this case, all rights of the "default" group are inherited
You may also notice that the users parameter has appeared:
under it, you need to specify the nicknames of users to whom you want to give additional rights and / or move to another group. For example:

moderator:
group:
— Moderator
permissions: null

where "Moderator" is the player's nickname, "Moder" is the name of the group, permissions: null are additional rights for this user, in this case there are none.

Remember! In YAML, you need to strictly follow the sequence, one extra space and the parameter will not work.

Note from idg_dima: YAML works great with extra issues or even empty lines, the only thing it breaks is tabs.
And we bring our changes for the delay in checking the article, we were very busy with some things, including preparing the server for the move.

If you are planning to create your own server or project, then you will most likely need a plugin that divides all players into different groups. For example, you need moderators and helpers, how can you add them to special groups and give them certain rights? A plugin called "PermissionsEX" comes to the rescue. This plugin is what we have on our servers.

Thanks to this plugin, you can add players to special groups and give them different rights. The plugin also allows you to make a global and local chat, change the color of the nickname.

Setting up the plugin:

First you need to go to the permissions.yml file and tweak it a little.

When you open the file, you will see the following:

Let's analyze each component.

groups:- This parameter will be followed by groups and rights.

default:- default group. All players who just entered will get there.

default:true- with this parameter you can set the default group.

permissions:- below this parameter, you can enter the rights for a specific group.

modifyworld.*- The ability to make changes to the players in the world. It's better to leave it blank.

Group example

Teams:

Service

Team Permission Description
/pex permissions.manage Shows PEX help
/pex toggle debug permissions.manage On/Off debug mode (creates a lot of debug information in server.log)
/pex user check permissions.manage. Check right player
/pex reload permissions.manage.reload Reloads the plugin
/pexconfig permissions.manage.config Displays a value from the PEX config. Optionally, you can enter to set a new value for the parameter.
/pex backend permissions.manage.backend Display currently used backends.
/pex backend permissions.manage.backend Change the permissions backend on-the-fly (Use with caution!) This is for testing only.)
/pex hierarchy permissions.manage.users Shows the complete hierarchy of players/groups
/pex dump permissions.manage.dump Creates a dump of users and groups in the selected format to file

Player rights management

Team Permission Description
/pexusers permissions.manage.users Shows a list of all registered users. And server players
/pex user permissions.manage.users Shows player rights
/pex user prefix permissions.manage.users.prefix. Set to player prefix
/pex user suffix permissions.manage.users.suffix. Set to player suffix
/pex user delete permissions.manage.users. Delete player from the backend currently in use.
/pex user add entitle Player
/pex user remove permissions.manage.users.permissions. Take away right Player
/pex user timed add Give temporary right Player
/pex user timed remove permissions.manage.users.permissions.timed. Take from player provisional right
/pex user set permissions.manage.users.permissions. Set option

Managing the rights of groups of players

Team Permission Description
/pex user group list Show a list of groups a player is a member of
/pex user group add permissions.manage.membership. Add player to the group for a while
/pex user group set permissions.manage.membership. Set group for the player (will remove him from other groups)
/pex user group remove permissions.manage.membership. Delete player from the group

Group rights management

Team Permission Description
/pex groups permissions.manage.groups.list Show all registered groups
/pex default group Show default group
/pex set default group permissions.manage.groups.inheritance Set group as default group
/pex group prefix permissions.manage.groups.prefix. Set group prefix
/pex group suffix permissions.manage.groups.suffix. Set group suffix
/pex group create permissions.manageups.create. To create a group and if need to set parent group/groups for it
/pex group delete permissions.manage.groups.remove. Delete group
/pex group parents List of parent groups for a group
/pex group parent set permissions.manage.groups.inheritance. Set group parent group/groups
/pex group Show all group permissions
/pex group add permissions.manage.groups.permissions. entitle group
/pex group remove permissions.manage.groups.permissions. Take away right At the group
/pex group timed add Give temporary right group for time (in sec.)
/pex group timed remove permissions.manage.groups.permissions.timed. Take away temporary right At the group
/pex group set permissions.manage.groups.permissions. Set option
/pex group weight permissions.manage.groups.weight. Show/Set Group Weight

Managing players in groups

Team Permission Description
/pex group users permissions.manage.membership. Show all players in the group
/pex group user add permissions.manage.membership. Add player/players to the group for a while
/pex group user remove permissions.manage.membership. Remove a player/players from a group
/pex promote permissions.user.promote. Promote Player to the top group
/pex demote permissions.user.demote. Demote a Player to the lower group permissions.manage.worlds Show world heritage information
/pexworld inherit permissions.manage.worlds.inheritance Set parent world/worlds For the world

Installation:

2. We throw in the Plugins folder.

3. Reboot the server.

And so, probably each of you, except for experienced server holders, has problems with setting access rights.
Personally, I use the PermissionsEx plugin, because I think it's the best permission distribution plugin for servers.

What we need:

1.Notepad++
2. The plugin itself. You can always download the latest version.
3. Straight arms. (required item)

So, let's begin.

1. Download the plugin, unpack it. There are 3 files in the folder:

2. We drop the files into the plugins folder, start the server, stop it.
There are 3 folders there:
ChatManager and ModifyWorld

3. Open the PermissionsEx folder. In this folder, open the permissions.yml file with Notepad++
And we see this:

And so, in order:
groups://do not touch this word, it indicates that groups and their permissions will go below.
default://name of the group, all users who have just logged into the server will fall into it, unless of course you have registered them in another group.
default: true// this parameter sets the group as the default group. this means that any player for whom no other groups and/or exceptions are defined will have all the rights of this group.
//everything that goes below is actually the "rights" for the group itself, you need to write permissions from various plugins installed on your server there.

Groups default: default: true permissions: - modifyworld.* - commandbook.spawn - commandbook.who - commandbook.say - commandbook.msg - myhome.home.soc.* - iConomy.access - iConomy.bank.access - iConomy.bank .deposit - iConomy.bank.join - iConomy.bank.join.multiple - iConomy.bank.leave - iConomy.bank.list - iConomy.bank.main - iConomy.bank.main.change - iConomy.bank.main.set - iConomy.bank.main.view - iConomy.bank.transfer - iConomy.bank.transfer.multiple - iConomy.bank.withdraw - iConomy.list - iConomy.payment - iConomy.rank - jobs.join.* - jobs.world .* - lwc.protect - iConomyChestShop.shop.create - iConomyChestShop.shop.create. - iConomyChestShop.shop.exclude. - iConomyChestShop.shop.buy - iConomyChestShop.shop.sell - iConomyChestShop.command.iteminfo - commandbook.call - commandbook.time.check - commandbook.rules - myhome.home.basic.home - myhome.home.basic.set - myhome .home.basic.delete - myhome.home.soc.invite Moder: default: false inheritance: - Default permissions: - modifyworld.* - commandbook.kick - commandbook.bans.ban - commandbook.bans.unban - commandbook.shock. other - commandbook.rocket.other - commandbook.shock - commandbook.rocket - commandbook.mute - commandbook.teleport.* - commandbook.spawn - commandbook.kit.list - commandbook.who - commandbook.say - commandbook.msg - worldgurad. god - worldguard.ungod - worldguard.god.other - worldguard.ungod.other - worldguard.heal.* - worldguard.slay.* - myhome.* - iConomy.access - iConomy.bank.access - iConomy.bank.deposit - iConomy.bank.join - iConomy.bank.join.multiple - iConomy.bank.leave - iConomy.bank.list - iConomy.bank.main - iConomy.bank.main.change - iConomy.bank.main.set - iConom y.bank.main.view - iConomy.bank.transfer - iConomy.bank.transfer.multiple - iConomy.bank.withdraw - iConomy.list - iConomy.payment - iConomy.rank - jobs.join.* - jobs.world. * - commandbook.whereami.compass - commandbook.whereami - lwc.protect - iConomyChestShop.shop.create - iConomyChestShop.shop.create. - iConomyChestShop.shop.exclude. - iConomyChestShop.shop.buy - iConomyChestShop.shop.sell - iConomyChestShop.command.iteminfo - commandbook.call - worldedit.navigation.jumpto - worldedit.navigation.thru - commandbook.time.check - commandbook.rules - lwc.mod - myhome .home.basic.home - myhome.home.basic.set - myhome.home.basic.delete - myhome.home.soc.invite - vanish.* Admins: default: false inheritance: - Moder permissions: - "*" users : admin: group: - Admins permissions: null Moderator: group: - Moder permissions: null

This Permissions is configured for plugins: CommandBook, MyHome, VanishNoPickup, Jobs, LWC, WorldEdit, iConomy, iConomy ChestShop, WorldGuard.

Here, as you can see, there are new parameters:

info: //group parameters
prefix: " // prefix
suffix: " //suffix

// to display prefixes/suffixes, you need to enable the ChatManager plugin, which is included with PEX. To do this, in the plugins/ChatManager/ folder in the config.yml file, find enable and change it, if necessary, from enable: false to enable: true

inheritance: // rights inheritance
- Default // in this case, all rights of the "default" group are inherited
You may also notice that the users parameter has appeared:
under it, you need to specify the nicknames of users to whom you want to give additional rights and / or move to another group. For example:

moderator:
group:
— Moderator
permissions: null

where "Moderator" is the player's nickname, "Moder" is the name of the group, permissions: null are additional rights for this user, in this case there are none.

Remember! In YAML, you need to strictly follow the sequence, one extra space and the parameter will not work.

Note from idg_dima: YAML works great with extra issues or even empty lines, the only thing it breaks is tabs.
And we bring our changes for the delay in checking the article, we were very busy with some things, including preparing the server for the move.



We recommend reading

Top