Answers for "events spigot"

0

event api spigot

import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;

//example
public class MyListener implements Listener {
     @EventHandler
     public void onPlayerJoin(PlayerJoinEvent event) {
		//do something
     }
}
Posted by: Guest on May-12-2021
0

event api spigot

import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;

//example
public class MyListener implements Listener {
     @EventHandler
     public void onPlayerJoin(PlayerJoinEvent event) {
		//do something
     }
}
Posted by: Guest on May-12-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language