Page 1 of 1

Bukkit Plugins: Permissions

Posted: Mon Jun 11, 2012 4:05 pm
by Samuel98
Content Deleted

Re: Bukkit Plugins: Permissions

Posted: Mon Jun 11, 2012 4:54 pm
by jacek
What you have is

[syntax=java]if (player_is_not_op OR player_does_not_have_permission){

}[/syntax]
Over all this will always be true since the player will not have the permission if they are an OP and will not be an OP if they have the permission.

You can just check the permission, if you have it to default: op in your plugin.yml file bukkit will set it for all OPs

Re: Bukkit Plugins: Permissions

Posted: Mon Jun 11, 2012 4:56 pm
by Samuel98
Content Deleted

Re: Bukkit Plugins: Permissions

Posted: Mon Jun 11, 2012 5:01 pm
by jacek
You probably de-oped your self or something ? Or maybe there was a change to do with the way isOp() is checked.