Most small online RPG teams spend their first year on combat, classes and world-building, and treat the database as something that "just stores the character". Then the first public alpha arrives, a few hundred players log in at once, and the team learns that the shape of their saved data decides how easily they can patch, rebalance, roll back and recover.
None of this needs a huge backend team. It needs a handful of decisions made deliberately, written down, and agreed before players start accumulating progress they will be upset to lose. This is the checklist we would want a small team to work through first.
1. Decide what is authoritative on the server, and say it out loud
Write a short list: inventory, currency, quest state, experience, cosmetics, friends list, guild membership. For each item, note whether the server owns it outright or whether the client is trusted for anything at all. In an online RPG the honest answer is nearly always "server owns it", but writing the list exposes the places where a prototype quietly let the client decide, such as loot rolls or quest completion flags.
2. Separate the character record from the things that change every few seconds
Position, health and cooldowns change constantly. Level, inventory and quest progress change far less often. Keeping them in the same record means every movement tick becomes a write to the same row as the player's most valuable data. Split them early: fast-changing session state in memory (or a cache), durable progress in the database, with a clear rule for when the first is flushed into the second.
3. Pick your save moments deliberately
"Save on logout" is not enough, because players disconnect, crash and lose signal. Agree the events that trigger a durable save, for example:
- a trade or purchase completing,
- an item being crafted, looted or destroyed,
- a quest step being completed,
- a zone change,
- a timed checkpoint every few minutes as a backstop.
Then decide what the player loses in the worst case, and make sure the team is comfortable defending that answer to a frustrated tester.
4. Make every economy change a transaction
Any action that moves value between players or between a player and the game (trades, auction listings, mail with attachments, vendor sales) should either fully succeed or fully fail. If a trade can half-complete, someone will find the timing that duplicates an item, and in a live economy that is far more expensive to clean up than to prevent.
5. Version your save schema from day one
Add a schema version field to every stored character and item blob, even if it is version 1 for months. When you rename a stat, split a currency or rework a talent tree, you will need migration code that knows exactly what shape the old data was in. Teams that skip this end up writing one-off scripts against production data the night before a patch.
6. Log the events you will need to reverse a mistake
Rollbacks are rarely "restore last night's backup", because that punishes everyone for one bug. What you usually need is an append-only log of economically meaningful events (item created, item moved, currency granted, currency spent) with player IDs and timestamps. With that, you can find everyone affected by an exploit and fix just their records. Without it, the only tool you have is a blunt one.
7. Rehearse a restore before you need one
Take a backup of the alpha database, restore it into a separate environment and time how long it takes to get a server running against it. Do it once before the alpha and again before any large content patch. The first rehearsal almost always finds a missing step, a permissions gap or a job that only one person knows how to run.
8. Treat patches as data events, not just code releases
Every patch that touches items, stats or progression is also a data migration. Run it against a copy of real alpha data first, check a sample of characters by hand afterwards and keep the previous build deployable. We wrote up a patch day regression checklist that pairs well with this step, since most data bugs surface as gameplay regressions first.
Wrapping up
Persistence is the part of an online RPG players never notice until it goes wrong, and then it is the only thing they talk about. Clear server authority, deliberate save moments, transactional trades, versioned schemas, a usable event log and a rehearsed restore will carry a small team a long way past its first alpha. If you are scoping a larger online world and want a studio that works across the full stack, our page on MMORPG game development sets out how we approach it.
Which of these did your team learn the hard way? I would be glad to hear what else belongs on the list.
Top comments (0)