Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

spigot repeating task



private HashMap<UUID, Long> map = new HashMap<UUID, Long>();

@EventHandler
public void onJoin(PlayerJoinEvent event) {
    map.put(event.getPlayer().getUniqueID(), Calendar.getInstance().getTime().getTime());
}


Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #spigot #repeating #task
ADD COMMENT
Topic
Name
6+6 =