Guest User

Untitled

a guest
Feb 2nd, 2018
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. // Del ban systemo
  2. if(BanManager.ips.contains(activeChar.getIP()))
  3. {
  4. sendPacket(new CreatureSay(activeChar.getObjectId(), Say2.CRITICAL_ANNOUNCE, "SERVER:", "You have been banned from this server. Have a nice day! :)"));
  5. sendPacket(new ExShowScreenMessage("You have been banned from this server. Have a nice day! :)", 60 * 60 * 1000));
  6. try{
  7. Thread.sleep(1500);
  8. }catch(Exception e){}
  9. getClient().closeNow();
  10. return;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment