Tutorial by Examples: bukkit

The BukkitRunnable is a Runnable found in Bukkit. It's possible to schedule a task directly from a BukkitRunnable, and also cancel it from inside itself. Important: The time on the tasks is measured in Ticks. A second has 20 ticks. Non-RepeatingTask: JavaPlugin plugin; //Your plugin instance ...
public class MyClass { public void foo() { Logger logger = Bukkit.getLogger(); logger.info("A log message"); logger.log(Level.INFO, "Another message"); logger.fine("A fine message"); // logging an exception try { ...
Writing a Hello command Writing an Event Listener

Page 1 of 1