Class UltimateListener

java.lang.Object
xyz.geik.farmer.integrations.ultimateclaims.UltimateListener
All Implemented Interfaces:
org.bukkit.event.Listener

public class UltimateListener extends Object implements org.bukkit.event.Listener
UltimateClaims listener class
Author:
Khontrom
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor of class
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    claimBanEvent(com.craftaro.ultimateclaims.api.events.ClaimPlayerBanEvent event)
    Removes user from farmer if added when banned
    void
    claimCreateEvent(com.craftaro.ultimateclaims.api.events.ClaimCreateEvent event)
    Automatically create farmer when claim is created
    void
    claimDeleteEvent(com.craftaro.ultimateclaims.api.events.ClaimDeleteEvent event)
    Remove farmer on claim deletion
    void
    claimJoinEvent(com.craftaro.ultimateclaims.api.events.ClaimMemberAddEvent event)
    Adds user to farmer
    void
    claimLeaveEvent(com.craftaro.ultimateclaims.api.events.ClaimMemberLeaveEvent event)
    Removes user from farmer if added when leave
    void
    claimTransferEvent(com.craftaro.ultimateclaims.api.events.ClaimTransferOwnershipEvent event)
    Transfers farmer when claim transfer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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