
Permission System!?
Closed this issue · 21 comments
Hi there! ;)
So, maybe im just to dumb for this Permission System :D but i dont get, why my Permission dont work...
What i did..
- Set up the MySqL Database-storage (workes fine) then i...
1.1 /luckperms creategroup admin - /luckperms creategroup supp
- /luckperms group admin parent add supp
- /luckperms group admin meta addprefix 100 "&cAdmin "
- /luckperms group supp meta addprefix 90 "&a Supp"
- /luckperms group supp set chatex.allowchat true lobby1
- /luckperms group supp set chatex.allowchat true
(Edit: 7.1 I surely did /luckperm user ZnapGaming setprimarygroup admin / supp) - But i still cant chat with the group "supp" (Im using ChatEX+Vault+Apis)
What am i doing wrong? The perm. even shows up in the DataBase: http://prntscr.com/cye1ik
Btw: maybe i will translate the lang.yml soon :) (to german)
Sure, http://prntscr.com/cyf196 there you go. Extra Footage:http://prntscr.com/cyf11e | http://prntscr.com/cyf1n0 :)
Do you know any other Chat Plugin that is supportet? I dont wanna use essentialsX on the lobby :D
Btw: Is this a Problem? http://prntscr.com/cyfz4b
And is it normal, that when i had the "setprimarygroup to admin" and i set my primary group to "supp", that i still have the admin Prefix? :O Or did i have to clear my rank (group) first?
Sorry, my bad. I re-read your post and understand now.
So, primary group has impact on any of the internal operations in LuckPerms, including prefix priority.
The only thing it considers is the priority of the prefix. Obviously, you're getting the admin one, because it is set at a higher priority.
If you want to force yourself to use the "supp" one, run:
/luckperms user ZnapGaming set "prefix.90.&a Supp" false
or just remove yourself from admin.
And yes, using "setprimarygroup" will not "unset" any of your previous groups. It just overrides them.
You need to use the "parent remove" command to remove other groups.
Unless you need it for Vault, setting the primary group isn't important.
Your English is great; I just misread. Totally my fault.
Ok so:
/luckperms user Notch clear
will reset the user to default. As if they'd never logged into the server before.
/luckperms user Notch parent remove admin
will remove the user from admin. If their "primary group" is also set to admin, you might need to change that too. In which case, you'd do:
/luckperms user Notch parent add default
/luckperms user Notch setprimarygroup default
/luckperms user Notch removegroup admin
Why are English (UK) guys alyways be sooo friendly and kind? I Love it ;D
So did i get it right?
pex inheritance isnt = parent?
Not sure what you mean by pex inheritance?
A parent group is just a group that a user/group inherits permissions from.
So if the group "Member" has the permission to "e.g. chatex.allowchat" and is the "child (Facepalm Kind is a German word ^^)" of Admin, admin will get the chatex.allowchat permission also? :) I Think, im on the right way ;D
Yes, to clarify:
/luckperms creategroup member
/luckperms creategroup admin
/luckperms group admin parent add member
/luckperms group member permission set chatex.allowchat true
/luckperms group admin permission set some.admin.permission true
Member gets: chatex.allowchat
Admin gets: chatex.allowchat and some.admin.permission
I´m slowly getting use to your super awsome Permission Plugin! Thanks a lot dude! I appreciate!
If I have more problems (or im just to dumb ^^) i will get in touch with you, love ya <3