v1.3.1 Minor
In-game settings with /bunkerconfig, a new interface and a supply train fix
7Änderungen

In-game settings with /bunkerconfig, a new interface and a supply train fix
7Änderungen

[02] Release
Every option is now edited in game with /bunkerconfig and saved in the database, so updating no longer wipes your configuration. Also: a fully redesigned interface, JSON translations, stronger item protection, an update checker and a fix for the supply mission train.
/bunkerconfig (or the Settings tab of /bunkercreator) and is saved in the database. The settings table is created automatically. No manual SQL is required.data/globalConfig.json is imported automatically on the first start and renamed to globalConfig.json.migrated. shared/config.lua has been replaced by config/config.lua, which now only holds framework, inventory, target and vehicle key detection. If you had changed values in the old shared/config.lua, set them again in /bunkerconfig.locales/*.lua files are now locales/*.json. If you edited a translation, move your changes to the new JSON file.Replace every file in the resource, except what you edited yourself:
fxmanifest.luaconfig/config.lua — newdata/bunkers.jsonshared/locale.lua — newshared/settings.lua — newlocales/*.json — newclient/custom/frameworks/esx.lua, qbcore.lua, qbox.lua, standalone.luaclient/custom/targets/ox_target.lua, qb-target.luaclient/custom/notify.lua — newclient/custom/textui.lua — newclient/modules/commands/commands.luaclient/modules/interior/cutscene.luaclient/modules/missions/manager.lua, zones.luaclient/modules/nui/core.lua — newclient/modules/positioning/system.luaclient/modules/raid/alerts.lua, breach.lua, policeBlips.luaclient/modules/settings/main.lua — newclient/modules/teleport/teleport.luaclient/modules/ui/callbacks.lua, manager.luaclient/modules/workbench/manager.luaclient/modules/zones/blips.lua, manager.luaserver/custom/inventories/aj.lua, chezza.lua, codem.lua, core.lua, lj.lua, mf.lua, mythic.lua, ps.lua, qbcore.lua, tgiann.luaserver/modules/core/state.luaserver/modules/crafting/manager.luaserver/modules/data/loader.luaserver/modules/database/init.luaserver/modules/events/handlers.luaserver/modules/inventory/guard.lua — newserver/modules/missions/manager.luaserver/modules/ownership/manager.luaserver/modules/raid/heatManager.lua, manager.luaserver/modules/settings/main.lua — newserver/modules/statistics/manager.luaserver/modules/updater.lua — newweb/*Delete these if you update over the previous version:
CHANGELOG.mdshared/config.luashared/utils/locale.lualocales/*.luaEvery item moved between players, bunker stashes and the workbench is now checked on the server, and undone if it did not fully happen.
Every option (language, interface, blips, interior, production, prices, supply items, crate loot, police and raid jobs, heat, crafting recipes, commands) is edited in game and saved in the database, so updating the script no longer wipes your configuration.
Notifications and interaction prompts can use qs-interface, qs-textui, ox_lib or the GTA native ones, selected in /bunkerconfig > General.
The server console tells you when a new version is available, with its most important changes.
New admin panel, laptop, purchase menu, workbench and interaction prompts.
The locales are now JSON files, easier to edit and translate.
Only one train spawns per mission, only the owner controls its braking, it stops earlier and more reliably, and the mission now times out if left unfinished.