How to use player.setOp(boolean,arg0);

Discussion in 'Plugin Development' started by Rares2000, Jan 3, 2015.

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

    Rares2000

    How to use player.setOp(boolean,arg0);
     
  2. Offline

    Plugers11

    Simple ?

    player.setOp(true); or player.setOp(false);
     
  3. Offline

    mrCookieSlime

    Moved to Plugin Developement.

    @Rares2000
    You use it just like any other Java method.
    player.setOp(boolean op)
    the Boolean op specifies whether it will be an op or a non-op.

    Example:
    player.setOp(true) -> Player will be op
    player.setOp(false) -> Player will not be an op
     
  4. Offline

    Rares2000

    Thank you verry much @Plugers11 and @mrCookieSlime . This might mak it easier for my admins not to find out who I op and who I deop on my server. Thx
     
Thread Status:
Not open for further replies.

Share This Page