rafull6 Posted June 17, 2011 Share Posted June 17, 2011 Hey guys, I have a question: How to make that current resource will be available only for Members and Admins on the server? I have read acl.xml file and found that users can use all resources: <group name="Everyone"> <acl name="Default" /> <object name="user.*" /> <object name="resource.*" /> </group> How to make an exception for current resource, that it will be available only for Members and Admins? Link to comment
Klesh Posted June 23, 2011 Share Posted June 23, 2011 Wrong Topic, move this to Scripting Topic. Link to comment
will briggs Posted June 24, 2011 Share Posted June 24, 2011 You need to edit the ALC Correctly to only load the resource for a certain group... So create a new group that when login or register they bellong to that group then apply that resource to them... Link to comment
rafull6 Posted June 25, 2011 Author Share Posted June 25, 2011 You need to edit the ALC Correctly to only load the resource for a certain group... So create a new group that when login or register they bellong to that group then apply that resource to them... For example i want that "example" resource belonged to Admin group only, than i must add this <object name="resource.superpowers" /> to Admin group in ACL!? Link to comment
rafull6 Posted June 25, 2011 Author Share Posted June 25, 2011 Yeah Crap... It's work for all players... may be ACL need some exception for using this resource or something like that? Link to comment
will briggs Posted June 25, 2011 Share Posted June 25, 2011 In the player group, there should be alot of settings, like true or false, add yours to the player group and denny it so false Link to comment
rafull6 Posted June 25, 2011 Author Share Posted June 25, 2011 Here is the main problem. This resource do not use command, it works by button hit, so when i press button "i" (for example) it opens a window, so i can't disable it in ACL. Link to comment
eAi Posted June 25, 2011 Share Posted June 25, 2011 Look at the ACL functions on the wiki - you can use the ACL to limit access to anything, including GUI buttons... Link to comment
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