Solved Banning a offline player

Discussion in 'Plugin Development' started by Harmings, Aug 11, 2013.

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

    Harmings

  2. Offline

    raGan.

  3. Offline

    hubeb

    you can get the args of of cmd and do:
    Code:java
    1. //Not the real code, you have to do that your self this is just a little push.
    2. OfflinePlayer offP = Bukkit.getOfflinePlayer(args);
    3. offP.isBanned(true);
     
  4. Offline

    skore87

  5. Offline

    Harmings

    Thanks guys :)
     
  6. Offline

    Trevor1134

    Harmings Make sure to make this thread as solved :)
     
Thread Status:
Not open for further replies.

Share This Page