Atti Posted February 5, 2008 Posted February 5, 2008 Is there a way to get the ACL group of a player that is logged in? I can get his account, i can get the ACL associated with it... but i can't know which group is this ACL in?! I can check if this acl is equal to anyone in the group "Admins", for example. But if I want that an Admin, a Moderator and also a SuperModerator can do it, how can I do? The real problem is that i've got a command and I don't want that the user must modify his acl.xml because of this mode. So I just want everyone that isn't a guest or a common user can use that command...
eAi Posted February 5, 2008 Posted February 5, 2008 I'd strongly suggest you do not do this. It's just bypassing the whole system and we cannot remotely encourage that. The system is there to make admins aware of what they're giving users access to, you shouldn't assume that the user even has an Admin group - they could easily rename it to anything they like or decide to have a completely different structure. I know it is a bit inconvenient to have to edit the ACL, and we may look at simplifying it in the future, but it's for the best!
Atti Posted February 5, 2008 Author Posted February 5, 2008 I'll release a readme, then. Only one question: if I set the permission for a command (i.e. "command.setrounds") will it surely work? EDIT: Solved, thx.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now