exempt code for ban plugin

Discussion in 'Plugin Development' started by ridalarry, Jun 23, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    ridalarry

  2. Offline

    GotRice

  3. Offline

    ridalarry

    GotRice I want to give some players a perm to not being banned like op cannot be banned
     
  4. Offline

    teej107

    Check to see if the player hasPermission() then execute code based in that. You could also use the isOp() method as well for the op players.
     
  5. ridalarry If I understand right, you want to make a permission that stops the player from being banned. Simple enough.

    When the code is ran, make sure to check if they player they are attempting to ban has "permission.example". If they do, don't ban. If not, ban.
     
Thread Status:
Not open for further replies.

Share This Page