SlackChat

Bukkit Plugins
354 Downloads Last Updated: Feb 27, 2015 Game Version: 1.8.1

If you don't know what slack is, It's sort of a team messaging service. Visit https://slack.com/ for more about that. This plugin allows you to connect your minecraft server chat to a Slack channel so that your admins can send/receive messages from it.

Setup

This uses the slack Incoming and Outgoing webhooks to send and receive data to and from Slack You will need to create those integrations in order to use this plugin.

The few things you will need are:

  • The Slack Incoming Webhook URL
  • The Slack Outgoing webhook token for verification of messages
  • An available port for you minecraft server to listen for messages on (default 8465)

How to set up the webhooks:

Incoming WebHook

  • Go to your slack integrations and create a new Incoming webhook
  • Set which channel you want minecraft chat to appear in and copy the webhook URL
  • Note, the customized name the integration will post as can be set to anything you choose. It will be overridden by the username of who is chatting in game.

Outgoing WebHook

  • Go back to your slack integrations and create a new outgoing webhook
  • Set the channel it will listen on (preferably to the same one as the other webhook)
  • Obtain the URL your minecraft server is accessed on and put it in the URL section along with the port it will send to (default is 8465) you can change it if you want to but either way it must be specified in that box
  • Copy the token, this is what will be used to verify the messages between slack and minecraft.

Installing/configuring the plugin

  • Once the Integrations are setup correctly you may now install the plugin.
  • On the first run, things will probably fail because you must edit the configuration file if your plugins folder (SlackChat/config.yml)
  • Paste in the Incoming webhook url and the token in the appropriate sections replacing the default "CONFIGURETHIS" text. This is also where you can set a different port if need be.(Just remember to update the outgoing webhook in Slack)
  • Once you have updated the correct settings use /slackchat to reload the config or just restart your server.

That's it.

If you have set up everything correctly, you should now have working 2 way communications between slack and minecraft. I personally find it useful when I'm not on the server someone can say my slack username in chat and I will get the message on my phone if they need help.

TODO/IDEAS

  • Video tutorial for setting this thing up. (Coming Soon)
  • Allow sending commands from a private slack channel? (remote server administration)

Comments

Posts Quoted: