Valheim

File information

Last updated

Original upload

Created by

Skrip

Uploaded by

Skrip037

Virus scan

Safe to use

About this mod

Extends the functionality of the console and chat commands. Admin and trainer commands featured in this mod are all accessible from the console or chat, via a / prefix. This mod allows you to take control of your game-play regardless of cheats being enabled. Now includes terrain modification commands!

Permissions and credits
Changelogs
Donations
SkToolbox for Valheim is a fully clientside utility meant to extend the functionality of the console, thereby improving the gameplay experience and enabling the player to modify their character or the environment to their liking. The mod enables features in both singleplayer and multiplayer that could allow any player (who has the mod installed) to drastically change their character or others.

你会说普通话吗?

New Features and Behaviors
This mod works by extending the functionality of the console and chat by providing additional behaviors, commands, and customizations.

  • 50+ new commands! See below.
  • The console is automatically enabled. No need to change launch parameters!
  • Cycle through unlimited command history with up and down arrow keys! By default the game itself only stores the most recently entered command.
  • Execute console commands from chat! (toggle via configuration file)
  • Console commands can be chained! Execute unlimited commands on one line! (This includes the standard game commands, SkToolbox commands, and most other commands added by mods!)
    • For example: "/nocost; /god; /fly" with no quotes would execute each of the three commands one after the other!
  • Commands can be run automatically upon joining a server! (Again, even other custom mod commands often work with this!)
    • This only occurs on first server join after starting the game each time. This is to ensure commands don't run multiple times and cause unintended consequences.
    • See the settings / configuration file created after first launch with the mod. (\Valheim\BepInEx\config\com.Skrip.SkToolbox.cfg)
  • Auto-complete SkToolbox commands by pressing tab! Other mod (non-SkToolbox) commands supported for auto-complete by using command aliasing!
  • Feature Highlight: The console now supports unlimited output history and scrolling!
  • 
  • Configurable command hotkeys have been added! You can now assign any printable key to a command or command chain! This also supports the command aliases! In the gif below, there is a hotkey setup where "Hotkey 1 = q: /tl", and you can see the player pressing "q" as they walk along. Set your own hotkeys in the configuration file!
  • Only one command or command chain can be assigned to each key (if hotkey 1 assigns to q, hotkey 2 cannot also assign to q).
    
  • Command aliasing has been added. You can now define custom commands via a configuration file! (Tab auto-complete will fill these commands as well!)

  • The style and visuals of the console can be modified to your liking via a configuration file.
    • The console has been pre-customized with a modern console font and color for better readability.



It is recommended that you use discretion when using these commands in Multiplayer, as this can strongly affect the gameplay experience of others. To be clear, the purpose of this mod is not to destroy the experience of others. Please be respectful when using this mod.

Note that this does not require a server mod or any other clients to run the mod for this to function. When installed on a client, this mod works on any server, any time!

SkToolbox Command List
  1.             /alt - Use alternate on-screen controls. Press HOME to toggle if active.
  2.             /coords - Show coords in corner of the screen
  3.             /console [0/1] - Toggle the console. No parameter to toggle. 1 = Open, 0 = Closed. Intended for use with hotkeys and aliases.
  4.             /clear - Clears the current console output
  5.             /clearinventory - Removes all items from your inventory. There is no confirmation, be careful.
  6.             /detect [Range=20] - Toggle enemy detection
  7.             /echo [Text] - Echo the text back to the console. This is intended for use with aliases and the autorun features.
  8.             /env [Weather Name] - Change the weather. No parameter provided will list all weather. -1 will allow the game to control the weather again.
  9.             /farinteract [Distance=50] - Toggles far interactions (building as well)
  10.             /findtomb - Pin nearby tombstones on the map if any currently exist
  11.             /fly - Toggle flying
  12.             /freecam - Toggle the freecam
  13.             /ghost - Toggle Ghostmode
  14.             /give [Item] [Qty=1], OR /give [Item] [Qty=1] [Player] [Level=1] - Gives item to player. If player has a space in name, only provide name before the space. Capital letters matter in item / player name!
  15.             /god - Toggle Godmode
  16.             /heal [Player=local] - Heal Player
  17.             /imacheater - Use the toolbox to force enable standard cheats on any server (some are non-functional still. Work in progress!)
  18.             /infstam - Toggles infinite stamina
  19.             /killall - Kills all nearby creatures
  20.             /listitems [Name Contains] - List all items. Optionally include name contains. Ex. /listitems Woo returns any item that contains the letters 'Woo'
  21.             /listprefabs [Name Contains] - Lists all prefabs - List all prefabs/creatures. Optionally include name starts with. Ex. /listprefabs Troll returns any prefab that starts with the letters 'Troll'
  22.             /listskills - Lists all skills
  23.             /nocost - Toggle no requirement building
  24.             /nores - Toggle building restrictions (build anywhere except ward zones)
  25.             /nosup - Toggle building support requirements  - WARNING! - If you rejoin and this is disabled, your structures may fall apart. I recommend using this with the autorun functionality.
  26.             /optterrain - Optimize old terrain modifications. Added so this can be used from chat by default.
  27.             /portals - List all portal tags
  28.             /q - Exit the game quickly
  29.             /removedrops - Removes items from the ground
  30.             /repair - Repair your inventory
  31.             /resetmap - Reset the map exploration
  32.             /resetwind - If wind has been set, this will allow the game to take control of the wind again
  33.             /revealmap - Reveals the entire minimap
  34.             /seed - Reveals the current world seed
  35.             /set cw [Weight] - Set your weight limit (default 300)
  36.             /set difficulty [Player Count] - Set the difficulty (default is number of connected players)
  37.             /set exploreradius [Radius] - Set the explore radius (default = 100)
  38.             /set jumpforce [Force] - Set jump force (default 10). Careful if you fall too far!
  39.             /set pickup [Radius] - Set your auto pickup radius (default 2)
  40.             /set skill [Skill] [Level] - Set your skill level
  41.             /set speed [Speed Type] [Speed] - Speed Types: crouch (def: 2), run (def: 7), swim (def: 2)
  42.             /spawn [Creature Name] [Level=1] - Spawns a creature or prefab in front of you. Capitals in name matter! (Use /give for items!) Use /listprefabs to search for creatures and prefabs!
  43. - Please note that as of Valheim version 0.151.1, the game only shows up to 2 stars for creatures, but there is currently a level cap of 10 with this command. Creatures higher than level 3 will show 0 stars, but are in fact the higher level.
  44.             /spawntamed [Creature Name] [Level=1] - Spawns a tamed creature in front of you. Capitals in name matter! Use /listprefabs to search for creatures!
  45.             /stopevent - Stops a current event
  46. Terrain Modification
    Known not working properly as of the latest Valheim update. Previously modified terrain will not get flattened or updated by these commands. This is being worked on, sorry for any inconvenience.
    Please note that excessive terrain modification can eventually cause some lag in your world. This game was meant for some terrain modification, but this can enable a lot of modification. Use this as you would like, but be careful with large areas. Please backup your world before using the terrain modification commands.
  47.             /td [Radius=5] [Height=1] - Dig nearby terrain. Radius 30 max.
  48.             /tl [Radius=5] - Level nearby terrain. Radius 30 max.
  49.             /tr [Radius=5] [Height=1] - Raise nearby terrain. Radius 30 max.
  50.             /tu [Radius=5] - Undo/reset all terrain modifications within the radius. Radius 50 max.

  51.             /tame - Tame all nearby creatures
  52.             /tod [0-1] - Set time of day (-1 to unlock time) - /tod 0.5
  53.             /tp [X,Z] - Teleport you to the coords
  54.             /wind [Angle] [Intensity] - Set the wind direction and intensity
  55.             /whois - List all players

Is there a feature missing you would like to see? Is there a change you want to suggest? Head over to the forum, and let me know!

  • On-screen controls have now been incorporated to make the use of many commands more convenient.
  • Press Numpad 0 to open the on-screen controls. Try /alt if you don't have numpad keys!
    



Enemy Detection - Colored by Range


Portal Detection


Terrain Modification


Auto-Run Commands and Command Chaining ("/nosup; /god" shown here!)


How To Use
When you are ready to use the mod, you'll simply type "help" in the console (F5) to see the available commands. Note you'll see the default commands, and a new one at the bottom!


If you then enter /? to see the Toolbox help, you'll see a list of available commands, their usage, and a description:




Requirements
  • As of Version 1.7.0, BepInEx is required. Please note that many mod managers are compatible with BepInEx, including Vortex, r2modman, and InSlimVML.

How To Install
This mod is installed to your client not a server.
    • Simply open the BepInEx zip file and extract all contents to the game's root directory (You'll see valheim.exe and UnityPlayer.dll in this folder).
  • After extraction, in the game root folder, you should see the Valheim.exe file, and the BepInEx folder in the same folder. (Example: https://i.imgur.com/kXnpAib.png)
    • Run the game and enjoy.
If you are just updating or already have BepInEx installed and you downloaded the DLL file, just place this file in the BepInEx plugins directory.
    
• I just need to update! What do I do?
    • Extract the .dll file to the plugins folder, run the game.

Mod Compatibility Q/A
  • What mods is this compatible with?
  • All of them. This mod is not known to interfere with other mods
  • What mod managers / loaders is this compatible with?
  • So far it is known to work with BepInEx, Vortex, r2modman (Thunderstore) and InSlimVML w/BepInEx.
  • Is it compatible with Vulkan?
  • Yes!
  • The game had an update! Do I need to download a new version of this mod?
  • No. This mod is designed for maximum compatibility. It is unlikely a game update will break this mod. If there is a break, it is likely that only specific commands will break. So far this has not occurred on any version!


Enjoy. Please endorse at the top of this page if you find value in this mod, it really does help us out.

Questions? Feel free to check out the FAQ or post in the forums!

Extra Tags: trainer, menu, mod, cheat, unity, modmenu, hack, creative mode, modification, terrain editor, player, worldedit, world edit, admin