How Do I Add a Lorebook and NPC Bios to My RolePlaya World? World Lorebook Explained
Captain, founder of RolePlaya
Open Edit on one of your Worlds and scroll to World Lorebook, just under World Rules and Guidelines. Add an entry for each NPC, place, faction or piece of history, give it keywords, and every character in that World will know about it whenever those words come up in the chat.
A member building a huge Zenless Zone Zero world asked for this. He had hundreds of official characters to describe, a Background field meant for his main character, and nowhere sensible to put everyone else. He was right, so now every World has a proper lorebook.
What can a World Lorebook hold?
- Up to 2,000 entries per World, each up to 4,000 characters.
- A type for each entry: NPC, Place, Faction or Lore, so you can filter the list.
- Keywords: the words that wake an entry up. Use full names, first names and nicknames.
- Priority from 0 to 100: when lots of entries match at once, the highest are used first.
- Always on: for the two or three facts that must be in every reply.
- An on or off switch on every entry, plus search, edit and delete.
How does it decide what the character knows?
Before each reply, RolePlaya reads the last four messages and looks for your keywords. Matching is whole word and ignores capitals, plurals count, and it works in any language. Matching entries and any marked Always on go to the character, highest priority first, up to 12 a reply. If nothing in the chat touches an entry, it is not used at all, so a big lorebook never floods the story.
Can I bring my lorebook from another site?
Yes. Tap Import in the World Lorebook. Lorebook JSON files from SillyTavern, Chub and NovelAI come straight in with their names, keywords, text, priorities and on or off settings. SpicyChat has no lorebook export, so paste those entries in as text: a line with === Name ===, then Keywords, then the entry. The import window shows the layout, and you see how many entries were found before anything is saved. Export downloads your own lorebook as a file whenever you like.
The full walkthrough is on the main site: how to import a lorebook into RolePlaya, and the World Lorebook guide covers writing entries that work.
Who can use it?
Building Worlds and their lorebooks comes with Bit of a Playa and Total Playa, and collaborators with editing rights can add entries too. Lorebooks in public Worlds work for everyone who chats there, free accounts included.
New to Worlds? The Worlds guide covers building one from scratch.
Try RolePlaya free
50 messages a day, no adverts, no card details. 18+ only.
