The traditional Crystal mail system was originally designed to transport messages, gold, and item attachments between characters. While effective for its time, mail systems become increasingly important as MMORPG economies grow and more valuable items move between players.
Mir Vengeance treats mail as part of the wider item custody architecture rather than as a standalone feature.
Mail As A Custody Location
Within the Mir Vengeance backend, mail operates as a dedicated custody state.
When an item or gold is attached to a message, ownership is transferred into the mail system until the recipient successfully claims it.
This ensures that every item has a clearly defined location at all times and prevents situations where ownership becomes unclear following disconnects, crashes, or interrupted transactions.
SQL-Based Mail Persistence
All mail records are maintained within the SQL backend alongside the wider account, character, and item persistence systems.
This allows the server to maintain:
- Mail ownership records
- Delivery status
- Read status
- Gold transfers
- Item attachments
- Historical transaction records
By storing mail within the central persistence layer, the system benefits from the same reliability and recovery mechanisms used throughout the rest of the server.
Integrated With The Unified Custody Framework
The Mail Custody Backend forms part of the wider Unified Item Custody System.
Items may move between:
- Character Inventory
- Equipment
- Storage
- Guild Storage
- Exchange Listings
- Trade Transactions
- Ground Items
- Mail Attachments
Regardless of location, every item remains part of the same underlying custody framework.
Built For Long-Term Stability
As Mir Vengeance continues to expand, mail remains a critical part of player-to-player interaction and item movement.
The Mail Custody Backend provides a reliable and scalable foundation that supports both the current game systems and future development while maintaining the integrity of the wider game economy.
