Skip to content

Files

Latest commit

69600f9 · Sep 4, 2018

History

History
4 lines (2 loc) · 466 Bytes

README.md

File metadata and controls

4 lines (2 loc) · 466 Bytes

Events

Lukkit allows you to hook into events, such as those when a block has been placed or a player has sent a chat message. To register an event, you can use the plugin.registerEvent(event: string, callback: function) method. The event parameter can be an event listed in the event list or a path to a class, such as org.bukkit.player.PlayerJoinEvent.