pex group <group> def true
Makes a group with all permissions by default
pex group <group> def true
Makes a group with all permissions by default
yeah, as @MoeBoy76 said, set the default permission to true.
To set a default group, add it as a parent to the system default subject ā so /pex system default parent add group mydefgroup
Correct me if im wrong, pex doesnt work at all.
none of the commands work, the command structure doesnt work even when followed properly, any commands @ pex result in : Too Many Arguments!
soo frustrating i really need some way to moderate what permissions my users are getting, just wish sponge had more options because as far as i can tell right now PermissionsEx isnt one of them
It does actually work. Maybe youāre doing something wrong?
Uncool approachā¦
Hereās a quick summary of some example usage of the new PermissionsEx:
Add perm to group:
/pex group [group] perm [example.permission] true
Put a player in a group:
/pex user [user] parent add group [group]
Mark a group as default:
/pex system default parent add group [group]
Add a parent to a group:
/pex group [child] parent add group [parent]
Create an OP group with all permissions (equivalent to the old, deprecated ā*ā)
/pex group [group] def true
For mod commands, the permission Sponge gives is
[modid].command.[commandname].
(Run the command /pex debug to check what permissions are being checked if you are unsure.)
A more specific example, setting up a simple group called Member:
/pex group Member perm worldedit.navigation.jumpto true
/pex group Member option prefix [Member]
Adding a (currently online) user to that group:
/pex user [username] parent add group Member
Groups are automatically created by commands as you give them permissions.
I hope that helps solve some of the confusion here, Iām sure Docs for this plugin will be forthcoming in good time.
Thanks this is really helpfull, i should have been more clear with my posts tho sorry about that, my problem right now is that i canāt find a working jar for sponge/forge 1.8 and ive tryed a ton of PEX dev jars soo far, by chance do you have a working version i could use Inscrutable?
Ty very much for the reply
The last test I ran it seemed to be working OK, I was using forge-1.8-11.14.3.1487-universal and sponge-1.8-1487-2.1DEV-515. Iām not sure if the API has been broken since then, but do make sure you use at least the latest RB of Forge (1487) as thatās what Sponge coremod is built against. That said, if you said it has been responding with ātoo many argumentsā, then it is working, your commands probably arenāt quite syntactically correct. It is very picky.
Awesome tyvm for the helpful input, ill definitely check to make sure my server is using the mentioned forge and sponge builds, hopefully that should fix things right up!
Thanks so much! I was looking for this all along!
So if I use /pex system default parent add group Default
it will make Default the group people join when the server correct?
This is rather complicated.
As opinion: I understand there is a learning curve with everything. I also believe that the time spent researching and learning should have an equal payout. To me this is a simple system (even though the backend may have a lot going on that I donāt see) that should have a simple solution.
Perhaps this is just because Iāve spent waaaay more time setting up servers than Iāve actually spent playing, but this should be easier.
On the flip side. I do appreciate the effort that programmers put into getting server administrators more involved in the process. It provides some excellent avenues for learning.
Youāll have forgive me for not wanting to add another page/novel to flip through in this notebook I have sitting next to my computer. Gosh dang it, what was that command I was looking for again?
Oh right /endreply -now -windoorsmachine -criticismminimal
Thatās what itāll do ā the groups added to that default group are added as a parent group to every user internally.
This plugin is WIP, commands have some unresolved issues (and arenāt the final goal for interaction), and documentation is not done yet. Itād probably also make sense to have some more ingame documentation, but I have been getting a lot of different things to a working level of functionality so I havenāt really had time to document things as well as Iād like.
I tested this last night, it worked reasonably well, but I came across one rather serious problem:
When I set the default groupās permission-default to false (-1), it then denied the console permission to send commands.
I had to stop the test server the hard way, even though I was opped. (Sponge build 520, Forge 1487).
Another minor quibble: There does not seem to be a way to remove a player from a group, or I canāt get the syntax right.
Removing a parent is the same as adding one
/pex user MoeBoy76 parent remove group Admin
or at least it worked last i checked
How do I install for my Sponge server? :s
[EDIT 1] I tried putting the Permissions Ex sponge file in the mods folder but it doesnāt work. It says in the console that it was an error.
And you never thought it might be useful to post the error or something?
It might still be the No Such Method Error
Yeah, but rather than trying to guess, might as well work with solid information, which users can easily provide
Might as well.