Plugins
Plugins
The bridge ships with built-in plugins that install compatibility features automatically when ragemp-fivem-bridge starts.
Automatic by default
You do not need to import these plugins manually. They load during bridge initialization unless you disable them with disable_plugin.
fs-compat
Makes file system behavior feel closer to RAGE:MP by redirecting process.cwd() to the active resource path.
env-loader
Loads a resource-level .env file and exposes mp.environment.loadEnv().
spawnmanager
Handles player spawning with collision loading and ground-Z support.
vehicle-sync
Keeps cosmetic vehicle state authoritative and replays it to late-streaming clients.
world-vehicles
Opt-in. Lets mp.vehicles.new spawn server vehicles anywhere on the map, even with no player nearby.
Third-party plugins
Learn how to ship your own plugin as a FiveM resource with bridge metadata.
Disable a plugin
Use disable_plugin in either your gamemode resource or the bridge resource.
fx_version 'cerulean'
game 'gta5'
server_scripts {
'@ragemp-fivem-bridge/server.js',
'server/index.js',
}
client_scripts {
'@ragemp-fivem-bridge/client.js',
'client/index.js',
}
disable_plugin 'vehicle-sync'fx_version 'cerulean'
game 'gta5'
ragemp_bridge 'library'
disable_plugin 'spawnmanager'Add one disable_plugin line for each plugin name.
Restart the bridge and the consuming resource.
Check the console for a log similar to [bridge:plugins] disabled: vehicle-sync.
Plugin names
| Plugin | Side | Default | Toggle |
|---|---|---|---|
| fs-compat | server | on | disable_plugin 'fs-compat' |
| env-loader | server | on | disable_plugin 'env-loader' |
| spawnmanager | both | on | disable_plugin 'spawnmanager' |
| vehicle-sync | both | on | disable_plugin 'vehicle-sync' |
| world-vehicles | server | off | bridge_world_vehicles 'yes' |
world-vehicles is opt-in
Every built-in plugin is on by default and turned off with disable_plugin, except world-vehicles, which is off by default and turned on with bridge_world_vehicles 'yes'.