Configuration
Prescriptions is set up in the /setupprescriptions panel. Start here, then open the page for the area you want.
Run /setupprescriptions as an admin. A short guide plays the first time. Save writes everything to the database and applies it live for every player. Reset goes back to the defaults.
The panel
| Group | Pages |
|---|---|
| Shops | Shops (locations, job, stations), Supply stops, Restock prices, Shoplifting |
| Medicine | The meds, Scripts (paper), Overdose and bottling, Fake scripts |
| Money | The till, Insurance desks, Plans |
| Staff | Who can do what |
| Server | Extras (prompt style, records, logs, hooks), Debug (what loaded) |
Stations are placed with an on-screen tool. Stand where you want the point and confirm. That covers the time clock, mixing bench, medical cabinet, register, office, panic button and delivery van on each shop, and the supply stops. Supply stop coordinates stay on the server and are never sent to players.
Export and import settings
Turn on Advanced settings in the left rail of the panel, then press Export or import. Export fills the box with every setting as JSON. Press Copy and paste it into a support ticket or keep it as a backup. The export starts with the Prescriptions version, the Newb_Bridge version, and the framework, inventory, target and other providers Newb_Bridge is using, so support can see your setup at a glance.
To load a setup, paste an export into the box and press Import. The settings are checked the same way as a normal save, then saved and applied. An import only accepts an export made by Prescriptions. If the export was made by a different version, the panel shows both versions and what will happen (settings the export lacks use this server's defaults, settings this version does not have are dropped), and the button changes to Import anyway so you have to confirm.
Languages
Text lives in the files under locales/ and loads through ox_lib, including the setup panel text. 32 languages ship with it. To switch, set setr ox:locale "<code>" in server.cfg to one of them. For a language that is not there, copy en.json to <code>.json, translate the values, and keep every key. A missing key shows up as raw text on screen. The web panels use the Ui.* and Setup.* keys.
The settings pages
Grouped the way you will think about them.
- Pharmacies and supplies: player-run and NPC pharmacies, adding one, supply runs, society money
- Paper, doctors and money: the pad and paper, expiry and refills, the till, supply orders, insurance
- Medications and overdose: the medication catalog, the hands-on bench, bottling, effects, overdose
- Crime, behaviour and logs: shoplifting, forgery, prompt style, hooks, debug, logging
