šŸ”‘ PermissionsEx v2.0 [API 5]

I got several rank ladders to work by changing the default in the command to staff, and anything else should work as well. Hereā€™re my rank ladders as they ended up in permissions.json:

    "rank-ladders": {
        "default": [
            "group:Tier1",
            "group:Tier2"
        ],
        "staff": [
            "group:Helper",
            "group:Admin",
            "group:Mod",
            "group:Owner"
        ]
    }

@Alfista You might want to see this snippet too. Oh, and the lines 111-118 in the Pastebin you quoted:

    "rank-ladders": {
        "default": [
            "group:Grunts",
            "group:Helpers",
            "group:Mods",
            "group:Admins"
        ]
    }

But I donā€™t fully understand the settings. You have there created two ranks" default and staff. Is it correct? Each rank work independently?
When we work with Default. You have there added 4 groups. When I change the ranks, then the player who I changed the rank will skip from one group to another? Thats the point of the ranks? And all settings and changes are then made in the appropriate group?

I would wish if somebody who has big knowledge of this plugin/mod to make tutorial becasue for somebody its easy to use,but for me i have no idea how to use it or add groups or add premissions and on my server i added Pex and Core and when i am opped i have no premissions to any command why is that?
And i have ā€œop-permission-level=4ā€ set in server.properties :stuck_out_tongue:

Yes, that is correct. Each rank ladder works independently.

If you promote or demote someone within the rank ladder default, they will move from one group to another inside the same rank ladder. For example, promoting someone from Helpers to Mods will remove them from the group Helpers and add them to the group Mods. That is the point of the ranks, yes :slight_smile:

@Lunatic_X: OP is disabled when you install PEX :smile:

Got it op does not work pex but can somebody do tutorial because i always used group manager so now i have no idea how to use pex :stuck_out_tongue:

i made a quick and dirty guide a while ago that can be found here
the only caveat is that since i also came from gm there is no rank info, i will go back to zmlā€™s commands and figure it out soon

1 Like

Iā€™m thinking my next big push for PermissionsEx will be documentation. Unfortunately I have just gotten started with school so I donā€™t have a ton of time at the moment, but Iā€™ll try to get a framework out soon.

3 Likes

Yes I come from GM too but the PEX isnā€™t so hard, only the commands are the problems. I know it isnā€™t recommended but I do many things directly in config file. Its faster and easier.
What I donā€™t know I try to use comment to see the correct syntax for it in config file and correct it how I need.
I have too the same problems with Ranks while in GM it wasnā€™t and after I used another plugins fro Ranks like AutoRank it was all easier.
But thanks Lemonous, this:

Helped much, but I have some questions also. :smiley:
Is possible to have many as I need the rank ladders? I mean one for player, another for helper and another for Admins?
How I set the position each group in the ranks? I mean for ladder Player I will have Player, Warrior and Captain and player has lowest rank and Captain the highest.
What do the PEX Option Rank i group settings mean?

I will have soon finalised a PEX config file, so I will post it as a sample for all who need it as I needed it when I start. Maybe

can then add it to his default installations.

1 Like
  1. Yes, you can have as many ladders as you want, so long as they have different names. You might want to have all staff on the same rank ladder, though, so you can move people directly from Mod to Admin if you wanted to :slight_smile:
  2. The position of a group in the config file shows where in the ladder it is. Itā€™s flipped upside down, which means that here:

Tier 2 is higher than Tier1. Owner is higher than Mod, Mod is higher than Admin (a result of my experimenting :stuck_out_tongue: ), and Admin is higher than Helper.
3. Iā€™m not sure, sorry. Can you show me where in your permissions.json file it is?

It is in option part:
ā€œoptionsā€: {
ā€œrankā€: ā€œ50ā€,
ā€œprefixā€: ā€œ&1[PlugM]ā€,
ā€œhomesā€: ā€œ5ā€,
ā€œstartingbalanceā€: ā€œ1000ā€
},

I have find it in the command:

/pex group Player option rank 5

1 Like

@zml You should add a disclaimer in the OP that informs users not familiar/confident with editing raw JSON that they should favour the in-game/console commands (if Iā€™m understanding your view-point on the matter).

1 Like

I finally got to a point where my server can be live. Iā€™m using Sponge/PEX/Core/Kits. I also decided that since there isnā€™t a good grief prevention (I miss GP!!) I would make a prison group. In this config, I have made a chat channel for the prisoners and made them unable to do anything accept join the prison channel and try to get someone to let them out. I donā€™t know a way to set spam protection for other players automatically, but I did allow them to mute other players.

The config has 4 main groups in the ladder, Grunts, Helpers, Mods, and Admins. The Prison group is left out of the ladder, cuz I donā€™t want anyone put there unless theyā€™re being destructive or causing other issues. I did notice that while I was testing the prison group, after removing the user, a remnant of that user was left with an unassigned group. I also noticed that if you move people from one group to another without using the promote function, they become members of multiple groups, so donā€™t forget to remove them from a group if you are changing groups.

I did most of the editing from the file, since typing in all the permission nodes in game was rather annoying. Here is my config, hopefully it will help someone else get started. :smile:

http://pastebin.com/tBYqyxjs

1 Like

May anyone make a tutorial for this version? Also @zml l may you make it so this plugin does not disble ops perms and fix the wildcard perm :slight_smile:

@zml I would also recommend placing commonly asked questions in the OP for things such as why by design- you do not support operators etc. This would prevent a lot of the same questions being asked in the thread. :wink:

1 Like

I set my server up and it is working fine except the color prefix wonā€™t work on my name. I first did /pex user MagicTheOwl def true. I created the admin group after, then I added myself to the group. All the other people in the group have color prefixes except for me. Any ideas why?


Check to see if you are a member of multiple groups. This stung me a couple of times.

hi i need help with pex i dont have idea to create de groups

PermissionEx not working on the latest sponge (1.8-1515-2.1DEV-688) ā€¦ Last successful run on version 1.8-1515-2.1DEV-679
Pastebin: http://pastebin.com/pgRu0euM
(OS Ubuntu, Java8)

Update PEXā€¦

2 Likes

Thanks! All works!