Black2 Posted June 3, 2015 Share Posted June 3, 2015 How put command only for admin ? I could already do this, but this time I'm not getting. I managed to do it this way,I do exactly the same but nothing happens. "Admin"> "command.command" access="true"> "Default"> "command.command" access="false"> Link to comment
xXMADEXx Posted June 3, 2015 Share Posted June 3, 2015 Use the hasObjectPermissionTo function. Link to comment
Enargy, Posted June 4, 2015 Share Posted June 4, 2015 Use the hasObjectPermissionTo function. Also isObjectInACLGroup Link to comment
xXMADEXx Posted June 4, 2015 Share Posted June 4, 2015 Use the hasObjectPermissionTo function. Also isObjectInACLGroup He would use isObjectInACLGroup if he wanted to check if a player is in an ACL group. The hasObjectPermissionTo function just checks if a user has a right for something like command.ban. 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