Frontier Wire — Installation
Dependencies
| Resource or service | Required | Notes |
|---|---|---|
| RedM server with OneSync | Yes | The manifest declares /onesync |
oxmysql | Yes | MariaDB or MySQL with InnoDB FULLTEXT |
vorp_core | Yes | The included framework adapter |
vorp_inventory | Yes | The included inventory adapter |
No other library is needed: no ox_lib, no jo_libs. The database account needs CREATE, SELECT, INSERT and UPDATE.
Lua 5.4
The manifest sets lua54 'yes'. Do not remove it; the resource does not run on Lua 5.1.
Package contents
[INSTALL_ME_FIRST]/
items.sql
images/frontier_mailbox_paper.png
images/frontier_mailbox_bird.png
images/frontier_mailbox_sealed.png
images/frontier_mailbox_received.png1. Install the resource
Put the folder in your resources and keep its exact name:
resources/[frontier-forge]/frontier_mailbox/Events, exports, NUI addresses and items are built on the name frontier_mailbox. A renamed folder prints a red warning in the server console every three seconds.
2. Import the items
Import [INSTALL_ME_FIRST]/items.sql into your VORP database. It adds four rows to the items table and keeps existing ones.
| Item name | Label | Used for |
|---|---|---|
frontier_mailbox_paper | Blank telegram | Write and seal a telegram anywhere |
frontier_mailbox_bird | Carrier bird | Write and send a telegram by bird (one bird, one telegram) |
frontier_mailbox_sealed | Sealed telegram | A written, sealed telegram; post it at any post office |
frontier_mailbox_received | Received telegram | A letter taken from a bird; use it to read it again |
The item names can be changed in Config.Items; rename the rows in items and the pictures to match.
3. Copy the pictures
Copy the four PNG files from [INSTALL_ME_FIRST]/images/ into:
vorp_inventory/html/img/items/Then restart vorp_inventory so it loads the new items.
4. server.cfg
Start the Frontier Forge folder after its dependencies:
ensure oxmysql
ensure vorp_core
ensure vorp_inventory
ensure [frontier-forge]For admin access, run /frontier_mailbox in game. Without permission it shows a ready add_ace line with your own identifier; copy that line into server.cfg (or run it in the console).
5. Automatic SQL
No manual SQL is needed for the resource's own data. On start it creates its eleven tables with CREATE TABLE IF NOT EXISTS. It never alters or drops a table.
The console prints this when everything started correctly:
[frontier_mailbox] Postal service ready: vorp / vorpor STARTUP FAILED: <reason> when something is missing. See Common Errors.
6. Create your first post office
- In game, type
/frontier_mailboxand open Stations → New station. - Enter a name and town and pick a clerk model.
- Place the clerk: the screen hides and a hint panel explains the keys. Stand where the clerk should stand, face the way they should look and press Enter (Escape cancels). The clerk needs a real floor under them.
- Set the radius, postage, delivery time and who may use the office, then save.
- Walk up to the clerk and hold E to open the post office as a player.
7. Test
- Buy a blank telegram and a carrier bird under Supplies.
- Write a telegram to your own address, seal it and post it at the counter.
- Send a second one by carrier bird and take it from the bird with hold E.
- Enclose a small amount of cash and one item, and collect them as the addressee.
Continue with Configuration.
