API Events

HuskHomes banner

API Events

HuskHomes provides a number of API events your plugin can listen to when certain actions are performed. Some of these events are cancellable, letting you stop them from executing if you wish.

List of API events

Bukkit Event class Cancellable Description
HomeSaveEvent βœ… Called when a player creates, renames, changes the location, updates the privacy or updates the description of a home
HomeDeleteEvent βœ… Called when a player deletes a home
HomeListEvent βœ… Called when a player requests to view a list of their homes, or a list of public homes
WarpSaveEvent βœ… Called when a player creates, renames, changes the location or updates the description of a home
WarpDeleteEvent βœ… Called when a player deletes a warp
WarpListEvent βœ… Called when a player requests to view a list of warps
TeleportWarmupEvent βœ… Called when a player starts a teleport warmup countdown during which they must stand still
TeleportEvent ❌ Called when a player is teleported by HuskHomes