RPG Lore: FAQ and Troubleshooting
On this page (5)
General and starter content
I installed RPG Lore and only see one book (The Fallen Kingdom). Is that normal?
Yes. RPG Lore is a data-driven framework mod. On first launch it generates a single starter example (config/rpg_lore/books/the_fallen_kingdom.json) and _README.txt. Additional books come from your modpack, datapacks, or JSON files you place in config/rpg_lore/books/.
I deleted the_fallen_kingdom.json and now I want it back (or want to make sure it stays deleted).
RPG Lore only generates the_fallen_kingdom.json when the config/rpg_lore/books/ folder does not exist yet. Deleting the example book keeps it deleted across restarts. To regenerate it, temporarily delete or rename the empty config/rpg_lore/books/ folder and restart the world (or recreate the file manually).
Does RPG Lore support Minecraft 1.21+ or NeoForge/Fabric?
No. Current RPG Lore (2.2.1) targets Minecraft 1.20.1 on Forge ([1.20.1,1.21), Forge 47.3.0+, Java 17).
The Lore Codex
I didn’t receive a Lore Codex when joining the world.
Check <world>/serverconfig/rpg_lore/server.toml to make sure codex.enabled = true and codex.grantOnFirstJoin = true. Also note that the first-join grant only triggers once per world per player (has_codex flag in save data)—even after /rpglore codex reset. An operator can give you one with /rpglore codex give <player>.
Why does pressing the “Open Lore Codex” keybind do nothing or say I don’t have a Codex?
- The keybind (
Open Lore Codexunder RPG Lore in Controls) is unbound by default—assign a key first. - You must actually be carrying a Lore Codex in your inventory or Curios
Codexslot. A Codex stored in a chest, lectern, or chiseled bookshelf does not count, and the keybind does nothing while another GUI screen is open.
Why can’t I extract a physical copy from the Codex?
- The copy icon is greyed out when you have 0 banked spare copies (
No spare copies). You can never extract your permanent master entry; absorb at least one duplicate first. - Extraction is also blocked if
codex.allowCopy = falseon the server, or if your inventory has no free slot (Your inventory is full. Make room before copying.).
Why are duplicate Lore Books staying on the ground instead of going into my Codex? You toggled the Duplicates mode button (next to the search box) to Left on the ground (single book with red cross). Click it again to switch back to Stored as spare copies (stacked books with green check).
Why do uncollected entries show ???, and why doesn’t search find them?
By default codex.revealUncollectedNames = false, so the server redacts uncollected titles and tags before sending the catalog to your client. This prevents spoilers and stops search queries from leaking hidden book names.
I added a book and it drops in-game, so why isn’t it listed in the Codex?
Check whether "codex_exclude": true is set in the book’s JSON. Excluded books never enter the Codex and always go straight into your inventory on pickup.
Drops, chests, and advancements
Mobs aren’t dropping any lore books. Check these in order:
- Are books actually loaded? Run
/rpglore listor/rpglore validate. - Is
acquisition.enableEntityDrops = trueinserver.toml? - Did a player kill a hostile mob (
MobCategory.MONSTER)? By defaultdrops.onlyHostileMobs = true,drops.allowNonPlayerKills = false, andrequire_player_kill = trueper rule. - Is the drop chance simply low? Default
drops.globalDropChanceis0.05(5%). - Did you already hit
max_copies_per_playerfor that book? Remember/rpglore give <player> <book> truealso counts toward that limit.
I gave a book a loot_table or advancement rule, so why is it STILL dropping from zombies?
For backward compatibility, if a book defines neither drop_conditions nor any "type": "entity_drop" entry inside its "acquisition" array, the parser automatically adds a default entity_drop rule! To make a chest-only or advancement-only book that never drops from mobs, include an explicit "entity_drop" entry with "base_chance": 0.0 (or "chance": 0.0):
"acquisition": [
{ "type": "entity_drop", "base_chance": 0.0 },
{ "type": "loot_table", "loot_tables": ["minecraft:chests/simple_dungeon"], "chance": 0.4 }
]
I revoked an advancement with /advancement revoke, re-earned it, and didn’t get another physical book.
Advancement rules with "delivery": "inventory" deliberately enforce a per-player limit of 1 so revoking and re-granting an advancement cannot duplicate physical books.
I added max_copies_per_player on a book with a loot_table rule, but chests still spawn extra copies.
Per-player copy caps (max_copies_per_player) apply to entity_drop rules (and inventory advancement grants, capped at 1). Chest/loot-table generation has no guaranteed target player at generation time and does not enforce max_copies_per_player.
Book authoring and interactive text
I put JSON files in a subfolder like config/rpg_lore/books/chapter1/book.json, and they aren’t loading.
The config folder (config/rpg_lore/books/) scans top-level .json files only; subfolders are ignored there. If you want nested folder paths (such as my_pack:chapter1/book), put them in a datapack under data/<namespace>/rpg_lore/books/<path>.json instead.
I edited a datapack book and ran /rpglore reload, why didn’t my changes apply?
/rpglore reload rescans only config/rpg_lore/books/ and merges it onto the already-loaded datapack layer. To reload datapack books, run vanilla /reload.
My run_command click event in a lore book does nothing when clicked.
For security against untrusted third-party packs, run_command clicks are blocked by default. Server owners must set reader.allowRunCommandClicks = true in <world>/serverconfig/rpg_lore/server.toml. Note that open_file is always blocked regardless of config.
My change_page link jumped to the wrong page!
change_page uses 1-based content page numbers and does not count the auto-generated title page. "value": "1" jumps to the first content page; "0" or negative values jump to the title page (page 0).
My book failed to load with an invalid JSON error around quotes in pages.
Inside string-encoded JSON text components in "pages", inner double quotes must be escaped as \" (for example "{\"text\":\"Hello\"}"), or you can write the page directly as an unquoted JSON object { "text": "Hello" }. Run /rpglore validate <book_id> to see the exact line, column, JSON path, and fix suggestion.
Reporting a problem
When opening an issue on GitHub, please include:
- Minecraft, Forge, RPG Lore, and (if installed) Curios versions.
- Output of
/rpglore validate(for book authoring issues) or/rpglore codex status <player>(for Codex issues). - Your
logs/latest.log(showing reload/override messages and any errors). - The relevant book
.jsonfile andserver.toml/client.tomlif reproducible with a specific config.