From Virtual Paradise Wiki
Jump to navigation Jump to search
Event set and handler snippet

vp_event_set(instance, VP_EVENT_WORLD_LIST, event_world_list);

void event_world_list(VPInstance instance) { }

This event is received:

  • For each world when the universe's world list is requested with vp_world_list()
  • Whenever the client enters a world
  • Whenever a world changes state


Attribute Usage
VP_WORLD_NAME World's name
VP_WORLD_STATE World's current state
VP_WORLD_USERS World's current user count


A world is considered to have changed state when:

  • It goes online or offline
  • A user enters or leaves it


  • There is currently no way to tell if the server has sent all worlds after a vp_world_list() call


This event has no usage examples; please add at least one to this page