Source-checkedAdmin & protection

Valheim DevCommandsGuard

by JgDev · for Valheim

Server-configurable guard to reject clients with -console or devcommands, and highlights non-admin players using debugmode or god mode in red.

43Downloads
6d agoLast updated
BepInExLoaders
ThunderstoreSource

About Valheim DevCommandsGuard

From Thunderstore

Server-configurable guard to reject clients with -console or devcommands, and highlights non-admin players using debugmode or god mode in red.

Valheim_DevCommandsGuard

Valheim BepInEx plugin for Thunderstore.

Features

  • Server-side Connection Guard (BepInEx/config/com.valheim.devcommandsguard.cfg):
  • RejectClientsWithDevCommands (true by default): Rejects non-admin clients launched with -console or with devcommands active. Server admins (adminlist.txt) are never rejected.
  • RejectClientsWithoutPlugin (true by default): Rejects non-admin clients connecting without Valheim_DevCommandsGuard installed.
  • Guarded Commands ([Guards] section — all true by default):
  • GuardConsoleArg (-console launch argument)
  • GuardDevCommands (devcommands toggle)
  • GuardGod (god mode)
  • GuardDebugMode (debugmode)
  • GuardFly (fly mode / debug fly keybind)
  • GuardSpawn (spawn command)
  • GuardTp (tp / goto command)
  • Configurable Highlight & Red Tag Visibility ([Visibility] section):
  • HighlightVisibility (Admin by default): Controls who sees the 3D red character highlight (All, Admin, Disabled).
  • TagVisibility (All by default): Controls who sees the red tag on overhead player names and in game chat messages (All, Admin, Disabled).
  • TagFormat ("[DEV] {name}" by default) and TagColor ("red" by default).
  • Server Console & Game Chat Event Logging ([ChatLogs] section):
  • Every guarded event (-console join, or any user/admin enabling, disabling, or executing devcommands, god, debugmode, fly, spawn, tp) is logged to the Server Console and broadcast to Game Chat.
  • Each command's Game Chat log visibility is independently configurable (All, Admin, Disabled; all default to Admin):
  • ChatLogConsoleArg, ChatLogDevCommands, ChatLogGod, ChatLogDebugMode, ChatLogFly, ChatLogSpawn, ChatLogTp.
  • Runtime Admin Console Command (dcg):
  • Server admins can view or update settings in real time from the in-game F5 console; changes are persisted to com.valheim.devcommandsguard.cfg and broadcast to connected clients:
  • dcg status — Print current configuration.
  • dcg reject <on|off> — Enable/disable rejecting non-admin clients with -console / devcommands (immediately checks and disconnects violating active non-admin connections when enabled).
  • dcg requireplugin <on|off> — Enable/disable rejecting non-admin clients missing the plugin.
  • dcg highlight <all|admin|disabled> — Set 3D red model highlight visibility.
  • dcg tagvis <all|admin|disabled> — Set overhead and chat red tag visibility.
  • dcg guard <all|console|devcommands|god|debugmode|fly|spawn|tp> <on|off> — Enable or disable guarding for a command.
  • dcg log <all|console|devcommands|god|debugmode|fly|spawn|tp> <all|admin|disabled> — Set game chat log visibility for a guarded command.
  • dcg tagcolor <color> — Update and broadcast the tag color.
  • dcg tagformat <format> — Update and broadcast the tag format (e.g., dcg tagformat [CHEATER] {name}).

Building & Packaging for Thunderstore

  1. Build the project with .NET SDK (net48):
   dotnet build -c Release
  1. Copy bin/Release/net48/Valheim_DevCommandsGuard.dll into Thunderstore/plugins/.
  2. Ensure 256x256 icon.png is in Thunderstore/.
  3. Zip the contents of Thunderstore/ (manifest.json, README.md, icon.png, plugins/Valheim_DevCommandsGuard.dll).

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 6d ago.

Valheim DevCommandsGuard on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server side
Optional on the server
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.0.2, released 2026-10-29

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 3 recorded builds of Valheim DevCommandsGuard.

Recent builds

BuildReleasedGame versionsLoaders
1.0.22026-10-29n/aBepInEx
1.0.12026-10-29n/aBepInEx
1.0.02026-10-29n/aBepInEx

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run Valheim DevCommandsGuard on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Admin”

Admin & protection

Permissions, moderation, anti-cheat and land protection for the people running the server.

Works on a server

From source side support

Thunderstore lists server-side support for Valheim DevCommandsGuard as optional: it can run on a server, but isn’t required there.

Compatibility

Game
Valheim
Loaders
BepInEx
Runs on
Serveroptional on the server
Requires
One-click install needs a BepInEx server.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-30Open ↗
  • ✓AuthorJgDev, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

Valheim DevCommandsGuard, answered

Generated from the mod’s own source data.

Do my players need to install Valheim DevCommandsGuard?

Thunderstore lists server-side support for Valheim DevCommandsGuard as optional: it can run on a server, but isn’t required there.

Which loaders does it support?

BepInEx.

Is it free?

Yes. Valheim DevCommandsGuard is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Valheim DevCommandsGuard on a Valheim server.

Deploy in about a minute from $9.99 a month, then add Valheim DevCommandsGuard in one click.