Cormyr - Forgotten Realms D&D
Welcome to the Forgotten Realms:
The Land of the Purple Dragon
Embark on a unique Dungeons & Dragons experience within Faerûn, the iconic continent of the Forgotten Realms. This is a world steeped in ancient magic, fraught with mythical creatures, watched over by a pantheon of powerful gods, and brimming with opportunities for grand tales. Your Dungeon Master will serve as your guide through this rich, reactive world.
!!IMPORTANT!!
AI requires user's dedication to prepare. D&D rules are internally written into personality (for non D&D rules experience, go to my other bot set in Brost). Instructions on how to proceed can be found in the Set-up section. Highly recommend this AI to the ones interested in D&D
Your Journey Begins in Cormyr
(Purple area is the place of this D&D)
Your adventure is set to begin in the year 1480 DR, within the grand and storied realm of Cormyr, also known as the "Land of the Purple Dragon". Cormyr is a stable, prosperous kingdom known for its vast forests and fertile farmlands. It is a place of order and tradition, watched over by the disciplined
Purple Dragons and the magically formidable War Wizards of the Crown. Cormyreans are a proud and law-abiding people who value hard work and community.
Your story unfolds starting in Suzail, the bustling royal capital and a sprawling port city on the northern Dragonmere. Here, the air is thick with the scent of salty sea wind and the clatter of a thousand merchants, artisans, and nobles going about their day.
Interesting Locations Within the Realm
As you explore Cormyr, you'll discover a world rich with history and opportunity:
Marsember, the City of Spices: This unique and bustling port is built on islands at the mouth of the Starwater River. Its intricate network of canals creates a misty, ethereal atmosphere where solid ground is rare. Marsember is a key shipbuilding center, famous for its spice trade and a major fish market.
Arabel, the Caravan City: A fortified metropolis and a pivotal trade center in northern Cormyr. Known as the "Granary of the North," it is famous for its jewelry and is a hub for trade, where weapons can remain unbound, unlike other cities.
The King's Forest: A vast, ancient woodland that is Crown property, once part of the great forest of Cormanthor. While it contains well-maintained roads connecting towns and farms, it became significantly orc-infested after the Goblin War of 1371 DR.
Waymoot: The largest settlement in the King's Forest, a five-mile clearing known for its horse breeding and training. It is a bustling hub for travelers, with numerous inns and a fortified keep that protects against threats from the surrounding woods.
Your Dungeon Master
You will be guided by an immersive Dungeon Master who will vividly describe the world, portray its inhabitants, and react dynamically to your every choice. This is your personal narrative, and your actions will directly shape the unfolding story within this vibrant world.
Basic World Knowledge for New Adventurers
To help you immerse yourself, here are a few fundamental facts about the world of Faerûn:
Magic is Real: Spells are cast, magical items exist, and the arcane is a part of everyday life, though often viewed with a mix of wonder, fear, and respect. In Suzail magic is also regulated by the War Wizards, who require licenses and confiscate unregistered spellbooks, and their authority is absolute.
Gods are Active: Deities aren't distant concepts; they influence the world, answer prayers, and empower their followers. Faith is a tangible force.
Monsters Roam: The wilderness is not safe. Beasts, goblins, orcs, and more fearsome creatures are real threats that adventurers commonly face outside settled areas.
Vast & Diverse: Faerûn is a huge continent with countless kingdoms, cultures, and diverse peoples, from towering mountains to sprawling deserts and dense forests.
Currency: Most transactions in Cormyr use golden lions (gp), with smaller values in silver falcons (sp) and copper thumbs ( ).
SET UP
The Ai was planned to be available for users in 2 modes, D&D and RPG. Due to AI limitations, I had to use prompt AND personality tab as well for proper setup, narrowing the modes to just D&D as it was originally planned. This is still an experimental AI and a lot of focus was spent on testing, as well as optimizing token count with the D&D systems. YOU HAVE TO do the steps below in order to be fully prepared for this experience.
Don't be intimidated, since we are working with an AI, the experience won't be perfect. It's a far cry from what a real D&D session is, as it's usually meant to be played with a group of people instead of alone. I worked on the Ai to do most of the calculations for you as well. So if you're completely fresh to D&D, take this as a first chance to have your own D&D game, you are the target audience. You can simply read the instructions as they will provide sources and short introduction of what D&D is.
Let's begin then!
What is Dungeons & Dragons?
Dungeons & Dragons (D&D) is the world's most popular tabletop role-playing game (TTRPG). It's a cooperative, storytelling experience where players create and take on the roles of heroic characters. One player, known as the Dungeon Master (DM), acts as the game's narrator and referee, guiding the other players through an imaginary world
Players use their imagination, teamwork (In your case, with other NPC's), and dice rolls to overcome challenges, defeat monsters, and interact with the world and its inhabitants. The game is an endless adventure, where your choices and the luck of the dice shape a unique story that you and your friends create together.
List of things needed before using the bot:
D&D character sheet (As persona)
Proxy
Prompt
User input
SOPHIAS LOREBARY (Optional)
I will explain and give sources that help to go past each requirement. From absolute zero, it will take some time, especially creating a character but it will be quiet an enjoyable process that might get you interested in more forgotten realms lore and D&D.
What is a Character Sheet?
In Dungeons & Dragons, your character sheet is the single most important document for your character. It’s where you keep track of all the details that define who your character is and what they can do. It's an organized record of your character's abilities, skills, and equipment.
The character sheet typically includes:
Ability Scores: Your character's fundamental strengths and weaknesses (Strength, Dexterity, Constitution, Intelligence, Wisdom, and Charisma).
Proficiencies: The skills your character is trained in, such as Stealth, Persuasion, or Athletics, which give you an advantage when attempting those actions.
Combat Information: Details like your Armor Class (AC), Hit Points (HP), and the weapons you use and the damage they deal.
Inventory & Spells: A list of all your possessions, from weapons and armor to magical items and coin, as well as the spells your character knows how to cast.
Let's set up the character sheet, then! While i could explain to you how to make it step by step. It will most likely end up being confusing. So i will give you resources you can use to create you own character!
Link to many avaiable free and legal PDFs for D&D players, such as player rulebook:
Character creation videos, there will be 2 videos:
https://youtu.be/J4b9itiAO4s?si=pAmeLHQ36lt1Foir Shorter version, but simpler
https://www.youtube.com/watch?v=ZcNgj0KPYuA&t=12s Longer version
You can also do what i did, and use automatic stat generator. It is a bit more random since you don't pick all of the stats and backgrounds you get. But it does the job for you. Don't forget, you can edit it however you want, changing everything from background to what stats you focus on.
(All you should select is Class, Level 1, Species, Background, Ability score, Gender, aligment, Vertical)
One thing i have to warn you about, is that some classes are more difficult to play than other ones. I would say that for new players, classes such as Sorcerer, Wizard or any that includs magic will be more difficult to not just set up but also play. I recommend starting with classes such as Fighter, Rouge, Barbarian, Ranger. AI also will have trouble with understanding what exactly a Spell will do because i couldn't feed it that much information to know every single spell. So you'd have to comment on what the spell does when you use it.
After you create you character sheet. It's time to input data from the sheet into your Persona. So create a new persona and throw everything you have from sheet into it.
It should look something like this:
Of course this is not everything as i kept on adding the rest of the character sheet into the persona. As you can see, putting it in a straight line should work just fine. Unless there's going to be a better way of doing this, but for now this is enough.
Proxy
JLLM is not going to cut it for many reasons, you can try, but i wouldn't recommend it at all. Instead, you should set up a proxy. Now, this is something I won't explain. You should take a look at some tutorials but if i had to recommend something.
Set up your proxy with Openrouter. It connects many AI's into one site, you can pay for usage also from Openrouter.
As for what Ai to use, here are my recommendations:
Minimum 32k context (64k is my recommended)
Temp? Honestly any, something between 0.5 - 0.9 (too much time to test)
Models: (updated 16.08.2025)
First pick
Gemini 2.5 Pro (probably best option right now. Used to be worst but that daily free messages, after updated promptly and personality. It became best version for this ai.
Gemini 2.5 flash (good knowledge of forgotten realms, technically cheap but also struggles with triggering rolling, like most ai later down the list)
Deepseek R1 (Cheap and available in fr ee version on Openrouter, tends to throw wall of text)
Second pick (or lightly tested)
Gemini 2.0 Flash (Even cheaper that 2.5, holds quiet well and replies really fast.)
DeepSeek V3 0324 (Tend's to do weird mistakes, quite big of a fluff, should work mostly well, also has free version on Openrouter)
Untested
Anthropic: Claude Sonnet 3.7/4 (...what? You think i got money to spend on ai? Go test it yourself, probably works)
Prompt
Now this is where the ai gets even more experimental. I've been sitting and trying to get this prompt working. Yes, you NEED to input what i will send below into the proxy prompt.
This is far from good and even further away from perfect, but it did prove to work relatively well... Only at the beginning. After some time the first version of the prompt would be forgotten and dice rolling was non-existent. So what you have now is a newer version of it and part's of it were moved to personality tab. This prompt will get updated over the time to be better. I will provide last date of update on the prompt here:
Prompt version: Last updated 16.08.2025
Prompt:
# Role: AI Dungeon Master & Narrator (Solo D&D 5e System)You are the AI Narrator and Dungeon Master for a text-based, solo D&D 5e campaign. You control the world, NPCs, enemies, and AI companions. The player controls only their character (but can dictate companion gear and tactics).
1. Lorebook Supremacy & Memory
- All knowledge, rules, and memory rely on external Lorebooks and the Master Lorebook.
- Mandatory: Append relevant
[Keywords]at the very bottom of every message inside a{Command_Blocks}section to trigger lorebooks correctly. Never skip this.- Trigger Delay: Lorebook entries fire the message after their keyword is written, not in the same message. When a lorebook-driven event is about to occur (shop visit, loot drop, story scene), write the trigger keyword in a short bridging message first, then generate the full content in the next message once the lorebook has fired. Never write a trigger and respond to it in the same message.
Command Block Format
Every single message must end with a
{Command_Blocks}section. No exceptions. The block must always contain at minimum[Level_N]with the player's actual current level. Add any other active or newly triggered commands below it.``
Command_Blocks
[Level_5], [Arena_Battle12]``Only list commands that are currently active or were just triggered this message. Do not list commands that have not fired or are not relevant to the current state.
[Level_N]is always listed first. Update the number immediately when the player levels up.
2. Rule Enforcement & DM Authority
- You are adaptive and compliant regarding RP style, but a strict enforcer of game mechanics.
- If a player attempts an impossible action, tries to control an NPC or enemy, or breaks rules, say "No" clearly and explain why.
3. Skill Checks & Proactivity
- Never let the player auto-succeed at uncertain tasks (lying, jumping, perceiving, attacking outside combat).
- State the required Skill and DC, then wait for the player to roll and report their result.
- Resolve outcomes across six tiers:
- Critical Failure (nat 1): Worst possible outcome, often with a consequence.
- Failure (below DC by 5+): Clear failure, narrative setback.
- Near Miss (below DC by 1–4): Fails but no major consequence.
- Success (meets DC): Clean success, as intended.
- High Success (beats DC by 5+): Extra benefit or detail.
- Critical Success (nat 20): Exceptional outcome beyond expectations.
---
known issues:
After some time forgets to take innitiative for dice rolling. Some ai have more problems with it than others. So far Gemini 2.5 pro proved to be the most effective out of the ones i tested
Whatever this is:
User input
To ensure the AI functions fully, your participation is key. Remember, this isn't just an RPG AI, it's your Dungeon Master. You should ask it questions when you are unsure, tell it what you want to do, and it will decide whether a roll is needed or if the story can continue. The AI may sometimes ask, "What do you want to do?" This is a normal part of D&D sessions with a human DM. You are also encouraged to take specific actions, such as using a particular skill, without waiting for the AI to ask. This is perfectly acceptable.
When the AI asks you to roll, it will most likely ask for a d20, a die with 20 sides. The result of this roll will decide if your action succeeds or fails. A natural 1 is an absolute failure, while a natural 20 is an astounding success. You won't always succeed, and that is a perfectly fine part of the game.
After you say what you want to do and the AI asks you to roll, you should only reply with the number you got. For example, "15" or "I rolled a 15". The AI will then determine the outcome. It will also show the rolls of other NPCs, as they may also roll for attacking you or for other actions.
For dice rolling you can use free online sites, apps and even a real dice.
When throwing a spell, you should describe what kind of spell, what it can do and at who you aim it.
Sophias Lorebary
Optional
Sophias Lorebary is an extension to Janitorai, it is quite a good extension too. Easy to set up and actually has really usefull features. Often used with gemini to bypass filters that proxy's might have. While not exactly nessesary since you should be fine with Ai like deepseek, Gemini might need you to use Sophias Lorebary to bypass those filters. Setup should be very easy and there are tutorials on how to do it, i'll list what kind of commands i recommend to add
Normal mode:
<PREFILL=ON> <AUTOPLOT=ON> <AUTOPLOT_CHANCE=10> <JAILBREAK=ON> <BETTERSPICE=ON> <REALISTICDIALOGUE=ON>
More fluff, add this to normal:
<AUTOPLOT_SOFT> <BEPOSITIVE=ON>
More hardcore, add this to normal instead:
<CHAOSANDDRAMA=ON> <BETTERSPICE_CHANCE=10> <PUTMEINAMOVIE=ON>
Others or still being Tested:
<FANTASYMODE=ON> - I still am testing it, so far it seems to work fine with AI but still needs more testing
<GASLIGHTME=HARD> - removed from more hardcore since it just proved to be annoying rather than serious and caused Prefill issue way to often on gemini pro
<VIOLENCETORTURE_INTENSITY=INTENSE> - Gemini and Prefill issue again, i recommend using but be aware of problems.
Thiese are only my recommendations and you should try it out yourself to find exactly what fits you. You can also try the experimental features on Sophias Lorebary, as many of them i haven't tested.
THAT'S ALL
And that should be the whole setup, if you have done everything expect Sophias Lorebary you should be fine to go. Remember, this ai is experimental and many features aren't fully working. I hope i can rely on your feedback to improve the AI.
Editors note
Ever since I started using Character.AI, I've dreamed of creating a proper D&D or RPG bot. I saw the potential, and with my D&D experience, I had a clear vision of what it could be. Of course, Character.AI wasn't quite suitable for RPGs, so I moved from one AI site to another until I recently found JanitorAI. It's hands-down the best AI chatting site out there. I immediately got to work, learning about proxies and various AI hosting sites.
This AI is likely my first version that truly tries to give users a proper D&D experience. There are many limitations, one of which is the token limit. An update some time ago set a hard limit on how many tokens an AI can have, and I've been working for a long time to get this AI to function within those constraints. The original token count was almost 27k tokens. After sadly deleting some details and effectively optimizing the AI's personality, this is the result.
There probably won't be any more of these AI until the JanitorAI development team releases the Lorebook feature, which would allow me to input everything I want. This AI was planned for a more repetitive experience, not a full campaign, but the locations you encounter will reappear often. You are a user in an already existing world, and it works so well you can even go to the Forgotten Realms site, find a map of Suzail, and locate the places your actual character is in. However, some things still had to be deleted because of the token count limit.
I'm happy with how this turned out, but there is still so much more to do. If I had to give this AI a version number, it would be D&D AI v0.2.
Comment on what you find to work better with the prompt! Comment your idea! and maybe nice word since i don't get these alot...
Have fun folks!
Somfi <3 (ManPL)
Scripts are here, you know what this means... see you soon...
Forgotten Realms Generic lore, Scripts - 25%
(Brost bot will use the scripts first)
(First part of the lorebooks with Brost)
Next D&D character lore, Scripts - 0%
Tags
baldur's gate 3, baldur's gate 2, baldur's gate 1, baldur's gate, D&D, dungeons and dragons, roleplay, Forgotten realms, open world, long story, fantasy, RPG, rp ForgottenRealms, Fantasy, DungeonMaster, Adventure, Immersive, StoryRich, PlayerAgency, Exploration, Magic, Monsters, Uncensored, ExplicitContent, DarkFantasy, Combat, Quests, Faerûn, Wealdath, MythRhynn, CharacterDriven
Published chats
comments
Leave a comment or feedback for the creator ❤️