We recommend using the Thunderstore Mod Manager or an alternative for installing mods
Enables devcommands and utilities for server admins.
Last updated | a week ago |
Total downloads | 11949 |
Total rating | 2 |
Categories | Utility Server-side Client-side |
Dependency string | JereKuusela-Server_devcommands-1.21.0 |
Dependants | 34 other mods depend on this mod |
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.1901This 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,modifier1,modifier2,...] [command] [parameter]
: Adds a new key binding with modifier keys.
bind j god
: Toggles god mode when pressing J.bind j,leftalt,h debugmode
: Toggles debug mode when pressing J while both left alt and h are down.By default the best match is used. Which means that with above binds, toggling debugmode won't also toggle the god mode.
It's also possible to use negative modifiers. For example bind j,-leftalt god
won't toggle god mode while left alt is pressed. However using these is not usually needed.
Mouse wheel allows binding too with custom keycode wheel
(by default simulates the keycode none
). It's important to use modifier keys because the binding will block build rotation.
The mouse wheel appends the wheel direction and amount to the command. For example bind wheel,o say
would say 0.1 or -0.1 in the chat when scrolling the mouse wheel while pressing the O key.
Note: After removing this mod, these binds very likely stop working or lead to unexpected behavior. Recommended to clear all binds with the resetbinds
command.
The same system also works for rebinding the debug flying. For example:
devconfig fly_down_key space,leftcontrol
: Changes to fly down when both left control and space are pressed.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).bind [key,modifier1,modifier2,...] [command]
allows specifying modifier keys (see Improved key bindings section).broadcast [center/side] [message]
allows broadcasting custom messages to all players.
broadcast center <color=red><size=20><i><b>Hello!</b></i></size></color>
: Broadcasts a small red message with bolding and italics.devcommands
includes an admin check to allow using on servers.dev_config [name] [value]
toggles settings.
dev_config auto_fly
: Toggles the auto fly setting.dev_config auto_fly 0
: Disables the auto_fly setting.dev_config auto_fly 1
: Enables the auto fly setting.server dev_config disable_debug_mode_keys defeated_eikthyr,defeated_gdking,defeated_bonemass,defeated_dragon,defeated_goblinking
: Prevents boss kill global keys being set on the server.server dev_config disable_debug_mode_keys
: Prints currently disabled global keys.env
prints the current environment.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.exploremap [x] [z] [radius]
allows revealing only a part of the map.goto [x,z,y]
or ``goto x z y` teleports to the coordinates. If y is not given, teleports to the ground level.hud
allows toggling the HUD visibility.hud [value]
allows directly setting the HUD visibility.move_spawn [x,z,y = player's coordinates]
allows moving the default spawn point.nomap [value]
allows directly setting the nomap mode and works with server
command.pos [player name / precision] [precision]
allows getting the position of any player.
pos 1
: Returns your position with 1 decimal precision.pos jay
: Returns the position of a player named Jay,Heyjay or whatever is the closest match.raiseskill * [amount]
allows raising all skills.resetskill [skill]
allows reseting skills.redo
restores an action added to the undo/redo manager.resetmap [x] [z] [radius]
allows hiding only a part of the map.resetpins [x] [z] [radius]
allows removing pins from the map.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_id [term] [max_lines=5]
allows searching the object ID list.
search_id wolf
: Prints all object IDs that contain word "wolf".search_id fx_ 10
: Prints all object IDs that contain word "fx_" on up to 10 lines.seed
prints the world seed.server [command]
executes given command on the server.
server dev_config disable_command event
: Disables usage of event
command for non-root users.server dev_config disable_events 1
: Disables random events.unbind [keycode] [amount=0]
allows specifying how many binds are removed. Also prints removed binds.
unbind wheel
: Removes all binds from the mouse wheel.unbind wheel 0
: Removes all binds from the mouse wheel.unbind wheel 1
: Removes the last bind from the mouse wheel.unbind wheel 3
: Removes the last 3 binds from the mouse wheel.undo
reverts an action added to the undo/redo manager.wait [milliseconds]
delays the execution of the next commands.wind
prints the current wind strength.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.serrver_devcommands.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.
true
, key: access_private_chests
): Allows opening private chests.true
, key: access_warded_areas
): Allows accessing warded areas.false
, key: god_always_dodge
): Automatically dodges with the god mode.false
, key: god_always_parry
): Automatically parries with the god mode when not blocking.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.true
, key: automatic_item_pick_up
): Sets the default value for the automatic item pick up feature.false
, key: auto_nocost
): Automatically turns no cost mode on/off when devcommands are enabled or disabled.
, key: disable_global_key
): Global keys separated by , that can't be set (server side).false
, key: disable_events
): Prevents random events from happening (server side setting).false
, key: disable_start_shout
): Removes the initial shout message when joining the server.false
, key: disable_tutorials
): Prevents the raven from appearing.false
, key: ghost_invisibility
): Invisible to other players with ghost mode.50
, key: max_undo_steps
): How many undo actions are stored.true
, key: no_clip_clear_environment
): Removes any forced environments when the noclip is enabled. This disables any dark dungeon environments and prevents them from staying on when exiting the dungeon.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: gpd_no_edge
): Removes the pull for an even godlier god mode.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 the stamina usage for an even godlier god mode.false
, key: god_no_weight_limit
): Removes the weight limit 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 features on, 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: best_command_match
): Executes only the commands with the most modifiers keys pressed. Simplifies key binding because negative modifier keys don't have to be used.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_debug_mode_keys
): Removes debug mode key bindings for killall, removedrops, fly and no cost.false
, key: disable_messages
): Prevents messages from 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.leftcontrol
, key: fly_down_key
): Changes the key command for flying down. Multiple keys are supported (see Bind section for more info).space
, key: fly_up_key
): Changes the key command for flying up. Multiple keys are supported (see Bind section for more info).true
, key: improved_autocomplete
): Enables parameter info or options for every parameter.none
, key: mouse_wheel_bind_key
): The simulated keycode when using the mouse wheel.true
, key: multiple_commands
): Enables multiple commands per line (when separate by ;
).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.21
best_command_match
to only execute the commands with the most modifier keys pressed (default true
).mouse_wheel_binding
with a new setting mouse_wheel_bind_key
that instead allows settting the simulated key.v1.20
access_private_chests
which allows opening all private chests (default true
).access_warded_areas
which allows ignoring wards (default true
).max_undo_steps
(default 50
).resetskill
to reset skills more easily.*
to the raiseskill
command to raise (or lower) all skills.v1.19
no_clip_clear_environment
to control whether the noclip automatically clears the forced environment.dev_config
command.goto
command.v1.18
pos
command that allows specifying the precision.pos
command from x,y,z to x,z,y (matches better World Edit Commands mod).fly_no_clip
to automatically removed forced environments (like in Frost Caves).v1.17
fly_no_clip
compatibility with noclip mods.disable_debug_mode_keys
compatibility with mods having debug mode specific keys.v1.16
god_no_edge
to disable the edge of world pull with god mode.nomap change
in v1.11. Now only affects the client when used on dedicated servers.nomap
command showing inversed output.v1.15
exploremap
and resetmap
.resetpins
to remove map pins.env
command to print the current environment if used without the parameter.wind
command to print the wind strength if used without the parameters.forcedelete
, spawn
and resetsharedmap
commands.v1.14
v1.13
automatic_item_pick_up
to set the default value for the automatic pickup feature.disable_messages
to prevent messages from commands.dev_config
command output having extra " characters.v1.12
broadcast
to broadcast messages.move_spawn
to change the server's default spawn point.seed
to print the seed.disable_start_shout
to remove the initial shout message (default: false
).disable_debug_mode_keys
to remove hardcoded debug mode key bindings (default: false
).god_always_parry
to always parry with the god mode (default: false
).god_always_dodge
to always dodge with the god mode (default: false
).disable_tutorials
to prevent the raven from appearing (default: false
).god_no_weight_limit
to remove weight limit with the god mode (default: false
).fly_up_key
to allow rebinding it (default: jump
).fly_down_key
to allow rebinding it (default: leftcontrol
).unbind
command which allows only removing some amount of binds.mouse_wheel_binding
for the mouse wheel binding (default: true
).wheel
key code).bind
command to accept modifier keys on the first parameter (keycode,modifier1,modifier2,).unbind
command to print removed binds.search
command to search_id
command.disable_global_key
to also remove disabled keys when edited (server side).alias
, bind
and server
commands.dev_config
command to allow directly setting flags with values 1 and 0.dev_config
command to work better when giving multiple values to some commands.dev_config
command to print the current value for non-flags if no parameter is given.command_delay
as obsolete since wait
command works much better.tutorialtoggle
as obsolete since disable_tutorials
setting works much better.wait
command not working (parameter was kiloseconds instead of milliseconds).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!
Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.
Upload date | Version number | Downloads | Download link | |
---|---|---|---|---|
2022-6-20 | 1.21.0 | 1088 | Version 1.21.0 | Install |
2022-6-14 | 1.20.0 | 691 | Version 1.20.0 | Install |
2022-5-21 | 1.19.0 | 1915 | Version 1.19.0 | Install |
2022-5-3 | 1.18.0 | 1663 | Version 1.18.0 | Install |
2022-4-18 | 1.17.0 | 1045 | Version 1.17.0 | Install |
2022-4-18 | 1.16.0 | 149 | Version 1.16.0 | Install |
2022-4-12 | 1.15.0 | 639 | Version 1.15.0 | Install |
2022-4-1 | 1.14.0 | 763 | Version 1.14.0 | Install |
2022-4-1 | 1.13.0 | 71 | Version 1.13.0 | Install |
2022-3-20 | 1.12.0 | 847 | Version 1.12.0 | Install |
2022-3-11 | 1.11.0 | 715 | Version 1.11.0 | Install |
2022-2-16 | 1.10.0 | 1262 | Version 1.10.0 | Install |
2022-2-8 | 1.9.0 | 484 | Version 1.9.0 | Install |
2022-2-1 | 1.8.0 | 506 | Version 1.8.0 | Install |
2022-1-31 | 1.7.0 | 111 | Version 1.7.0 | Install |