Installation
Requirements
ox_liboxmysqljo_libs(modules used:framework,menu,prompt,gizmo,notif)gm_ecosystem(optional, camp traders)gm_medic(optional, camp doctor)
Steps
- Put the
gm_campingfolder in your resources folder. - Add the items to your server (see below).
- Add it to
server.cfgafter the resources above:
ensure ox_lib
ensure oxmysql
ensure jo_libs
ensure gm_ecosystem
ensure gm_camping
- Edit the config (see Configuration) and start the server.
The database tables gm_camping and gm_camping_shares are created automatically on the first start.
Items
Every placeable prop is an item that players carry in their inventory.
| Framework | How |
|---|---|
| rsg-core | Copy the lines of rsg-coreitems.txt into rsg-core/shared/items.lua, inside the items table |
| VORP | Run vorp-coreitems.sql on your database |
The files add 1,198 items with placeholder weight and image values. Change those to match your inventory.
The upgrade materials are not included: woodenplanks, bottledoil, ironbar, silverbar, goldbar, milkweed, viosnwdrp. They must already exist on your server, or change the upgrade costs in the config.
First start
Check the console for [gm_camping] Database OK. Then give yourself the campfire item (p_campfire_coloursmoke01x), use it and confirm the camp is created.
Files you can edit
These files are not escrowed:
shared/config.luashared/adapter.luaserver/webhooks.lua