The EphemeralHost bot lets your squad start and stop servers from Discord, and a webhook posts what your servers do into a channel. Both are on the dashboard under Discord control.
Adding the bot
Add EphemeralHost bot to your Discord adds it to a Discord server you manage. Its commands act on the EphemeralHost account of whoever uses them, so sign in to EphemeralHost with Discord to use them. Its answers are visible only to you, in the language of your Discord.
Commands
/serverslists your servers with their game and state; running ones with their players and their address ("address hidden" while streamer protection is on)./startstarts a server by its name or a part of it. It needs the same as a start in the panel: credit in the pot and a monthly spending cap that is not used up./stoppauses it; the world stays saved./panelposts a status message for everyone in the channel (see below)./helpsays what the bot can do and shows your friend code.
The list of /servers has a button per server to start or pause it, and one to refresh it. Outside a linked Discord server the commands work on your own servers.
Your clan's Discord server
Link your Discord server to your clan, and friends start and pause the clan's servers from there, without an account of their own, paid from the clan's pot:
- Run
/serversin a channel of your Discord server and press Link this Discord server to my clan. Only someone who may manage that Discord server gets the button, and only the clan's owner can use it. - On the dashboard under Your clan's Discord server, choose for each server which roles may start and pause it. @everyone lets every member do it.
- For everyone else you can allow votes: a server starts or pauses once as many members as you set vote within 10 minutes.
In a linked Discord server, /servers, /start and /stop work on the clan's servers. The clan's members keep the rights of their role in the clan, the pot's monthly limit applies, and the clan's activity log shows who started or paused a server, with their Discord name. Starts and pauses by role or vote: at most 6 per 10 minutes per Discord server.
/panel posts a status message everyone in the channel sees: the clan's servers with their buttons, and it updates itself when a server starts or pauses. The clan's owner and co-admins can post it in a linked Discord server; the bot needs the right to send messages in that channel.
Messages in a channel
- In Discord, create a webhook in the channel's settings under Integrations and copy its URL.
- Paste it under Passive webhooks on the dashboard; Send test posts a test message.
- Choose which messages the channel gets:
- Server woke up: a server starts and is ready, and Valheim's crossplay join code once per run.
- Paused after 20 min idle: every pause (also after a crash, a failed start or a deletion), whatever pause time the server has.
- Credits and refunds: the pot ran out, the monthly cap is used up, minutes went back, or a scheduled start was skipped or the credit will not last.
- Server auto-resized: a server got more power by itself.
- Game updates: an update of a game you have a paused server of.
Only webhook addresses of Discord itself are taken. The messages use the panel's language at the time you saved the webhook.