Hm. My plan was to later add a way that waits with joining the game until files like items.xml, monsters.xml etc are loaded. This would make the code less complex since i do not have to cache stuff until the db is actually ready.