Slack

Slack

Link your server to Slack!

Features

  • Send chat messages and commands to Slack
  • Send login and quit messages to Slack
  • Uses minecraft username and avatar as bot information
  • Blacklist players or commands from being sent to Slack
  • Use permissions to block messages to Slack
  • API to send custom events
  • BungeeCord support (partial)
  • See the console (coming soon)
  • Formatting (coming soon)
  • Send commands from Slack (coming soon)

Download

Stable builds

Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.

Dev builds

Installation

  1. Drop the plugin in your server folder.
  2. Create a new incoming webhook and set it up however you would like.
  3. Start and stop the server.
  4. Copy the webhook URL and set webhook: in the config.yml to that.
  5. Start the server.

Verified compatible with CraftBukkit, Spigot, Spigot/CraftBukkit 1.8, and Glowstone. Probably works with any Bukkit API server.

Commands

/slack - reloads the config

permission: slack.reload

Configuration

version - the plugin's current version. Do not touch this.

debug - whether to post HTTP response codes to console

webhook - the incoming webhook URL for slack.

use-perms - whether to use permissions or not (for sending to Slack)

use-blacklist - whether to use the command blacklist or not

blacklist - list of commands you don't want to be sent to slack.

Permissions

slack.hide.command - does not post commands you do to Slack.

default: no one

slack.reload - allows you to reload the plugin's config using the command /slack

default: op

slack.hide.login - does not post to Slack when you login.

default: no one

slack.hide.logout - does not post to Slack when you login.

default: no one

slack.hide.chat - does not post your chats to Slack.

default: no one

Custom Events

On the server, you may use /slack send
to send a custom message to Slack.

Programmatically, you can add the plugin as a dependency, and then import the API for the platform you're using (either Bukkit or BungeeCord)

import us.circuitsoft.slack.api.BukkitPoster


or

import us.circuitsoft.slack.api.BungeePoster


If you're using Bukkit,

new BukkitPoster(m, p, i).runTaskAsynchronously(this);


where m is the message, p is the username, and i is the image URL. You can set i to null if p is a Minecraft player username.

If you're using BungeeCord, make a thread with the task BungeePoster. Same parameters as Bukkit.

Support

For support questions on how to use the plugin and troubleshooting, post a comment so if I am not available, other people can help you. Explain your problem and use the latest version before asking for help.

For bug reports, please post an issue on Github. Just make sure to explain the problem, how to reproduce it, and make sure you are using the latest version.

If you get an error, please post it to https://gist.github.com/ and then post the URL here.

If you have a feature request, PM me, or code it yourself and pull request it on Github.

Give Me Money

Give me money with PayPal

Source

https://github.com/CircuitSoftGroup/SlackMC


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    86567
  • Created
    Nov 10, 2014
  • Last Released File
    Jun 25, 2015
  • Total Downloads
    2,507
  • License

Categories

Members

Recent Files

Bukkit