Server assumptions of the database - sid-code/nmoo GitHub Wiki
The server assumes several things about the database. The list of things inevitably grows so I'll try to document it here.
- #0 is a built-in object that the server expects the database to provide with certain properties listed below.
- #0 should have a property "nowhere" which is an object that represents the concept of "nowhere". Specifically, if an object's location is nowhere, then it is somehow outside the game.
- #0 should have a verb
handle-new-connection
that determines which player a new connection (player or guest object) should be assigned to or kick the player (return nil)