Configuration
All Twinded scripts use the same configuration pattern: default files you can read, and a custom folder where you paste your overrides.
How it works
Each script has this structure:
twinded_scriptname/
└── config/
├── _default.lock/ ← Default config (DO NOT EDIT)
│ ├── _init.lua
│ ├── settings.lua
│ ├── lang.lua
│ └── webhook.lua
└── custom/ ← Your overrides go hereStep by step
- Open
config/_default.lock/and find the file you want to change - Copy that file into
config/custom/ - Edit the copy in
config/custom/ - Restart the resource:
/refresh
/ensure twinded_scriptnameWhy this pattern?
Default files are never modified — they serve as a reference and are overwritten on updates. Your changes in custom/ are always preserved across script updates.
Example
To change the collection duration in twinded_collect:
- Copy
config/_default.lock/settings.lua→config/custom/settings.lua - Edit only what you need:
lua
-- config/custom/settings.lua
Config.CollectDuration = 15000 -- 15 seconds instead of default 10You only need to include the values you want to change — the defaults are loaded first, then your custom file overrides them.
Translations
Translations work the same way. Copy lang.lua to custom/ and edit:
lua
-- config/custom/lang.lua
Lang.collect_started = "Vous avez commencé à récolter %s"
Lang.collect_finished = "Vous avez récolté %sx %s"
