Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to make plugin wait spigot

Bukkit.getScheduler().runTaskLater(plugin, () -> {
    // code
}, 20L); // amount to wait in ticks , 20 ticks = 1 second
Source by www.spigotmc.org #
 
PREVIOUS NEXT
Tagged: #plugin #wait #spigot
ADD COMMENT
Topic
Name
3+9 =