installation JTS3ServerMod

Started by fonzy, December 07, 2011, 04:36:50 PM

Previous topic - Next topic

fonzy

#15
hello stefan
I noticed that your model can read the messages that are sent to the server as! botinfo. I wanted to ask you how you doing? There is a file that is saved of all conversations?

Also how do you know that a user has logged into the server to send a welcome message?

thanks

Stefan1200

#16
I don't understand this question. Who is reading what? What do you mean with model? The bot don't save any conversations. The only stuff the bot is holding in memory are client information like last online time, unique id, nickname and client database id. And of course the permission and server group list for some features. But no chat data will be saved by the bot.

Only the usage of bot commands, like !botinfo, are written to the bot logfile.

Edit: After reading your edit I understand what you mean. You can register some events, like people joining/leaving the server and chat messages to receive them. But I don't know how to handle that with PHP, because you need a permanent telnet connection to the TS3 server.

fonzy

I meant: how do you retrieve the! botinfo I write in chat?

both Java and PHP work with telnet. If java retrieves commands that i write in chat, can also do php.

Stefan1200

Quote from: fonzy on December 21, 2011, 09:01:34 PM
I meant: how do you retrieve the! botinfo I write in chat?

Check the command servernotifyregister