First Time Setup

Install order, critical flags, database, and first live checks

Start here

Use this order for the first live install.

1

Follow the base load order

Follow FIRST STEPS (READ FIRST) for the load order.

Then verify these dependencies are already running:

  • ox_lib

  • your database layer through the bridge or oxmysql

  • your inventory

  • your target resource if Config.Target = true

ox_lib is required for the bundled notify and TextUI helpers.

2

Let the database initialize

The resource creates or maintains several tables through its server modules.

Verify your SQL layer is working before testing:

  • prescription_records

  • pharmacy_supplies

  • medical_insurance

  • medical_insurance_claims

  • pharmacy_bans

  • med_insurance_commissions

  • med_insurance_bans

3

Set the critical config flags

Before live testing:

  • set Config.TestMode = false

  • set Config.Debug = false

  • choose Config.Target = true for target flow or false for zones and TextUI

  • enable Config.PayIntoSociety if pharmacy income should go to society

  • enable Config.PayIntoInsuranceSociety if insurance income should go to society

4

Align jobs and locations

Review these first:

  • Config.Job and Config.MinimumGrade

  • Config.PharmacyJob

  • Config.PharmacyPermissions

  • Config.InsuranceJob

  • every pharmacy location in Config.Pharmacies

The default pharmacy coordinates target Envi Pop's Pills.

If you use a different map, move the ped, counter, restock, kiosk, and shelf coordinates.

5

Register your items

Add the prescription pad, prescription item, medications, lean chain, and narcan.

Your inventory must support item metadata for prescriptions and medication items.

6

Wire open integrations

Review these open hooks before going live:

  • Notify, TextUI, and HideTextUI

  • vehicle keys helpers

  • police dispatch hooks

  • Discord webhook helper

If you use restock vans, finish the vehicle key integration first.

Good first checks

  • If money seems to vanish, check the society payout toggles.

  • If insurance UI does nothing, check the insurance master flag.

  • If target options are missing, confirm the target resource is started.

  • If prescription metadata looks wrong, confirm your inventory supports metadata.

Last updated