Skip to content

KubeJS Player

Pearl edited this page Feb 16, 2024 · 3 revisions
// Give the player the phase
void addPhase(ServerPlayer player, String phase);

// Make the player lose the phase
void removePhase(ServerPlayer player, String phase);

// Make the player lose all phases
void clearPhase(ServerPlayer player);

// Test if a player has a certain phase
boolean hasPhase(ServerPlayer player, String phase);

Clone this wiki locally