Administration
Commands & permissions
Everything /thepredict can do, who may run it, and how to read its answers.
There is one command, /thepredict, and /thepredict alone means /thepredict status. The command itself needs thepredict.admin, so a player without it can run no subcommand at all; the other permissions add to it. The console may run everything. Tab completion hides debug and duel from players without thepredict.debug.
All subcommands
| Command | Permission | What it does |
|---|---|---|
/thepredict [status] | thepredict.admin | Health report in fixed sections (see status). |
/thepredict check | thepredict.admin | Checks the Jev service again with the key loaded at startup. Spends no tokens. |
/thepredict inspect <nearest|uuid> [detail] | thepredict.admin | Explains one bound mob: level, intent, why, perception, skills, goals, threat, outcomes. |
/thepredict intention suggest [profile] | thepredict.admin | Prints the canonical Intention line for each bound choice. Writes nothing. |
/thepredict zone | thepredict.admin | One fixed diagnostics line about zones. |
/thepredict records stats | thepredict.admin | Storage state in one line. |
/thepredict records export outcomes [profile] | thepredict.records | Writes the outcome statistics as CSV into records/exports/. |
/thepredict records export events <from> <to> [types] | thepredict.records | Copies the JSONL events of a day range into records/exports/. |
/thepredict records prune [days] | thepredict.records | Deletes record days older than days (default 14). |
/thepredict records verify | thepredict.records | Integrity check of the aggregates database. |
/thepredict records backup | thepredict.records | Backs up the aggregates database now. |
/thepredict records flush | thepredict.records | Writes the pending aggregates now. |
/thepredict records cache clear | thepredict.records | Empties the answer cache. |
/thepredict records tag <tag> / tag clear | thepredict.records | Labels the next record lines (for example a test session), or stops labelling. |
/thepredict eval status | thepredict.eval | Difficulty state of the nearest bound mob, or the configured defaults. |
/thepredict eval difficulty <nearest|uuid> | thepredict.eval | Difficulty state of one mob. |
/thepredict eval verdict list | thepredict.eval | Lists the evaluation verdicts the server loaded. |
/thepredict eval verdict import <file> | thepredict.eval | Imports an evaluation verdict file from the plugin folder. |
/thepredict eval pressure <nearest|uuid> <0-8|auto> | thepredict.eval + thepredict.debug | Forces a mob's pressure rung for testing. Not stored. |
/thepredict eval report … | thepredict.eval | Not available on the server in this release. |
/thepredict learn … | thepredict.learn (status: also thepredict.admin) | Learning data and learned values. See Learning & training. |
/thepredict autoconfig … | thepredict.autoconfig | Profile overlays. See Profile overlays. |
/thepredict debug intent <nearest|uuid> <tactic> [ticks] | thepredict.debug | Forces a local tactic on one mob. Never sends a request to Jev. |
/thepredict debug release <nearest|uuid> | thepredict.debug | Drops the mob to level 4 so the fallback chain decides again. |
/thepredict debug goals <nearest|uuid> | thepredict.debug | Lists the mob's movement goals and its movement progress. |
/thepredict duel start … / status / stop | thepredict.debug | Records a mob-against-mob duel. See duel. |
The command also lists a few experimental subcommands that this documentation does not cover.
Tip nearest or a UUID
nearest picks the closest mob with a session within 16 blocks of you, so it needs a player. From the console, pass the entity UUID instead (/thepredict debug goals prints the full UUID, ready to copy).
status
/thepredict status answers in fixed sections, always in the same order: Environment, Service, Catalog, Sessions, Encounters, Budget, Consumption, Latency (p50, p95, p99 of the last two minutes), Errors, Counters and Effectiveness, plus Storage when storage is running and a Patterns line. The whole answer never passes 48 lines: when there are more, the last one says <n> more status lines are not shown. It never shows the key and never names a player.
The lines you will read most:
| Line | What it tells you |
|---|---|
Versions: Java 25 (minimum 25), Minecraft 26.2 (minimum 26.2), MythicMobs … | What ThePredict detected at startup. |
State: Jev <STATE> (<detail>) | The service state (see Troubleshooting & status); , trial while one test request runs after a pause. |
Model: configured jev-1.13.0; last answer <model> | The model you set and the one that last answered. |
Pause: ends in <n> s | Only while the service is paused. |
Profiles: <STATE> (revision N, <r> profiles read, <a> active, <e> errors, <w> warnings) | The profile catalog. INVALID adds the first error; SETUP_PENDING says what setup still needs. |
Migration: none pending / Migration pending: review … | Whether an old configuration waits to be moved by hand. |
Bound mobs: <n> active, <m> suspended; levels JEV …, ALTERNATIVE …, LOCAL …, BASE …; debug intents <d> | Mobs ThePredict controls, by fallback level. |
Server: <x>/600 requests in 60 s, <y>/8 in flight and Your world: … | Request budget used, server-wide and in your world. |
Input tokens: <t>/600000 in 60 s; estimated cost <c> USD per hour (…) | Token use and an hourly cost estimate at the published price. |
capture, prepare, roundtrip, inbox_wait, apply, dispatch, tick_work | Latency p50, p95, p99, samples and maximum of the last two minutes. roundtrip is the trip to Jev and back; tick_work is ThePredict's own work per tick. |
Recent failures, Recent fallbacks | The last three causes and how long ago they happened. |
totals, failures, dispatch, fallbacks, outcomes, discards | Running counters; each group lists only non-zero values, or none. |
outcomes: level=JEV windows=… dealt=… taken=… reach=… hit_rate=… effect=… | What adopted intents achieved, per level (see Troubleshooting & status). |
Fairness: short wind-up immediate is loaded / telegraph self-abort is above 2% | Shown only when it applies. |
Patterns: mode=observe | The effective pattern mode, with a cause= when a mode is held back. |
check
/thepredict check asks for a fresh service check without blocking the server. It answers Jev check started; the result arrives here without blocking the server. and later Jev check: <STATE> (<detail>). with the next step. The check calls GET /v1/models, which spends no tokens and does not test an inference. It uses the key read at startup: after changing the key, restart the server instead. If checks are already queued it answers Other checks are already waiting; see /thepredict status.
inspect
/thepredict inspect <nearest|uuid> explains one bound mob in at most fourteen lines:
| Line | Shows |
|---|---|
Mob <id> generation <n> | Which mob and which session. |
Session | MythicMobs ID, profile, state, level and encounter. |
Intent | Current tactic, movement, choice, confidence, ticks left, whether its skill was tried, [debug] for a forced intent. Without one: none; level 4 runs the base AI of the goal set. |
Next options | Alternatives and contingencies of the last answer. |
Why | Last fallback reason, last cast result and the low-confidence and no-progress streaks. |
Perception | Health band, target distance and trend, reachable, visible, flankable, active contexts, eligible tactics, skills out of reach. |
Skills | Each choice's delivery, reach, radius, wind-up, line of sight, cooldown class and origin (origin=skill when the Intention line was used), or untyped. |
Target | The target by alias (player_1, or entity_1 (zombie)), perceived participants and combat time. |
Events | The latest combat events. |
Goals | installed for revision <n> or not installed (MythicMobs keeps its AI), and the goal set. |
Movement | Progress of the current movement. |
Threat | The native threat table and what ThePredict added. |
Outcomes | The last 8 closed outcome windows, newest last. |
Aggregate | With the aggregates database: windows=… effect=… stored for the current tactic in a similar situation. |
Add a detail word for one subsystem: tick (the per-tick reading of the target), stance, telegraph, group or patterns, in any case. There is no zone detail. A mob without a session answers <id> has no session: it is not a bound mob with Predictor: true and an active profile.
intention suggest
/thepredict intention suggest [profile] prints, for each bound choice, the Intention line its skill should carry, in canonical order, plus what the line cannot express (for example a reach, which belongs in targetwithin). An untyped choice prints untyped; no Intention line. Without a profile ID it covers every bound profile. It never writes a MythicMobs file: copy the lines yourself (see Skills & intents).
records
records stats answers at once with one line: <state> [cause] records <level> dropped <n> inFlight <n> failed <n> sqlite <version>. Every other records subcommand needs thepredict.records, is queued on the storage thread and answers queued; the result arrives later in your chat or console. Only one command of each kind runs at a time (A records command of that kind is already running.), and without a storage writer they answer Records <action> needs the storage writer.
export outcomes [profile]writesrecords/exports/outcomes-all.csv(oroutcomes-<profile>.csv). It reads the aggregates database.export events <from> <to> [types]takes UTC days asyyyy-MM-ddand writesrecords/exports/events-<from>-<to>.jsonl, optionally only some line types. It stops at 512 MiB and sayscapped.prune [days]deletes record days older thandays; today is never deleted.verifyruns SQLite's integrity check and answersokor the first problem.backupwrites a copy intorecords/backups/and keepsstorage.backupsKeptcopies.tag <tag>labels every following record line with[a-z0-9-]{1,40};tag clearstops.
See Storage & records for what the records hold.
eval
Changing soon
eval reads and tunes the target-time difficulty, which is about to be redefined as intelligence levels. It works as described here in the current build.
eval difficulty <nearest|uuid>shows two lines for one mob:preset <name> entropy <true|false>andr <ticks> c <seconds> pressure <rung>, whereris the current reaction delay,cthe Entropy adaptation time andpressurethe rung,benchat full power. A mob without a session answersno session.eval statusshows the same block for the nearest bound mob or, without one, the configured default preset at full power.eval pressure <nearest|uuid> <0-8|auto>forces a pressure rung for testing;autogives control back to the controller. It also needsthepredict.debugand is not stored.eval verdict import <file>validates an evaluation verdict file and copies it intorecords/eval/verdicts/(and the aggregates database). Modes waiting for a verdict, such aspatterns.mode: bias, are re-offered at once, without a restart.<file>is a path inside the plugin folder,plugins/ThePredict/: relative to it (never to the folder the server starts from), or absolute inside it. A path with..is refused withpath; an absolute path outside the folder, or a link that leads out of it, withpath: must stay inside the plugin folder. Nothing is imported then.eval verdict listshows the loaded verdicts, one line each, at most 8 lines. Before the first load it answerspending: the verdicts have not loaded yet; with none,no verdict loaded.eval reportanswerseval report is not available on the server in this release.
zone
/thepredict zone prints one fixed line: No ready zone. Effective mode is the minimum of zone.mode and Zone.Mode. Permission: thepredict.admin. In this release neither zone nor inspect shows a mob's zone. See Zones & terrain.
learn and autoconfig
/thepredict learn manages learning data and learned values; learn status prints one line, the rest is queued on the storage thread. See Learning & training. /thepredict autoconfig imports, shows, applies and reverts profile overlays. See Profile overlays.
debug
Debug tools need thepredict.debug, which not even operators have by default. Without it, debug answers You need the thepredict.debug permission to use debug tools and neither debug nor duel shows up in tab completion. The console can always use them.
debug intent <nearest|uuid> <tactic> [ticks]sets aLOCALintent with one tactic of the mob's profile, for 1 to 6000 ticks (without[ticks], the profile's intent length: 40 ticks by default). It never sends a request to Jev. It refuses, with the reason, a tactic the profile does not declare or that was not eligible at the last capture (a context that does not allow it, a skill on cooldown, no target, orFLANKwithout a raised shield).debug release <nearest|uuid>drops the mob to level 4; the fallback chain decides again within 2 ticks.debug goals <nearest|uuid>prints the full UUID and generation, one line per goal (runningwhile it runs) and the movement progress.
duel
/thepredict duel records, in real time, a fight between two factions of mobs. It is off until you start it and costs nothing while idle. It needs thepredict.debug (without it: You need the thepredict.debug permission to record duels).
/thepredict duel start <label> <factionA> <factionB> [radius] [skills=A,B]
/thepredict duel start <label> <factionA> <factionB> <world> <x> <y> <z> [radius] [skills=A,B]
/thepredict duel status
/thepredict duel stop- The first form is for players: the arena is centred on you, in your world. The console must use the second form with a loaded world and coordinates.
labelmatches[a-z0-9-]{1,40}.factionAis the red side andfactionBthe blue one; they must differ.- The radius defaults to 24 blocks, at most 64.
skills=lists the skills that count as casts; by default, the MythicMobs skill choices of the bound profiles whoseEntities.Allownames one of the two factions. startanswersDuel recording '<label>' started: red = <A>, blue = <B>, radius <r>, folder <folder>;stopwritessummary.mdand says how many rounds and dropped rows there were.
What the recorder writes is described in Storage & records.
Permissions
| Permission | Default | Grants |
|---|---|---|
thepredict.admin | op | The /thepredict command itself (a player without it can use no subcommand), plus status, check, inspect, intention suggest, zone, records stats and learn status. |
thepredict.records | op | /thepredict records except stats: export, prune, verify, backup, flush, cache and tag. |
thepredict.eval | op | /thepredict eval: status, difficulty, report and verdicts. pressure also needs thepredict.debug. |
thepredict.learn | op | /thepredict learn build, export, import, rollback and disable (status also accepts thepredict.admin). |
thepredict.autoconfig | op | /thepredict autoconfig: status, import, show, apply and revert. |
thepredict.debug | false | /thepredict debug (set, release and list local intents; never sends a request to Jev) and /thepredict duel. Not even operators have it by default; the console always does. |
Every subcommand also needs thepredict.admin, the permission of the command itself. thepredict.admin alone is enough for records stats and learn status.
To give the debug tools to operators without a permissions plugin, create permissions.yml in the server root:
thepredict.verifier:
description: Grants ThePredict debug tools to operators on the verification server
default: op
children:
thepredict.debug: true