Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Del ban systemo
- if(BanManager.ips.contains(activeChar.getIP()))
- {
- sendPacket(new CreatureSay(activeChar.getObjectId(), Say2.CRITICAL_ANNOUNCE, "SERVER:", "You have been banned from this server. Have a nice day! :)"));
- sendPacket(new ExShowScreenMessage("You have been banned from this server. Have a nice day! :)", 60 * 60 * 1000));
- try{
- Thread.sleep(1500);
- }catch(Exception e){}
- getClient().closeNow();
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment