Skip to content

Configuring mods

This guide will tell you how to configure installed mods.

Editing the config file

The easiest way to edit configs is using GSS Mod Manager. Just press Configure on a mod and either: a config editor will open or a notepad window with the config.

If notepad has opened, go to this section. Otherwise you should edit the config in the config editor.

Editing with notepad

After you've opened the config.lua file, you should see something like this:

lua
local config = {
    -- Amount of cash to add when keybind is pressed
    add_cash_amount = 36.34,
    -- Key that needs to be pressed with the modifier keys to trigger the money addition
    key = Key.F1,
    -- Modifier keys that need to be pressed with the key to trigger the money addition
    modifier_keys = { ModifierKey.CONTROL }
}
return config

I'm using the config of MoneyAdder as an example. Config highly depends on the mod you're using

Look for double dashes (--). Text after double dashes should explain what changing the config option does. In this example I want to change the amount of cash added to 107.38, the key to caps lock and no modifier keys. To do that I changed:

lua
local config = {
    -- Amount of cash to add when keybind is pressed
    add_cash_amount = 36.34, 
    add_cash_amount = 107.38, 
    -- Key that needs to be pressed with the modifier keys to trigger the money addition
    key = Key.F1, 
    key = Key.CAPS_LOCK, 
    -- Modifier keys that need to be pressed with the key to trigger the money addition
    modifier_keys = { ModifierKey.CONTROL } 
    modifier_keys = {} 
}
return config

To save, press Ctrl+S in notepad, and you can now close it.

TIP

modifier_keys is kind of a list in this example, you can store any amount of elements in a list. If you would want to press all modifier keys at once to trigger the event you would type:

lua
modifier_keys = { ModifierKey.CONTROL, ModifierKey.ALT, ModifierKey.SHIFT }

TIP

You can reload mods and configs without reopening the game. The hot reloading guide is here

TIP

All type variations for Key and ModifierKey are here