Skip to content

Settings

reveler-hub edited this page Dec 2, 2026 · 5 revisions

Settings

Settings live in a file, settings.toml, which the game makes the first time it starts:

  • Linux: ~/.config/quill-and-dice/settings.toml
  • Mac: ~/Library/Application Support/quill-and-dice/settings.toml
  • Windows: AppData\Local\quill-and-dice\settings.toml

Type /settings in the game to see where it is, what each setting is now, and where that comes from.

Changing a setting

Every setting is in the file, explained, and switched off with a # at the start of its line. To use one:

  1. Delete the # at the start of its line.
  2. Change the value. Words go in "quotes"; true and false don't.
  3. Save the file and restart the game.

For example, to use a cheaper Claude model, change

# model = "claude-sonnet-5-5"

to

model = "claude-sonnet-5-5"

If something in the file is wrong, the game still starts, uses the default for that setting, and tells you which one and why.

Every setting

Setting Default What it does
model Claude API key: claude-opus-5-5; Claude Code: its own default; Gemini: gemini-4-hydrogen Which model tells the story. A Claude model name only applies to Claude, and a gemini- one only to Gemini. Cheaper: "claude-sonnet-5-5" or "gemini-3.8-flash"
effort "low" How much thought the GM puts into each reply: "low", "medium" or "high" (also "xhigh" and "max" on Claude). More is slower and costs more
long_cache false With a Claude API key: true keeps Claude's cache for an hour instead of 5 minutes, so turns after a pause of 5 to 60 minutes cost less. Each cache write costs 2× the input price instead of 1.25×, so it only pays off if you often pause that long (see Costs and limits)
language Your computer's language The language the GM tells the story in, e.g. "Spanish". The GM also switches if you write in another language. The game's own screens and commands stay in English
backend "gemini" or "local" if you picked them; otherwise a Claude API key if there is one, then Claude Code Which GM, and how the game reaches it: "gemini", "local", "api" (a Claude API key) or "cli" (your Claude Code login)
local_url http://localhost:11434/v1 Where your local model runs, ending in /v1 (see Local Models). /switchgm sets it
local_model none Your local model's name, e.g. "qwen3:8b". /switchgm sets it
saves Your saves folder (below) Where games are saved: any folder, e.g. "~/Games/quill-and-dice"
update_check true Look for a newer version on GitHub when the game starts and every hour. false turns it off
dev false true turns on /gm, a developer command that calls the GM's actions by hand (it can hand out anything, so it's off in normal play)

For one run only

Any setting can also be set for a single run with an environment variable named QUILL_ and the setting's name, which wins over the file. For example: QUILL_LANGUAGE=Spanish quill.

The other files

These sit in the same folder as settings.toml:

File What it holds
api-key Your Claude API key, readable only by your account
gemini-key Your Gemini API key, readable only by your account
gemini-tier Whether your Gemini key is free or paid (so a free key's requests are spaced out)

Your keys aren't in settings.toml, so you can share or show that file safely. /settings only ever shows a key's last four characters.

Where games are saved

  • Linux: ~/.local/share/quill-and-dice/saves
  • Mac: ~/Library/Application Support/quill-and-dice/saves
  • Windows: AppData\Local\quill-and-dice\saves

Each hero has one file there, with the whole game: the character, the story so far and the GM's memory of it. Updates never touch this folder.

Clone this wiki locally