Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

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
     }
}
Comment

PREVIOUS NEXT
Code Example
Java :: sort list of string lexicographically java 
Java :: print * pattern in java 
Java :: sort 2d array by column java 
Java :: java 16 raspberry pi 
Java :: @data lombok 
Java :: How to perform breadth first search through a binary tree, in Java? 
Java :: how to create a circle in java 
Java :: spinner event in android 
Java :: java print hex format 
Java :: how to add elements to an empty array in java 
Java :: how to catch enter key in java text field 
Java :: generate random color in java in android 
Java :: why java platform independent 
Java :: foreach java 
Java :: change button text onclick java 
Java :: java delete directory with files 
Java :: How to solve the N queens problem in Java? 
Java :: how to convert epoch time to date in java 
Java :: create stream from array java 
Java :: java print hello world 
Java :: jframe in java 
Java :: java remove trailing zeros from float 
Java :: localdate java 
Java :: how to add 2 numbers in java 
Java :: thread 
Java :: how to get input form combobox java 
Java :: java join two list 
Java :: java.lang.RuntimeException: Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules guava-20.0.jar (com.google.guava:guava:20.0) and listenablefuture-1.0.jar (com.google.guava:listenablefuture:1.0) 
Java :: java csv line split 
Java :: str.substring last 2 java 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =