Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.
Moderators: Bax, Lapo, rjgtav
If you didn't follow the introductory Extension tutorials and jumped right into development you will probably find yourself attempting to work directly on the User or Room object in order to set new Room/User Variables or creating a new Room etc...
This is not recommendable, because you are just making local changes without updating the client.
The server framework exposes an API class called SFSApi which gives you access to dozens of useful methods for Room/User Variables, creating Rooms and tons more.
Always start from SFSApi when in need of a specific functionality.
I highly recommend to invest 10 minutes in reading this document, which guides you through the basics of Extension development.
- Site Admin
- Posts: 13519
- Joined: 21 Mar 2005, 09:50
- Location: Italy
Return to SFS2X Questions
Who is online
Users browsing this forum: No registered users and 2 guests