Hello, how i can send message to client when he join to selected room using servernotifyregister and notifyclientmoved ?
You can register a channel event to get notified about joining or leaving clients. But this will only work for one channel at the time. If you need this for more channels, just track all clients with the clientlist.
Can you show me an example? :)
Quote from: Maniak on March 27, 2012, 01:48:46 AM
Can you show me an example? :)
What do you need? Just the ServerQuery commands?
no i need example code in java couse i dont understand how to do this.
where i have to put this:
addEventNotify(EVENT_MODE_CHANNEL, SELECTED_CHANNEL);
and
Quote from: Maniak on March 28, 2012, 01:16:56 AM
no i need example code in java couse i dont understand how to do this.
There is already an example, look in the src directory of the JTS3ServerQuery library.
Just an update: If you register the channel event for channel id 0, you get all channel events of every channel on that virtual server.