

This client side mod allows devcommands and utilities for server admins.
Some features and commands require also installing the mod on the server (event, randomevent, resetkeys, skiptime, sleep, stopevent).
Check wiki for available commands and how to use them.
;).alias command.devcommands is used automatically (if the admin check passes).debugmode, fly, ghost, god, nocost and other commands can be configured to be used automatically.Keybindings now work with modifier keys (key codes).
bind [keycode] [value] [keys=]: Adds a new key binding with modifier keys.
bind j god: Toggles god mode when pressing J.bind j god keys=leftalt: Toggles god mode when pressing J while left alt is down.bind j god keys=-leftalt: Toggles god mode when pressing J while left alt is not down.bind j god keys=leftalt,h: Toggles god mode when pressing J while both left alt and h are down.After removing this mod, these binds very likely stop working or lead to unexpected behavior. Recommended to clear all binds with the resetbinds command.
New commands can be created to shorten command names or to set parameter values.
This is intended to be used with other mods that add more complex commands than in the base game.
alias [name] [value]: Adds a new command alias.alias: Prints all aliases.alias [name]: Removes the given alias.Examples:
alias dm debugmode: Adds a new command dm as a shorter version of debugmode.alias spawn5 spawn $ 5 $: Adds a new command spawn5 with the spawn amount fixed at 5.alias maxskill raiseskill $ 100: Adds a new command skill_max that raises the given skill to max level.alias resetskill raiseskill $ -100: Adds a new command skill_reset that resets the given skill.alias cheat debugmode;nocost;fly: Adds a new command cheat to quickly toggle cheats (if you don't want to use the config).devcommands includes an admin check to allow using on servers.dev_config [value] toggles settings.event [event] [x] [z] allows setting the event coordinates.
event army_eikthyr: Starts an event at your position.event army_eikthyr 100 -100: Starts an event at coordinates 100,-100.hud allows toggling the HUD visibility.hud [value] allows directly setting the HUD visibility.nomap [value] [server = 1] allows directly setting the nomap mode and by default only affects the current server.
nomap [value] 0: Sets the nomap mode for the current character (for all servers).pos [player name] allows getting the position of any player.
pos: Returns your position.pos jay: Returns the position of a player named Jay,Heyjay or whatever is the closest match.redo restores an action added to the undo/redo manager.resolution prints the screen properties.resolution [mode] [width] [height] [refresh rate] sets the screen properties.
resolution exclusive: Sets to full screen with the maximum supported resolution and refresh rate.resolution max: Sets to maximized window with the maximum supported resolution.resolution full: Sets to full screen window with the maximum supported resolution.resolution window 1920 1080: Sets to windowed with HD resolution.search [term] [max_lines=5] allows searching the object ID list.
search wolf: Prints all object IDs that contain word "wolf".search fx_ 10: Prints all object IDs that contain word "fx_" on up to 10 lines.server [command] executes given command on the server.
server dev_config disable_command event: Disables usage of event command for non-root users.tutorialtoggle [value] allows directly setting the value.
dev_config auto_exec tutorialtoggle 0: Automatically disables tutorials.undo reverts an action added to the undo/redo manager.wait [milliseconds]delays the execution of the next commands.The large map shows coordinates of the cursor when hovered. This can be useful for any commands that require coordinates.
If configured, the minimap can also show the player's coordinates.
If this mod is also installed on the server, admins can also receive position of players who have set their position as private (disabled by default).
These players are shown on the map with a ticked off icon and will also be available for the pos command.
Three ways to edit the settings:
dev_config and server dev_config commands to instantly toggle values.valheim.jerekuusela.dev.cfg in the config folder (requires restarting the client / server).Recommended way is to use the commands since you can configure the server and also bind them to keys.
false, key: auto_debugmode): Automatically turns debug mode on/off when devcommands are enabled or disabled.true, key: auto_devcommands): Automatically tries to enable devcommands when joining servers.false, key: auto_fly): Automatically turns fly mode on/off when devcommands are enabled or disabled.false, key: auto_ghost): Automatically turns ghost mode on/off when devcommands are enabled or disabled.false, key: auto_god): Automatically turns god mode on/off when devcommands are enabled or disabled.false, key: auto_nocost): Automatically turns no cost mode on/off when devcommands are enabled or disabled.false, key: disable_events): Prevents random events from happening (server side setting). , key: disable_global_key): Global keys separated by , that can't be set (server side).false, key: ghost_invisibility): Invisible to other players with ghost mode.false, key: fly_no_clip): Removes collision check with fly mode.false, key: no_drops): Prevents creatures from dropping loot, can be useful if people accidentally spawn very high star creatures. Only works when as the zone owner.true, key: god_no_knockback): Removes knockback for an even godlier god mode.true, key: god_no_stagger): Removes staggering for an even godlier god mode.true, key: god_no_stamina): Removes stamina usage for an even godlier god mode.true, key: map_coordinates): Shows cursor coordinates when hovering the map.false, key: minimap_coordinates): Shows player coordinates on the minimap.false, key: private_players): Shows players on the map even if they have set their position as private. Must be enabled both client and server side to work (admins can individually keep the feature off even when enabled from the server).Recommended to keep all settings on default values, unless there are errors or mod conflicts.
true, key: aliasing): Enables command aliasing.auto_exec): Executes the given command when joining a server (before admin is checked).auto_exec_boot): Executes the given command when starting the game.auto_exec_dev_off): Executes the given command when disabling devcommands.auto_exec_dev_off): Executes the given command when enabling devcommands.true, key: command_descriptions): Shows command descriptions as autocomplete.false, key: debug_console): Prints debug output to the console related to aliasing and parameter substitution.command_delay): Adds delay (seconds) when executing multiple commands.false, key: disable_warnings): Removes warning texts from some command parameter descriptions.dev_config disable_command, key: disable_command): Command names separated by , that can't be executed. Mainly useful on the server to prevent some server-side commands.true, key: improved_autocomplete): Enables parameter info or options for every parameter.true, key: multiple_commands): Enables multiple commands per line (when separate by ;). ): Steam IDs separated by , that can execute blacklisted commands. Can't be set with dev_config command.true, key: substitution): Enables parameter substitution (with $).randomevent,stopevent,genloc,sleep,skiptime, key: server_commands): Names of commands that should be automatically executed on the server. event command is not included because it has a custom server-side support.v1.11:
wait to delay execution of the next command.server to execute any command on the server.hud to set or toggle the HUD visibility.server_commands to automatically execute given commands on the server.disable_command to allow disabling commands (server side).disable_global_key to prevent global keys from being set (server side).fly_no_clip to disable collision while flying.minimap_coordinates to show player coordinates on the minimap.nomap to only affect the server by default.auto_debugmode requirement from auto_fly and auto_nocost.dev_server_config as redundant.resolution command description.v1.10:
command_delay to add delay when multiple commands are executed.ghost_invibisility to false.v1.9:
resolution to print or set screen properties.command_descriptions to show command descriptions instead of the autocomplete.ghost_invibisility to turn invisible to other players with the ghost mode.god_no_knockback to disable knockback with the god mode.auto_exec_boot that automatically executes the given command when starting the game.auto_exec that automatically executes the given command when joining a server.auto_exec_dev_on that automatically executes the given command when enabling devcommands.auto_exec_dev_off that automatically executes the given command when disabling devcommands.tutorialtoggle which directly sets the value (instead of toggling).tutorialtoggle to work without needing Hugin to appear first.alias to add the plain text as the description instead of the original command description.v1.8:
v1.7:
v1.6:
v1.5:
v1.4:
v1.3:
v1.2:
v1.1:
v1.0:
Thanks for Azumatt for creating the mod icon!