MinecraftBot
MinecraftBot is 1.5 Compatible
The latest version of MinecraftBot should work with 1.5 with no changes. If however you find a bug, please file a ticket.
MinecraftBot is a plugin that joins an IRC channel as a bot. The bot displays messages coming from Minecraft and sends messages to Minecraft that come from IRC.
The goal of this plugin is to be simple to set up and use. It doesn't have any extra features other than passing messages back and forth. If you are looking for something that does more than just relay messages, you may want to look at MonsterIRC or CraftIRC.
- Bukkit forums: http://forums.bukkit.org/threads/65448/
- Source code: https://github.com/TerrorBite/MinecraftBot
Features
The following events can be relayed by this plugin:
- MC/IRC chat and actions (/me)
- MC/IRC joins and leaves (including IRC part and quit, with quit reasons)
- MC/IRC kick, including kick reasons
- MC deaths
- MC server broadcast messages
- IRC nick changes
- IRC mode changes
- IRC topic changes
Individual events can be disabled in the configuration by simply deleting the appropriate formatting line.
Installation
Simply drop the JAR file into the plugins folder. The plugin will generate a blank configuration file with instructions and then disable itself.
Click here to view the default configuration file.
Permissions
- 'minecraftbot.op' - Equivalent to being a channel op. Allows use of the /irc command.
- 'minecraftbot.manage' - Allows use of the /minecraftbot command to manage the bot. Also allows use of /irc.
- 'minecraftbot.*' - Same as 'minecraftbot.manage'.
Permissions are not required to use this plugin. A Minecraft server op has access to all of these commands.
Metrics
This plugin contains PluginMetrics, which collects and anonymously sends data about how this plugin is being used. It creates a folder named PluginMetrics with a file inside named config.yml. That file gives you the option to opt-out of metrics tracking. This will also opt you out of metrics tracking for other plugins that use PluginMetrics.
More detailed data can be seen at: http://mcstats.org/plugin/MinecraftBot
Commands
In IRC:
- !players - Lists the people connected to the server.
- !time - Shows the time of each regular world (if your server has multiple worlds)
In Minecraft:
- /names and /n - Lists the people that are in the same channel as the bot.
Admin commands:
- /irc - Causes the bot to do something. Some of these commands require the bot to be a channel op.
- /irc say (message) - Causes the bot to say something on IRC
- /irc do (action) - Causes the bot to do something (using /me) on IRC
- /irc op/deop (nick) - Gives or takes the given nick's op status on the channel
- /irc voice/devoice (nick) - Gives or takes the given nick's voice status on the channel
- /irc kick (nick) [reason] - Kicks a nick from IRC. A kick reason may also be entered.
- /irc ban (nick) - Bans a nick on the IRC channel. Does not kick the nick.
- /irc unban (hostmask) - Removes the hostmask from the channel's ban list.
- /irc ignore (nick) - Ignores a nick on IRC
- /irc unignore (nick) - Stops ignoring a nick on IRC
- /minecraftbot - Manages the bot itself
- /minecraftbot connect - Connects to the IRC server
- /minecraftbot disconnect [message] - Disconnects from the IRC server. A quit message may be used.
- /minecraftbot join - Joins the channel defined in the configuration file.
- /minecraftbot part - Parts the channel defined in the configuration file.
- /minecraftbot reload - Reloads all settings except connection settings from the configuration file
Screenshots/Examples
Please send me any screenshots that demonstrate this plugin in a PM.
Work perfect in minecraft Spigot 1.7.10
Greetings!
Carlo - It might work in the main channel, but definitely won't show custom Herochat channels in IRC. Perhaps test it out.
Does it work with HeroChat?
Is it possible to disallow messages to pass from IRC to MC, and instead use a command to chat with people ingame?
Example: !say [message here] *sends message to everyone in MC*
Is a best IRC plugin, I try 10 or 15 but none of them is better than yours.
Works Perfect in 1.5.2-R0.1
Thanks You.
Works perfect on 1.5.2 beta release, nice job! :) Hope we get an update soon!
Can you please add a permission node for /irc ignore and /irc unignore.
Running this on the newest Bukkit 1.5.1 Beta release. Your plugin works perfectly, installed easily, and basically, runs like a champ! Great job! ;)
Plan on running this one for awhile. No errors, no complaints, it just does what it is suppose to do. Good luck on your future releases! ^-^
I don't get any errors, but the bot doesn't send any chat to my IRC channel, nor can I get it registered with NickServ.
Any tips?
@leiger
I'm using essentials 2.10.1 and MinecraftBot 2.3.0. Both of them are the same on both servers I have. The plugin works perfect on my MCPC+ server, but not on my Bukkit server.
@qwertyjl
Which version are you using? Try updating to the latest versions of both EssentialsChat and MinecraftBot.
Also, can you add a variable for PermissionsBukkit ranks?
Hm... I just realized that you may have tested it with a different version of EssnetialsChat than I have.
You should add a feature that allows your nick to broadcast 1 message to another.
@carlgo11
It's been discussed before, and may be added in the future.
Thanks for the suggestion :)
@Telkir
You can change the colour of death messages in the configuration file.
I haven't tested it, but removing all colour codes from that should theoretically prevent overriding a user's IRC client settings (for default text colour).
Current value of line_formatting.to_irc.death:
Change this to:
It is also possible that a prefix or suffix added to the player's username could be causing the issue.
I love this plugin - thanks for keeping it updated!
My only question / request: It would be awesome if there was an option to strip all text going to IRC of its colour codes, letting the IRC client display it in its default text colour. I can't find how to do this, if it's already possible.
Some messages (e.g. death messages) are sent with white text, which means that on any IRC client using a white background colour, the reason for death becomes invisible. Similarly, I don't want to set the colour of all messages to black, because some people may have their IRC set up for white-on-black text output.
Can you guys add some kind of command transfer feature?
so I can execute a server command from the irc?
One Server: 18:27:21 [INFO] #> * Bukkit has joined #BiCraft 18:27:22 [INFO] [War] Warhub ready. 18:27:35 [INFO] [WorldGuard] 5 regions loaded for 'CreativeWorld' 18:28:22 [INFO] /127.0.0.1:65518 lost connection 18:28:25 [INFO] qwertyjl[/127.0.0.1:65524] logged in with entity id 1716 at ([SpawnWorld] -348.55132305331756, 47.0, -357.5945643168798) 18:28:27 [INFO] [WorldGuard] 4 regions loaded for 'SpawnWorld' 18:28:32 [INFO] [Owner] qwertyjl: Hello, servers!
THe other server: (At the same exact time) 18:27:21 [INFO] #> * Bukkit has joined #BiCraft 18:27:54 [INFO] Donate to us using /buy, and get the donor rank for $5, which gives you TONS of special perms, like 20 plots, direct TP, block hat, a custom nickname, fly, and more! Other packages also give you special advantages, such as full diamond armor and a stack of diamond blocks. 18:28:27 [INFO] [Bukkit] * qwertyjl has joined the game 18:29:59 [INFO] [Bukkit] * BigBrotherMan674 has joined the game
@qwertyjl
Hmm. EssentialsChat should not cause any problems with MinecraftBot.
Would you be able to create a ticket here, so that we can track this problem separately from the comments? http://dev.bukkit.org/server-mods/irc-minecraftbot/tickets/
Preferably, clear your server.log (or temporarily rename it), then start your server once. Paste this new server log into pastebin.com and give us a link so we can see it. It should help to diagnose the problem, or at least to help us reproduce it.
EssentialsChat. Both of my servers have it, but only one has problems.