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
-
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
-
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
-
Type a slash
Commands work in any Discord server the bot is in, and in a DM with the bot. Start with
/serversto 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.
| Command | Who can use it |
|---|---|
/servers, /status | The owner, and sub-users who can see the console or the activity log |
/power start | The owner, and sub-users with Control: Start |
/power restart | The owner, and sub-users with Control: Restart |
/power stop, kill | The owner, and sub-users with Control: Stop |
/logs bind | The server owner only, and only in a Discord where they can manage channels |
/notifications | Anyone with a linked account |
Giving someone access
Open your server in the panel
Sign in and pick the server.
Invite them
Go to Users, invite them by email, and tick only what they should be able to do, for example Control: Restart.
They link their Discord
They sign in to the panel once and link Discord from their own profile.
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
- In your Discord, open Server Settings, then Integrations, then Bacon MC.
- Pick a command and choose which roles, members and channels can use it.
/logsis hidden from everyone without Manage Channels until you change that.- Discord's settings decide who can see a command. The panel's permissions still decide who can actually use it.
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.