Install Frontier Lawbook
Set up rr_lawbook v0.4.9 on a RedM server running VORP and oxmysql.
Requirements
| Component | Requirement |
|---|---|
| Platform | RedM |
| Framework | VORP Core 2.8 (development target) |
| Database | oxmysql |
| Citizen table | VORP characters with charidentifier, firstname, lastname |
| Prison integration | Compatible bulgar_prison resource (prison feature only) |
Step 1 — Upload the resource
Extract the purchased archive and upload the entire rr_lawbook directory to your server's resources directory. Do not rename the resource without updating dependent references.
Step 2 — Install the database
For a new installation, import rr_lawbook/sql/install.sql into the same database used by VORP. Existing servers upgrading from earlier lawbook versions must review the bundled SQL migrations and back up first.
Step 3 — Edit configuration
Open shared/config.lua and update Config.AllowedJobs, Config.Charges, the desired fine/jail limits and department names for your server.
Step 4 — Start dependencies and lawbook
ensure oxmysql
ensure vorp_core
# Only needed if you use the bundled prison integration:
ensure bulgar_prison
ensure rr_lawbook
The resource name for BulgaR Prison must match its installed folder. The optional prison resource is required only when using the bridge.
Step 5 — Open and test
In-game, sign in with a character whose job is authorized in Config.AllowedJobs, then use:
/lawbook
Verify the citizen registry, create a sample report, issue a test warrant and check the database. Test jail actions separately with consenting test players before enabling them in production.
Updating from an earlier version
v0.4.9 adds warrant fields and a warrant-revision table. The resource attempts to migrate its schema automatically, and includes sql/UPGRADE_v0.4.9.sql if manual migration is needed. Do not discard existing lawbook tables or overwrite customized configurations without comparing differences.
