Tutorial to configure Permissionsex (PEX). PERMISSIONSEX - Group management Ready text document for configuring Permissions

Setting the plugin:
1) Download the plugin itself, the latest version can always be found on this link.
After downloading the archive, we will find the following files in it:
2) Move (copy) files (Chatmanager, ModifyWorld, Permissions, Permissionsex) to the folder of the plug-ins in your server (path for example: C: \\ Server \\ Plugins)
3) Run the server, waiting for the "Done" inscription in the server console and stop it.
4) We go to the plugins folder and see the following:


If you did everything right and saw the folder created by the plug-in, you can assume that the plugin is installed.

PERMISSIONSEX Setup:
For starters, let's look at the PERMISSIONS.YML file at (your server \\ Plugins \\ Permissionsex). Remarika: files with extension .YML can be viewed any text editorbut for convenience I recommend using NotePad ++ (you can download it)

By opening the file, we will see the following:


In order:

groups: // Do not touch this word, it indicates that the Groups and PERMISSIONS groups will go below.
default: // The name of the group in it is all the users who have just come to the server, unless of course you have not prescribed them to another group.
default: True // This parameter sets the group as a default group. This means that all rights of this group will have any player for which other groups and / or exceptions are not defined.
permissions: // All that goes below, it is actually "rights" for the group, it is necessary to prescribe permissions there different plugins Installed on your server.
- modifyworld. * // Ability to "modify" the world, I do not recommend toring this parameter. Remarika: In fact, the "modifyworld" parameter is much more values, but since it is a small FAQ and here only about the most important thing I did not explain this parameter if you are interested you can read the official documentation in English for this link.

Now let's consider the already configured permissions for several 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.NBAN - 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 - WorldDit.navigation.jumpto - WorldDit.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 are configured for plug-ins: Commandbook, Myhome, Vanishnopickup, Jobs, LWC, WorldEdit, Iconomy, Iconomy Chesteshop, WorldGuard.

Here as you could see new parameters appeared:

  • info: // Group parameters
  • prefix: "" // Prefix
  • suffix: "" // suffix

// To display prefixes / suffixes, you must enable the Chatmanager plugin, which is included in the PEX. To do this, in the PLUGINS / CHATMANAGER folder / in the config.yml file, we find Enable and change it if necessary with Enable: False on Enable: True

  • inheritance: // Inheritance rights

DEFAULT // In this case, all rights of the group "Default" are inherited.

Also you could notice that the Users parameter appeared:
under it you need to specify the nickname of users who you want to give additional rights and / or move to another group. For instance:

Moderator:
group:
- Moder.
pERMISSIONS: NULL

where "Moderator" - a player, "Moder" - the name of the group, Permissions: NULL-additional rights for this user, in this case they are not.

Remember! In Yaml, you need to clearly observe the sequence, one exempted space and the parameter will not work. In order to have less errors, I recommend using this site. Amount: insert your code into the left window, if it does not produce errors in the right window, then you correctly wrote the code on Yaml and it will work.

This article is taken with Rubukkit.org

And so, probably each of you, except for experienced server holders, there are problems with setting access rights.
Personally, I use PERMISSIONSEX plugin, as I think that this is the best distribution plugin for servers.

What do we need:

1. NotePad ++.
2. Plugin himself. Last version You can always download.
3. Straight hands. (Mandatory item)

So, let's begin.

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

2. We throw the files to the folder with plugins, run the server, stop.
3 folders appeared there:
Chatmanager and ModifyWorld

3. Open the PERMISSIONSEX folder. In this folder, open the PERMISSIONS.YML file using NotePad ++
And you see it:

And so, in order:
groups: // Do not touch this word, it indicates that the Groups and PERMISSIONS will go below.
default: // The name of the group in it is all the users just entering the server, unless of course you have not prescribed them to another group.
dEFAULT: True. // This parameter specifies the group as the default group. This means that all rights of this group will have any player for which other groups and / or exceptions are not defined.
// All that goes below, it is actually "rights" for the group, it is necessary to prescribe permissions from different plug-ins on your server.

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.NBAN - 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 - WorldDit.navigation.jumpto - WorldDit.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 are configured for plug-ins: Commandbook, Myhome, Vanishnopickup, Jobs, LWC, WorldEdit, Iconomy, Iconomy Chesteshop, WorldGuard.

Here as you could see new parameters appeared:

info: // Group parameters
Prefix: "// Prefix
Suffix: "// suffix

// To display prefixes / suffixes, you must enable the Chatmanager plugin, which is included in the PEX. To do this, in the PLUGINS / CHATMANAGER folder / in the config.yml file, we find Enable and change it if necessary with Enable: False on Enable: True

inheritance: // Inheritance rights
- Default // In this case, all rights of the "Default" group are inherited.
Also you could notice that the Users parameter appeared:
Under it you need to specify the nickname of users who you want to give additional rights and / or move to another group. For instance:

Moderator:
Group:
- Moder.
PERMISSIONS: NULL

where "Moderator" - the player, "Moder" - the name of the group, permissions: null-additional rights for this user, in this case they are not.

Remember! In Yaml, you need to clearly observe the sequence, one exempted space and the parameter will not work.

Note from IDG_Dima: Yaml works great with superfluous problems or even with empty rows, the only thing that is broken is a tabulation.
And we bring your changes for the delay in checking an article, were very busy with some kind of affairs, including the preparation of the server for moving.

If you have conceived to create your own server or project, you will most likely need a plugin that divides all players to different groups. For example, you need moderators and helpers, how to make them in special groups and give certain rights? Plugin with the name "Permissionsex" comes to the rescue. It is such a plugin that we have on servers.

Thanks to this plugin, you can make players in special groups and give them different rights. Also, it gives the opportunity to make a global and local chat, change the color of Nick.

Customize plugin:

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

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

We will analyze every component.

groups: - After this parameter will be a group and rights.

default: - The default group. There will be all players who only went.

dEFAULT: True. - With this parameter, you can set the default group.

permissions: - Below this parameter can be entered the rights for a specific group.

modifyWorld. * - The ability to make changes to the world. It is better to leave empty.

Group example

Teams:

Service

Command Permission Description
/ pex. permissions.manage. Shows PEX Help
/ PEX Toggle Debug permissions.manage. On / off debugging mode (creates a lot of debug information in server.log)
/ PEX User. Check. permissions.manage. Check the right Player
/ PEX RELOAD. permissions.manage.Reload. Reboots plugin
/ PEX Config permissions.manage.config Displays value From the PEX configuration. Additionally, you can enter to set new values \u200b\u200bfor the parameter.
/ PEX BACKEND. permissions.manage.backend. Remove the backend to the currently used.
/ PEX BACKEND. permissions.manage.backend. Change The Permissions Backend on-The-Fly (Use with Caution!) Note That this Will Only Change The Backend on-the-fly, It Will Not Save The Change in the Config File, Nor Will It Convert Anything. This is for testing only.)
/ PEX Hierarchy. permissions.manage.users. Shows the full hierarchy of players / groups
/ PEX DUMP. permissions.manage.dump Creates a dump of users and groups to the selected format to file.

Managing Player Rights

Command Permission Description
/ PEX Users. permissions.manage.users. Shows a list of all recorded users. And players Server
/ PEX User. permissions.manage.users. Shows player's rights
/ PEX User. Prefix. permissions.manage.users.Prefix. Install the player prefix
/ PEX User. Suffix. permissions.manage.users.suffix. Install the player suffix
/ PEX User. delete. permissions.manage.users. Remove players From the backend used at the moment.
/ PEX User. Add. Give law Player
/ PEX User. Remove. permissions.manage.users.permissions. Pick right At the player
/ PEX User. Timed Add Give temporary law Player
/ PEX User. TIMED REMOVE. permissions.manage.users.permissions.timed. Pick up the player Temporary law
/ PEX User. SET. permissions.manage.users.permissions. Set the option

Player Group Rights Management

Command Permission Description
/ PEX User. Group List. Show list of groups in which a player consists
/ PEX User. Group Add. permissions.manage.membership. Add player Group for a while
/ PEX User. Group Set. permissions.manage.membership. Set a group For player (remove it from the rest of the groups)
/ PEX User. Group Remove. permissions.manage.membership. Remove players from the group

Group rights management

Command Permission Description
/ PEX GROUPS. permissions.manage.groups.list. Show all registered groups
/ PEX DEFAULT GROUP Show default group
/ PEX SET Default Group permissions.management.groups.inheritance. Set a group as a default group
/ PEX Group. Prefix. permissions.Manage.groups.Prefix. Install a group prefix
/ PEX Group. Suffix. permissions.Manage.groups.suffix. Install a group suffix
/ PEX Group. Create. permissions.manageups.create. To create a group And if you need to install a parent group / group for it
/ PEX Group. delete. permissions.Manage.groups.Remove. Delete group
/ PEX Group. parents. List of parent groups for group
/ PEX Group. Parents Set. permissions.Manage.groups.inheritance. Install a group parent group / group
/ PEX Group. Show all rights groups
/ PEX Group. Add. permissions.manage.groups.permissions. Give law Group
/ PEX Group. Remove. permissions.manage.groups.permissions. Pick right Group
/ PEX Group. Timed Add Give temporary law Group for a while (in sec.)
/ PEX Group. TIMED REMOVE. permissions.manage.groups.permissions.timed. Pick up temporary law Group
/ PEX Group. SET. permissions.manage.groups.permissions. Set the option
/ PEX Group. Weight permissions.manage.groups.Weight. Show / install group weight

Management players in groups

Command Permission Description
/ PEX Group. Users. permissions.manage.membership. Show all players in the group
/ PEX Group. User Add. permissions.manage.membership. Add players / players Group for a while
/ PEX Group. User Remove. permissions.manage.membership. Remove players / players from the group
/ PEX Promote. permissions.user.promote. Enhance the player in the highest group
/ PEX Demote. permissions.user.demote. Lower player in a low group permissions.manage.worlds. Show information about the heredity of the world
/ PEX WORLD. inherit. permissions.management.worlds.inheritance Install Parent World / Worlds For the world

Installation:

2. We throw to the plugins folder.

3. Restart the server.

Setting the plugin:
1) Download the plugin itself, the latest version can always be found on this link.
After downloading the archive, we will find the following files in it:
2) Move (copy) files (Chatmanager, ModifyWorld, Permissions, Permissionsex) to the folder of the plug-ins in your server (path for example: C: \\ Server \\ Plugins)
3) Run the server, waiting for the "Done" inscription in the server console and stop it.
4) We go to the plugins folder and see the following:


If you did everything right and saw the folder created by the plug-in, you can assume that the plugin is installed.

PERMISSIONSEX Setup:
For starters, let's look at the PERMISSIONS.YML file at (your server \\ Plugins \\ Permissionsex). Remark: Files with extension .YML can be viewed by any text editor, but for convenience I recommend using NotePad ++ (you can download it)

By opening the file, we will see the following:


In order:

groups: // Do not touch this word, it indicates that the Groups and PERMISSIONS groups will go below.
default: // The name of the group in it is all the users who have just come to the server, unless of course you have not prescribed them to another group.
default: True // This parameter sets the group as a default group. This means that all rights of this group will have any player for which other groups and / or exceptions are not defined.
permissions: // All that goes below, it is actually "rights" for the group, it is necessary to prescribe permissions from different plug-ins on your server.
- modifyworld. * // Ability to "modify" the world, I do not recommend toring this parameter. Remarika: In fact, the "modifyworld" parameter is much more values, but since it is a small FAQ and here only about the most important thing I did not explain this parameter if you are interested you can read the official documentation in English for this link.

Now let's consider the already configured permissions for several 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.NBAN - 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 - WorldDit.navigation.jumpto - WorldDit.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 are configured for plug-ins: Commandbook, Myhome, Vanishnopickup, Jobs, LWC, WorldEdit, Iconomy, Iconomy Chesteshop, WorldGuard.

Here as you could see new parameters appeared:

  • info: // Group parameters
  • prefix: "" // Prefix
  • suffix: "" // suffix

// To display prefixes / suffixes, you must enable the Chatmanager plugin, which is included in the PEX. To do this, in the PLUGINS / CHATMANAGER folder / in the config.yml file, we find Enable and change it if necessary with Enable: False on Enable: True

  • inheritance: // Inheritance rights

DEFAULT // In this case, all rights of the group "Default" are inherited.

Also you could notice that the Users parameter appeared:
under it you need to specify the nickname of users who you want to give additional rights and / or move to another group. For instance:

Moderator:
group:
- Moder.
pERMISSIONS: NULL

where "Moderator" - a player, "Moder" - the name of the group, Permissions: NULL-additional rights for this user, in this case they are not.

Remember! In Yaml, you need to clearly observe the sequence, one exempted space and the parameter will not work. In order to have less errors, I recommend using this site. Amount: insert your code into the left window, if it does not produce errors in the right window, then you correctly wrote the code on Yaml and it will work.

This article is taken with Rubukkit.org