SHARE
TWEET

Untitled

a guest Jun 18th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.pandainc.wordchecker;
  2.  
  3. import org.bukkit.event.EventHandler;
  4. import org.bukkit.event.Listener;
  5. import org.bukkit.event.player.AsyncPlayerChatEvent;
  6. import org.bukkit.plugin.java.JavaPlugin;
  7.  
  8. public class Main extends JavaPlugin implements Listener{
  9.    
  10.     @Override
  11.     public void onEnable() {
  12.         this.getServer().getPluginManager().registerEvents(this, this);
  13.  
  14.         System.out.println("\n\n\nWord processing has been turned on boi.\\n\\n\\n");
  15.     }
  16.    
  17.     @EventHandler
  18.     public void onPlayerChat(AsyncPlayerChatEvent e){
  19.         e.getPlayer().sendMessage("Ree");
  20.     }
  21.    
  22.     @Override
  23.     public void onDisable() {
  24.         System.out.println("\\n\\n\\nWord processing has been turned off boi.\\n\\n\\n");
  25.     }  
  26. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top