public interface PvPEvent
Modifier and Type | Interface and Description |
---|---|
static class |
PvPEvent.PvPEventType |
Modifier and Type | Method and Description |
---|---|
static java.util.List<PvPEvent> |
getCurrentPvPEvents() |
static PvPEvent |
getEvent(Player p) |
static java.lang.String |
getEventString(Player p) |
BattleKit |
getKit() |
default long |
getPhaseDuration() |
int |
getPlayersLeft() |
long |
getStartTime() |
int |
getTotalPlayers() |
PvPEvent.PvPEventType |
getType() |
boolean |
hasStarted()
Check if the event has already started.
|
static boolean |
isInEvent(Player p) |
void |
start()
Method to start the event.
|
void |
stop()
Method to force stop the event.
|
void start()
void stop()
boolean hasStarted()
BattleKit getKit()
static boolean isInEvent(Player p)
p
- static java.lang.String getEventString(Player p)
static PvPEvent getEvent(Player p)
static java.util.List<PvPEvent> getCurrentPvPEvents()
long getStartTime()
default long getPhaseDuration()
int getPlayersLeft()
int getTotalPlayers()
PvPEvent.PvPEventType getType()