ACC

Access Control Check

Performs a check against the supplied string to see if the user performing the command has that permission. It is meant to assist in debugging permissions in game from the affected user. It is also helpful in proving that a specific user has a specific permission when they keep telling you they don’t and they need their profile updated.

 

Syntax:

/acc permission.node

Example: /acc permissions.build

/acc amchat.radio.personal.*

/acc amchat.radio.fixed.*

/acc amchat.radio.override.*

Returns:

[ACC]: permissions.build - true

[ACC]: amchat.radio.personal.* - true

[ACC]: amchat.radio.fixed.* - false

[ACC]: amchat.radio.override.* - false

 

This would tell me I currently don’t have the ability to use the “fixed” radio features of the AMChat plugin, I also don’t have the override permissions group.

 

This plug-in is per user so if you want to test out multiple groups you need multiple users or at the very least one user and an admin that can move them around to different groups.

 

If you get false on something copied right out of a permissions file, the issue might be due to either a bad yml file that isn’t correctly formatted.

 

Check you yml file to make sure your not putting spaces and look on the console for errors. When something shows True and doesn’t work in game it is usually due to a bad plug-in or a plug-in conflict.

 

Source: ACC.java I created this to help trouble shoot permissions and plugins since the number one cause of problems is usually a syntax error.

About This Project

  • Project ID
    38941
  • Created
    Apr 21, 2012
  • Last Released File
    Apr 21, 2012
  • Total Downloads
    5,895
  • License

Categories

Members

Recent Files

Bukkit