Update a script
How to update an Eleven Project script: download the new version from Keymaster, keep your config and translations, compare keys and restart the server.
Each product has its own update page with the details (which files to keep, what changes between versions). This is the shared part.
Where new versions come out
New versions are published on Keymaster: the download under Granted Assets is always the latest. Each product shows its version on the version line of its fxmanifest.lua.
With a lifetime license, updates are included. With a monthly plan, for as long as the subscription is active.
Before you update
Back up what is yours:
config.lua(and theconfig/folder in scripts that use it for your configuration).locales/, if you changed text or added a language.- Any other file you generated inside the folder (photos, saved settingsā¦). Each product's update page lists them.
- A database backup, just in case.
Step by step
- Download the new version from Keymaster.
- Stop the server.
- Replace the resource folder with the new one, keeping the same name. Do not mix old and new files: the escrowed files must all come from the same version.
- Put your
config.luaand translations back. - Compare your config with the new one. If the version adds keys, copy them into your file (or move your values into the new file). Do the same with translations: missing keys show up without text.
- If the product ships
ox_inventoryitems, compare them with yours in case there are new ones. - If the version ships a migration SQL, apply it as its page explains. Most of our scripts update their own tables on start.
- Start the whole server and watch the console.
Warning
Apply the update with a full server restart, not a live ensure. For scripts with their own models (stream/), copying files over them while the server is running can crash players.
If something breaks after updating
- Make sure you replaced the whole folder and the name did not change.
- Check your config has no old keys in a format that is no longer valid (the product's changelog or update page will say).
- If you get the entitlement error, see Fix "You lack the required entitlement".
- If it still fails, open a ticket with the old and new version numbers. See Get support.