Notice
... live
AI Roleplay Lorebook: Keyword World Lore Every Character Shares

AI Roleplay Lorebook: Keyword World Lore Every Character Shares

A lorebook built into every World: up to 2,000 keyword-triggered entries for NPCs, places, factions and history, shared by every character. Import from SillyTavern, Chub, NovelAI or SpicyChat.

20 Oct 2026Published
6 minRead time

A lorebook keeps a story world consistent: short entries about people, places, factions and history that only come into play when the chat touches them. RolePlaya now has one built into every World. It holds up to 2,000 entries, every character in the World shares it, and you can bring your existing lorebook with you from SillyTavern, Chub, NovelAI or SpicyChat.

What is a lorebook in AI roleplay?

SillyTavern calls it World Info, NovelAI and SpicyChat call it a Lorebook, and many Chub cards carry one inside the card. The idea is the same everywhere. You write short entries about your setting and give each one keywords. When a keyword comes up in the chat, that entry is handed to the AI for the next reply, so the character suddenly knows who the shark maid is, what happened at the harbour and which faction runs the docks.

The point is room. A character sheet has to stay short or the AI loses track of it. A lorebook lets a world hold hundreds of details while the AI only ever reads the handful that matter right now.

What the World Lorebook does

  • Lives in the World, not the character. It sits on the Edit World page, under World Rules and Guidelines. Every character assigned to that World draws on the same entries, and nothing touches their Background.
  • Up to 2,000 entries per World. Each entry has a name, keywords, up to 4,000 characters of text and a type: NPC, Place, Faction or Lore.
  • Proper NPC biographies. Give every side character their own entry with personality, appearance, history, relationships and abilities, instead of cramming them into the lead's Background.
  • Priorities. Score each entry from 0 to 100. When more entries match than fit, the highest go first.
  • Always on. Mark a few core facts to be used in every reply, whatever is said.
  • Add, edit, switch off or delete any entry, with search and a filter by type.
  • Import and export. Bring in lorebook JSON from SillyTavern, Chub and NovelAI, paste entries as plain text, and download your own lorebook as a file at any time.

How an entry fires

Before every reply, RolePlaya reads the last four messages and looks for your keywords. Matching is whole word and ignores capitals, so "Ellen" matches "ellen" but not "Ellena", and plurals count, so "raider" also catches "raiders". It works in any language.

Every entry that matches, plus any marked Always on, is given to the character, highest priority first, up to 12 entries a reply. That cap is deliberate: lore should support the scene, not bury it. When nothing in the chat touches an entry, it costs nothing at all.

An example NPC entry

Name: Ellen Joe
Type: NPC
Keywords: Ellen, Ellen Joe, shark maid
Priority: 80

Ellen is a shark thiren who works as a maid for Victoria Housekeeping. Bored, sharp-tongued and constantly snacking, she does the bare minimum until a job turns dangerous, then moves faster than anyone in the room. She hates being called cute.

Writing entries that work

  • One subject per entry. A person, a place or a faction. Two short entries beat one long one.
  • Several keywords. Full name, first name and nickname, so the entry fires however the character comes up.
  • Say who it is in the text. Start with the name, so the AI knows exactly what the entry describes.
  • Use Always on sparingly. Keep it for the two or three facts that must never slip.
  • Avoid common words as keywords. "The guild" will fire constantly; "Silver Guild" fires when it should.

How it fits with the rest of a World

What you want Where it goes on RolePlaya
Hundreds of NPCs, places and factions World Lorebook entries, each with its own keywords
The rules everyone follows, always World Rules and Guidelines on the Edit World page
Secrets and plot turns at the right moment Character Triggers, up to 10 hidden story beats per character
Stats such as trust, health or gold Game Indicators, shown under each reply
Characters who hear what you did with the others Word Gets Around, built into Worlds
A character who remembers you across chats Enhanced Permanent Memory, up to 150 memories you can see and edit

RolePlaya, SillyTavern, NovelAI and SpicyChat lorebooks side by side

RolePlaya SillyTavern NovelAI SpicyChat
Setup None, works in the browser Install it, then connect a model provider Works in the browser Works in the browser
Where the lorebook lives On a World, shared by every character in it World Info books you attach In each story Attached to a character
Keyword entries Yes, up to 2,000 per World Yes Yes Yes
Priorities and always-on entries Yes Yes, with many extra settings Yes Reported as a sort order only
Import a lorebook file SillyTavern, Chub and NovelAI JSON, or pasted text Yes Yes Reported as coming soon
Export your lorebook Yes, as JSON Yes Yes No file export we could find

If you love tuning scan depth, recursion and token budgets by hand, SillyTavern gives you the deepest control. If you want a world that keeps its facts straight while you play, with nothing to install, that is what the World Lorebook is for.

Bringing your lorebook across

Open Edit on your World, tap Import in the World Lorebook, choose your file and check the count before you confirm. SillyTavern World Info, Chub and NovelAI JSON come straight in with names, keywords, text, priority and on or off intact. SpicyChat has no lorebook export, so those entries are pasted across as text. The full walkthrough is in how to import a lorebook into RolePlaya, and character cards themselves import as covered in the card import guide.

What you need

Feature Free Bit of a Playa Total Playa
Play in public Worlds, lorebook included Yes Yes Yes
Build your own Worlds No Yes Yes
World Lorebook, import and export No Yes Yes
Character Triggers No Yes Yes
Enhanced Permanent Memory 300 Playa Points per character 300 Playa Points per character Included

Prices and everything else each plan includes are on the pricing page. The full feature list is on the features page.

RolePlaya is an 18+ platform only. Chats can be flirty, romantic and mature between adult characters. Images never contain explicit nudity or pornography. Nothing involving minors, and no sexual violence.

Start free

Common questions

Does RolePlaya have lorebooks?

Yes. Every World has a World Lorebook with up to 2,000 keyword-triggered entries for NPCs, places, factions and history. An entry is only given to the AI when one of its keywords comes up in the last few messages, and every character in the World shares it.

Can I import a SillyTavern lorebook?

Yes. Open Edit on your World, tap Import in the World Lorebook and choose the World Info JSON file. Names, keywords, text, priority and on or off come across. Chub and NovelAI lorebook JSON work the same way, and entries can also be pasted as text.

Can each NPC have their own biography?

Yes. Give each NPC an entry of their own with up to 4,000 characters for personality, appearance, history, relationships and abilities, and keywords for their name and nicknames. It never touches the main character's Background.

Will a big lorebook flood the AI?

No. Only entries whose keywords appear in the last four messages are used, plus any you mark Always on, up to 12 per reply and highest priority first.

Do I need an API key or a model provider?

No. Everything runs on RolePlaya, so there is no key, proxy or installation.

Is the World Lorebook free?

Playing in public Worlds is free, and their lorebooks work for everyone who chats there. Building your own Worlds and their lorebooks comes with Bit of a Playa and Total Playa.

You can also add maps and floor plans to a World with World images.

Using a World for a campaign? Here is how to set up an AI dungeon master for solo adventures.

SillyTavern, NovelAI, SpicyChat, Chub, Janitor AI and all other names used on this page are trademarks of their respective owners. RolePlaya is not affiliated with, endorsed by, sponsored by or connected to any of them. Descriptions of other platforms reflect publicly available information as of November 2026 and may change.