Class BentoListener
java.lang.Object
xyz.geik.farmer.integrations.bentobox.BentoListener
- All Implemented Interfaces:
org.bukkit.event.Listener
Bento listener class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteEvent
(@NotNull world.bentobox.bentobox.api.events.island.IslandDeleteEvent e) Island delete evet for remove farmervoid
islandCreateEvent
(@NotNull world.bentobox.bentobox.api.events.island.IslandCreatedEvent e) Automatically creates farmer when island is createdvoid
ownerChangeEvent
(@NotNull world.bentobox.bentobox.api.events.team.TeamSetownerEvent e) Island delete event for remove farmervoid
resetEvent
(@NotNull world.bentobox.bentobox.api.events.island.IslandResettedEvent e) Island reset event for remove farmervoid
teamJoinEvent
(@NotNull world.bentobox.bentobox.api.events.team.TeamJoinEvent e) Adds user to farmervoid
teamKickEvent
(@NotNull world.bentobox.bentobox.api.events.team.TeamKickEvent e) Removes user from farmer if added on kickvoid
teamLeaveEvent
(@NotNull world.bentobox.bentobox.api.events.team.TeamLeaveEvent e) Removes user from farmer if added on leave
-
Constructor Details
-
BentoListener
public BentoListener()Constructor of class
-
-
Method Details
-
deleteEvent
public void deleteEvent(@NotNull @NotNull world.bentobox.bentobox.api.events.island.IslandDeleteEvent e) Island delete evet for remove farmer- Parameters:
e
- of event
-
resetEvent
public void resetEvent(@NotNull @NotNull world.bentobox.bentobox.api.events.island.IslandResettedEvent e) Island reset event for remove farmer- Parameters:
e
- of event
-
ownerChangeEvent
public void ownerChangeEvent(@NotNull @NotNull world.bentobox.bentobox.api.events.team.TeamSetownerEvent e) Island delete event for remove farmer- Parameters:
e
- of event
-
teamJoinEvent
public void teamJoinEvent(@NotNull @NotNull world.bentobox.bentobox.api.events.team.TeamJoinEvent e) Adds user to farmer- Parameters:
e
- of event
-
teamLeaveEvent
public void teamLeaveEvent(@NotNull @NotNull world.bentobox.bentobox.api.events.team.TeamLeaveEvent e) Removes user from farmer if added on leave- Parameters:
e
- of event
-
teamKickEvent
public void teamKickEvent(@NotNull @NotNull world.bentobox.bentobox.api.events.team.TeamKickEvent e) Removes user from farmer if added on kick- Parameters:
e
- of event
-
islandCreateEvent
public void islandCreateEvent(@NotNull @NotNull world.bentobox.bentobox.api.events.island.IslandCreatedEvent e) Automatically creates farmer when island is created- Parameters:
e
- of event
-