Returns an extremely detailed and nested struct of everything happening on your server.

It has a rooms key which has a struct representing every room, where the key is the room name as a string. In this struct representing the room the keys are

  1. "clients" - the value is a struct represening all clients here

  2. "persistentObjects" - the value is an array of all persistentObject ids

In the client struct the keys are client ids and the value is an (array of the IDs of entities) that this client owns.

Example Implementation

function callback_ViewServerActivity(activity_struct){
  • You can use this to get a total count of all clients on your server

  • You can use this to get a total count of all entities belonging to any client

  • You can see which persistent object is in which room

Last updated