Class CriminalRecordEntryAddedEvent

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

public class CriminalRecordEntryAddedEvent extends org.bukkit.event.Event
Event thrown when an entry has been added to 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
    CriminalRecordEntryAddedEvent​(UUID uuid, int id, String description)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the description of the criminal activity
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    int
    Get the ID of the criminal record entry
    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

    • CriminalRecordEntryAddedEvent

      public CriminalRecordEntryAddedEvent(UUID uuid, int id, String description)
  • 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
      Returns:
      ID of criminal record entry
    • getDescription

      public String getDescription()
      Get the description of the criminal activity
      Returns:
      description of the criminal activity
    • getHandlers

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

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