Installation

Requirements

  • ox_lib
  • oxmysql
  • jo_libs (modules used: framework, menu, prompt, gizmo, notif)
  • gm_ecosystem (optional, camp traders)
  • gm_medic (optional, camp doctor)

Steps

  1. Put the gm_camping folder in your resources folder.
  2. Add the items to your server (see below).
  3. Add it to server.cfg after the resources above:
ensure ox_lib
ensure oxmysql
ensure jo_libs
ensure gm_ecosystem
ensure gm_camping
  1. 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.lua
  • shared/adapter.lua
  • server/webhooks.lua

Last updated