Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

spigot run task later

// 20L = 1 Second
Bukkit.getScheduler().runTaskLater(main, new Runnable() {
	public void run() {
		System.out.println("Plugin has been enabled for 5 seconds!");
	}
}, 100L);
 
PREVIOUS NEXT
Tagged: #spigot #run #task
ADD COMMENT
Topic
Name
5+5 =