WorldGroup

Undocumented in source.

Members

Functions

addPlayer
void addPlayer(Player player)
Undocumented in source. Be warned that the author may not have intended to support it.
addWorld
void addWorld(WorldInfo info, E args)

Adds a world.

broadcast
void broadcast(E args)

Broadcasts a message to every world in the group.

broadcastImpl
void broadcastImpl(Message[] message)
Undocumented in source. Be warned that the author may not have intended to support it.
removePlayer
void removePlayer(Player player, bool closed)
Undocumented in source. Be warned that the author may not have intended to support it.
removeWorld
void removeWorld(uint worldId)

Removes a world.

start
void start()

Starts the group.

updateDifficulty
void updateDifficulty(Difficulty difficulty)
Undocumented in source. Be warned that the author may not have intended to support it.
updateGamemode
void updateGamemode(Gamemode gamemode)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

players
Player[] players [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
server
shared(NodeServer) server [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
worlds
World[] worlds [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

depleteHunger
bool depleteHunger;
Undocumented in source.
difficulty
Difficulty difficulty;
Undocumented in source.
gamemode
Gamemode gamemode;
Undocumented in source.
naturalRegeneration
bool naturalRegeneration;
Undocumented in source.
pvp
bool pvp;
Undocumented in source.
randomTickSpeed
uint randomTickSpeed;
Undocumented in source.
time
Time time;
Undocumented in source.
viewDistance
uint viewDistance;
Undocumented in source.
weather
Weather weather;
Undocumented in source.

Meta