AddWorld

Notifies the hub that a new world has been created on the node.

Members

Mixins

__anonymous
mixin Make
Undocumented in source.

Variables

ID
enum ubyte ID;
Undocumented in source.
default_
bool default_;

Indicates whether the world is the node's default (the one where new players are spawned into if not handled by plugins). If the node does not support default worlds or it simply doesn't have one this field should be left to its default value (false). If the hub receives more than one default world it should consider the last received one as the default world.

dimension
ubyte dimension;

World's dimension in the MCPE format (0: overworld, 1: nether, 2: end).

groupId
uint groupId;

World's group id. Similar worlds can be grouped together and removed with the RemoveWorldGroup packet. If the world is independent and has no group the group id must be the same as the world id.

name
string name;

Name of the world, it doesn't need to be unique.

worldId
uint worldId;

Id of the world. Must be unique on the node.

Mixed In Members

From mixin Make

__anonymous
mixin xpacket.maker.Make
Undocumented in source.
fromBuffer
typeof(this) fromBuffer(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta