In-game menu
#/mirage menu opens the control panel. Everything a server owner usually needs is in there, without editing YAML.
| Screen | What it does |
|---|---|
| Quick Setup | The settings almost every server needs on one screen: server size (small, medium, large), bot range, arrival spacing, announcements, chat, AI, play time, wandering, PvP and spawn points. Changes apply at once. Also opened by /mirage alone. |
| Bot list | Every bot with search and paging: bring online, dismiss, dismiss all, reload. |
| Bot screen | Teleport, bring here, heal, damage, ping, loadout editor and item catalogue for one bot. |
| Settings | Every option sorted into pages, performance profiles, virtual mode and fluctuation rules. |
| AI Chat | Status, on and off, provider check, errors, trigger, memory, cost, setup, test, personalities, server profile, conversation and thinking. |
| Bot Names | Add, remove and generate names. |
| Network | The proxy link, every server with its bots and players, and buttons to move bots (/mirage net menu). |
Left-click raises a number, right-click lowers it and shift-click takes bigger steps.
menus.yml
#menus.yml decides how the menus look; the menu texts themselves live in lang/<language>.yml. Every colour code the texts use is drawn in the colour you set, so one palette restyles every menu in every language. Changes apply the next time a menu opens; no reload needed. Delete the file to get the defaults back.
| Key | Default | Description |
|---|---|---|
theme.enabled | true | false = plain Minecraft colours, no small caps, no sounds. |
theme.palette | 16 colours | The hex colour each code &0 to &f is drawn in, for example "a": "#69DB7C". |
theme.small-caps.titles / names | true / true | Small capitals for window titles and button names. Lore, player names and bot names keep their spelling. |
theme.title-prefix | "&8• " | Shown before every window title. |
theme.panes.filler | BLACK_STAINED_GLASS_PANE | Background item. |
theme.panes.border | GRAY_STAINED_GLASS_PANE | Top and bottom rows and sides. |
theme.panes.corner | PURPLE_STAINED_GLASS_PANE | The four corners. |
theme.hide-item-details | true | Hide vanilla tooltip clutter on buttons. |
sounds.enabled | true | Short UI sounds. |
sounds.volume | 0.6 | 0.0 to 1.0. |
sounds.open / click / page / success / error | Minecraft sound names | "none" turns a single one off. |
settings-pages | {} | Your own settings pages (see below). |
settings-hidden-pages | [] | Built-in pages to hide. |
Your own settings pages
#Add pages to Settings for the config.yml keys you change most. Each entry edits one path: toggle (on or off), number (min, max, step, decimals) or choice (options; left is next, right is previous).
settings-pages:
my-favourites:
title: "Favourites"
icon: NETHER_STAR
summary: "The knobs I touch every day"
entries:
- path: roster.limit
type: number
label: "Bot Count"
icon: PLAYER_HEAD
default: 10
min: 0
max: 200
step: 1
- path: ping.mode
type: choice
label: "Ping Mode"
options: [pattern, match-real]
- path: stealth.enabled
type: toggle
label: "Stealth"
default: false
Built-in page ids you can hide: population, conversation, social, serverlist, protection, movement, pathfinding, looking, physics, life, pvp, routines, economy, island, inventory, tab, integration, performance.
Web panel
#A browser dashboard and JSON API served by the plugin itself with the JDK's built-in HTTP server: nothing to install. It shows live roster status and history charts, the bot list with arrive, depart, ghost and say buttons, performance profiles, virtual mode and the visible limit, and offers a Prometheus endpoint at /metrics for Grafana.
Safe by default:
- off until you turn it on, and bound to
127.0.0.1so only the machine itself can reach it; - one access token, generated on first start and written to
web.token; - per-address rate limit and lockout, capped request bodies, a strict content security policy, and every change logged with the caller's address;
- nothing in the API can run a command, as the console or as a bot.
Turning it on
#/mirage web on(orweb.enabled: trueand/mirage reload)./mirage web tokenshows the token (masked, click to copy). The full token is inconfig.ymlunderweb.token.- Open
http://127.0.0.1:8765on the server machine and paste the token.
To use the panel from elsewhere, put a reverse proxy with TLS (nginx, Caddy) in front of it instead of binding 0.0.0.0: the token travels in every request and plain HTTP shows it to anyone on the path. /mirage web regenerate replaces the token and signs everyone out.
| Key | Default | Description |
|---|---|---|
web.enabled | false | Start the panel. |
web.bind | "127.0.0.1" | Address to listen on. |
web.port | 8765 | Port. |
web.token | "" | Filled in automatically. At least 16 characters if you set your own. |
web.require-token | true | Ask for the token. false = anyone who can open the address controls the bots; only switch it off when the port is reachable from this machine alone or a firewall or VPN decides who gets there. |
web.allowed-hosts | [] | With sign-in off, host names the panel accepts (protection against DNS rebinding). IPs and localhost always work. |
web.appearance.anonymous | false | A neutral design with no plugin name, logo, version or commands anywhere, sign-in screen included. |
web.appearance.title | "Panel" | Name in the tab and header while anonymous (up to 40 characters). |
web.rate-limit-per-minute | 240 | Requests per minute from one address. The panel itself uses about 60. |
web.lockout.failures / minutes | 10 / 10 | Wrong tokens before an address is locked out, and for how long. |
web.trust-forwarded-for | false | Behind a reverse proxy on the same machine, read the client address from X-Forwarded-For. Only believed for loopback connections, and only its last entry. |
/mirage web on, off, token and regenerate need mirageroster.web, because the token is full remote control of the bots.
API endpoints
#The panel talks to these paths of its own JSON API: api/status, api/history, api/pulses, api/bots, api/roster/fill, api/roster/clear, api/reload, api/perf/, api/mode/virtual, api/mode/visible-limit, api/panel/appearance and api/panel/sign-in. Prometheus metrics are at /metrics.
Stealth
#Keeps chosen plugins out of what ordinary players can see. Anyone with mirageroster.stealth.bypass or mirageroster.control sees everything, and a command of a hidden plugin that the player may use stays usable and visible.
| Key | Default | Description |
|---|---|---|
stealth.enabled | false | Switch stealth on. |
stealth.hide-plugins | [MirageRoster] | Plugin names as /plugins shows them. |
stealth.plugins-command | true | /plugins and /pl list every plugin except the hidden ones. |
stealth.version-command | true | /version for a hidden plugin answers as if it were not installed. |
stealth.command-list | true | Hidden plugins' commands are left out of the list the client gets. |
stealth.tab-complete | true | Tab completion never suggests a hidden plugin or its commands. |
stealth.hide-commands | true | A player typing a hidden plugin's command they may not use gets the ordinary "unknown command" reply. |
stealth.bypass-permission | mirageroster.stealth.bypass | Permission that sees everything. |
stealth.messages.plugins-header | "&fPlugins ({0}): " | Header of /plugins. |
stealth.messages.no-such-plugin | vanilla text | Reply for a hidden plugin in /version. |
stealth.messages.unknown-command | "Unknown command. Type \"/help\" for help." | Change it if your server's own reply differs (spigot.yml, messages.unknown-command). |
Found a mistake or something missing? Open a ticket on Discord.
Report an issue