RPG Lore: The Lore Codex
On this page (10)
The Lore Codex (rpg_lore:lore_codex) is a soul-bound personal library that absorbs Lore Books you pick up, organizes your collection, tracks unread entries and favorites, and banks duplicate books as extractable spare copies.
Obtaining and carrying the Codex
- First-join grant: By default (
codex.grantOnFirstJoin = true), every player automatically receives a Lore Codex the first time they join the world. If your inventory is full, the Codex drops directly at your feet with no pickup delay. - Reset behavior: The first-join grant flag persists per world even if an operator runs
/rpglore codex reset. If you need another physical Codex item, an operator can grant one with/rpglore codex give <player>. - Where to carry it: Keep the Codex anywhere in your inventory, or equip it in the dedicated Codex slot if Curios API is installed. Auto-collection, hotkey opening, and death protection work identically from inventory or Curios.
- Creative mode: Available in the Tools & Utilities creative tab whenever
codex.enabledistrue.
Soul-bound death and drop protection
When codex.soulbound = true (default) and codex.enabled = true:
- Cannot be dropped accidentally: Attempting to toss the Codex (
Qor dragging out of your inventory) cancels the drop and returns it to your inventory. - Kept through death: On death (when
keepInventoryisfalse), RPG Lore removes the Codex from your inventory or Curios slot before drops scatter, parks it in world save data (pending_codex), and restores it on respawn—returning it to the same Curios slot and index if available, or placing it back into your inventory. - Disconnect-safe: If you disconnect between dying and respawning, your stashed Codex is automatically restored on your next login.
- With
keepInventoryenabled: Vanilla and Curios keep your items directly, so RPG Lore skips stashing to avoid duplicating the item.
Auto-collection and spare-copy banking
When codex.autoCollect = true and you carry a Codex in your inventory or Curios slot, walking over a physical Lore Book feeds it directly into your Codex instead of your inventory:
- First discovery (master entry): The book is recorded permanently in your collection as unread, stamped with the world’s current game time, and removed from the ground. You hear a chime (
1.2pitch) and seeNew entry: <Title>above your hotbar (both configurable in Client configuration). - Excluded books: Books configured with
"codex_exclude": truebypass the Codex and go into your inventory as normal items. - Duplicate books (spare bank): Picking up a book you have already collected banks it as an extractable spare copy (capped at 99 spare copies per book). Duplicates play a lower-pitch chime (
0.8pitch) and showSpare copy stored: <Title>. - Leaving duplicates on the ground: When
codex.allowDuplicatePrevention = true(default), click the Duplicates icon button at the top-right of the Codex screen to toggle duplicate handling:- Stacked books with green check (default): Absorb duplicates as banked spare copies.
- Single book with red cross: Leave duplicate Lore Books on the ground so other players can pick them up or you can leave them behind.
Extracting physical copies
Your permanent master entry in the Codex is never consumed or removed when reading. To pull a physical Lore Book item out into your inventory:
- Check that
codex.allowCopy = trueon the server and that the book shows an active copy icon (at least 1 banked spare copy). If no spares are banked, the icon is greyed out and extraction is blocked. - Make sure at least one inventory slot is free (extraction is rejected when your inventory is full so an unpickable copy isn’t dropped).
- Click the copy icon on the entry row. One banked spare copy is consumed, and a physical
Lore Bookis placed in your inventory with its generation incremented by+1(capped at3/ Tattered).
Browsing the Codex screen
Open the Codex by right-clicking the item in hand, right-clicking a Codex placed on a Lectern, or pressing your Open Lore Codex keybind while carrying it.
Header, search, and page layout
- 8 entries per page: Each page lists up to 8 books with previous/next page arrows and a
page / totalcounter at the bottom. - Live search: Type in the search bar (with the magnifier icon) to filter live across book titles, authors, categories, and pack-defined tags. Uncollected entries whose names are hidden (
???) never match non-empty search queries. - View memory: Your active category, filter, sort, page, and selection are preserved whenever you close the Codex or return from reading a book. Search text is also remembered unless
codex_display.rememberSearch = false.
Ribbon tabs
Three red ribbon tabs extend from the right edge of the Codex. Left-click cycles forward; Shift+Click cycles backward:
| Ribbon | Values | What it does |
|---|---|---|
Category |
All, each category in the pack (alphabetical), Uncategorized |
Filters entries to a specific category |
Filter |
All, Collected, Unread, Favorites, Missing |
Filters by collection, read status, or favorite star |
Sort |
Default, Title, Category, Recent |
Default puts unread collected books first, then read collected books, then missing books. Recent sorts newest discoveries to the top |
Row icons and tooltips
Each row shows up to five interactive elements from left to right:
- Unread dot: Shown next to collected books you have not opened yet (toggleable via client config
codex_display.showUnreadMarkers). - Favorite star: Click to star or unstar any collected book. Favorites persist per player on the server.
- Book title: Colored using the book’s
title_coloronce collected; uncollected entries show???by default (or gray titles ifcodex.revealUncollectedNames = true). Clicking a collected title opens the book. - Copy icon: Shows banked spare count on hover (
X spare copiesorNo spare copies). Click when active to extract a physical copy. - Open-book icon: Opens the book reader immediately and marks the book as read.
Hovering over a row displays a detailed tooltip:
- Collected books: Full title, author, category, series and series order (if set), Read/Unread state, spare copy count, and favorite status.
- Uncollected books: Title or
???, category (if set), andHint: <discovery_hint>if the book defines one andcodex.enableDiscoveryHints = true.
Keyboard navigation
| Shortcut | Behavior |
|---|---|
Ctrl+F |
Focuses the search bar |
Esc |
Clears focus from the search bar first; presses again to close the Codex |
Arrow Left / Arrow Right |
Turns Codex pages (when search box is not focused) |
Arrow Up / Arrow Down |
Moves the highlight selection across rows on the current page |
Enter / Numpad Enter |
Opens the currently highlighted collected book (or cycles a focused ribbon tab) |
Lecterns and Chiseled Bookshelves
- Lecterns: Right-click an empty Lectern while holding a Lore Codex in your main hand to place it. Right-clicking a Lectern holding a Lore Codex opens the interacting player’s own synced Codex screen (not a snapshot of whoever placed it). Breaking the lectern or taking the item returns the Codex.
- Chiseled Bookshelves: Because
rpg_lore:lore_codexis tagged inminecraft:bookshelf_books, you can store a Codex in a Chiseled Bookshelf. Note that the Open Lore Codex hotkey only works while you are carrying the Codex in your inventory or Curios slot—not when it is stored in a lectern or bookshelf.