- I'm having an issue with installation. What is the easiest way to make this work?
- Is there a configuration file?
- Can I run commands automatically when I join a server?
- What is a command alias?
- Why would I want to use a command alias?
- How do I create a hotkey?
- What keys can I use to make a hotkey?
- Some commands respond with a statement in the chat box. Can others see it or just me?
- Can I make it so nobody can see this chat response for any command?
- I'm having an issue with installation. What is the easiest way to make this work?
Use the Vortex mod manager found on this site. It is by far the easiest method. - Is there a configuration file?
Yes. It is extensive, please take a look at it! It is located here: \Valheim\BepInEx\config\com.Skrip.SkToolbox.cfg - Can I run commands automatically when I join a server?
Yes. Check out the configuration file to set it up. - What is a command alias?
A command alias is a custom command defined in the configuration file that can call other commands! - Why would I want to use a command alias?
You can use this to easily create custom commands which can make your console experience easier. Included in the configuration file is an example creative mode command! It adds the command /creative which calls several other commands which facilitate creative mode! You can specify as many commands as you would like to be chained in the configuration file.A great use for command aliases is so if you have another mod with a custom command, you can add that command as an alias, and now you'll be able to press tab and that command will be autocompleted for you! For example, if you have a mod with the command "testcommand" and you want to be able to use it with auto complete, you would simply add testcommand: testcommand as a command alias, and it will work. If you want to shorten that custom command, you could do testcmd: testcommand and now when you enter testcmd, it will pass the actual command of testcommand into the console.
- How do I create a hotkey?
Go to the Command Hotkey section of the configuration file, and define your keys there (\Valheim\BepInEx\config\com.Skrip.SkToolbox.cfg)- Example 1 Press z to input /fly; /go | z: /fly; /god
- Example 2 Press Shift+Z to input /creative | Z: /creative
- Example 3 Press Tilde to open the console | `: /console
- What keys can I use to make a hotkey?
Only 'Printable ASCII characters' are valid! (https://theasciicode.com.ar/). Capital letters make the hotkey require Shift before the hotkey press. You might ask why you can use any character for the alternative on screen commands, but not those same KeyCodes for this? It's due to how Unity allows the programmer to take in any input without knowing information about it beforehand. With the alternate keys, everything is well setup and controlled, but with the hotkeys, it could be any button, so everything needs to be listened to. The most efficient way to do this right now is to simply accept only the printable characters, I hope you understand. I'll see about fixing this in the future.
- Some commands respond with a statement in the chat box. Can others see it or just me?
If the chat starts with your name, then others can see it. If it starts with SkToolbox, only you can see it. This is fully configurable in the options file. Please note if you enter a command into the chat, others can still see what you typed, just not the response from the mod.
- Can I make it so nobody can see this chat response for any command?
Yes. Go to the configuration file and set AllowPublicResponse = false. Please note if you enter a command into the chat, others can still see what you typed, just not the response from the mod.
0 comments