daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @EventHandler(priority=EventPriority.HIGHEST, ignoreCancelled=true)
  2.   public void onchat(AsyncPlayerChatEvent olay)
  3.   {
  4.     if ((olay.getPlayer() instanceof Player))
  5.     {
  6.       Player oyuncu = olay.getPlayer();
  7.       if (olay.getMessage().contains("I??"))
  8.       {
  9.         olay.setCancelled(true);
  10.         oyuncu.sendMessage(this.Prefix + this.chat);
  11.       }
  12.       if (olay.getMessage().contains("i???"))
  13.       {
  14.         olay.setCancelled(true);
  15.         oyuncu.sendMessage(this.Prefix + this.chat);
  16.       }
  17.     }
  18.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top