

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).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.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.devcommands includes an admin check to allow using on servers.dev_config [value] toggles settings.dev_server_config [value] toggles settings on the server.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.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.The large map shows coordinates of the cursor when hovered. This can be useful for any commands that require 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 dev_server_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. Requires automatic debug mode.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. Requires automatic debug mode.false, key: disable_events): Prevents random events from happening (server side setting).true, key: ghost_invibisility): Invisible to other players with ghost 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: 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.false, key: disable_warnings): Removes warning texts from some command parameter descriptions.true, key: improved_autocomplete): Enables parameter info or options for every parameter.true, key: multiple_commands): Enables multiple commands per line (when separate by ;).true, key: substitution): Enables parameter substitution (with $).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!