Such as: you go into your admin CP, chose your game, type in a message, hit "broadcast" and it sends a message to all connected users.
ex:
You could have something like this in your game:
- Code: Select all
//Note: Client not connection, so you could use this out of rooms.
client.addMessageHandler("update",M:Message, function() { showUpdateMessage(M) });
And you would be able to log in and send the message:
"update" {1.10,"changelog"}
Which could then bring up a message indicating to all users playing that an update has been released and they should refresh/rejoin room (or force rejoin room, etc.)