How do i add permissions to my plugin? I'm not using any permission plugins. How do i do this? if (your an op this code runs) { } else if(you are not an op this code runs { }
Quite simple. If you are only interested in OP or not, then do: Code: if(player.isOp()) { // do this } else { // do this } But that hasn't much to do with Permissions.