event api spigot

Solutions on MaxInterview for event api spigot by the best coders in the world

showing results for - "event api spigot"
Lucia
22 Jan 2019
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}