Skip to content
Allay AI

WikiAllay plugin

Configuration

Allay keeps its settings in plugins/Allay/config.yml. The mods keep theirs in config/allay/config.yml, one file for every singleplayer world. Wherever this manual says plugins/Allay/, the mods use config/allay/. Every key has a default, so you can delete the ones you don't change. Texts players read don't live here: they're in lang/, see Languages.

  1. Edit config.yml.
  2. Run /allay reload. No restart needed.

A config.yml from MCBuddy 2.3 or 2.4 still loads, and a 2.3 config's texts are skipped, since they live in lang/ now. Since 6.7 tools.notes.*, tools.deaths.*, and the switches add_note, find_notes, and delete_note do nothing: the backend keeps memories with places and deaths.

#Backend

Key Default What it sets
server.url https://allay.chat The Allay backend that answers questions
server.name empty Your server's name in the backend's admin panel, like Moonlands: 2–32 letters, digits, spaces, or . _ ' - (Allay Server 6.7+). No two servers on a backend share one, and a taken name shows as an error in the log. Empty: the panel shows the server's random id
server.address empty Where players join, like mc.example.com. Allay sends it with the game port, and the backend's admin panel shows it next to your server (Allay Server 6.6+). Empty: the game's server-ip, if set
server.about empty A few lines about your server for Allay: what it is, its rules and places, your site and map, and how you'd like Allay to talk with players. Answers to questions use it, but Allay's own rules still come first (Allay Server 6.20+). Every question sends it to the model, so the log warns past 2,000 characters, and the backend reads at most 10,000. Write it as a YAML block (`about:
server.token empty A self-hosted backend's PLUGIN_TOKEN (Allay Server 6.0+). Leave it empty for allay.chat, which knows your server by its license. It never goes to the log

#Who pays

Key Default What it sets
provider.mode hosted hosted for a subscription, byok for your own key. Anything but byok counts as hosted
provider.byok.base_url https://openrouter.ai/api/v1 Any OpenAI-compatible API
provider.byok.api_key empty Your key. It never goes to the log
provider.byok.model empty Empty: the backend's default. It must be able to call tools
provider.byok.search_model empty Empty: no web search. On OpenRouter, say, perplexity/sonar

The subscription's license lives in license.key, not here. See Paying for the model.

#Languages and the country database

Key Default What it sets
locales.default en The language for players nothing else matches, and for the console
locales.sources [ ip, client ] Where a player's language comes from, in order
locales.countries ru, es, pt, de lists Language → the ISO 3166 country codes that get it
geoip.enabled true Look up the country by IP. Since 6.7 the country also sets how old a player must be to agree to the notice (13 to 16 in the EU, 14 in Spain, 13 in the US, 16 when unknown). With allay.chat (no server.token) countries are looked up even with false
geoip.url DB-IP's free country database Where to download it. {year} and {month} fill in
geoip.refresh_days 30 Download a fresh one once it's this old

#HTTP

Times are in seconds.

Key Default What it sets
http.call_timeout 300 One connection of a question. With Allay Server 6.31 or newer a longer answer reads on in the next connection
http.connect_timeout, read_timeout, write_timeout 10, 300, 10 Connection timeouts
http.tool_timeout 10 How long a game tool may run before Allay gets an error
http.reconnect_seconds 240 How long a question waits for a lost backend before the player hears it's unreachable, 30–600. Allay reconnects every 1, 2, 4, 8, then 15 seconds, and each answer it gets starts the wait over. Since 6.35
http.stream_idle_seconds 60 An answer's stream silent this long counts as dropped and reconnects, 20–600. Keep it above the backend's SSE_PING_MS (15 s). Since 6.35
http.max_idle_connections, keep_alive_duration, max_requests_per_host 5, 300, 5 The connection pool
http.follow_redirects, retry_on_connection_failure, compression_enabled true Client behavior
http.logging false Log each request's method, URL, and status, never the body
http.custom_headers {} Extra headers for every request. An X-OpenRouter-Token from before 5.0 still works as your own OpenRouter key

#Look and sound

Key Default What it sets
ui.action_bar.enabled true The live status in the action bar
ui.action_bar.spinner ·✢✳✶✻✽ Spinner frames. It runs through them and back
ui.action_bar.frame_millis, verb_seconds 120, 3 How long one frame shows, and how often the verb changes
ui.tool_lines.enabled true A chat line for each tool Allay uses
ui.particles.* on, ENCHANT, 3, 2.0, 250 ms Particles over the player's head while Allay works: enabled, type, count, height_offset, animation_interval
ui.chat_status.enabled false Also say “asking the assistant…” in chat
ui.book_author Allay The author of the books Allay writes
ui.sounds.enabled true Sounds at all
ui.sounds.success_*, error_*, thinking_* the allay's own sounds _sound, _volume, and _pitch for the answer, an error, and thinking. Any of the game's sounds, by its Bukkit name (ENTITY_ALLAY_ITEM_GIVEN) or its id (entity.allay.item_given). A volume of 1.0 is the mob's own
ui.sounds.pitch_variation 0.1 Each sound's pitch moves by up to this, so answers don't all sound the same
ui.sounds.public_answer true Everyone who reads an /askall answer hears a quiet chortle

#Tools

Key Default What it sets
tools.enabled.<tool> true Switches a tool off. A switched-off tool is never offered to Allay. The config file lists every tool with a line on what it does
tools.operator.enabled true false: Allay changes nothing, even for operators
tools.operator.<tool> true give_item, teleport, set_gamemode, heal, apply_effect, set_time, set_weather, for operators only
tools.reminders.max_pending 10 Reminders one player can have waiting
tools.goals.max_per_player 5 Goals one player can have at once
tools.point_to.idle_seconds 60 A way trail to a spot that nobody timed, a way button’s too, lasts while you get closer, and goes out this long after you stop (10–max_seconds). Since 6.23.0. The older default_seconds is ignored
tools.point_to.follow_seconds 180 How long a trail to another player lasts when nobody says
tools.point_to.max_seconds 720 The longest a trail Allay draws with point_to lasts (10–3600). A way button's trail has no cap and goes out only after idle_seconds without getting closer. Before 6.25.0 the default was 600, and it capped way buttons too
tools.point_to.bar boss_bar What shows the way besides the particles, each with an arrow, the blocks left, and how far up or down: boss_bar (a bar that shrinks as you get there and stays while Allay answers), action_bar (a line above the hotbar, which an answer's status takes while it runs), both, or off. Since 6.23.0. Before it, action_bar: true or false, and false alone still turns the bars off
tools.point_to.bar_color blue The boss bar's color when Allay picks none: pink, blue, red, green, yellow, purple, or white
tools.show_marks.default_seconds, max_seconds 30, 600 How long marks stay, and at most (10–3600)
tools.show_marks.max_marks 64 Marks at once (1–64)
tools.show_marks.radius 48 How far from the player a mark may be (8–128)
tools.locate_biome_radius 2048 The biome search radius in blocks (64–6400). It runs on the main thread
tools.villager_radius 32 How far to look for villagers (8–64)
tools.locate_structure_radius 64 The structure search radius in chunks. It runs on the main thread, so keep it small
tools.enabled.chat_history true The chat history: Allay keeps the server's chat on its backend for 72 hours, sealed, so players can ask what someone wrote. false sends nothing and Allay doesn't see the chat. Since 6.38
tools.enabled.send_message true Allay sends a line to the chat or a private message for a player who asks it to. Since 6.38
tools.chat_history.private_commands [msg, tell, w, whisper, m, pm, dm, t, emsg, etell, ewhisper, message] Commands that send a private message, the player's name first: they go into the chat history as private messages. [] keeps them out
tools.chat_history.reply_commands [r, reply, er, ereply] Commands that answer the last private message
tools.chat_history.whisper_command msg What Allay runs as the player to send a private message: <command> <player> <text>, so Essentials or another chat plugin formats it as usual
tools.server.hidden_plugins [] Plugins or mods get_server and search_commands leave out, by name or mod id, such as an anti-cheat: their commands never reach Allay, and /askx treats them as unknown

scan_nearby_containers, find_item, look_at, and show_marks see only containers the player could open. See Integrations.

#Expansions and finding things

Key Default What it sets
expansions.enabled true false: Allay takes no expansions at all: no other plugin's or mod's tools, items, or prompt lines
expansions.disabled [] Expansions to leave out, by id, like mana. The log names each one as it comes
catalog.download true Allay downloads the game's names in the languages below once per game version from Mojang, as the game's launcher does, into cache/lang/, so players find things by what they call them. false: names in other languages come only from mods, plugins, and expansions. English ships with the server
catalog.languages ru_ru, de_de, es_es, es_mx, pt_br, pt_pt The game's languages to download, as the game names them

#Automation

Key Default What it sets
automation.enabled true false: no automation at all
automation.chests.enabled, furnaces.enabled, brewing.enabled, crafting.enabled true Each kind of agent
automation.chests.gap 6 “All nearby” reaches chests across gaps of up to this many blocks. More reaches further and takes longer
automation.chests.max 64 Chests one agent may take at once (1–256)
automation.chests.undo_minutes 5 How long [Put back] works
automation.max_tasks 2 Agents one player may run at once, helpers included (1–8, above 4 needs Allay Server 6.22)
automation.max_minutes 30 An agent stops after working this long. Since 6.35 pauses, waits for items, and restarts don't count
automation.max_wakes 40 Requests to the model one agent may make, which bounds its cost
automation.max_wait_seconds 600 The longest an agent sleeps before it looks again (10–3600 seconds, above 600 needs Allay Server 6.22). An agent never sleeps less than 10 seconds
automation.remind_minutes 10 How often an agent waiting for items tells its player what's still missing (1–120). Since 6.35
automation.park_hours 24 How long an agent waits for items, or for a lost Allay server, before it gives up (1–168). Since 6.35
automation.radius 32 How far its furnaces, stands, tables, and chests may be (4–52)
automation.pause_distance 64 It pauses while its player is farther than this from where it started
automation.line_of_sight true Furnaces, stands, and tables must be in plain sight, from where you stand or a step aside (up to 2 blocks, around a pillar)

#Builds

Key Default What it sets
building.enabled false true turns builds on. While they're off, their tools cost no tokens, and Allay tells a player who asks where they're turned on
building.keep_minutes 30 A downloaded build stays in memory this long after its last use (1–240)
building.tiers default only Tier → max_blocks, max_size, blocks_per_second, pause_distance, park_hours, given by allay.build.<tier>. Builds explains each
tools.enabled.build, tools.enabled.construct true The preview, and the builder's own tool

#Spending

Key Default What it sets
quota.enabled false Spending limits at all
quota.monthly_usd 20.0 What the whole server may spend a month
quota.daily true Open the budget day by day
quota.tiers default: 1 Tier → weight, given by allay.quota.<tier>
models {} Tier → model, given by allay.model.<tier>

Paying for the model explains the split.

#Everything else

Key Default What it sets
privacy.consent true Before a player's first question, Allay shows what it sends and keeps and asks them to agree, in a window with buttons (since 6.8, in chat before). Nothing about them reaches the backend before they do. The backend keeps the answer (Allay Server 6.1 and newer. An older one can't, and Allay asks nobody). false works only with a backend of your own (server.token): allay.chat's players always get the notice, and the age question where the law sets an age of consent
privacy.policy_url empty The privacy policy the notice links to. Empty: allay.chat's, or no link with server.token (a backend of your own)
askall.cooldown_seconds 30 How long a player waits between two public questions
time.zone auto A player's time zone when they never told Allay theirs and GeoIP can't tell their country (whose zone comes first, the capital's in a country of many): auto is the server machine's own (since 6.37; Europe/Moscow before), or an IANA zone like Europe/Berlin
metrics true false turns off bStats on Spigot and Paper at the next start (since 6.31). See Integrations
blocked_commands ban, op, stop, reload… Commands /askx and command buttons never run, whatever the request. search_commands shows them with may_run: false

Next: Languages