[unsupported Guide] PEX quick command reference

It won’t work because the * permission isn’t supported.
If you want a user to get all permissions, use pex user [username] default true.

1 Like

actually i did some more digging and found out that this command works for that if you have essentialscmd.jar\

/pex user [username] perm essentialscmd.* true
/pex group [groupname] perm essentialscmd.* true

Some plugins might support a * permission, but it’s not part of PEX 2.0.
In general if you want to grant a whole hierarchy of plugin commands you can just use the root permission

  • i.e. essentialcmds. This generally avoids the need for * to be supported.
1 Like

thank you now do u know the best way to set up like a promote tree kinda like group manager for bukkit. because i looked at the json file and its way more complicated?
I would like it to be set up to were and can just use the commands to promote user up a rank or down. So i can use buycraft.

exp:
Default:

promote to

Trainer
Promote to

PokeMaster

Promote to

Moderators

Promote to

Admin

Promote to

Owner

It’s all in the OP:

If all you need is one ladder, default should suffice.

OK now how do u add more to it just use the same code and it will automatically put them in order and i enter them?

Usually you make the groups inherit each other. eg trainer is the child of guest. Note that the child has more rights than the parent.

Then you put both into the ladder, the one with the fewest perms first. So you’d start with the top most parent and child, then grandchild, then grandgrandchild etc.

That said, there is an awkward interaction between ladders and default groups at the moment, depending on your permissions structure it may or may not be an issue.

https://github.com/PEXPlugins/PermissionsEx/issues/2555

I was curious on how to import a YAML file into PEX-Sponge.

This is to avoid having to re-create all my permissions I have set up. Obviously this is from and older bukkit build, but was wondering if there was a way to do this.

i believe that zml has some kind of migration for taking the old .yml and converting it to the new formatted .json

1 Like

is there a way to have group/individual chat colour?

That’s up to a chat plugin, depending on what you mean exactly, Nucleus uses prefixes

ahh okay, thanks!