Rusty's Website

A place for wanky stuff, weird JavaScript and warm-ish takes

About Source


decentralized mmoindexinjector

Decentralized/Federated MMO


Back in my childhood I used to play quite the amount of MMORPGs (mostly because they were free, but also because they were online).
The more time passed, the less MMORPGs I got to play, most of the good options were either shut down or got SUCH a power creep I lost interest in them (like MapleStory when they started adding a lot of overpowered classes).

As an aspiring game developer, I hope to one day attempt making my own MMORPG, and something which is (sort of) important to me is for the game to be decentralized/federated.

Why make a decentralized MMO tho?

Well, you see, whenever I look for alternatives to big centralized services (like Github or social medias), it always seems to me that the best choice is to decentralize and federate it.
That way, anyone can create their own instance and not miss out on everyone else, allowing both greater control to the individual, while also sharing the costs between those who host their own (and those who decide to donate them).

Besides, there are some useful advantages to federating a bunch of servers in an MMO which will hopefully become clearer later on.

The Big Picture

Mainly, there will be 2 different types of servers:

A note going forward

My idea of decentralized/federated MMO involves quite the amount of trust, trust between federating servers (federation will be opt in to allow greater control over gameplay), and trusting clients to not lie when they go into a dungeon.

Another thing is, while I do wish I could implement this idea into an actual MMORPG, this is merely an idea right now, if you want to implement this idea into your game, feel free to do so (and maybe link here as well).


Hubs (or Home servers) are the main servers of the network, they are the main authority over your account.

Hubs have an overworld with stuff to do (or maybe not), and where you meet other players and can make parties, communicate with others, trade and all the usual stuff people do in MMOs (like a dance party).

Federation between hubs is a 2 way opt in federation, which means both servers need to accept the federation for the federation to exist (probably accept the federation by creating a portal somewhere in the overworld). Federated servers also needs to sync any plugins/mods/addons which create new items (or anything you can transfer between servers, so a hat needs to by synced but a new boss doesnt need to).

Federated servers needs to have trust between them, because federating with 2 servers means said servers are now also federating (creating a federation cluster)


Dungeons (or Nodes/Edges) are sub-servers, they are simply a dungeon/map for a party to explore/play in, and should be where most of the game content occur, they are hosted by whoever wants to and are technically simply a level (plus some game data in addition, though they are part of the level) with an end condition (or fail condition) and a reward.

Dungeons dont federate with each other (and technically dont federate at all), but hubs can link/federate (one way) to them and allow their players to go into a dungeon and get the rewards from it (or optionally, modify the rewards to better fit the server).

Dungeons occur in private instances available only to the exploring party. this means that the hub server trusts the players to not lie about the results of the dungeon (although for end rewards, the server can roll the dice for them, to allow random loot in dungeons).

Quick note on dungeons

Although dungeons usually get linked to from hub servers, it is also possible to allow dungeons to be played even if they are not linked, thus allowing players to play all dungeons, but it means non-linked dungeons will give no actual reward (or anything at all).