Class ASkyblockListener
java.lang.Object
xyz.geik.farmer.integrations.askyblock.ASkyblockListener
- All Implemented Interfaces:
org.bukkit.event.Listener
ASky-block integration listeners
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onIslandDeleteEvent
(@NotNull com.wasteofplastic.askyblock.events.IslandDeleteEvent e) Remove farmer on island deletionvoid
onIslandOwnerChangeEvent
(@NotNull com.wasteofplastic.askyblock.events.IslandChangeOwnerEvent e) Change farmer owner on island transfervoid
onIslandResetEvent
(@NotNull com.wasteofplastic.askyblock.events.IslandResetEvent e) Remove farmer on island resetvoid
onPlayerJoinEvent
(@NotNull com.wasteofplastic.askyblock.events.TeamJoinEvent e) Removes user from farmer if added on leavevoid
onPlayerKickEvent
(@NotNull com.wasteofplastic.askyblock.events.TeamLeaveEvent e) Adds user to farmer
-
Constructor Details
-
ASkyblockListener
public ASkyblockListener()Constructor of class
-
-
Method Details
-
onIslandDeleteEvent
public void onIslandDeleteEvent(@NotNull @NotNull com.wasteofplastic.askyblock.events.IslandDeleteEvent e) Remove farmer on island deletion- Parameters:
e
- of event
-
onIslandResetEvent
public void onIslandResetEvent(@NotNull @NotNull com.wasteofplastic.askyblock.events.IslandResetEvent e) Remove farmer on island reset- Parameters:
e
- of event
-
onIslandOwnerChangeEvent
public void onIslandOwnerChangeEvent(@NotNull @NotNull com.wasteofplastic.askyblock.events.IslandChangeOwnerEvent e) Change farmer owner on island transfer- Parameters:
e
- of event
-
onPlayerKickEvent
public void onPlayerKickEvent(@NotNull @NotNull com.wasteofplastic.askyblock.events.TeamLeaveEvent e) Adds user to farmer- Parameters:
e
- of event
-
onPlayerJoinEvent
public void onPlayerJoinEvent(@NotNull @NotNull com.wasteofplastic.askyblock.events.TeamJoinEvent e) Removes user from farmer if added on leave- Parameters:
e
- of event
-