1import org.bukkit.event.EventHandler;
2import org.bukkit.event.Listener;
3import org.bukkit.event.player.PlayerJoinEvent;
4
5//example
6public class MyListener implements Listener {
7 @EventHandler
8 public void onPlayerJoin(PlayerJoinEvent event) {
9 //do something
10 }
11}