Author Topic: installation JTS3ServerMod  (Read 34773 times)

fonzy

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: installation JTS3ServerMod
« Reply #15 on: December 21, 2011, 07:22:55 PM »
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
« Last Edit: December 21, 2011, 07:25:53 PM by fonzy »

Stefan1200

  • Administrator
  • *****
  • Posts: 2235
    • View Profile
Re: installation JTS3ServerMod
« Reply #16 on: December 21, 2011, 07:27:56 PM »
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.
« Last Edit: December 21, 2011, 07:29:59 PM by Stefan1200 »

fonzy

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: installation JTS3ServerMod
« Reply #17 on: December 21, 2011, 09:01:34 PM »
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

  • Administrator
  • *****
  • Posts: 2235
    • View Profile
Re: installation JTS3ServerMod
« Reply #18 on: December 21, 2011, 09:15:06 PM »
I meant: how do you retrieve the! botinfo I write in chat?

Check the command servernotifyregister