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.
@Firedroide
Hmm, over 50% you say? I would like to know where you get that number from (you may PM me if you want).
About DRM and other (copy)protections: they all fail to a certain extent, but i don't think the comment section is the place to debate these kind of things so PM me if you want to discuss this further ;-)
on-topic: I'm not sure if you can work around this but whenever someone press and holds CTRL+ENTER for a long time before typing text on TeamSpeak, both the in-game chat and server-console become blank/empty.
@Paxination
The problem is that Teamspeak limits those messages to 100 characters. Color codes need to be converted to BB-Codes for Teamspeak, and those take up a lot of space.
So I'd recommend you remove all (or most of the) color codes from TeamspeakMessages.PokeMessage in the locale.yml file and try to keep that message as short as possible.
So I am having an issue with /ts POKE target msg
I do the command, and it tells me that the message is too long despite it being very short. I have even tried a msg as short as HI!
Using latest version of bukkit speak and Recommended build of bukkit!
@ThisUsernameIsMine
Yep, and that's the reason why many people pirate, just because they can't know whether they're going to like the game they would be about to buy or not.
Big, colorful banners, flashy images and cool trailers don't mean that the game will eventually be good and that they'll like the game.
But still, seeing that more than 50% of all Minecraft servers run in offline mode (public servers, not private ones) really hits me. It's just like saying: Screw you and all the work you've put into your game, I'll play it with all its features anyway.
And that's what I really, really don't like about the way Minecraft manages its DRM at the moment. When you download the cracked launcher, you can do everything just like normal, play singleplayer, play multiplayer on about 50% of all servers, create your own servers, use texture packs, and so on. You don't even have to re-crack or anything when an update comes out, just press the log in button and you're fine.
So basically, when you downloaded the crack, you don't even have a real reason to buy the game anymore, apart from supporting the developers.
On the other hand, I'm really glad that people with cracked clients can't connect to public, online-mode-enabled servers. I'd really not want that sheer amount of trolls, hackers, spammers and dirt-hut builders on my server. I'm not saying that all cracked players are like that, nor that none of the paying players are guilty to that, but the concentration of people just going for annoyance and destruction is vastly higher.
And one final note: I spent just 15 Euros to get Minecraft while it was still in Beta, and I have to say that these were the best spent 15 Euros of my life.
@Firedroide
Thanks for your answer =)
Concerning online-mode and piracy: A pirate will pirate, anything they want, whatever they want, whenever they want. People who really like/respect the game and/or its developers will eventually buy it anyway (i did three times).
@ThisUsernameIsMine
Well, depends on what authentication plugin you're using.
When the plugin cancels the ChatEvents - what I think it should do by your description - you'll need to leave the ChatListenerPriority at MONITOR or HIGHEST so the messages won't get sent.
The LOWEST priority means that BukkitSpeak should basically ignore all other plugins and send the chat messages even when the event is cancelled.
I know, Bukkit EventPriorities are weird ^^
EDIT: By the way, you should make your users buy Minecraft and switch the server to online mode. It's such a good game, it's quite cheap and pirating this game is just stupid...
Is it true/normal that when having set ChatListenerPriority to LOWEST, and SendChatToTeamspeak to channel or server, that BukkitSpeak can still send thru messages of players that haven't logged in yet? (note: i'm using an additional auth/login plugin).
(there are times when this doesn't happen but as soon as i restarted the server the messages again come through).
@Afflicting
So, I have to say that I actually haven't heard of BungeeCord before, but after reading some pages on the wiki, I think I know what's going on ^^
As far as I understood, BungeeCord will just link servers together, and those servers can any type of Minecraft server, so Vanilla, Bukkit, Spigot, MCPC+, etc., and those servers can run Bukkit plugins (as long as they support them).
Now my question is, why exactly do you need me to port BukkitSpeak for BungeeCord, when it could just be installed to every Bukkit server linked with BungeeCord?
You can have multiple instances of BukkitSpeak on one TeamSpeak server, listening to the same channel even, as long as they're all connecting from different Minecraft servers, so that wouldn't be an issue.
Sure, it would be quite some work setting the plugin up on all servers, but it would work.
Or have I just overlooked a reason why BukkitSpeak would need to be ported?
@Firedroide
Would you be interested in porting this as a BungeeCord plugin?
@ursak
Still waiting for approval, it's been over a day since I uploaded it already :/
EDIT: Got approved! :)
So where is v0.65?
Finally got the wiki done! Not perfect, but sure works :)
BukkitSpeak v0.65 probably later today or tomorrow.
EDIT: v0.65 being approved.
@fspro
Not like it is right now, sorry for that.
Is it possible to monitor 2 teamspeak channels?
@ursak
Well, even though I have tested compatibility with both HeroChat and Factions, I have never actually had both set up on the same test server at the same time.
Maybe the HeroChat listener bugs out somewhere because of Factions messing around with the chat messages.
I'm certainly going to try this out now.
.
By the way: I just looked through the old comments and you have actually never described the error more precisely than that it doesn't work and that the event couldn't be passed to BukkitSpeak.
It would be extremely useful if you could paste the stack trace (aka multi-line description of your error in the console / server log pointing out in which class and on which line the plugin failed) here or send it to me via PM so I could troubleshoot more target-oriented.
@Firedroide
Still haven't tried it with HeroChat again, but it doesn't work with Faction atm. I haven't done much with the config in Faction yet to know if it's something I need to work on, just saying it throws a lot of errors so that (like with HC) only shows TS-MC and if this is something that 'should' work with latest faction then I'll find out how. :)
@ursak
Well, no idea why it's not working, maybe you have another plugin which controls the chat and which maybe cancels the event :/
@Firedroide
I used the latest vault, HeroChat and Bukktispeak and all that config you mentioned was just like so.
What the version I used was I don't remember now since I removed bukkitspeak after a lot of tries and fails. Will try again thought. :)
@Firedroide
Silly me... I've read most things in regards to what i needed to know in order to get the plugin to work, but not the locale.yml part.
This answers my question. Thanks a lot! :) +1
@ThisUsernameIsMine
Teamspeak commands have nothing to do with the way your messages look.
If you want to edit the layout of your messages, you'll have to edit the locale.yml file, located at /plugins/BukkitSpeak/locale.yml.
To be more specific, you'll need to edit TeamspeakEvents.ServerMsg, TeamspeakEvents.ChannelMsg and TeamspeakEvents.PrivateMsg in the locale file.
E.g you'll have to change ChannelMsg from
to
For more information check my wiki.