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

And what is the difference between: permissionsex-sponge-2.0-SNAPSHOT.jar and PermissionsEx-Sponge.jar ?

It looks like same. SNAPSHOT should be latest (auto) release. PermissionsEx-Sponge.jar looks like some (handy?) (Stable?) release, or just generated file from SNAPSHOT build.

PermissionsEx-Sponge is just a link to the -SNAPSHOT build.

@Txk and @MoeBoy76 the way defaults work changed recently – you’ll have to use the command /pex default default par + Trainer to apply to everybody (users, command blocks, console, etc), or /pex default user par + Trainer to apply only to users

my permissions.json simply updated to the changes so i didn’t notice the change, i’ll go update my guide thread to reflect this change

Won’t load, crashes my server. I am running Java 8, anything else I can try? :confused:

You could try giving us useful information about your issue. Things like the error message. Things that would make your error distinguishable from any other error. Things that allow us to help you without learning to read minds.

1 Like

Please can you help me and write me the correct command to use the inheritance by groups?
When you use Parent - all permissions from parent goes to the child?
And I have an suggestion: Is possible to have separate configuration files for Users and Groups?
Thanks.

yes, so if you have a donator group that is the child of the default group any donator will have access to permissions and options from default

if i understand correctly PEX checks the assigned group for a permission and if it doesn’t find anything then it will check the parent until a permission granted/denied is found or the highest parent is reached

My Default at this time is a Player and I have another groups Builder, Pluginmaster, Moderator, Admin and Owner.
And there is the point. From where should I start to build the permissions. I started from Player and his parent is Builder, and Builders parent is Pluginmaster, etc …
And now I don’t know if it’s OK or I should use better the Inheritance which I don’t know how its work.

your inheritance is backwards, Player should have no parents

New users do not belong to any group? Add manually on group ā€œdefaultā€?
(Sponge 1.8-1499-2.1DEV-628, permissions.json)

Yes, you have to run the command /pex default default parent add group default

Group ā€œdefaultā€ already created, see pastebin… But I thought all the new users are at group ā€œdefaultā€ automatically… When will be implemented?
P.S. I apologize for the English, do not know him very well …

The inheritance and parents I thing are going on it from other sites, but I’m unsure with it.
You can look at my config here: http://pastebin.com/Rm492wqc

Do you know the syntax for adding inheritance? Or there is only the Parent system?

OK! Still got it! :wink: Thanks for the desired plug! To the new syntax, you must get used to, but after how to do this, it is even easier than in the old syntax!

parents are inheritance…

:frowning: I did not understand it correctly. OK thanks. When I now understand correctly I should start with Player and they should have as parent another group which has higher permissions or I should begin by owner and go downwards?
And is possible by adding parents permissions over parent to negate the permissions?

When you look on my config is it OK? http://pastebin.com/Rm492wqc

And I asked you some posts back if its possible to have permissions for groups and users in a separate files?

Unless a lot has been changed in the inheritance system since the Bukkit version, a parent has fewer perms than a child, usually. The child inherits all the parent’s perms, and has its own ones as well. Thus ā€œdefaultā€ would probably be the parent of ā€œtrainerā€, ā€œtrainerā€ would be the parent of ā€œleaderā€, et cetera :slight_smile:

Edit: this means that I believe your inheritance tree is upside down :wink:

Awesome plugin, I found a example to use in pastebin. Make sure to place yourself in owner group in order to change anything in game xD (wasted 5 mins of my life figuring that out)

It’s been a while, coming from Bukkit, have been using vanilla 1.8 for the past year, now converting my server to Sponge.

New PEX is a bit confusing, but I’m understanding it, thanks for all of the help and replies.

ā€œToo many argumentsā€
-Very trivial way to say invalid command.
-First time users, use the console to add your user to an OP group (/pex group [OP Group Name] def true, then /pex user [User Name] parent add group [OP Group Name]), Should solve that problem, then the pex commands will work in game.

I’m trying to set up ranks so I can promote people up the ladder, but I need help with the syntax. I’ve created a basic group (/pex group grunts def false) and a few other groups with similar permissions. I’ve added the grunts group to the default ladder (/pex rank default add grunts) but I don’t know how to add groups to the ladder. I tried viewing the ranks (/pex rank default) and clicking the + and it spit out the command (/pex rank default add) but anything I put in there for the groups just gives the ā€œToo many argumentsā€ bit. What am I missing?

Also, I tried adding a user that wasn’t/hasn’t connected and the UUID didn’t populate in the json file, so I tried to delete that user and got an error. I manually deleted the user from the json file and reloaded and it was fine, but I don’t know why I got the error, and I didn’t copy it. :frowning: I can try to reproduce if you wish.

Another question, can you explain the parent/child group permission relationship? Does the child inherit the parent? Or the other way around?