Open RolePlaya
Feature Guides

How Do I Add a Lorebook and NPC Bios to My RolePlaya World? World Lorebook Explained

Captain, founder of RolePlayaCaptain, founder of RolePlaya
How Do I Add a Lorebook and NPC Bios to My RolePlaya World? World Lorebook Explained

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?

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.

Open RolePlaya

Install RolePlaya on any device

No app store needed. Add RolePlaya to your phone, tablet or computer and it opens in its own window with its own icon.