Documentation
R_FFA

r_ffa Installation

Install r_ffa on ESX, QBCore or QBox: ox_lib and oxmysql, optional ox_target, pma-voice and r_store wagers, and install troubleshooting.

Prerequisites

R_FFA needs:

  • ox_lib: callbacks, zones, keybinds and locales
  • oxmysql: database
  • A framework: ESX, QBCore or QBX
  • Optional: ox_target or qb-target (otherwise players press E at the arena ped)
  • Optional: pma-voice (voice channels), r_store (credit wagers), MugShotBase64 (player mugshots in the hub and duel HUD)

Installation Steps

Download & Extract

  1. Download R_FFA from your Cfx.re Portal
  2. Extract the folder into your server's resources directory
  3. Make sure the folder is named exactly r_ffa

Database

The r_ffa stats table is created automatically on first start (R.EnableAutoinsert = true). sql/r_ffa.sql is included if you prefer to import it yourself.

Upgrading from 1.x? The old table (citizen_id, username) is migrated automatically on the first start. Your players keep their kills and deaths. The same statements are in sql/migrate_v1.sql.

Add to server.cfg

Ensure the resource after ox_lib, oxmysql, your framework, your target resource and pma-voice:

ensure ox_lib
ensure oxmysql
ensure ox_target
ensure pma-voice
ensure r_ffa

Admin permission

Give your staff the ace group used by R.AdminGroup (default group.admin) so they can remove custom lobbies and use /ffaadmin:

add_ace group.admin command.ffaadmin allow
add_principal identifier.license:xxxxxxxx group.admin

Set your language (optional)

R_FFA uses the ox_lib locale system. Pick the language with a convar in server.cfg:

setr ox:locale "en"   # en | fi

Discord logs (optional)

Open server/sv_custom.lua and paste your webhook URLs into Webhooks (lobby, duel, admin). Leave a webhook empty to skip that category.

Restart & connect

Restart your server and walk up to the arena ped (default location in R.Join, blip on the map). Target the ped or press E to open the hub, join a lobby and press G in the arena for the weapon menu.

Next Steps

Troubleshooting

Common Issues

View the troubleshooting guide