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.
Does it work with Herochat?
@Plumeex
i have the same problem... I tried to disable all colors via editing the source on github, but im not able to compile it (there is no pom-file and im not a dev) =/
The text is white, so I added &0 in the config file, but I can't do it with the username because it's already using &c in the preffix (in GroupManager)... Here's a pic : How can I fix it ? I cannot change the background color :(
Hey, is it possible to run commands for /whitelist add $1 and /whitelist remove $1 from irc with this?
Thanks =)
Why if i have any &3 colour it always shows wired in my IRC?
§3[Designer]§3ViscousSummer88: Hi, this is a test
§3Has been killed by a Zombie
For example that shows.
Just uploaded a new version which works properly with the most recent RB.
Just need to wait for it to be approved.
Please update this plugin i dont like the way monster IRC works i like this plugin much better
Can you update your plugin plz :/
someone know a plugin like Minecraftbot ?
The chat from in-game doesnt show-up on IRC :( But the chat from IRC shows up in-game
Just letting you guys know:
[WARNING] [MinecraftBot] "MinecraftBot v2.2.2" has registered a listener for org.bukkit.event.player.PlayerChatEvent on method "public void com.avisenera.minecraftbot.listeners.MainListener.onPlayerChat(org.bukkit.event.player.PlayerChatEvent)", but the event is Deprecated. Server performance will be affected; please notify the authors [Rafa652].
I have many error with the build 1.2.3 of craftbukkit and your plugin.
can u set it up so if the line starts with '.' it wont show in minecraft chat
Please add faction colored chat support
Is this compatable with TownyChat? I can't get it to work...
The messages are only going one way (IRC to Minecraft). Anything I say in MC is not relayed back to IRC.
@Rafa652
Oh, hai.... can you take a look at my ticket please :)
http://dev.bukkit.org/server-mods/irc-minecraftbot/tickets/4-irc-chat-formating/
@MightyFlyRudy
Extremely late reply. Sorry, this last month was been crazy for me.
Death messages aren't like every other message where plugins have access to all the parts that make up the message. If mChatSuite changes the death message, every other plugin after it will look at the death message exactly how it was edited by mChatSuite. There's nothing I can do about that.
I'll look into seeing whether or not a variable can be added that gets data from FoundBoxx.
I am unable to relay any chat from irc to game
Version of plugin 2.2.0 I am using the default formatting that the plugin generated. Chat is being handled by Essentials chat
Minecraft -> IRC is working IRC to game is not
Is there a way you could, via IRC, send a command to MC that would return the server time? That way players would know whether it is day or night before they spawn into the server. This would be useful for a hardcore type server.
I've been very busy these last few weeks but seems like it'll all finish up by the end of this week. I'll be able to continue working on the plugin by then.
I've opened up the ticket system (apparently it wasn't open). Feel free to send any new bugs or feature requests there. It's hard keeping track of individual comments here.
I've noticed there are a few bugs in the new IRC code in 2.1.0. The first thing I may do is change it to something I've been looking closely at for a while. It's actually an improvement of the code used in 2.0.x and before that instead of something completely new, so it could possibly solve the issues some people are having when connecting to a server using 2.1.0.
@vman411gamer
I'm having the same problem I even deleted & re-added it with the same results unfortunately I think its time to revert to an earlier version for the time being (2.0.4) if I remember right it works correctly.
On another note its nice to see the project coming along, a feature I would love to see added is join message for the server "Server online, now accepting connections" or something similar settable in the config of course.