

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 and nocost 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.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.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).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_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.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.7:
v1.6:
v1.5:
v1.4:
v1.3:
v1.2:
v1.1:
v1.0:
Thanks for Azumatt for creating the mod icon!