Class KvKCMDExecuteEvent

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

public class KvKCMDExecuteEvent extends org.bukkit.event.Event
Event thrown when someone uses /kvk
  • Constructor Details

    • KvKCMDExecuteEvent

      public KvKCMDExecuteEvent(org.bukkit.command.CommandSender sender, String company, String companyOwner, String licenser, String category, String kvknumber, String plot)
  • Method Details

    • getSender

      public org.bukkit.command.CommandSender getSender()
      Person who has executed /kvk
      Returns:
      CommandSender that executed /kvk
    • getCompany

      public String getCompany()
      The company variable given in /kvk
      Returns:
      String that is the company name given in /kvk
    • getCompanyOwner

      public String getCompanyOwner()
      The companyowner (bedrijfseigenaar) variable given in /kvk
      Returns:
      String that is the name of the company owner
    • getLicenser

      public String getLicenser()
      The licenser (uitgever) as given in /kvk
      Returns:
      The licenser that was given in /kvk
    • getCategory

      public String getCategory()
      The category as given in /kvk. Example: Food, computers etc.
      Returns:
      The category as given in /kvk
    • getKvKNumber

      public String getKvKNumber()
      The KvKNumber given in /kvk. This usually is unique but is totally up to the server owner.
      Returns:
      the number given in /kvk
    • getPlotName

      public String getPlotName()
      The plot name as given in /kvk
      Returns:
      plotname of given company
    • getHandlers

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

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