Class UltimateListener
java.lang.Object
xyz.geik.farmer.integrations.ultimateclaims.UltimateListener
- All Implemented Interfaces:
org.bukkit.event.Listener
UltimateClaims listener class
- Author:
- Khontrom
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
claimBanEvent
(com.craftaro.ultimateclaims.api.events.ClaimPlayerBanEvent event) Removes user from farmer if added when bannedvoid
claimCreateEvent
(com.craftaro.ultimateclaims.api.events.ClaimCreateEvent event) Automatically create farmer when claim is createdvoid
claimDeleteEvent
(com.craftaro.ultimateclaims.api.events.ClaimDeleteEvent event) Remove farmer on claim deletionvoid
claimJoinEvent
(com.craftaro.ultimateclaims.api.events.ClaimMemberAddEvent event) Adds user to farmervoid
claimLeaveEvent
(com.craftaro.ultimateclaims.api.events.ClaimMemberLeaveEvent event) Removes user from farmer if added when leavevoid
claimTransferEvent
(com.craftaro.ultimateclaims.api.events.ClaimTransferOwnershipEvent event) Transfers farmer when claim transfer
-
Constructor Details
-
UltimateListener
public UltimateListener()Constructor of class
-
-
Method Details
-
claimCreateEvent
public void claimCreateEvent(com.craftaro.ultimateclaims.api.events.ClaimCreateEvent event) Automatically create farmer when claim is created- Parameters:
event
- of event
-
claimJoinEvent
public void claimJoinEvent(com.craftaro.ultimateclaims.api.events.ClaimMemberAddEvent event) Adds user to farmer- Parameters:
event
- of event
-
claimLeaveEvent
public void claimLeaveEvent(com.craftaro.ultimateclaims.api.events.ClaimMemberLeaveEvent event) Removes user from farmer if added when leave- Parameters:
event
- of event
-
claimBanEvent
public void claimBanEvent(com.craftaro.ultimateclaims.api.events.ClaimPlayerBanEvent event) Removes user from farmer if added when banned- Parameters:
event
- of event
-
claimTransferEvent
public void claimTransferEvent(com.craftaro.ultimateclaims.api.events.ClaimTransferOwnershipEvent event) Transfers farmer when claim transfer- Parameters:
event
- transfer claim event
-
claimDeleteEvent
public void claimDeleteEvent(com.craftaro.ultimateclaims.api.events.ClaimDeleteEvent event) Remove farmer on claim deletion- Parameters:
event
- of event
-