Use the right server-data folder
Cfx resources live in the resources folder of the active server-data directory. Each resource has its own manifest and dependencies. Check which profile txAdmin or your template starts before editing another server.cfg.
Follow the resource author’s framework and database requirements. A database migration can change persistent player data; export the database before applying it.
Install and validate
- Back up server files and the framework database.
- Stop and upload the resource with its intended folder structure.
- Install declared dependencies and apply the author’s schema changes to the correct database.
- Add the resource to the active configuration in dependency order.
- Restart and inspect resource-start errors before testing the feature.
Keep server.cfg readable
Resource folder names must match the names started by the configuration. Do not duplicate a resource under two folders. Keep connection strings and licence keys private.
# Example dependency order; replace with your actual resource names.
ensure dependency_resource
ensure community_resource Recover a broken update
If a resource fails, preserve the first error and note whether the failure is in Lua, a dependency or the database. Reverting a script alone may not undo a schema change, so retain a matching pre-update database export. txAdmin permissions and your framework’s game roles are separate; grant each deliberately.
Further reading
Check the current documentation for your installed version before changing game-specific settings.
Cfx resources txAdmin permissionsStill need a hand?
Send us your service ID and what you’ve tried so far.