Type is ObjectValue<MinecraftServer>.

Name Description Usage
get_world(dimension: ResourceLocation): MoValue
If dimension is valid then returns an ObjectValue<World>, otherwise returns 0.0.
v.server.get_world('minecraft:nether')
broadcast(message: String, bypassHiddenChat: Boolean?): Double
Sends the message to all players. bypassHiddenChat is false by default.
v.server.broadcast('Hello World!')
get_player_by_uuid(uuid: String): MoValue
If uuid is a valid UUID then returns an ObjectValue<Player>, otherwise returns 0.0.
v.server.get_player_by_uuid(v.player_uuid)
get_player_by_username(name: String): MoValue
If name is a valid name then returns an ObjectValue<Player>, otherwise returns 0.0.
v.server.get_player_by_username(v.player_name)
data(): VariableStruct
Returns the VariableStruct representing MoLangDataStoreFactory.
v.server.data()
save_data(): Double
Saves the MoLangDataStoreFactory and returns 1.0.
v.server.save_data()