Class CriminalRecordEntryDeletedEvent

java.lang.Object
org.bukkit.event.Event
nl.minetopiasdb.api.events.player.CriminalRecordEntryDeletedEvent

public class CriminalRecordEntryDeletedEvent extends org.bukkit.event.Event
Event thrown when an entry has been removed from the players criminal record
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    int
    Get the ID of the criminal record entry that was deleted
    Get the UUID of the player whose criminal record was changed

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CriminalRecordEntryDeletedEvent

      public CriminalRecordEntryDeletedEvent(UUID uuid, int id)
  • Method Details

    • getUUID

      public UUID getUUID()
      Get the UUID of the player whose criminal record was changed
      Returns:
      UUID of player
    • getId

      public int getId()
      Get the ID of the criminal record entry that was deleted
      Returns:
      ID of criminal record entry
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()