Post offices, mailboxes, letters, packages and telegrams

A post office system for RedM: rent mailboxes, send telegrams, letters and packages, and let a mail carrier job deliver the post between towns.


Features

  • Mailboxes: rent a numbered box (e.g. #0042) at any post office, name it, share keys with other players or a whole trade, and transfer or close it.
  • Telegrams: written on a telegram form and delivered to the recipient's mailbox after a short delay. Players are notified when a telegram is waiting.
  • Letters: post any note or letter you're carrying to another mailbox number.
  • Packages: buy a box, pack items into it, and post it. Postage depends on weight.
  • Notes: write a note at the counter, keep it, or post it straight away.
  • Mailbox directory: a searchable public listing of registered mailboxes.
  • Mail carrier job: carriers collect outgoing mail at the mail desk and deliver it to other post offices, and are paid by distance.
  • Map blips show which post offices have mail waiting for you, and (for carriers) which have mail to deliver.
  • Post office staff: a clerk at each counter, opening hours, and a camera that turns to the clerk while you're served.
  • Discord webhooks log mailboxes being opened, renamed, transferred and deleted, keys changing hands, mail being sent and delivered, and packages being packed and opened.

Requirements

  • VORP Core and VORP Inventory
  • oxmysql
  • jo_libs (menus, prompts, notifications, inputs)
  • MySQL or MariaDB. If you're on MariaDB 11.5 or newer, use the included tr-mail.sql as-is: it already contains a fix for that version's stricter text-comparison rules.