You are viewing a potentially older version of this package. View all versions.
JereKuusela-Dedicated_server_devcommands-1.5.0 icon

Dedicated server devcommands

Enables devcommands for server admins.

Date uploaded 4 years ago
Version 1.5.0
Download link JereKuusela-Dedicated_server_devcommands-1.5.0.zip
Downloads 201
Dependency string JereKuusela-Dedicated_server_devcommands-1.5.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1700 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1700

README

Dedicated server devcommands

This client side mod allows devcommands for server admins.

Some features and commands require also installing the mod on the server (event, randomevent, resetkeys, skiptime, sleep, stopevent).

Manual Installation:

  1. Install the BepInExPack Valheim
  2. Download the latest zip
  3. Extract it in the <GameDirectory>\BepInEx\plugins\ folder.
  4. Add your steamID64 to adminlist.txt (if not already).

Check wiki for available commands and how to use them.

Features

Improved key bindings

bind command supports a new named parameter keys= that allows configuring which keys must or must not be down when pressing the bound key.

For example: - 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.

Enhanced commands

  • pos command 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 command 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.

Enhanced map

The large map shows coordinates of the cursor when hovered. This can be useful for any commands that require coordinates. The feature can be toggled with dev_config map_coordinates command.

If this mod is also installed on the server, admins will also receive position of players who have set their position as private.

These players are shown on the map with a ticked off icon and will also be available for the pos command.

The feature can be toggled with dev_config private_players command or by editing the config.

Changelog

  • v1.5:

    • Adds modifier key support to key bindings.
    • Adds new parameter to the pos command (allows getting position of any player).
    • Adds support for showing private player positions (requires also server side).
    • Changes setkey command to work client side.
    • Fixes console spam.
    • Fixes console commands not working in the character selection.
    • Attempts to further improve the admin check reliability.
  • v1.4:

    • Adds server side support for event, randomevent, resetkeys, setkey, skiptime, sleep, stopevent.
  • v1.3:

    • Refactores the code to hopefully make it work more reliably.
    • Adds autocomplete to chat window also for cheat commands.
  • v1.2:

    • Adds support for Hearth and Home update.
  • v1.1:

    • Improves admin check.
  • v1.0:

    • Initial release.