RCON commands can be enabled on Valheim servers by installing a widely used server mod. This mod will enable the console tab to send RCON-specific commands and allow third-party tools to connect and use them remotely. These commands can vastly improve server management, allowing users with access to kick or ban players, spawn items, and more. When combined with assigning players as admins in-game, server owners can ensure a server always has a moderator available.
Note: BepInEx is required to run the required mods. Learn how to install BepInEx here.
1. Log in to the BisectHosting Starbase panel.
2. Stop the server.
3. Go to the Startup tab.
4. BepInEx must be set to Enabled for RCON to function.
5. Ensure that RCON is set to Enabled.
6. Start the server.
7. Go to the Console tab.
8. Enter any RCON command into the chat box. Available commands are listed below.
Note: Some commands include optional arguments, which can be viewed using the
listcommand.
| Command | Description |
|---|---|
addAdmin <SteamID> | Adds a player to the admin list. |
addGlobalKey <Key> | Adds a global key to the server. |
addPermitted <SteamID> | Adds a player to the permitted list. |
ban <SteamID/PlayerName> | Ban a user from the server. |
banSteamId <SteamID> | Ban a player by their Steam ID. |
damage <SteamID> <amount> | Damage a player by a specified amount. |
deleteObjects | Delete objects matching all search criteria. |
findObjects | Find objects matching all search criteria. |
findObjectsNear <x> <z> <y> <radius> | Find objects near a location. |
findPlayer <SteamID/PlayerName> | Find a player and show their details. |
serverStats | Prints server statistics including player count, FPS, memory usage, and world information. |
give <SteamID> <item_name> <quality> <amount> | Spawns an item on the player. |
heal <SteamID> <value> | Heals the player's to a specified value. |
consoleCommand <command> | Executes a console command on the server. |
kick <SteamID/PlayerName> | Kicks a player from the server. |
adminlist | Prints a list of admins on the server. |
banlist | Prints a list of banned players. |
globalKeys | Prints all global keys and their values. |
permitted | Prints a list of permitted players on the server. |
removeAdmin <SteamID> | Removes a player from the admin list. |
removeGlobalKey <key> | Removes a global key from the server. |
removePermitted <SteamID> | Removes a player from the permitted list. |
say <message> | Sends a message to the chat as a shout. |
ping <x> <y> <z> | Sends a ping message to all players at the specified coordinates. |
logs | Gets the server logs. |
showMessage <message> | Displays a message in the center of the screen for all players. |
players | Show all online players with their positions and zones. |
spawn <prefabName> <x> <y> <z> | Creates the specified number of objects at the given position. |
teleport <SteamID/PlayerName> <x> <y> <z> | Teleports the player to a specified position. |
time | Prints the current server time and day. |
unban <SteamID/PlayerName> | Unbans a user from the server. |
save | Saves the current world state. |
list | Prints a list of available commands. |
How to Connect with a Remote RCON Client
1. Log in to the BisectHosting Starbase panel.
2. Stop the server.
3. Go to the Startup tab.
4. Ensure that RCON is set to Enabled.
5. Start the server.
6. Go to the Files tab.
7. Find the following directory: /home/container/BepInEx/config.
8. Open the org.tristan.rcon.cfg file.
9. Take note of the String after Password =.
10. Go to the Network tab
11. Copy the Third Address listed, this will be the server's [IP]:[Port+2].
12. Open mcrcon or another remote RCON tool.
13. Paste the Server IP from step 7 when prompted for the host. Exclude the port at the end.
14. Enter the RCON Server Port.
15. Paste the server's RCON Password from step 4.
16. Use any desired commands directly from this window.