How configuration works
#All settings live in plugins/MirageRoster/config.yml. The file is long (around 4,800 lines) because every key carries its own explanation and default. Most servers only touch a handful of keys, and nearly all of them can be changed in game under /mirage menu, then Settings.
- After editing a file by hand, run
/mirage reload. No restart is needed, except for settings marked "read at startup" such asperformance.path-threads. - If a value cannot work as written,
/mirage reloadsays how many settings have a problem and the console lists each one with the fix. - Booleans, numbers and lists below show the shipped default exactly as it appears in
config.yml.
This page covers the sections every server meets. Feature sections have their own pages:
| Topic | Page |
|---|---|
ai, social, personalities.yml, server-profile.yml | AI chat and social |
movement, motion, physics, pvp, lifecycle, zones.yml | Movement, zones and combat |
progression, economy, activities, inventory-snapshots | Progression and economy |
island, towny, settlements, skills | Skyblock, Towny and settlements |
proxy | Proxy network |
web, stealth, menus.yml | Web panel, menus and stealth |
addons | Add-ons |
placeholders | Placeholders and integrations |
general
#| Key | Default | Description |
|---|---|---|
debug | false | Print diagnostic information to the console (skin fetch failures, packet errors). |
prefix | "&8[&dMirage&8]&r " | Prefix for messages from /mirage commands. Legacy & colour codes. |
invincible | false | All bots are immune to damage. Death and knockback handling become irrelevant. |
check-updates | true | Check Modrinth every 6 hours for a newer release and tell admins with mirageroster.control on join. false disables these network calls. |
language | "en" | Message language: a file in plugins/MirageRoster/lang/. Bundled: en, tr, es, de, fr, pt, ru, zh, ja, ko, it, pl. Missing keys fall back to English. |
Performance
#Each bot is a real player on the server, so each one costs heap, chunk loading, entity tracking and a turn in every plugin loop that scans the player list. The defaults are fine for 30 to 50 bots. Above that, use the profiles first and tune by hand only if needed.
Performance profiles
#/mirage perf shows the profiles and what each one costs; /mirage perf <name> applies one without a restart. Settings that match no profile show as custom.
| Profile | Meant for |
|---|---|
ultra | Smoothest possible. Best for under about 50 bots. |
high | Full behaviour, sane cost. The default. |
balanced | Cheaper. Good for 100 to 200 bots. |
low | Minimal per-tick work. For 300 or more bots. |
minimal | Bots become near-free decoration. |
/mirage perf virtual on goes past minimal: every bot becomes a ghost (see virtual-bots below).
Manual tuning reference
#The comment block at the top of config.yml lists the values for four scales if you prefer to set them yourself:
| Key | Lite (under 50) | Balanced (100–200) | Heavy (300–500) | Massive (500+) |
|---|---|---|---|---|
performance.physics-interval-ticks | 1 | 2 | 4 | 10 |
performance.look-interval-ticks | 100 | 200 | 400 | 600 |
performance.ping-interval-ticks | 20 | 80 | 200 | 600 |
performance.equipment-resync-ticks | 60 | 200 | 400 | 1200 |
performance.packet-view-distance | 96 | 64 | 48 | 32 |
performance.spawn-batch-size | 5 | 3 | 3 | 2 |
physics.enabled | true | true | false | false |
| other | physics.pushing: false | movement.look-around: false | presence.join-spacing: 1.5, movement.look-around: false, chat.enabled: false |
Best practices from the same block: keep bots clustered (500 bots in one chunk load about 9 chunks, 500 scattered bots about 4,500), lower the server view distance before raising the bot count, and turn off tab.dynamic-ping or physics.enabled if you do not need them.
performance
#| Key | Default | Description |
|---|---|---|
virtual-bots | false | Every bot becomes a ghost: still a real player in the tab list, player count and server-list sample, still chatting and answering messages, but its body is never sent to any client and its simulation is off. Nobody can see or hit bots while this is on. Toggle live with /mirage perf virtual on or off. |
virtual-placement | stay | Where ghosts wait: stay (where they stood), spawn (gathered on the world spawn so one set of chunks stays loaded) or sky (above the build limit, the old behaviour). |
virtual-y | 0 | Height for sky placement and for the fallback on builds that cannot hide bodies at the tracker. 0 = automatically above the build limit. |
visible-limit | -1 | At most this many bots keep a body; the rest are ghosts. Bodies are only taken from or given back to bots no real player is near. -1 = no limit. Pin single bots with /mirage ghost <bot> on or ghost: true on an identity. |
load-guard.enabled | true | When the server falls behind, turn bodies into ghosts a few at a time (farthest from players first) and give them back once it recovers. Not active on Folia. |
load-guard.mspt-high | 45.0 | Average ms per tick at which bodies start being taken away. |
load-guard.mspt-low | 35.0 | Average ms per tick at or below which they are handed back. |
load-guard.step | 5 | Bodies taken or returned per check (every 5 seconds). |
load-guard.min-visible | 5 | Never take the number of bodies below this. |
bot-view-distance | 2 | Chunks each bot keeps loaded, as a view distance. 2 is the minimum the server accepts. 0 = the server's own. |
bot-simulation-distance | 2 | Chunks each bot keeps ticking. 0 = the server's own. |
bot-send-distance | 0 | Chunk packets built for each bot's connection. 0 builds none (the bot then tracks no entities around itself). -1 = the server's own. |
bots-ignore-sleep | true | Bots never count toward skipping the night. At least one real player still has to sleep. |
bots-affect-mob-spawning | false | Whether mobs spawn around bots and bots take a share of the mob cap. |
bot-advancements | true | Vanilla advancement listeners for bots. Off saves per-tick trigger work on large rosters. |
bot-player-data | true | Write each bot's .dat, statistics and advancements to the world folder on autosave and despawn. Off keeps them off disk; vanilla statistics such as play time then reset on restart. |
physics-interval-ticks | 1 | How often physics runs. 1 = every tick; 2 to 4 recommended at 100+ bots. |
look-turn-ticks | 3 | How often head-turn interpolation runs (1 to 20). Keep it small or heads visibly step. |
look-interval-ticks | 100 | Legacy key, kept so an old raised value carries over as the look decision interval. |
ping-interval-ticks | 40 | How often dynamic ping is recomputed. One packet per real player for the whole roster, so it is nearly free. Minimum 5. |
equipment-resync-ticks | 100 | How often every bot's equipment is rebuilt and rebroadcast. Walks the whole roster. Minimum 20. |
packet-view-distance | 96 | Skip head-rotation and equipment packets for players farther than this many blocks. Tab ping is always sent. Minimum 16. |
simulate-distance | 128.0 | Bots with no real player within this radius are simulated at a fraction of the rate. 0 = always full rate. |
distant-simulation-divisor | 4 | How much cheaper an unobserved bot is: 4 = one tick in four (1 to 20). |
ground-probe-interval-ms | 250 | How long a standing bot trusts the floor is still there before checking again. 0 = every tick. |
spawn-budget-ms | 4 | Milliseconds per tick the plugin may spend placing bots. The rest waits for the next tick. |
push-check-radius | 0.85 | Radius of the "bot pushes nearby players" scan (0.1 to 2.0). |
skip-physics-when-empty | true | Pause physics while no real player is online. |
skip-look-when-empty | true | Pause looking around while no real player is online. |
skip-ping-when-empty | true | Pause ping updates while no real player is online. |
spawn-batch-size | 5 | Bots spawned per batch at boot and during /mirage fill, before waiting presence.join-spacing. |
async-pathfinding | true | Wandering bots search their route on worker threads. Long routine journeys are still searched on the tick thread. |
path-threads | 2 | Worker threads for those searches (1 to 4). Read at startup. |
Roster and identities
#roster
#| Key | Default | Description |
|---|---|---|
limit | 10 | Bots brought online at boot. -1 = every identity. Overridden by the schedule when population.enabled: true. |
default-world | "" | World for bots without their own world:. Empty or not loaded = the first loaded world. |
max-underground-depth | 8 | How far below the surface a bot may spawn before it is lifted onto it. A spawn point with no room to stand is always corrected. 0 accepts any position. |
distinct-addresses | true | Give every bot its own loopback address (127.x.y.z from its name) so per-IP limits and alt detectors do not link the whole roster. 127.0.0.1 itself is never used. |
pre-login.pass-proxy-checks | true | Let bots past refusals about the proxy handshake (BungeeGuard-style token guards, login plugins that validate forwarding). Real players are checked as before. |
pre-login.pass-plugins | [] | Plugins whose refusal of a bot is always set aside, for example [nLogin]. |
name-protection | yield | A real player joins under the name of an online bot: yield (the bot leaves first and returns later), block (the player is refused) or off. |
offline-takeover | false | On a server that does not check accounts, a login under a bot's name is refused, because it would get the bot's UUID and everything it owns. true lets anyone in under a bot's name. |
spawn-points.enabled | false | Use fixed spawn points instead of the world spawn. Add them in game with /mirage spawnpoint add [weight] [radius]. |
spawn-points.mode | first-join | first-join: only a bot with no saved position uses a point. always: every spawn picks a point. |
spawn-points.snap-to-ground | true | With a radius, the spot is moved onto the nearest floor (up to six blocks). |
spawn-points.points | [] | World, x, y, z, yaw, pitch, weight and radius per point. Written by the command. |
identities
#identities.names is the list of bot names. An entry can be a plain name or a map with extra fields:
identities:
names:
- "NorthByte"
- name: "SkyTrader"
display-name: "&6SkyTrader"
rank-prefix: "&6[VIP] "
rank-suffix: " &7★"
world: "lobby"
skin-value: "base64 texture value from sessionserver"
skin-signature: "base64 texture signature"
# skinsrestorer-skin: "my-custom-skin" # a skin name SkinsRestorer knows
base-ping: 45
ping-pattern: NORMAL
ghost: true
skin-signatureis required for a pinned skin: clients since 1.20.2 ignore unsigned skins.skinsrestorer-skinnames a skin SkinsRestorer knows (a custom or URL skin, or a player name) for this bot. Seeintegration.skinsrestorerbelow.ping-patternis one ofSTABLE,NORMAL,VARIABLE,SPIKY.ghost: truekeeps the bot listed, pinging and chatting, but never gives it a body.- 30 generic names ship by default. Replace them: players notice a roster that reads like a word list.
/mirage namescan add, remove, list and generate names.
| Key | Default | Description |
|---|---|---|
namemc.servers | [] | Server addresses (as NameMC lists them) whose likers /mirage names generate <count> namemc [server] takes real names from. Pick servers whose players are like yours, never your own. |
namemc.refresh-hours | 24 | How long a server's list of likes is kept before it is fetched again. |
Real NameMC names are handled carefully: nobody who has played on your server is picked, and when the real owner logs in, the bot steps aside, the name is retired for good and another one takes its place. Names in use are kept in namemc.yml.
Population
#presence
#Random join and leave events that make the roster feel alive.
| Key | Default | Description |
|---|---|---|
enabled | true | Master switch for random join and leave events. |
join-spacing | 0.5 | Seconds between batches in a bulk join (see "How fast bots join" below). Raise to 1.0–2.0 on heavy servers. With join-spacing-max it is the shortest gap. |
join-spacing-max | 0 | The longest gap, in seconds. Above join-spacing, every gap is a random value between the two, so joins do not tick at an exact rhythm. 0 = always join-spacing, as before. |
join-batch-size | 0 | Bots per batch in a bulk join or leave. 0 = performance.spawn-batch-size (5). 1 = one bot at a time. |
join-ramp.enabled | false | Slow start for a bulk join: the first gaps are longer and shrink to the normal one. |
join-ramp.slow-start | 4.0 | How many times longer the first gap is (1 to 20). |
join-ramp.bots | 20 | Number of joins over which the gap shrinks to the normal one. |
leaves-follow-pace | true | A bulk leave (a lowered server size) uses the same gap, jitter and batch as a bulk join. false = a fixed join-spacing gap in performance.spawn-batch-size batches. |
min-interval-seconds | 90 | Minimum seconds between two presence events. |
max-interval-seconds | 480 | Maximum seconds between two presence events. |
min-online | 1 | Hard floor on bots online. |
max-online | 10 | Hard ceiling on bots online. |
broadcast-arrival | false | Extra chat-wide announcement on every bot join. |
broadcast-departure | false | Extra chat-wide announcement on every bot leave. |
arrival-message | "&e%player% &7joined the realm." | Text of that announcement. %player% = bot name. |
departure-message | "&e%player% &7left the realm." | Text of the leave announcement. |
How fast bots join
Four flows, each with its own setting:
| Flow | Setting |
|---|---|
Many at once: /mirage fill, /mirage reload, a change of server size that fills or trims the roster, the menu's Fill button, leaving virtual mode, and the boot when after-restart is off | join-spacing, join-spacing-max, join-batch-size, join-ramp (above); /mirage pace changes them without editing the file |
| A server start | presence.after-restart (first-join-seconds, spread-minutes): the bots log in the way players do after a restart |
| One now and then | min-interval-seconds and max-interval-seconds |
/mirage add <n> <time> | The <time> you give it |
Ten bots with join-spacing: 2 and join-spacing-max: 4 and join-batch-size: 1 come in over roughly 18 to 36 seconds, the first at once. /mirage pace shows the pace and how long the next bulk join would take; /mirage pace 2 4 sets the gap range, /mirage pace batch 1 one bot at a time, /mirage pace ramp on the slow start, /mirage pace reset the defaults. Nothing changes until you set a maximum, a batch size or the ramp.
population
#A time-of-day curve. When enabled, the bot count targets the min and max of the current hour. The matching row is the latest time that is not after now: at 14:30 the "12:00" row applies until "18:00".
| Key | Default | Description |
|---|---|---|
enabled | false | Master switch. When off, roster.limit is used at boot. |
default-min / default-max | 2 / 5 | Fallback range when no schedule row matches. |
schedule | 5 rows | time in "HH:MM" (only the hour is matched), min, max. |
real-scaling.enabled | false | Let the target follow the crowd: scheduled range plus bots per real player online. |
real-scaling.per-real-player | 1.0 | Bots added per real player online (1.5 with 4 players = +6). |
real-scaling.min-real-players | 0 | Below this many real players the target becomes below-minimum. |
real-scaling.below-minimum | -1 | Target while under min-real-players. 0 switches the roster off while nobody is there; -1 keeps the scheduled range. |
real-scaling.max-bots | -1 | Upper bound on the scaled target. -1 = only the roster size limits it. |
cover-vanish | true | When a moderator vanishes, a bot logs in a few seconds later so the count does not give the vanish away, and logs out a while after the moderator reappears or leaves. Works with SuperVanish, PremiumVanish, Essentials and CMI. |
The shipped schedule:
schedule:
- time: "00:00" # midnight - 06:00 → quiet night
min: 1
max: 2
- time: "06:00" # morning → light traffic
min: 1
max: 3
- time: "12:00" # midday → average
min: 3
max: 6
- time: "18:00" # evening → prime time
min: 5
max: 10
- time: "21:00" # late evening
min: 3
max: 7
/mirage add <amount> [time] adds extra bots on top of the target, arriving one by one over a time such as 30m, 1h or 2d. /mirage add status, cancel and reset control it.
fluctuation.yml
#Weekly patterns on top of the hourly schedule and real-player scaling: busier weekend evenings, quiet nights. Several rules can be active at once and their bonuses add up. Edit in game with /mirage fluctuation (changes are saved and apply at once) or in the file followed by /mirage reload.
| Key | Default | Description |
|---|---|---|
enabled | false | Switch the patterns on. Off by default so an update never changes your bot count. |
timezone | "" | Time zone id the rules follow, such as "Europe/Istanbul". Empty = the machine's clock. |
rules.<name>.enabled | true or false. | |
rules.<name>.days | MON … SUN, or ALL, WEEKDAYS, WEEKEND. Turkish (CMT, PAZ …), German, Polish and Spanish short names also work. | |
rules.<name>.dates | Optional exact dates such as "2026-12-31"; the rule then runs only on those dates. | |
rules.<name>.from / to | "13:00" / "02:00". A window past midnight belongs to the day it started. from equal to to means all day. | |
rules.<name>.base-bonus | Bots added; negative removes. | |
rules.<name>.percent-bonus | Percent added to the target; negative thins it out (-50 = half). |
The shipped rules are weekend-peak (SAT and SUN 13:00–02:00, +3 bots, +25%), weekday-evening (WEEKDAYS 18:00–23:00, +1, +10%) and late-night-dip (ALL 03:00–08:00, -40%). The target never goes below 0 and is capped by the number of identities.
Server list, tab list and skins
#server-list
#| Key | Default | Description |
|---|---|---|
enabled | true | Master switch for server-list changes. |
extra-count | 0 | Adds this many phantom players to the shown online count, on top of the bots. |
include-bots-in-sample | true | Bots appear in the hover sample of online players. |
bots-take-slots | false | With false, a "server is full" refusal is overruled whenever the real people online are fewer than the slots, so bots never lock players out. Other refusals (whitelist, bans, reserved slots) are left alone. |
max-players | -1 | Slot count shown in the server list. -1 = the real max-players. Raised to count + 1 if the online count exceeds it. |
tab
#| Key | Default | Description |
|---|---|---|
gamemode | SURVIVAL | Game mode shown in the tab list: SURVIVAL, CREATIVE, ADVENTURE or SPECTATOR. Visual only. |
min-ping / max-ping | 18 / 220 | Baseline ping range for all bots. The client draws ping bars with limits at 150, 300, 600 and 1000 ms, so a range that stays under 150 never moves a bar. |
dynamic-ping | true | Ping changes over time. false keeps every bot at its base ping (cheapest). |
spike-chance | 0.04 | Odds per 2 seconds that a SPIKY bot starts lagging. |
spike-extra-min / spike-extra-max | 120 / 520 | Size of a spike, added to the base ping. |
spike-ceiling | 900 | Hard cap on a spike. Spikes ignore max-ping on purpose. |
ping
#| Key | Default | Description |
|---|---|---|
mode | pattern | pattern: each bot follows its own pattern. match-real: bots copy the pings of real players online with a little noise; with nobody online, patterns are used. |
match-real.repick-seconds | 300 | How often a bot picks a new real player to copy. Minimum 30. |
match-real.jitter | 0.2 | How far a bot may drift from the ping it copies (0.2 = 20% either way). |
overrides | {} | Per-bot base and pattern. Easier in /mirage menu: pick a bot and use the ping buttons, or /mirage pattern <bot> <pattern>. |
skins
#On first spawn each bot fetches a skin from the sources pool through Mojang's session server. To pin one skin, set skin-value and skin-signature on the identity.
| Key | Default | Description |
|---|---|---|
enabled | true | When false, bots wear the default Steve or Alex skin. |
match-name | false | Look each bot's skin up by its own name (use when your names are real accounts). Names that are not real accounts fall back to sources. |
random | true | Pick a random source per bot. false reuses the first skin in the pool for everyone. |
cache-ttl-hours | 168 | How long a fetched skin stays valid in the disk cache. Stale entries are kept as fallback. Minimum 1. |
third-party-fallback | true | When Mojang cannot be reached, ask api.ashcon.app instead. Turn off if sending bot names to a third party matters to you. |
sources | 7 names | Usernames whose current skin is used: Notch, jeb_, Dinnerbone, Grumm, evilseph, Searge, Mollstam. Use names you have permission to display. Empty = Steve-only bots. |
/mirage skinscache clear purges the skin cache from RAM and disk.
integration.skinsrestorer
#Bots wear the skins SkinsRestorer gives their names, including on offline-mode (cracked) servers and networks. Nothing happens on a server without SkinsRestorer, and the plugin loads exactly as before.
SkinsRestorer picks a skin when a player logs in. A bot never logs in, so without this it wears Steve or Alex (or a skin from skins.sources) however its name was set up in SkinsRestorer. With it, each bot is asked about before it spawns, exactly as a player of that name would be:
- a skin set for the name (
/skin set,/sr setskin, a custom skin or a URL skin stored in SkinsRestorer), - SkinsRestorer's own lookup and cache for a premium account of that name (
premium-lookup), - SkinsRestorer's default skins, only when
default-skinsis on.
Anything SkinsRestorer has nothing for keeps the skin MirageRoster would have given it anyway, so a roster of invented names still looks varied. skins.enabled must be on, and a bot with a pinned skin-value keeps it.
| Key | Default | Description |
|---|---|---|
integration.skinsrestorer.enabled | true | Use SkinsRestorer when it is installed (here, or on the proxy). |
integration.skinsrestorer.premium-lookup | true | Look the bot's name up as a premium account when nothing is set for it: SkinsRestorer's own lookup and cache. Off = only skins that were set for a name. |
integration.skinsrestorer.default-skins | false | Also use SkinsRestorer's default skins for names it has nothing else for. Off, those bots keep MirageRoster's own skin pool, which has more variety. Needs premium-lookup. |
integration.skinsrestorer.lookup-timeout-seconds | 10 | How long a bot waits for SkinsRestorer (it may have to ask Mojang) before it spawns with its usual skin. It is corrected when SkinsRestorer answers. 1 to 120. |
integration.skinsrestorer.ask-proxy | true | Ask the proxy's SkinsRestorer when there is none on this server. Needs proxy.enabled. |
integration.skinsrestorer.cache-hours | 168 | How long the proxy's last answer for a bot may still be worn while the proxy cannot be asked (nobody online to carry the question, after a restart); older answers are ignored. The proxy is asked whenever it can be, so a skin changed there shows on the next spawn or /mirage reload. Kept in cache/skinsrestorer/. |
integration.skinsrestorer.skins | {} | A SkinsRestorer skin for a particular bot: the name of a custom skin or a URL skin stored in SkinsRestorer, or any player name; the value /skin set takes. Example: NorthByte: "jeb_". |
A single bot can also carry the skin name on its identity: skinsrestorer-skin: "my-custom-skin".
Where SkinsRestorer is:
- On this server (single server, or its own database): its API is used here.
- On the proxy (Velocity or BungeeCord; SkinsRestorer here runs in proxy mode, or is not installed here at all): the bot's skin is asked from the proxy over the proxy channel. This needs
proxy.enabled: trueon this server and the MirageRoster jar on the proxy, see Proxy network. - On both: the API here when SkinsRestorer registered one (a shared database), otherwise the proxy.
/mirage skin status shows which one is in use. /mirage skin refresh <bot|all> asks again and gives the bot its current skin: an online bot leaves and returns unseen, in the same place with the same belongings, with no join or leave message.
Chat pool
#chat
#A random online bot now and then posts one line from the pool. With AI enabled, see AI chat and social for how the two work together.
| Key | Default | Description |
|---|---|---|
enabled | true | Master switch. |
min-interval-seconds | 40 | Minimum seconds between chat lines. |
max-interval-seconds | 200 | Maximum seconds between chat lines. |
need-real-players | true | Bots stay silent unless at least one real player is online. |
quiet-share | 0.2 | Share of bots that never start anything (no idle lines, greetings or reactions). They still answer when named or messaged. |
afk-silent | true | An AFK bot says and answers nothing, not even /msg or /tpa, until it moves again. |
send-as | player | player: the line goes through the chat thread like a person's, so chat formatters and filters treat it like a real line. system: the old main-thread system message. |
lines | 30 lines | The pool. A line is not reused until most others have been, and the same bot never speaks twice in a row. |
lines-tr | 26 lines | Turkish pool, used when bots speak Turkish. Add lines-de, lines-es and so on the same way; commented examples for 10 languages ship in the file. |
Kicks and bans
#bans
#Bots ignore kicks from plugins (anti-cheat, AFK kickers), but a moderator's /kick or /ban on a bot goes through, because a bot still standing there afterwards would give the roster away. A kicked bot comes back after a while; a banned one stays away until the ban ends or it is unbanned (kept in bot-bans.yml). Works with any punishment plugin: only the command names matter.
| Key | Default | Description |
|---|---|---|
enabled | true | Watch staff kick and ban commands. |
kick-away-minutes | 10 – 60 | How long a kicked bot stays away (min, max). |
kick-commands | ["kick"] | Kick command names without the slash. |
ban-commands | ["ban", "tempban", "ipban", "banip", "tempipban", "tempbanip"] | Ban command names. A temp ban needs a duration such as 7d or 1d12h. |
unban-commands | ["unban", "pardon", "unbanip", "pardonip"] | Unban command names. |
ban-command | "ban %bot% %reason%" | What /mirage ban runs on the console. |
tempban-command | "tempban %bot% %duration% %reason%" | What /mirage ban runs with a duration. |
unban-command | "unban %bot%" | What /mirage unban runs. |
default-reason | "Cheating" | Reason used when none is given. |
Life, death and safety
#life
#| Key | Default | Description |
|---|---|---|
pickup-items | true | Bots pick up dropped items. |
pickup-interval-ticks | 4 | How often a bot sweeps for items (1 to 40). 1 matches vanilla. |
respawn-on-death | true | A dead bot is replaced at once. |
respawn-at-death-location | false | false: back at the world spawn, like a player. true: exactly where it fell, keeping its patrol area. |
drowning | true | Air drains under water and the bot drowns like a player. |
fire-damage | true | Bots catch fire, burn and are put out by water. |
natural-regeneration | true | Bots heal over time like a fed player. Honours the naturalRegeneration game rule. |
regeneration-interval-ticks | 80 | Ticks between half-hearts. 80 is vanilla's fed rate. |
Death handling and spectators
#| Key | Default | Description |
|---|---|---|
spectator.bots | show | What a spectating player sees in the "Teleport to Player" screen: show, unlist (bots unlisted while spectating, still rendered with skins) or remove (removed outright; they render without skins or name tags until the player leaves spectator). |
soft-death | true | The killing blow is intercepted and the death is done by hand (sound, message, drops, move to respawn with full health), so the entity never leaves the world and other plugins never see a disconnect and reconnect (on Folia and its forks a normal respawn means exactly that). PlayerDeathEvent then does not fire for bots. |
respawn-delay-ticks | 20 | Ticks between death and respawn. Minimum 1. |
suppress-death-message | false | Hide "bot was slain by player" messages. |
suppress-death-drops | false | Bots drop nothing on death (no items, no XP). |
safety
#| Key | Default | Description |
|---|---|---|
bot-kills-count-for-stats | false | Killing a bot counts toward the killer's PLAYER_KILLS statistic. |
bot-pvp-rewards | "all" | What the killer of a bot may collect: all (drops and XP), drops, xp or none. Rewards from other plugins (mcMMO or AuraSkills combat XP, bounties, kill streaks) are theirs to decide. |
real-pvp-protected-from-bots | false | Bots cannot damage real players at all. Overrides every pvp setting. |
Storage and persistence
#persistence
#| Key | Default | Description |
|---|---|---|
enabled | true | Save each bot's inventory, equipment and location on dismiss and plugin disable, and restore them on the next spawn. |
restore-online | true | After a restart or reload, the bots that were online come back first. Ignored when the list is older than 12 hours. |
storage
#Every backend stores the same thing: a YAML document per bot. Switching type is safe: the first time a database is found empty, the existing YAML files are copied into it and left on disk as a backup. If a backend cannot be opened, the plugin logs it loudly and falls back to YAML.
| Key | Default | Description |
|---|---|---|
type | yaml | yaml (one file per bot), sqlite (one local file), mysql or mariadb (shared, for several servers), mongodb (shared, document store). |
import-existing | true | Copy existing YAML data into an empty database. |
sqlite-file | mirage.db | Relative to plugins/MirageRoster/data/. |
host / port | 127.0.0.1 / 3306 | MySQL or MariaDB server. |
database | mirageroster | Database name (also the MongoDB database). |
username / password | root / '' | Credentials. |
properties | '' | Appended to the JDBC URL, for example sslMode=VERIFY_IDENTITY or allowPublicKeyRetrieval=true. |
pool-size | 6 | Connections held open (max 20). |
connection-timeout-ms | 8000 | Connection timeout. |
mongo-uri | 'mongodb://127.0.0.1:27017' | MongoDB connection string. |
table-prefix | mirage_ | Prefix for the table or collection name. |
redis.enabled | false | A shared cache in front of the database, never a replacement. Ignored with yaml. Worth it when several servers share one MySQL or MongoDB. |
redis.host / redis.port | 127.0.0.1 / 6379 | Redis server. |
redis.password / redis.database | '' / 0 | Credentials and database index. |
redis.ssl | false | Use TLS. Give Redis a password and TLS when it is not on the same machine. |
redis.pool-size | 8 | Connections. |
redis.ttl-seconds | 3600 | Cache lifetime. 0 keeps entries forever. |
redis.namespace | mirageroster | Key prefix. |
Other plugins and Discord
#integration
#| Key | Default | Description |
|---|---|---|
packetevents-users | false | Register bots with PacketEvents so plugins built on it can see them. Off on purpose: on PacketEvents 2.13.0 turning it on stopped real players from joining. Leave it off unless you are testing it, and check that players can still join. |
fire-move-events | true | Publish bot movement as PlayerMoveEvent, so AFK detectors, region and anti-cheat plugins see bots move. Cancellation is honoured. |
move-event-interval-ms | 10000 | Minimum time between published moves per bot. If your tab list reshuffles as bots walk, raise this. |
move-event-min-distance | 1.0 | A move is published only after the bot has gone at least this many blocks. |
discord
#Mirrors bot joins and leaves to a Discord channel through a webhook, batched up to 10 events per message.
| Key | Default | Description |
|---|---|---|
enabled | false | Master switch. No network calls while off. |
webhook-url | "" | Webhook URL from Channel Settings, Integrations, Webhooks. |
arrival-template | ":green_circle: **%player%** joined the realm" | Join message. |
departure-template | ":red_circle: **%player%** left the realm" | Leave message. |
flush-interval-seconds | 5 | Seconds between batches. Minimum 5. |
rate-limit-seconds | 30 | Soft per-message floor so a huge queue cannot flood the channel. |
possession
#/mirage possess <bot> hides you and turns the bot into your puppet: it moves, looks, sneaks, sprints and swings with you and wears what you wear. /mirage unpossess hands it back where you left it. Needs mirageroster.possess.
| Key | Default | Description |
|---|---|---|
enabled | true | Allow possession. |
chat-as-bot | true | Your chat is re-sent through the bot, so chat plugins format it under the bot's name. |
mirror-equipment | true | The bot's armour and hands mirror yours; its own kit comes back when you step out. |
invulnerable | true | You cannot be hurt while hidden inside a bot. |
Blocks you break or place change through your hidden entity, and damage you deal is logged as you, not the bot.
Full reference map
#Every top-level section of config.yml, in file order:
| Section | What it controls | Covered on |
|---|---|---|
general | Debug, prefix, invincibility, update check, language | This page |
performance | Ghosts, visible limit, load guard, per-bot cost, loop intervals | This page |
roster | Bot count at boot, default world, addresses, pre-login, name protection, spawn points | This page |
identities | Bot names and per-bot fields, NameMC names | This page |
presence | Random joins and leaves | This page |
population | Hourly schedule, real-player scaling, vanish cover | This page |
bans | Staff kicks and bans of bots | This page |
server-list | Online count, sample, slots | This page |
tab | Tab game mode and ping range | This page |
ping | Ping mode and per-bot overrides | This page |
skins | Skin sources and cache | This page |
movement | Looking, wandering, navigation | Movement, zones and combat |
motion | Learned movement and gestures | Movement, zones and combat |
chat | Line pools | This page |
activities | Votes, donations, commands bots type | Progression and economy |
physics | Gravity, collision, knockback, fleeing, climbing, swimming | Movement, zones and combat |
life | Pickup, respawn, drowning, fire, regeneration | This page |
spectator | Spectator view and death handling | This page |
persistence | Saving bot state | This page |
storage | Database backend and Redis | This page |
pvp | Fighting back | Movement, zones and combat |
inventory-snapshots | Kitting bots from what players carry | Progression and economy |
integration | PacketEvents and move events | This page |
safety | Kill statistics, PvP rewards, PvE protection | This page |
discord | Webhook | This page |
ai | AI chat | AI chat and social |
social | Whispers, teleport requests, reactions, command overrides | AI chat and social |
web | Web panel | Web panel, menus and stealth |
lifecycle | Zones, routines and travel | Movement, zones and combat |
progression | Play time, statistics, advancements, ranks, join commands | Progression and economy |
economy | Drifting balances | Progression and economy |
island | Skyblock | Skyblock, Towny and settlements |
towny | Towny | Skyblock, Towny and settlements |
settlements | Claims, factions, clans | Skyblock, Towny and settlements |
skills | AuraSkills, mcMMO, Jobs Reborn | Skyblock, Towny and settlements |
proxy | Velocity and BungeeCord bridge | Proxy network |
addons | Add-on loading and trust | Add-ons |
possession | Stepping into a bot | This page |
placeholders | Who sees real placeholder values | Placeholders and integrations |
stealth | Hiding plugins from players | Web panel, menus and stealth |
config-version | Managed by the plugin; do not edit |
Found a mistake or something missing? Open a ticket on Discord.
Report an issue