Mods / MailboxTrade

Tags:
QoL Transportation
Author:
Magic_Oldie
Side:
Both
Created:
Mar 8th at 3:22 PM
Last modified:
May 8th at 7:01 PM
Downloads:
1339
Follow Unfollow 33
Recommended download (for Vintage Story 1.22.0-pre.1 - 1.22.2):
MailboxTrade-1.22.zip  1-click install

Mailbox style item trading between players.

 
## GUI Usage

- Right-click a postbox to open the mailbox interface
- Filter field: enter a sender name and click `Apply filter`
- Claim: select an entry and click `Claim selected` or click the item
- Direct send: put item in field choose a target player from the dropdown and click `Send`
 

 
Last Change
  • Mail sending was expanded from online-only recipients to all known players.
  • The mod now keeps a persistent list of known players (UID + name), so players who were seen before can still be selected as recipients while offline.
  • Recipient resolution now works in two steps:
    • first try online player lookup
    • fallback to known-player lookup
  • Known-player data is automatically updated from:
    • current online players
    • existing mailbox entries
    • send operations (sender and receiver)
  • Receiver names in the GUI now represent known players (not only online users), including an updated empty-state label.
  • Store persistence was extended with known-player records and backward-compatible loading.

Result

  • You can send mail to players who are currently offline, as long as they are already known in that world/session history.

 

if you´re looking for Mail only, have a look here Email Trade

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.20 mailboxtrade
1.21.0-pre.1 - 1.21.6
258 Mar 17th at 6:12 PM MailBoxTrade-1.21.zip 1-click install

fixed a bug where items are deleted when the server restarts

1.0.19 mailboxtrade
1.22.0-pre.1 - 1.22.2
697 Mar 14th at 8:07 PM MailboxTrade-1.22.zip 1-click install

adapted to 1.22.0-rc.2

 

1.0.18 mailboxtrade
1.21.0-pre.1 - 1.21.6
96 Mar 14th at 10:35 AM MailboxTrade-1.21.zip 1-click install

Self-sending is now admin-only, for testing purposes only

1.0.17 mailboxtrade
1.21.0-pre.1 - 1.21.6
22 Mar 14th at 9:50 AM MailboxTrade-1.21.zip 1-click install

Changelog:

Food sent by mail no longer rots while it is inside the mail system.

1.0.16 mailboxtrade
1.21.0-pre.1 - 1.21.6
1 Mar 14th at 6:52 AM Release Retracted

Retraction Reason:

test

Changelog:

Food sent by mail no longer rots while it is inside the mail system.

1.0.15 mailboxtrade
1.21.0-pre.1 - 1.21.6
57 Mar 12th at 2:15 PM MailboxTrade-1.21.zip 1-click install
  • Mail sending was expanded from online-only recipients to all known players.
  • The mod now keeps a persistent list of known players (UID + name), so players who were seen before can still be selected as recipients while offline.
  • Recipient resolution now works in two steps:
    • first try online player lookup
    • fallback to known-player lookup
  • Known-player data is automatically updated from:
    • current online players
    • existing mailbox entries
    • send operations (sender and receiver)
  • Receiver names in the GUI now represent known players (not only online users), including an updated empty-state label.
  • Store persistence was extended with known-player records and backward-compatible loading.

Result

  • You can send mail to players who are currently offline, as long as they are already known in that world/session history.
1.0.14 mailboxtrade
1.21.0-pre.1 - 1.21.6
47 Mar 10th at 8:25 PM Empty MailboxTrade-1.21.zip 1-click install
1.0.13 mailboxtrade
1.21.0-pre.1 - 1.21.6
20 Mar 10th at 7:14 PM MailboxTrade-1.21.zip 1-click install

Resulting errors are redirected to the server logs so that the client no longer crashes, but the error appears in the server log

1.0.12 mailboxtrade
1.21.0-pre.1 - 1.21.6
13 Mar 10th at 6:09 PM Empty MailboxTrade-1.21.zip 1-click install
1.0.11 mailboxtrade
1.21.0-pre.1 - 1.21.6
13 Mar 10th at 4:49 PM MailboxTrade-1.21.zip 1-click install

fixed some bugs

1.0.10 mailboxtrade
1.21.0-pre.1 - 1.21.6
17 Mar 9th at 7:54 PM MailboxTrade-1.21.zip 1-click install

added two variants

1.0.7 mailboxtrade
1.21.0-pre.1 - 1.21.6
16 Mar 9th at 2:37 PM Empty MailboxTrade-1.21.zip 1-click install
1.0.6 mailboxtrade
1.21.0-pre.1 - 1.21.6
15 Mar 9th at 11:17 AM MailboxTrade-1.21.zip 1-click install

fixed some bugs

1.0.5 mailboxtrade
1.21.0-pre.1 - 1.21.6
13 Mar 9th at 10:58 AM Empty MailboxTrade-1.21.zip 1-click install
1.0.4 mailboxtrade
1.21.0-pre.1 - 1.21.6
14 Mar 9th at 10:39 AM Empty MailboxTrade-1.21.zip 1-click install
1.0.1 mailboxtrade
1.21.0-pre.1 - 1.21.6
13 Mar 8th at 7:08 PM MailboxTrade-1.21.zip 1-click install

fixed the status output

1.0.0 mailboxtrade
1.21.0-pre.1 - 1.21.6
23 Mar 8th at 3:24 PM Empty MailboxTrade-1.21.zip 1-click install

10 Comments (oldest first | newest first) (threaded | flat)

SizzleCorndog, May 8th at 11:14 PM

lowkey might add this to my server where some friends and I are going to build a village bc its funny

Bannta, Apr 23rd at 3:23 AM

When I add something sketchy, I typically add in an enable/disable bool in the configs

Magic_Oldie , Mar 14th at 10:40 AM

Interesting to see that some people get annoyed when you make changes to your mod😐

It was never my intention for that to happen

quihyr, Mar 14th at 9:58 AM

Jeez, you update the mod a bunch of times. Kinda feel like spamming the homepage feed.

Magic_Oldie , Mar 13th at 6:28 AM

I'll come up with something for that

MrBacon12, Mar 13th at 3:32 AM

Hello! Love this as a concept, is there a way to adjust it to where ONLY messages / mailed parchment could be configured? 

 

Magic_Oldie , Mar 11th at 4:12 PM

Thank You.

The mod does not track the location of the target player as an ongoing position. It only does two things when sending: It checks whether the target player is currently online, and then creates a mail entry for this recipient. In this entry, it only stores recipient identity and item data, i.e., ReceiverUid and ReceiverName, not coordinates.

In short: The mod saves the recipient by UID/name and only delivers to the recipient's current location when claimed. There is no permanent tracking of the target player.

The mod was primarily intended for direct trading between players, which is why I wrote it that way.

I’m not going to publish the code on Git

Tomboy, Mar 11th at 3:48 PM

Fantastic mod! I have been thinking/waiting for something like this for a while

How does the mod track the location of the target player? 
Is it possible to make it so the items are sent between mailboxes to avoid having to wait for a player to be online?

Do you have a github with your code? I would really like to see how you managed this for a future personal idea, if could!

Magic_Oldie , Mar 11th at 11:34 AM

That's true, I agree with you

Unsocial, Mar 10th at 11:26 PM

This isnt a server side only mod