Hello,
Is there a way to make announcements to all players. Lets say an event is going on and we want notify all players in the game possibly a ticker animating in the game screen.
Or we have to make separate java applet (implemented smartfox server side api ) that will sync with php/database and make announcements to all players.
Or is there a better way ? or how to do it.
Thanks.
Admin tool feature !
Re: Admin tool feature !
You can send a moderator message.
See the documentation here
You can send it to a Room, the whole Zone or a selection of Users of your choice.
cheers
See the documentation here
You can send it to a Room, the whole Zone or a selection of Users of your choice.
cheers
Re: Admin tool feature !
Ok, so for that purpose I will need to create moderator logins as well ? and make a module for them at client side so that they can send messages ?
One more thing, is there any event going on after some time lets say a tournament after one week, and we have crone job running in php server, so how can I notify all players in zone ? can php talk to smartfox to notify all users ? or what will be the procedure ?
Thanks.
One more thing, is there any event going on after some time lets say a tournament after one week, and we have crone job running in php server, so how can I notify all players in zone ? can php talk to smartfox to notify all users ? or what will be the procedure ?
Thanks.
Re: Admin tool feature !
faisal007 wrote:Ok, so for that purpose I will need to create moderator logins as well ? and make a module for them at client side so that they can send messages ?
Not necessarily. If you already have a login check system, you just need to recognize those users that are defined (somewhere) as moderators. This is typically a field in the database that you can check at login time and then activate the privilege for the User in SmartFox.
http://docs2x.smartfoxserver.com/Advanc ... ge-manager
One more thing, is there any event going on after some time lets say a tournament after one week, and we have crone job running in php server, so how can I notify all players in zone ? can php talk to smartfox to notify all users ? or what will be the procedure ?
You can use the Task Scheduler to schedule any message/activity at any time.
http://docs2x.smartfoxserver.com/Gettin ... wtos#item7
If this needs to be triggered by the php server is going to be more tricky. The PHP will have to call a servlet running in SFS2X's webserver which in turn will trigger the message.
cheers
Re: Admin tool feature !
Alright so you mean to say that we should schedule all tasks on smartfoxserver. That way we will easily trigger messages to all users when required.
That way we will also be free from crone jobs and etc. It sounds good.
Thanks.
That way we will also be free from crone jobs and etc. It sounds good.
Thanks.
Who is online
Users browsing this forum: No registered users and 135 guests