Installation
From download to the first open lobby, in a few steps.
Download the package
In My account, download the RVT Hunt zip. The license key comes in the token.lua file at the root of the folder (Config.License = "..."), filled in by the store on download; do not edit or delete that file.
Place the folder on the server
Extract it into resources keeping the name rvt-hunt. Do not rename it: saved maps and exports use that name.
Start it in server.cfg
Start it after ox_lib and, if you use one, your framework. The default is standalone: a framework is only needed if you change Config.Framework in open/config.lua.
server.cfg ensure ox_lib ensure oxmysql # optional: ranking in SQL ensure xsound # optional ensure es_extended # optional: only if Config.Framework is "esx" (or qb-core / qbx_core / vrp) ensure rvt-huntGrant the staff permission
For whoever will test and edit maps.
server.cfg # Staff permission (the name comes from Config.Staff.Ace) add_ace group.admin rvthunt.staff allow add_principal identifier.license:YOUR_LICENSE group.adminRanking
With oxmysql started, the ranking table (rvt_hunt_rank) is created automatically. Without it, the ranking uses the server KVP. There is no SQL to import.
Restart and open the lobby
Restart the server and check the console for the detected framework and locale. In game, type /hunt.
console [rvt-hunt] framework: standalone · locale: pt
Appearance
Configure the appearance bridge before opening to players: set Config.Appearance to your clothing system and, if it is a different one, adapt Bridge.SaveAppearance and Bridge.RestoreAppearance in open/bridge/client.lua. The "snapshot" mode (fallback) does not restore every face and hair detail. Test match start, death, disconnect and match end.
vRP
vRP/Creative: set Config.Framework = "vrp" in open/config.lua. The vRP libraries are only loaded when that framework is selected; fxmanifest.lua needs no change.
Updating
- Download the new version from My account.
- Extract the new folder over the old one.
- Copy your changes from the old open/ folder (config.lua, bridge, locales and your own powers) into the new one. Keep the token.lua of the version you downloaded, which carries the license.
- Editor maps live in the KVP and the ranking in the database: they are not lost on update.
- Restart the resource with restart rvt-hunt.
