Skip to content

function setPlayerVirtualWorld (server-side)

Available since version: 0.1.2

This function will set the player virtual world for all players.
Virtual worlds are are separate logical worlds on the same physical world.


void setPlayerVirtualWorld(int id, int virtualWorld)


  • int id: the player id.
  • int virtualWorld: the virtual world id in range <0, 65535>.