BukkitSpeak
BukkitSpeak
Show Teamspeak actions in Minecraft & connect the chats
Version: v0.69 (compatible with 1.9)
Created by Deathmarine and Firedroide.
This plugin will display Teamspeak 3 server joins, quits and messages in Minecraft
and allows you to chat with your friends using the /ts commands!
Features:
- Display Teamspeak joins in Minecraft
- Display Teamspeak quits in Minecraft
- Display Teamspeak (server-wide) messages in Minecraft
- Broadcast messages in Teamspeak
- In channels:
- Display messages in Minecraft if somebody enters or leaves your channel.
- Display chat messages in that channel in Minecraft.
- Chat with the people in the channel by using /ts chat <message>
Commands
User commands:
- /ts - Displays the help screen.
- /ts list (channel) - Displays who's online on Teamspeak (in the channel).
- /ts mute - Mutes BukkitSpeak only for you.
- /ts broadcast msg - Broadcasts a message to all people on the Teamspeak server.
- /ts chat msg - Shows your chat message in the Teamspeak channel.
- /ts pm target msg - Sends a chat message a specific person.
- /ts poke target msg - Pokes a client on Teamspeak.
- /ts info - Shows some info about the TS3 server.
Admin commands:
- /tsa or /ts admin - Shows the admin help screen.
- /tsa channelkick target msg - Kicks someone out of the channel with the given reason.
- /tsa kick target msg - Same as above, but kicks from the server.
- /tsa ban target msg - This command bans a TS client from the server.
- /ts status - Shows some information about BukkitSpeak and whether the Listener is running.
- /tsa reload - Reloads BukkitSpeak. (Reloads the config and the query)
A complete command reference can be found here.
Configuration
Moved to my GitHub Wiki.
Permissions
You can check out the list of BukkitSpeak's permissions here.
Setting up the plugin
- Download the newest release and move BukkitSpeak.jar into the plugins directory.
- Editing the config:
- Set TeamSpeakIp to the IP of your TS server
- Set TeamSpeakPort to the port (when connecting with a regular client)
- Set QueryPort to the port the TS server uses for server queries. By default this is 10011. You can also find the query port in the server.ini file in the directory of your TeamSpeak server.
- Set QueryUsername and QueryPassword to a server query login you've generated with your client. More information about that here.
- Give your users the permissions to use BukkitSpeak and to see messages from BukkitSpeak.
- In general, you can give admins the permission bukkitspeak.* and users the permission bukkitspeak.user.
- Complete permissions documentation here.
- Whitelisting the Minecraft server on the Teamspeak server:
- You don't need to follow this step if your Teamspeak server runs on the same IP as the Minecraft server.
- Find the file query_ip_whitelist.txt in the root directory of your Teamspeak server and add the IP of the Minecraft server to this file.
- Reload / restart the Teamspeak server afterwards. (The whitelist is cached and will only be read when the server starts...)
Any feature requests / ideas / bug reports / locale files / ect. ?
Just write a comment or open a ticket :)
Links
Source Code (Branch BukkitSpeakMerged)
Wiki with a more detailed documentation (some stuff still WIP)
Complete changelog
Disclaimer:
Development builds have not been approved by the BukkitDev staff. Use them at your own risk.
Development Builds
Build repository
Deathmarine's BukkitSpeak
Original thread by but2002
Original thread by Greycap (might be removed)
Donations
Any donations to BukkitSpeak will help to keep a little Minecraft server of mine alive.
I really appreciate every little support.
@Craiiiig
Sure, you need to enable some config stuff!
You should read the wiki page about it :)
Is there a way to send messages to the MC server from TS?
I just uploaded a new version for everyone who has problems with McMMO.
It has no new features compared to v0.63. The file is waiting for approval and should be available in a few hours.
@Craiiiig
Yes, that's a TeamSpeak problem. The whitelist file is loaded when the server's started and gets chached, so it will only reload properly if you restart the server.
EDIT: Added a note to the instructions.
@mobilephone2003
Yeah I know, it's an issue with the newer builds of McMMO. Unfortunately I think there's no way to make it compatible with all the 1.4.00-beta4 AND the builds before 1.4.00-beta4.
So if I switch over to 1.4.00-beta4, it will break for everyone who's on an earlier version of McMMO, and I think according to mcstats.org, there are still more people running an "old" build of McMMO.
EDIT: I got this working. Needed to restart the TS3 server after adding the MC server to the IP whitelist. Once I did that a /tsa reload forced it to try to connect again and we were golden!
So I setup the plugin and ran it, but am running into an issue. I'm getting the following error on the server.
17:21:54 [INFO] [BukkitSpeak] Connected with SID = 1, CID = 1, CLID = 8 17:21:54 [SEVERE] [BukkitSpeak] Error while receiving client information. 17:21:54 [SEVERE] java.lang.NullPointerException 17:21:54 [SEVERE] at net.but2002.minecraft.BukkitSpeak.ClientUpdater.run(ClientList.java:186) 17:21:54 [SEVERE] at java.lang.Thread.run(Thread.java:722) 17:24:21 [SEVERE] [BukkitSpeak] Could not connect to the TS3 server. 17:24:21 [SEVERE] [BukkitSpeak] Make sure that the IP and the QueryPort are correct! 17:24:21 [SEVERE] [BukkitSpeak] (Exception connectTS3Query(): java.lang.NullPointerException)
Here is what I have done so far.
It's all on my linux box so I have full access, just as an FYI...
I logged into the SQ via telnet with the hostname/credentials and it worked. So, I know the user info, host, and port are all correct.
In the client I enabled show SQ clients on my TS client to see when they are logging in. I can see my telnet session logged in and great.
I start the bukkit server, the bukkitspeak SQ logs in for a few seconds and disconnects.
it will continue to do this every 15-20 minutes. The same error loop. This does not happen when I use a telnet session to SQ with the same credentials.
I restarted both bukkit and TS server. As for bukkit info...
This server is running CraftBukkit version git-Bukkit-1.4.7-R1.0-b2624jnks (MC: 1.4.7) (Implementing API version 1.4.7-R1.0)
Anyone have any ideas?
Hey, we have an incompatibility with the listener for the Party Chat in the latest mcMMO
Error is:
http://pastie.org/private/svdueg3vrwwake8tekmwq
Thanks!
@Zilacon
Well, I actually uploaded the file even before your first comment, but it takes some time because all uploads need to be approved by the BukkitDev team :)
@Firedroide
That was fast :D! Thanks!
@Firedroide
Could you update this for 1.4.7?
@metalguitarist
Sure, you can just set
in MinecraftEvents in the messages part of the config file. BukkitSpeak won't send any Minecraft message to the TeamSpeak server that way.
By the way, you can disable any message by setting it to an empty string (two quotation marks).
Is it possible to only allow the teamspeak chat to only show when a user logs in and out of minecraft?
Right now it shows all of the player messages.
@ursak
Can you tell me which version of Bukkit and McMMO you're using? It would also help if you could send me the complete stack trace.
EDIT: I looked through the source code of McMMO, and it looks like you're already using a dev version of 1.4.00
There had been a few changes, so if I'd change my code, it wouldn't work with all 1.3.1* versions of McMMO anymore. I suggest that you downgrade to version 1.3.14 of McMMO, then everything should work fine again.
Hmmm... Worked until today. Get
[SEVERE] Could not pass event AsyncPlayerChatEvent to Bukkit Speak v0.62-b120
Guess, since it worked before that it has some problems with some other plugin. Perhaps McMMo's partychat? I have no idea really but perhaps someone knows something? ;)
@Buddy251
Make sure you have the permission node b_client_ignore_antiflood set on the TeamSpeak server. That should fix your issue.
Also remove the login info from the log!
I have a problem and it won't work for me. Here the log:
What can i do to fix that? (It have allready worked for 2 times)
Bye - Buddy
@willpie1
BukkitSpeak v0.62 still works for all 1.4.7 CraftBukkit builds and probably also beyond.
I'll update to v0.63 as soon as my Jenkins is back up and running, I'm having some trouble with the server. I'm also considering to move to a free build server host but this would include losing all my earlier builds :/
Furthermore, only a few things have changed for v0.63, as for example splitting the config file into a config.yml and a locale.yml, one major bugfix and an improvement to the statistics.
But yeah, v0.62 should just work fine for now.
Sorry to nag, but when will this be updated to 1.4.7?
@Firedroide
ok thanks
@Dragon252525
It should actually even be EventPriority.MONITOR, as BukkitSpeak has no intention to change the outcome of that event whatsoever. No idea why I haven't changed that yet, because all the other EventListeners seem to be fine.
Thanks for the bug report, will be fixed in the next version.