DiscordControl

About

This is an alternative to the ServerControl mod.
Instead of controlling your server via the site you can now do it directly in your Discord.

Getting Started

  1. Invite the Bot to your Discord server
  2. Install the Mod on your server and start it
  3. Run /init and fill out serverIP, port (8877) and password from the config file
  4. Run commands by typing / and select CookieControl to see all available commands

Available Commands

| addadminlist
| addglobalkey
| addwhitelist
| adminlist
| ban
| banlist
| bansteamid
| damage
| give
| heal
| init
| kick
| position
| rcon
| removeadminlist
| removeglobalkey
| removeobjects
| removewhitelist
| say
| saychat
| scanobject
| showglobalkeys
| showplayers
| spawn
| startevent
| stopevent
| teleport
| unban
| whitelist

Webhook Setup

  1. Create a new channel where you want all webhook related messages to go
  2. Right click and select Edit Channel, click Integration, click Create Webhook
  3. Give it an avatar, name (optional), click copy and paste the URL in the config after DiscordWebhookLink =
  4. Remove any WebhookEvents you don't want from the config file

Available Webhooks

| ServerStart
| ServerStop
| ServerSave 
| EventStart 
| EventStop 
| PlayerJoin 
| PlayerLeave
| PlayerShout
| PlayerPing
| PlayerDeath
| NewDayNumber
Requirements:
  • BepInEx 5.4.2333 or later.
  • Valheim 0.221.12 or later.
Installation:
  • Download the latest version from Thunderstore.
  • Extract the downloaded zip file.
  • Copy the contents to your serversBepInEx/plugins folder.
  • Start your server to generate the config and follow the Get Started steps.