Control servers from Discord
serversTurn on the official Tegra bot to view, start, stop and restart the servers of an agent right from Discord.discord discord bot discord control server panel agent tegra embedenThe official Tegra bot posts a panel in your Discord server that shows the state of a Minecraft server, with Start, Stop and Restart buttons. You allow the bot per agent: once control is on, every server of that agent, including the ones you create later, can get a panel.
The bot can only see the status, start, stop and restart. It cannot reach the console, files, mods or backups.
Before you start
Section titled “Before you start”- You must be the owner of the agent. Only the owner sees the Discord section in the agent settings.
- Your Discord account must be linked to your Tegra account. If it is not, the launcher shows a warning with a Link Discord button, or you can use
/tegra settings linkin Discord. - Have your servers password at hand. Turning Discord control on or off always asks for it.
Turn on Discord control
Section titled “Turn on Discord control”- In the launcher, open Studio, then Servers.
- On the agent you want to allow, open the ⋮ menu and choose Agent settings.
- In the Discord bot control section, turn on Allow control from Discord.
- Read what the bot will be able to do and select Release.
- Type your servers password and select Confirm.
Once the switch is on, the launcher confirms with Discord control turned on for this agent.
Add the bot and post a panel
Section titled “Add the bot and post a panel”- In Agent settings, select Invite the bot and pick your Discord server. You need permission to add bots to it.
- In the channel where the panel should appear, use
/tegra embed serverand pick the Minecraft server. - The bot posts the panel and keeps it up to date on its own.
To take a panel out of a channel, use /tegra embed remove.
Choose who can use the buttons
Section titled “Choose who can use the buttons”By default, only you, the agent owner, can use the panel buttons. To let other people use them, give a Discord role permission:
/tegra settings role add: pick the role, the server and which actions it can use (start, stop, restart)./tegra settings role remove: takes control away from a role./tegra settings role list: shows which roles can control servers.
To change the bot language in your Discord server, use /tegra settings language. It requires the Manage Server permission.
Follow the activity
Section titled “Follow the activity”With control on, the Activity list in the agent settings shows every action made from Discord: what was done, on which server, by whom and when.
Pause or turn off control
Section titled “Pause or turn off control”- Pause bot stops the bot on this agent. It is only a pause and does not remove access completely.
- Turning off Allow control from Discord removes the bot’s access to every server of the agent. The launcher asks you to confirm and for your servers password.
Common problems
Section titled “Common problems”- The bot says Discord control is off: turn on Allow control from Discord in the agent settings, as in the steps above.
- The panel shows Agent offline: check that the agent is on and connected. If you paused or turned off control before, post a new panel with
/tegra embed server. - The bot cannot post in the channel: give the bot the View Channel, Send Messages and Embed Links permissions in that channel.
- The Discord not linked warning shows up: link your account in the account settings on the website, or use
/tegra settings linkin Discord.