SHARE
TWEET

Untitled

a guest Mar 20th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     @EventHandler
  2.     public void onPlayerCommand(PlayerCommandPreprocessEvent event) {
  3.         if (event.getMessage().equals("/ztopkills") ||
  4.                 event.getMessage().equals("/ztopkill") ||
  5.                 event.getMessage().equals("/topkills") ||
  6.                 event.getMessage().equals("/topkill") ||
  7.                 event.getMessage().equals("/ztoplist") ||
  8.                 event.getMessage().equals("/zworks") ||
  9.                 event.getMessage().equals("/zwork") ||
  10.                 event.getMessage().equals("/zprojects") ||
  11.                 event.getMessage().equals("/zproject") ||
  12.                 event.getMessage().equals("/matthew")) {
  13.             event.setCancelled(true);
  14.             event.getPlayer().sendMessage(Main.getInstance().translate("&cName: zTopList"));
  15.             event.getPlayer().sendMessage(Main.getInstance().translate("&cPlugin made by Matthew. (Máté Molnár)"));
  16.         }
  17.     }
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