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
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou must get permission to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
♦ This mod was produced by Skrip. ♦ ♦ ♦ https://steamcommunity.com/id/Skrip037/
♦ Thank you to the Harmony team for their patcher. ♦ ♦ https://harmony.pardeike.net
♦ Thank you to the Doorstop team for their injector. ♦ ♦ https://github.com/NeighTools/UnityDoorstop
♦ Thank you to the BepInEx team for their injector. ♦ ♦ https://github.com/BepInEx/BepInEx
♦ Thank you to BlueAmulet for the optimized terrain modification code.
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.10.8
[UPD] Updated mod for Valheim 0.217.24
Version 1.10.7
[UPD] Updated mod for Valheim 0.217.14
Version 1.10.6
Mod updated for latest Valheim version. Mod is working as-is once again. Thanks, SnarlingFox! ( https://github.com/derekShaheen/SkToolbox-for-Valheim/pull/5 )
Version 1.10.5
[FIX] Updated for the Hearth and Home patch.
On-Screen menu is now clickable. (Press escape to enable cursor, and have the numpad 0 menu open)
KNOWN PROBLEM: Aliasing, auto run, command chaining, and hotkeys are currently broken.
Version 1.10.4
[NEW] /spawntamed - /spawntamed [Creature Name] [Level=1] - Spawns a tamed creature in front of you. Capitals in name matter! (Realized after release that this isn't fully functional with the tab auto-completion. This will work in the next version. Sorry about that!)
[NEW] /optterrain - Optimize old terrain modifications. Added so this can be used from chat by default.
[FIX] Alias example command modified.
[FIX] /echo works properly again.
Version 1.10.3
[CHG] More performance changes.
[FIX] Fixed a scenario that could crash the game when opening the console.
[NEW] New config option to completely disable chat output from the mod. (Default chat output is enabled)
[UPD] Updated BepInEx Version to 5.4.11
Version 1.10.2
[NEW] Now runs in it's own thread alongside the game for better performance!
[CHG] Added padding onto the console.
[NOTE] Sadly the terrain issue persists at this time.
Updated for Valheim version 0.153.2
Version 1.10.1
[NEW] Added index to config file for easier navigation.
[NEW] Added configurable limit to how many rows can be stored in the scrollable console.
[FIX] Numerous bug fixes, small changes, and performance optimizations.
Version 1.10.0
[NOTICE] It is recommended you delete your config file when coming to this version.
! [NEW] Custom hotkeys for any command or command chain! Works with aliases! All customizable from the configuration file!
! [NEW] Command aliasing has been added! Create your own commands to call other commands!
[NEW] Added command /listprefabs - List all prefabs/creatures. Optionally include name starts with. Ex. /listprefabs Troll returns any prefab that starts with the letters 'Troll'
[NEW] Added command /echo - Echos text back to the console
[UPD] Tab autocomplete now checks for all SkToolbox commands and aliases
[UPD] Tab autocomplete now works on parameters on the following commands: /spawn, /give, /env
[UPD] Improved Error Handling
[CHG] Modified /spawn command so if an item is spawned, the quantity will be set to the level parameter.
Version 1.8.5
[FIX] Error appeared in console upon opening inventory
Version 1.8.4
[NEW] Console Enabled is now a configuration option. Defaulted to true.
[NEW] Rudimentary auto-completion has been added (start typing a SkToolbox command then press tab!) A better version of this coming soon!
[REM] /event and /randomevent removed as they don't work properly in multiplayer.
[CHG] Changed some command descriptions
[UPD] Updated BepInEx Version
[UPD] Compiled for new version of Valheim
Version 1.8.3
[FIX] /imacheater now works as expected again (some commands still don't like to work as a client in multiplayer)
[FIX] /env works properly. Broke it right before release by accident on 1.8.2.
[CHG] More performance changes / refactoring
[CHG] Changes to the on-screen menu options
Version 1.8.2
[NEW] Console input style can now be modified. Now styled by default.
[NEW] /env [Weather Name] - Change the weather. No parameter provided will list all weather. -1 will allow the game to control the weather again.
[NEW] /event [Event Name] - Start a named event
[NEW] /randomevent - Start a random event
[NEW] /freecam - Toggle the freecam
[FIX] On-screen menu no longer opens if the toggle button is pressed while the console and/or chat is open
[FIX] Added additional error checking
[FIX] Refactored the command processor. Significantly refactored most of the toolbox. Improved performance!
Version 1.8.0
![NEW] Version Checker has been implemented. Toolbox will now alert when an update has been released.
[NEW] New configuration option added - OpenConsoleWithSlash
[NEW] New configuration options added - ConsoleFont, ConsoleFontSize, ConsoleOutputTextColor, ConsoleSelectionColor, ConsoleCaretColor. These allow the customization of the look of the console. Console now set to new look settings by default.
[NEW] New configuration options added - Alternate on-screen controls are now fully configurable!
Version 1.7.0
![NEW] AutoRun commands and command chaining now work with any command, including the standard commands and most other custom mods!
[NEW] New configuration options added - AllowPublicResponse, AllowExecuteOnClear, OpenChatWithSlash, AllowChatCommandInput
[NEW] /clear - Clears the current output shown in the console
[NEW] /q - Quickly exit the game from the console
[CHG] Many behind the scene fixes and optimizations
[CHG] Terrain modification radius' limits changed again based on new equations
![FIX] /seed is back and working!
[FIX] The caret is now set properly on command scroll in console
[FIX] /tp is now much more likely to properly calculate the height of the ground and place the player accordingly. Sometimes there is still a 'blocked' issue, but this now happens less often. The workaround is to fly up into the air before teleporting, so nothing can block your destination.
[FIX] Chat now opens properly when an output from the Toolbox is sent to chat.
Version 1.6.3
[NEW] /tu added to world on-screen menu
[NEW] /resetmap - Reset the map exploration
[FIX] Terrain modification commands have been significantly optimized, with credit to BlueAmulet for this code. Thanks BlueAmulet!
Version 1.6.2
[FIX] /nores - You can now properly remove structures if they were built in a restricted area
Version 1.6.1
[CHG] On-Screen menu will no longer open if the console is already open
[FIX] /farinteract with no range in auto run caused auto run to run twice
[FIX] /farinteract with no range didn't seem to work. Works as expected now. Range should be an optional parameter.
Version 1.6.0
[NEW] /nores - Toggle no restrictions to where you can build (except ward zones)
[NEW] /wind and /resetwind added! Same parameters as standard cheat
[FIX] Terrain commands had a radius actually stuck at 20. Changed this to 40
[FIX] On-screen toggle text fixed
[FIX] Fixed a console functionality issue where if you hit ctrl+A then backspace, it would execute the command.
[CHG] Changes some command descriptions
Version 1.5
[NEW] Auto-run commands on server-join
[NEW] Command chaining! For example: "/give Wood 5; /give PickaxeWood" would run both commands!
[NEW] Command chaining works with auto-run!
[CHG] Modified the position of the /detect window so it no longer covers the inventory
[FIX] Terrain Commands are now working really well, should no longer cause stuttering or game breaking issues!
Version 1.4
[NEW] Terrain Editor - /tr /td /tl - Raise, dig, and level terrain in a radius
[NEW] Alternate controls now available for on-screen menus. /alt (then use Home, insert, page up, page down, and delete)
[NEW] /nosup - Toggle building support requirements. Be careful with this. It can destroy structures if used then turned off. I do not take responsibility for your use of this command.
[FIX] Down arrow now properly cycles the console commands as expected
[FIX] Console no longer strangely executes commands too many times sometimes
Version 1.3
!! [NEW] Modified the console so you can now press the up arrow to get as many previous commands as you've entered, instead of just the most recent.
!! [NEW] On-Screen Controls!
[NEW] Teleport to Mouse
[NEW] /set difficulty [Player Count] - Set the difficulty (default is number of connected players)
[NEW] /set exploreradius [Radius] - Set the explore radius (default = 100f)
[NEW] /set jumpforce [Force] - Set jump force (default 10). Careful if you fall too far!
[NEW] /set pickup [Range] - Auto pickup radius can now be set (default 2)
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.
Please note, this mod has not been maintained in some time and the functionality is no longer guaranteed. I may update this mod as time allows, but in the mean time will make public the source of this mod, and am open to reviewing pull requests. Feel free to use the code from the SkToolbox within the rights established in the license. 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
/alt - Use alternate on-screen controls. Press HOME to toggle if active.
/coords - Show coords in corner of the screen
/console [0/1] - Toggle the console. No parameter to toggle. 1 = Open, 0 = Closed. Intended for use with hotkeys and aliases.
/clear - Clears the current console output
/clearinventory - Removes all items from your inventory. There is no confirmation, be careful.
/detect [Range=20] - Toggle enemy detection
/echo [Text] - Echo the text back to the console. This is intended for use with aliases and the autorun features.
/env [Weather Name] - Change the weather. No parameter provided will list all weather. -1 will allow the game to control the weather again.
/farinteract [Distance=50] - Toggles far interactions (building as well)
/findtomb - Pin nearby tombstones on the map if any currently exist
/fly - Toggle flying
/freecam - Toggle the freecam
/ghost - Toggle Ghostmode
/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!
/god - Toggle Godmode
/heal [Player=local] - Heal Player
/imacheater - Use the toolbox to force enable standard cheats on any server (some are non-functional still. Work in progress!)
/infstam - Toggles infinite stamina
/killall - Kills all nearby creatures
/listitems [Name Contains] - List all items. Optionally include name contains. Ex. /listitems Woo returns any item that contains the letters 'Woo'
/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'
/listskills - Lists all skills
/nocost - Toggle no requirement building
/nores - Toggle building restrictions (build anywhere except ward zones)
/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.
/optterrain - Optimize old terrain modifications. Added so this can be used from chat by default.
/portals - List all portal tags
/q - Exit the game quickly
/removedrops - Removes items from the ground
/repair - Repair your inventory
/resetmap - Reset the map exploration
/resetwind - If wind has been set, this will allow the game to take control of the wind again
/revealmap - Reveals the entire minimap
/seed - Reveals the current world seed
/set cw [Weight] - Set your weight limit (default 300)
/set difficulty [Player Count] - Set the difficulty (default is number of connected players)
/set exploreradius [Radius] - Set the explore radius (default = 100)
/set jumpforce [Force] - Set jump force (default 10). Careful if you fall too far!
/set pickup [Radius] - Set your auto pickup radius (default 2)
/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! - 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.
/spawntamed [Creature Name] [Level=1] - Spawns a tamed creature in front of you. Capitals in name matter! Use /listprefabs to search for creatures!
/stopevent - Stops a current event 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.
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
Enjoy. Please endorse at the top of this page if you find value in this mod, it really does help us out.