Link your server to Slack!
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.
Verified compatible with CraftBukkit, Spigot, Spigot/CraftBukkit 1.8, and Glowstone. Probably works with any Bukkit API server.
/slack - reloads the config
permission: slack.reload
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.
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
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.
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.