Skip to content

function setServerWorld (server-side)

Available since version: 0.0.0

Note

If the target world path is written with backslashes instead of normal slashes, you need to escape it with another backslashes e.g. "NEWWORLD\NEWWORLD.ZEN".

This function will change the default world to which players will enter after joining.

Declaration

void setServerWorld(string world)

Parameters

  • string world: the path to the target world.