"The Server Sent Registries With Unknown Keys" Fix (NeoForge)
You click Join on a modded server, the screen loads for a second, then you're back at the menu with this:
The server sent registries with unknown keys: ResourceKey[minecraft:block / amendments:double_cake]
On older NeoForge versions (including 1.21.1) the same message is spelled "The server send registries with unknown keys". Same error, same fix. The good news: the message tells you exactly what's wrong, once you know how to read it.
ResourceKey[...] names it, and the bit before the colon is usually the mod ID. Fix it by making your mods match the server: install the missing mod or the same mod version, or remove that mod from the server if it was only meant to be server-side. Installing the exact same modpack version as the server fixes it in most cases.What the error means
When you join a NeoForge server, the server sends your game a list of everything in its built-in registries: every block, item, entity type, mob effect and so on, each with an ID like amendments:double_cake. Your game compares that list with its own.
If the server's list contains an ID your game has never heard of, NeoForge can't safely continue, so it disconnects you and prints the unknown keys.
One detail from NeoForge's own code is useful here: entries that you have but the server doesn't are ignored. This error only happens when the server has something extra. So the question is always "what does the server have that I don't?"
How to read the key
Each unknown entry looks like this:
ResourceKey[minecraft:entity_type / neoessentials:shop_npc]
Split it at the slash:
| Part | Example | Meaning |
|---|---|---|
| Before the slash | minecraft:entity_type |
Which registry: blocks, items, entity types, effects... |
| After the slash, before the colon | neoessentials |
The namespace, almost always the mod ID |
| After the colon | shop_npc |
The specific thing that mod added |
So neoessentials:shop_npc means "a mob type called shop_npc from the mod NeoEssentials". The first example, amendments:double_cake, is a block from the mod Amendments.
If there are many keys, look at the namespaces. Usually they all share one or two mod IDs, which points straight at the mods that don't match.
The usual causes
1. A mod is on the server but not on your game
The most common cause. Someone added a mod to the server and players didn't get it, or you installed the pack by hand and missed one.
Fix: install that mod, at the same version as the server, in your profile. Better: install the exact modpack version the server uses through the CurseForge app or Modrinth App.
2. Same mod, different version
A newer version of a mod might add a block or item the older one doesn't have. If the server updated a mod and you didn't (or the other way round), you can get this error even though "you have the mod".
Fix: match the version. If it's a modpack, make sure your pack version number is the same as the server's. The mismatched mods guide covers this in more detail.
3. A "server-side" mod that registers content
Some admin or utility mods are mostly server-side, but a few register their own blocks, items or mobs anyway. The client never has those, so every player gets kicked. NeoEssentials had exactly this problem with its shop NPC and fixed it in a later update.
Fix: update the mod (check its changelog), install it on clients too, or remove it from the server.
4. Config or script differences
A few mods only register certain blocks or items when a config option is turned on. If that option differs between the server's config and yours, the server can end up with entries you don't. KubeJS startup scripts can also add items and blocks, so the server's kubejs folder and yours need to match.
Modpack bug reports for this error have been fixed by reinstalling the instance or by clearing out old config, defaultconfigs and kubejs folders left over from an older pack version.
Fix: reinstall the modpack cleanly at the right version, or copy the server's relevant config or kubejs/startup_scripts files to your instance. Back up first.
5. Fabric mods through Connector
If the server runs Fabric mods on NeoForge using Sinytra Connector, every player needs the same Connector, Forgified Fabric API and Fabric mods. Missing any of them can show up as unknown keys. See can Fabric mods run on NeoForge.
What about datapacks?
A normal datapack can't add new blocks, items or mob types, so a datapack alone usually isn't behind this error. Datapack content like biomes and enchantments is sent in a different way, and missing datapack registries give a different message ("Missing required datapack registries").
How to find which mod it is
- Copy the full message. The disconnect screen cuts long lists off, so open your client's
logs/latest.log(inside your instance folder in the CurseForge or Modrinth app) and search forunknown keys. - List the namespaces. Write down each unique part before the colon after the slash, for example
amendments,neoessentials. - Match them to mods. Most mod IDs look like the mod's name. If one isn't obvious, search the server's
modsfolder for it. On a Linux server, this prints the jar that declares a given mod ID:
for f in mods/*.jar; do
unzip -p "$f" META-INF/neoforge.mods.toml 2>/dev/null | grep -q 'modId *= *"amendments"' && echo "$f"
done
Replace amendments with the ID you're looking for. If the namespace is kubejs, the entry comes from a KubeJS script, not a separate mod.
- Compare versions. Check that mod's version on the server and in your instance. The server's
logs/latest.loglists loaded mods and versions at startup. Our latest.log guide shows where to look.
If you run the server
- Announce mod changes. Any time you add or update a mod that adds content, players need the same change.
- Use a modpack or shared profile so everyone installs the same list instead of copying jars by hand.
- Be careful with "server-only" mods. Check that they don't register blocks, items or mobs before adding them.
- Test with a fresh client after every update, before players hit it.
Quick checklist
- Read the
ResourceKey[...]: the part after the slash names the missing thing - The namespace before the colon is usually the mod ID
- The server has it and you don't: install it, or match the version
- Server-only mod adding content? Update it, add it to clients, or remove it
- Reinstall the pack cleanly if configs or KubeJS scripts are out of date
On FreaksMC you can check the server's mods folder and logs from the panel's Files tab, which makes comparing your mod list with the server's quick.
Want a server that just runs fast?
FreaksMC servers run on AMD Ryzen 9 7950X3D processors with fast NVMe storage. Pick vanilla, Paper or a modpack and your server is ready in minutes.
See plans from $4/mo