Slackbridge

Slackbridge

A simple Fabric Slack <-> Minecraft chat relay

by
80 Downloads
fabricmanagementsocial
Rent Server with this Mod

About this Mod

Slackbridge

Slackbridge is a Fabric Minecraft <-> Slack chat relay for Minecraft 1.21.

Minecraft example
Slack example

Download

Slackbridge is available to download on:

Features

  • Relay
    • Relay messages from Slack to Minecraft (excludes threads)
    • Relay messages from Minecraft to Slack
    • Displays player join/leave messages in Slack
    • Displays death messages in Slack
    • Displays advancement messages in Slack
    • Displays server start/stop messages in Slack
  • Slack Commands
    • /slackbridge-info - Displays online players and performance stats
  • Minecraft Commands
    • /shrug <message> - Appends a shrug to the end of the message

Setup

Create a Slack App

  • Go to Slack API and create a new app in your workspace using the
    following manifest. You may want to change the bot name and the command /slackbridge-info to something else. If you are using this in the Hack Club Slack workspace, you must change the
    command name.
{
    "display_information": {
        "name": "SlackBridge"
    },
    "features": {
        "bot_user": {
            "display_name": "SlackBridge",
            "always_online": false
        },
        "slash_commands": [
            {
                "command": "/slackbridge-info",
                "description": "See current server status",
                "should_escape": false
            }
        ]
    },
    "oauth_config": {
        "scopes": {
            "bot": [
                "channels:history",
                "chat:write",
                "chat:write.customize",
                "users:read",
                "commands"
            ]
        }
    },
    "settings": {
        "event_subscriptions": {
            "bot_events": [
                "message.channels"
            ]
        },
        "interactivity": {
            "is_enabled": true
        },
        "org_deploy_enabled": false,
        "socket_mode_enabled": true,
        "token_rotation_enabled": false
    }
}
  • Once you have created the app, go to the "OAuth & Permissions" page and install the app to your workspace.
  • Note down the Bot User OAuth Token.
  • Go to the Basic Information page and create an app token. Note down the app token.
  • In Slack, invite the bot to the channel you want to relay messages to.
  • Right click on the channel and click "Copy Link". Note down the channel ID from the link. (It should look like C01A2B3C4D5)
  • That's it on the Slack side! Let's get your server setup now.

Setup the Mod

  • Install the mod on your server by adding the jar to the mods folder.
  • Restart the server to generate the config file.
  • Open the config file (config/slackbridge.json) and fill in the following fields:
    • slackBotToken - The Bot User OAuth Token
    • slackAppToken - The App Token
    • relayChannelId - The Channel ID
    • infoCommand - The command name you set in the manifest. This will default to
      /slackbridge-info - if you didn't change the manifest, you can leave this alone.
  • Restart the server again and you should be good to go!

Available Versions

Slackbridge 1.0.0beta
MC 1.21.1fabric
September 28, 2024

How to Install Slackbridge on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Slackbridge". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Slackbridge server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.

Is Slackbridge compatible with fabric?

Slackbridge officially supports fabric for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Slackbridge – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Slackbridge consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Slackbridge with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.1