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 separate logical worlds on the same physical world.

Declaration

void setPlayerVirtualWorld(int id, int virtualWorld)

Parameters

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