Class KonquestCampCreateEvent

java.lang.Object
org.bukkit.event.Event

public class KonquestCampCreateEvent extends KonquestCampEvent
Called when a new camp is created by a barbarian player.

This event cannot be cancelled, as it is called after the camp is created. To prevent players creating camps, listen for KonquestPlayerCampEvent and cancel it.

  • Constructor Details

    • KonquestCampCreateEvent

      public KonquestCampCreateEvent(KonquestAPI konquest, KonquestCamp camp, KonquestPlayer player)
      Default constructor
      Parameters:
      konquest - The API instance
      camp - The camp
      player - The player
  • Method Details

    • getPlayer

      public KonquestPlayer getPlayer()
      Gets the player that created the camp.
      Returns:
      The player