[MISC] BukkitSpeak - Connect Minecraft and Teamspeak3 [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by Firedroide, Mar 18, 2012.

  1. Offline

    gamermanh

    A lot like Feenix, I seem only capable to have it connect occasionally, giving me this:
    Other than that, I get the same "could not connect to TS3" error:
    It doesn't tell me it won't connect until someone says something, in this case, me saying "test"

    My config:
    What's the problem, this plugin seems REALLY useful
     
  2. Offline

    eriorkless

    Hi, do you think you can help me with the server chat not sending to the TeamSpeak chat? It used to do it before the update. Here is my config:


    main:
    TeamSpeakIp: localhost
    TeamSpeakPort: 9987
    QueryPort: 10011
    QueryUsername: ****
    QueryPassword: ****
    teamspeak:
    TeamspeakNickname: Minecraft
    ConsoleName: '&9Server'

    # Only required if you use the channel functions!
    ChannelID: 0
    ChannelPassword: ''

    # Can only be true or false
    ListenToServerEvents: true
    ListenToServerBroadcasts: true
    ListenToChannel: true
    ListenToChannelChat: true
    ListenToPrivateMessages: true
    AllowLinksInMessages: true

    # Can be either 'server', 'channel' or 'none'
    SendChatToTeamspeak: none

    # Default reason for bans and (channel) kicks
    DefaultReason: '-'

    messages:
    TeamspeakEvents:
    Join: '&e%client_nickname% &ahas joined TeamSpeak'
    Quit: '&e%client_nickname% &ahas left TeamSpeak'
    ChannelEnter: '&e%client_nickname% &aentered the channel.'
    ChannelLeave: '&e%client_nickname% &aleft the channel.'
    ServerMsg: '[&cTS&f] &e%client_nickname%&a: %msg%'
    ChannelMsg: '&e%client_nickname%&f: %msg%'
    PrivateMsg: '&e%client_nickname% &a-> &eMe&f: %msg%'
    TeamspeakMessages:
    ServerMessage: '&4&l%msg%'
    ChannelMessage: '&4&l[%player_displayname%&4] &r%msg%'
    PrivateMessage: '&4&l[%player_displayname%&4] &r%msg%'
    PokeMessage: '&l[%player_displayname%] &r%msg%'
    KickMessage: '[%player_displayname%] kicked you from the server for %msg%.'
    ChannelKickMessage: '[%player_displayname%] kicked you from the channel for %msg%.'
    BanMessage: '[%player_displayname%] banned you from the server for %msg%.'
    MinecraftEvents:
    ChatMessage: '&l%player_displayname%&r: %msg%'
    LoginMessage: '&l%player_displayname%&r logged in.'
    LogoutMessage: '&l%player_displayname%&r logged out.'
    MinecraftCommandMessages:
    OnlineList: '&aCurrently online: &e%list%'
    ChannelList: '&aCurrently in the channel: &e%list%'
    Mute: '&aYou are now muted.'
    Unmute: '&aYou aren''t muted anymore.'
    Broadcast: '&e%player_displayname% &a-> &f[&cTS&f]&f: %msg%'
    Chat: '&e%player_displayname% &a-> &eTS&f: %msg%'
    Pm: '&eMe &a-> &e%target%&f: %msg%'
    Poke: '&e%player_displayname% &apoked &e%target%&f: %msg%'
    Kick: '&e%player_displayname% &akicked &e%target% &afrom the server for &e%msg%&a.'
    ChannelKick: '&e%player_displayname% &akicked &e%target% &afrom the channel for &e%msg%&a.'
    Ban: '&e%player_displayname% &abanned &e%target% &afor &e%msg%&a.'
     
  3. Offline

    Firedroide

    Set "SendChatToTeamspeak" to server or channel, whichever is applicable in your case.
     
  4. Offline

    Buckethead

    Got newest version of this with new config. Copy pasted old info. Cb 2203

    There is no channel password. the id is right

    errors and config http://pastie.org/4035311
     
  5. Offline

    eriorkless

    I get the same problem as BucketHead :1
     
  6. Tried restarting the TS server?
     
  7. Offline

    c0d0h

    This looks somewhat of an interesting feature to add to the server. nice work.

    just 1 quick question,
    Q. is there a way to have it constant chat between minecraft and teamspeak, without having to enter commands before the text? I know it could bug, glitch and lag, or anyway for admins to be constant between them both?

    Thanks.
     
  8. Offline

    Firedroide


    Jup, set SendChatToTeamspeak to either channel or server, then every chat message is automatically being sent to the teamspeak, just like if you used /ts chat or /ts broadcast.

    Seems to be a minor mistake on my side. That's going to be fixed in the next version of BukkitSpeak.
    Quick way of solving it: Set ChannelID: to 0.

    As it seems, the channel with the ID 1 in your case, Buckethead, is the default channel.
    Thus BukkitSpeak is already in this channel and now tries to move into this channel again.
    If you set the ChannelID to 0, BukkitSpeak won't try to move itself anymore.

    Thank you very much for the bug report, by the way!
     
    eriorkless and Buckethead like this.
  9. Offline

    c0d0h

    Many thanks for the reply.

    Another question for curiosity sake.
    Q. Can this be used with other voice/chat servers such as Ventrilo and mumble? Or is it solely for teamspeak?

    Many thanks.
     
  10. Offline

    Buckethead

    thanks. will it still show in the channel i want?
     
  11. Offline

    Firedroide

    No, this plugin only works with TeamSpeak3.
    Mumble and Ventrilo don't have something like a server query...

    Yes, if the channel with the ID 1 is the default channel, and I guess so, then it will already be in this channel when it joins.
     
  12. Offline

    c0d0h

    Ok thanks for the reply, now i know what i need to go for :) keep up to good work!
     
  13. Offline

    Nadious

    Love the idea of this. However, I think I have a problem here that nobody else has seemed to bring up (at least, not that I can see reading through the 4 pages of this thread.)

    My TS server actually requires a password to join the server. I'm assuming that this password is different from the Query password that is setup in the tools section of my client. I don't see a place to actually input a sever password, so I think that's why I'm getting the errors saying that it cannot connect.

    Are you able to use this with a server that has an actual password defined for joining?
     
  14. There is no difference between a password-protected TS-server and one without. The query password should work no matter what since the query password gives all rights to the server.

    Just try login in on the TS server with an Admin account and skip the password and you'll see that users registrered as admins don't need the password either.
     
  15. Offline

    Buckethead

    ok ty
     
  16. Offline

    Nadious

    Hmm... not sure what I'm doing wrong then. I can't get it to connect for the life of me. I'm running 1.2.5 R3, just updated a few days ago.

    I can verify that my TS3 server is up and running, because I can connect to it with my client both on the LAN and WAN side of the server. Log in, talk, all that jazz. Now, the TS server runs on the same server as my MC server. I've tried using the localhost IP (127.0.0.1), LAN IP, and even the Public IP (and verified that ports are forwarded properly) but every the server launches, I get nothing. After a few minutes, I get the error saying it could not connect to the TS3 server.

    ONE time (and only one) did I get an error saying to verify to make sure my Query username and password were correct. I believe in that case, I had it wrong, but I have since then double checked (and even rest) my server query username and password, but still can't get it to connect.

    I'm puzzled.

    Could it be since they are on the same server? I wouldn't think that would matter as long as the IPs were correct.
     
  17. Offline

    Buckethead

    are u telling it to use the lan ip, wan, or loopback (127)
     
  18. If they are on the same server you could try using 127.0.0.1 as ip. Also, have you tried restarting the teamspeak server before starting the minecraft server? Just to make sure you didn't get the mc-server banned for trying to login to many times :)
     
    Buckethead likes this.
  19. Offline

    Buckethead

    Yea i hate that and it doesn't even tell you >:L

    OH so for the making channel id 1 to 0 people who are in mc will see teamspeak chat but teamspeak doesnt see mc chat

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
    Sketaful likes this.
  20. Offline

    Firedroide

    "teamspeak doesn't see mc chat"?
    What is your setting in SendChatToTeamspeak? Probably this has been reset in some strange way.

    Also, it does tell you if you're banned from the server. If you read the third line of the error (Can't connect to the TeamSpeak server, etc.), you'll see:
    Code:
    ConnectTS3Server(): You are banned on this server
    (or something similar to this)


    EDIT: Oh, you were right about the minecraft chat! I used the wrong variable in the ChatListener.
    This bug's going to be fixed in the next version.
    Thank you very very much for this important bug report!
     
    Buckethead likes this.
  21. Offline

    Buckethead

    Thank you. Well it didnt tell me in older versions of this :< but thanks for finding bug and fixing soon. Im glad i can have so many problems and help you lol
     
  22. Offline

    Nadious

    Buckethead: I've tired all three on separate occasions.

    Sketaful: Yeah, I've restarted it a few times and even tried resetting the Query login to something else to see if that was causing the problem.

    This is killing me. LOL. I should be smart enough to figure this out. (I'm a network admin at my job, for crying out loud.) It makes zero sense to me why it is telling me that it cannot connect. I'll keep messing with it, but if not... not a big deal.

    I appreciate the help you guys have offered.
     
    Buckethead likes this.
  23. Offline

    Buckethead

    Yay got ur .52 it works but i have always hd a thing where there a double join and leave message whenever someone comes or goes

    Code:
    13:30:34 [INFO] [BukkitSpeak] Buckethead has joined TeamSpeak
    13:30:34 [INFO] [BukkitSpeak] Buckethead has joined TeamSpeak
    
    I also have a color problem since peoples name in mc are white its white ints on a white backround. which section in config do i change so that there colored prefix shows up but there name is black.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  24. Offline

    Firedroide

    Gonna check that immediately.

    Change all %player_displayname% to %player_name% in TeamspeakMessages: and MinecraftEvents:
    :D

    I just tried it out myself, it works on my Bukkit server.
    You should try stopping the server completely and restarting it again.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  25. I do hope you actually tried this already :p
     
  26. Offline

    Buckethead

    [quote uid=90621593 name="Firedroide" post=1155428]I just tried it out myself, it works on my Bukkit server.
    You should try stopping the server completely and restarting it again.[/quote]

    i have stop and restarted and still get double msg also tried your change name thing and it did not work. Here is my config for msgs

    Code:
    messages:
      events:
        Join: '&e%client_nickname% &ahas joined TeamSpeak'
        Quit: '&e%client_nickname% &ahas left TeamSpeak'
        ChannelEnter: '&e%client_nickname% &aentered the channel.'
        ChannelLeave: '&e%client_nickname% &aleft the channel.'
        ServerMsg: '[&cTS&f] &e%client_nickname%&a: %msg%'
        ChannelMsg: '&e%client_nickname%&f: %msg%'
        PrivateMsg: '&e%client_nickname% &a-> &eMe&f: %msg%'
      commands:
        OnlineList: '&aCurrently online: &e%list%'
        ChannelList: '&aCurrently in the channel: &e%list%'
        Mute: '&aYou are now muted.'
        Unmute: '&aYou aren''t muted anymore.'
        Broadcast: '&e%player_displayname% &a-> &f[&cTS&f]&f: %msg%'
        Chat: '&e%player_displayname% &a-> &eTS&f: %msg%'
        Pm: '&eMe &a-> &e%target%&f: %msg%'
      teamspeak:
        ServerMessage: '&4&c%msg%'
        ChannelMessage: '&4&c[%player_name%&4] &r%msg%' <---------- changed here
        PrivateMessage: '&4&c[%player_name%&4] &r%msg%'
        MinecraftMessage: '&c%player_name%&r: %msg%'
    Firedroide here is pic of both errors <Edit by Moderator: Redacted mediafire url>

    Edit: sorry just noticed its a 10 mb picture sorry my quality is so good XD

    [quote uid=90621593 name="Firedroide" post=1155428]I just tried it out myself, it works on my Bukkit server.
    You should try stopping the server completely and restarting it again.[/quote]

    ok wait i fixed color problem ty i just realized i was using an old config but i still have the double messages. Also the color changing doesnt show there rank and color of rank. Anyway i can have hat but change the color of their name?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 11, 2016
  27. Offline

    Firedroide

    Hmmm... not really, it didn't think about a problem like that. Maybe you should just remove the white color tags (&f) in the settings of your chat plugins for the default group. If you don't have a color set, it should be white anyways, and if no colors are set, the text will be black in TeamSpeak, so you could use %player_displayname% again, which shows ranks and stuff.

    'Bout the double messages, do you have BukkitSpeak installed twice or anything like that??
    Because that's the only way I could really imagine the messages being sent twice.

    The last thing I could think about is that the server somehow restricts Server Queries joining.
    It could also be some sort of permissions issue on the side of the TeamSpeak server.
    Also you could try using 'localhost' as the IP, although I think that would do exactly the same job as the loopback ip and the LAN IP and the public IP.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  28. Offline

    Buckethead

    uh no idk how i would have it twice and i have it you cant have a color set to nothing if i dont pu like &f at the end of their name the color from before will keep going and i didnt like the look but if not i guess thats ok

    Again i still have the double event and if i leave the channel and come back it says i left the channel when i actually just joined it

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  29. Offline

    Firedroide

    Oh, I think I have an idea.
    You said that your BukkitSpeak channel is the default channel on the TeamSpeak server.
    So every time someone enters the server, the "joined the server" message is being sent.
    But also he actually just entered the BukkitSpeak channel, so the "entered the channel" message is being sent as well!
    If you now have both messages set to look the same, it will cause a "double" message.

    I think you could solve this issue by setting the server-join-message to:
    Code:
    ''
    Please tell me if that worked.
     
  30. Offline

    dave47561879

    it keeps saying error 3329. which is something like connection failed, you are banned, try again in 0 seconds. what do i do from here?
     

Share This Page