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

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

  1. Offline

    Avarice

    Hey, just updated to the newer version, but can't seem to figure out what to put in the config

    SendChatToTeamspeak: none

    Tried all/true
    Not really sure what goes there, because it keeps resetting it to none. ^_^
     
  2. Offline

    C7_4K

    are you add mincraft server ip to query_whitlist_ip.txt (teamspeak 3 hosting)??
     
  3. Offline

    Firedroide


    Sorry for that, I really have to update all the documentation. ^^
    You can put in 'none', 'channel' or 'server'.
    Also, there are a few bugs with that function that are going to be fixed in the next version.
     
  4. Offline

    xxdilbertxx

    you should make it for Mumble its way better then TS or vent
     
  5. Offline

    Firedroide

    I think, Mumble has no such thing as a ServerQuery.
     
  6. Offline

    xxdilbertxx

    yeah your right that was why i couldn't get it to show any info on my HL2 stats page only a connect link
     
  7. Offline

    Avarice

    Thank you sooo much <3333
     
  8. Offline

    ytcreepersden

    Small issue, after a while the plugin seemed to have just... Stopped connection to my TS3 server, all I had to do was reload the plugin, but is there a way to keep that from happening?
     
  9. Offline

    follet2004

    I got some errors of permissions, you didn't said the permissions of ts3 or just an error, can you help me please?

    2012-04-21 11:38:15 [WARNING] [BukkitSpeak] TS Query error (ID 520): invalid loginname or password
    2012-04-21 11:38:17 [WARNING] [BukkitSpeak] TS Query error (ID 513): nickname is already in use
    2012-04-21 11:38:18 [WARNING] [BukkitSpeak] TS Query error (ID 2568): insufficient client permissions
    2012-04-21 11:38:20 [WARNING] [BukkitSpeak] TS Query error (ID 770): already member of channel
     
  10. Offline

    Firedroide

    Your config seems to be wrong. Are you sure that QueryUsername and QueryPassword are correct?
     
  11. Offline

    Avarice

    I use falsebook and serversigns to execute a few different commands every few minecraft days, i.e.
    Every 3 minecraft days it will execute /ts reload from console
    Every 7 minecraft days it will execute /lb savequeue from console

    There are plugins that allow you to run commands every so often, but I didn't feel like getting another one when we already had things that could do it. If you decide to use Falsebook and ServerSigns (which are two very good plugins to have on any server imo for multipurposes), just turn the redstone listener on in the config for server signs.

    If the circuits/signs are not hidden, at least be sure that they are in a protected area where people cannot toggle the lever or use the sign (set a price on the sign for something crazy). Found out that if someone uses the reload command too much it will spam chat many times with the same message and a server restart will be needed.

     
  12. Offline

    Buckethead

    On starup
    Code:
    00:47:55 [SEVERE] [BukkitSpeak] Exception while listening to the Teamspeak Query.
    00:47:55 [SEVERE] java.net.SocketException: Software caused connection abort: recv failed
    00:47:55 [SEVERE]      at java.net.SocketInputStream.socketRead0(Native Method)
    00:47:55 [SEVERE]      at java.net.SocketInputStream.read(Unknown Source)
    00:47:55 [SEVERE]      at java.net.SocketInputStream.read(Unknown Source)
    00:47:55 [SEVERE]      at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
    00:47:55 [SEVERE]      at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
    00:47:55 [SEVERE]      at sun.nio.cs.StreamDecoder.read(Unknown Source)
    00:47:55 [SEVERE]      at java.io.InputStreamReader.read(Unknown Source)
    00:47:55 [SEVERE]      at java.io.BufferedReader.fill(Unknown Source)
    00:47:55 [SEVERE]      at java.io.BufferedReader.readLine(Unknown Source)
    00:47:55 [SEVERE]      at java.io.BufferedReader.readLine(Unknown Source)
    00:47:55 [SEVERE]      at net.but2002.minecraft.BukkitSpeak.TeamspeakHandler.run(TeamspeakHandler.java:53)
    00:47:55 [SEVERE]      at java.lang.Thread.run(Unknown Source)
    
    thought i fixed it then it said

    Code:
    01:02:59 [WARNING] [BukkitSpeak] TS Query error (ID 770): already member of channel
    01:03:04 [WARNING] [BukkitSpeak] TS Query error (ID 3331): flood ban
    01:03:04 [SEVERE] [BukkitSpeak] Exception while listening to the Teamspeak Query.
    01:03:04 [SEVERE] java.lang.NullPointerException
    01:03:04 [SEVERE]      at net.but2002.minecraft.BukkitSpeak.TeamspeakHandler.run(TeamspeakHandler.java:54)
    01:03:04 [SEVERE]      at java.lang.Thread.run(Unknown Source)
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  13. Offline

    Firedroide

    The first error message is my fault, that's going to be fixed in the next update.
    It shouldn't cause any errors in BukkitSpeak itself though.

    The second one is because you restarted BukkitSpeak too often in a too small period of time, that's why TeamSpeak banned you temporarily.
    Just wait a few minutes, then it should work again.
    If it doesn't, change your QueryUsername and QueryPassword.
     
  14. Offline

    Buckethead

    ok. anyway i can undo a temp ban? also how i make new query login?

    nvm

    ok i have my server and 3 channels. I thought if i changed the channeid in teamspeak thats where in gme talk appears. this is how i have it.

    Code:
    teamspeak:
      ConsoleName: '&eServer'
      ChannelID: 1
      ChannelPassword: ''
    I want in game chat to appear here and when people talk in this ts lobby for it to appear in game. I thought thats what this would do.?

    i also thought that if i changed channels i wouldnt get mc chat but i still do. is it possible for all of it to be in 1 channel?

    I notice if i do /ts chat it shows up in the loby i wat but i want all traffic to go to that lobby by default instead of virtual server

    Besides what i requested it seemed fine then in the midst of being used.

    Code:
    15:29:05 [SEVERE] Could not pass event PlayerChatEvent to BukkitSpeak
    org.bukkit.event.EventException
     
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
     
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
     
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
     
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:786)
     
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
     
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:103)
     
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
     
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
     
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
     
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169)
     
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
     
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
     
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
     
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
     
    Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 32
     
            at java.lang.String.charAt(Unknown Source)
     
            at java.util.regex.Matcher.appendReplacement(Unknown Source)
     
            at java.util.regex.Matcher.replaceAll(Unknown Source)
     
            at java.lang.String.replaceAll(Unknown Source)
     
            at net.but2002.minecraft.BukkitSpeak.Commands.BukkitSpeakCommand.replaceKeys(BukkitSpeakCommand.java:169)
     
            at net.but2002.minecraft.BukkitSpeak.ChatListener.replaceKeys(ChatListener.java:48)
     
            at net.but2002.minecraft.BukkitSpeak.ChatListener.onPlayerChat(ChatListener.java:34)
     
            at sun.reflect.GeneratedMethodAccessor189.invoke(Unknown Source)
     
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     
            at java.lang.reflect.Method.invoke(Unknown Source)
     
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
     
            ... 13 more
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  15. Offline

    Firedroide

    First of all: Stop spamming this thread!
    If you need more support, write me a pm or something like that.

    Code:
    ChannelID: 1
    I'm quite sure, the channel ID is not 1.
    Read the wiki on how to find out the channel ID.

    Virtual servers? BukkitSpeak doesn't support those and probably won't support them in the future.

    No, BukkitSpeak doesn't just cancel out all the Minecraft chat messages. They still show up in Minecraft, they're just copied to the TeamSpeak server or the specific channel.
     
  16. Offline

    Buckethead

    HA! Figuered it out on my own. Its whenever someone says "\"

    mine is server

    Nvm i figured the channel problem on my server to cuz of that

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

    Firedroide

    Buckethead, last warning:
    Stop spamming this thread!

    If you write any more messages with really no content, I'll report you.
     
  18. Offline

    Jokerwitz

    I haven't even read this whole page and I can tell you I already love the idea of this plugin!
     
  19. Offline

    Dreeass

    Is this configurable for each channel or for the whole ts server? Btw I love the idea, I can't test because I'm on iPod..
     
  20. Offline

    superjack010

    Awesome, Worked like a charm. Thanks :)
     
  21. Offline

    MeSoHigh

    I love your work, but I hate to check the page for updates all the time. Have you managed to get a dev bukkkit page yet? <3 MeSoHigh
     
  22. Offline

    Firedroide

    I wanted to, but somebody else already made a Bukkit dev page of his own plugin, which is also called BukkitSpeak.
    :(
     
  23. Offline

    Deathmarine


    My apologies unfortunately we've came across developing an extremely similar plugin with ironically the same name. This version of the plugin was not to my knowledge at all before developing and posting.
    However I will rename my version to "BukkitSpeak 2" considering I had just recently had players asking me about net.but2002.minecraft.BukkitSpeak.BukkitSpeak Stacktrace Errors and it was blowing my mind. I can not rename the url dev.bukkit.org/server-mods/bukkitspeak/. However the BukkitDev Page has been modified. Pretty much considering that last year when Bukkit said they would migrating completely to bukkitdev (which never happened) I posted all of my stuff there and have yet to deal with the forum. Considering this I never intentionally meant to steal the name I just didn't see it on BukkitDev when I searched the name before I posted it. If you want to verify code github.com/deathmarine/BukkitSpeak , I just hate to look like I stole someone else's plugin. Furthermore, the irony this killing me, I actually was under the impression that my code was stolen when I found that But2002 had done this way before I did. Let me know if there is anything else that you need or I can help you with.
     
  24. Offline

    Firedroide


    I didn't mean to say that you stole my code or anything like that, sorry about that.
    Also, this plugin has been managed by Greycap and but2002 before, and it has been around for almost a year, I'm just here to add some new functions and to keep it updated :D

    It's just kind of stupid that the url doesn't change when the name is changed, so I think I'll stay with this forum thread until the Modding API is released and Minecraft gets its own plugin repository.
    If you also move over to the MinecraftAPI, there will be the same name conflict again, so should I change the name of my plugin or how do we want to solve this problem?

    Furthermore, I read that some people have time out issues with your plugin. There's a simple way to avoid this behaviour, just send 'clientupdate' to the Server Query every minute. This will make it notice that your client is still alive and there won't be a time out.
     
  25. Offline

    Deathmarine

    lol.. I've addressed the timeout issue I'm just going to add another thread and will create a keepalive (was skimming through your source which gave me an idea) As for the name conflict I'll keep with BukkitSpeak 2 mainly considering this was already defined by but2002 and greycap, and because simply I use my plugin to view the chat in teamspeak and talk to people on minecraft without having to actually be in the game, I just wanted to hand it out to the community. However I'm hesitant about adding to many features, it starts to over complicate things considering that most servers already have a ton of commands already and after so many plugins excessive processing and ram consumption are really starting to be an issue.
    As for the MinecraftAPI and Name conflict, I'll adjust my plugin to reflect BukkitSpeak2 so updated versions will not conflict and post it to BukkitDev, But I haven't heard to much about the MinecraftAPI project other than Bukkit Team is taking it over. PM me some links if you have more info (Don't want to over take your thread) and they are going to host a repository?
     
  26. Offline

    Arimanio

    This is the first time that I've EVER replied/posted on Bukkit.org. I typically just leach plugins and offer no feedback which I understand doesn't really help an open source community. However, I just felt it was really important for me to say, Thank you. I'm sure with some research that I could have found the above quoted information but you made it easy. The BukkitSpeak Plugin is amazing. Keep up the great work.
     
  27. Offline

    Firedroide

    Wow, thank you very much for your feedback!
    I'm glad, you (and everybody else!) seem to like it. :)
     
  28. Offline

    Buckethead

    Durring random use no symbols at all

    Code:
    22:06:51 [SEVERE] Could not pass event PlayerChatEvent to BukkitSpeak
    org.bukkit.event.EventException
     
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
     
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
     
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
     
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:786)
     
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
     
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:103)
     
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
     
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
     
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
     
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169)
     
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
     
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
     
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
     
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
     
    Caused by: java.lang.IndexOutOfBoundsException: No group 1
     
            at java.util.regex.Matcher.start(Unknown Source)
     
            at java.util.regex.Matcher.appendReplacement(Unknown Source)
     
            at java.util.regex.Matcher.replaceAll(Unknown Source)
     
            at java.lang.String.replaceAll(Unknown Source)
     
            at net.but2002.minecraft.BukkitSpeak.Commands.BukkitSpeakCommand.replaceKeys(BukkitSpeakCommand.java:169)
     
            at net.but2002.minecraft.BukkitSpeak.ChatListener.replaceKeys(ChatListener.java:48)
     
            at net.but2002.minecraft.BukkitSpeak.ChatListener.onPlayerChat(ChatListener.java:34)
     
            at sun.reflect.GeneratedMethodAccessor180.invoke(Unknown Source)
     
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     
            at java.lang.reflect.Method.invoke(Unknown Source)
     
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
     
            ... 13 more
    
     
  29. Offline

    Firedroide

    Oh, that shouldn't happen though.
    I'll look, what caused the problem.

    Just figured it out. Were you using any $'s in your message? In any kind?
    Did the user have a name with a $ or did he use one in his message?
    I think, they caused the issue. I'm going to fix that though.
     
  30. Offline

    Buckethead

    Yes he had a $ upon revewing log but it hasnt happened before. i also posted the error whenever soemine puts a \
     

Share This Page