The Bacon MC Discord bot

Every server we host comes with a bot you can add to your own Discord. It checks status, starts and restarts servers, sends alerts to your DMs and posts activity logs to a channel you pick. Everyone gets exactly the access you gave them in the panel, nothing more.

Setting it up

  1. Add the bot

    Invite it to your Discord server. It only asks to see channels, send messages, embed links and read message history. Nothing that lets it change your Discord. Add to Discord

  2. Link your panel account

    In the panel, open Profile, then OAuth, and click Discord. Linking only works from your own logged-in panel session, so nobody can link your account for you. Once it's linked you can also sign in to the panel with Discord. Open your profile

  3. Type a slash

    Commands work in any Discord server the bot is in, and in a DM with the bot. Start with /servers to see everything you have access to.

Commands

/servers
Every server you can access, and whether it's running.
/status
One server's state, CPU, memory, disk, players and address.
/power
Start, stop, restart or kill a server.
/notifications
Choose which DM alerts you get: crashes, restarts, backups, logins and so on.
/logs
Post a server's activity in a channel, stop posting, or list what's posting. You can choose everything, power changes only, or alerts only.
/link, /unlink
Check or remove the link between this Discord account and your panel account.

Who can do what

The bot checks the same permissions as the panel's own buttons, person by person. Give a friend restart but not stop, and that's exactly what they can do in Discord. Remove them from the server in the panel and the bot stops answering them.

CommandWho can use it
/servers, /statusThe owner, and sub-users who can see the console or the activity log
/power startThe owner, and sub-users with Control: Start
/power restartThe owner, and sub-users with Control: Restart
/power stop, killThe owner, and sub-users with Control: Stop
/logs bindThe server owner only, and only in a Discord where they can manage channels
/notificationsAnyone with a linked account

Giving someone access

  1. Open your server in the panel

    Sign in and pick the server.

  2. Invite them

    Go to Users, invite them by email, and tick only what they should be able to do, for example Control: Restart.

  3. They link their Discord

    They sign in to the panel once and link Discord from their own profile.

  4. That's it

    They can use the bot straight away. Change their permissions or remove them any time and the bot follows immediately.

Locking commands down on the Discord side

Log channels never include emails, IP addresses or account security events. Whoever can see the channel can see the posts, so pick it with that in mind.