- Database: import
tr-mail.sqlinto your server's database. It creates three tables (tr_mail_mailboxes,tr_mail_messages,tr_mail_access) and theinsert_mailboxprocedure that hands out mailbox numbers. - Items: add these items to your VORP inventory items table (names must match exactly):
| Item | What it is |
|---|---|
telegram |
a received telegram (readable) |
letter |
a received letter (readable) |
mail_note |
a note written at the counter (readable, can be posted) |
box |
an empty box (use it to pack a package) |
package |
a packed package (use it to open) |
mail |
a letter being carried by a mail carrier |
parcel |
a package being carried by a mail carrier |
Give them whatever labels, weights and images suit your server.
3. Resource: put the tr-mail folder in your resources and add it to server.cfg after its
requirements:
ensure oxmysql
ensure vorp_core
ensure vorp_inventory
ensure jo_libs
ensure tr-mail
- Configure it (see below) and restart the server.