Welcom Messages?
Welcom Messages?
Welcome Messages: are they possible? I would like to send a message to a user as they log into a room or a zone. I can't see anything in the documentation about it.
Hello and welcome,
we don't have a specific "method" for welcome messages but it would be quite simple to create it.
If the message is the same for all you could even implement it on the client side. As soon as a user joins a room for the first time just show the welcome message. No server side work needed
Alternatively, if the welcome message changes often, you could implement it in a server side extension.
When the user successfully login you can send the welcome message inside the login response coming from the server.
You will need SmartFoxServer PRO, and you could learn more about custom logins in chapter 8.5 of our docs ( http://www.smartfoxserver.com/docs/ )
Hope it helps
we don't have a specific "method" for welcome messages but it would be quite simple to create it.
If the message is the same for all you could even implement it on the client side. As soon as a user joins a room for the first time just show the welcome message. No server side work needed
Alternatively, if the welcome message changes often, you could implement it in a server side extension.
When the user successfully login you can send the welcome message inside the login response coming from the server.
You will need SmartFoxServer PRO, and you could learn more about custom logins in chapter 8.5 of our docs ( http://www.smartfoxserver.com/docs/ )
Hope it helps
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 99 guests