Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2013
4,425
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. package YOUR.PACKAGE.NAME;
  2.  
  3. import org.bukkit.event.EventHandler;
  4. import org.bukkit.event.Listener;
  5. import org.bukkit.event.player.PlayerJoinEvent;
  6.  
  7. /**
  8. *
  9. * @Author Jake
  10. */
  11. public class Events implements Listener{
  12.  
  13. @EventHandler
  14. public void onJoin(PlayerJoinEvent event) {
  15. event.getPlayer().sendMessage("Hello");
  16. }
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement