ThePredictdocs v0.0.1 RC

Reference

config.yml reference

parts changing soon

Every key of plugins/MythicMobs/AIConfig/config.yml with its type, shipped default and accepted range, read from the plugin's own sources.

The master file lives at plugins/MythicMobs/AIConfig/config.yml. ThePredict creates it on the first start and never overwrites it. Every value in the shipped file is the default, and units are in the key names (Millis, Ticks, Blocks, Micros).

Watch out Read once, at startup

config.yml and the Jev key are read only when the server starts. After a change, restart the server. /mm reload re-reads the profiles, not this file. An unknown key, a key from the old schema or a value out of range keeps ThePredict inactive and names the file, the path and the reason; MythicMobs keeps working.

How to read the entries below: Default is the value in the shipped file, Range comes from the plugin's validation, and keys a profile can override link to the Profile reference. Keys marked changing soon will be redefined in an upcoming release; keys marked no effect yet are accepted and validated but this build does not read them, and most of them log AIConfig/config.yml: <key>: has no effect in this build at startup when set to anything other than the shipped value.

Note Sections not covered here

The shipped file also holds a few sections for experimental features that stay off or record-only by default. They are not covered by this documentation: leave them as shipped.

SectionKeysWhat it controls
jev9How ThePredict reaches Jev: endpoint, model, key and timeouts.
decision47Global decision limits and behavior: request budget, confidence, questions, casting and the tick layer. A profile never widens these limits.
records10Local JSONL event records: level, body policy, rotation and retention.
storage8The SQLite aggregates database beside the records folder.
debug2Scenario recording and the base random seed.
participants6Which players and which other living entities mobs may perceive, target and fight.
profileDefaults12Timing, health and movement values every profile inherits unless it sets its own.
difficulty34Target-time difficulty presets, the pressure controller and per-world overrides.
telegraph16Minimum tell lengths and the answer windows players get before a hit lands.
stance3How the mob's stance is shared with MythicMobs and how long a stance holds.
zone28Real-time terrain reading around a fight: modes, budgets, edges and pushes.
group27How several mobs in one encounter share targets, roles and plans.
patterns31Reading enemy habits: modes, sampling, detection thresholds and exploitation limits.
learning31Collection of fight outcomes, exploration and confidence calibration.
autoconfig6Limits of the profile overlay workflow. Nothing is applied automatically.

Root

Type
integer
Values
2
Default
2

Schema of the file. Required, and only 2 is accepted. A file without it that holds schema 1 keys (such as provider) is treated as an old configuration: ThePredict loads nothing from it and writes a migration proposal instead.

jev

How ThePredict reaches Jev. See Jev connection for the key, the service check and the costs.

Type
URL
Default
https://api.typesafe.ai

TypeSafe Jev endpoint. https is required; plain http is accepted only for a loopback host (localhost, 127.0.0.1 or ::1). No user, query or fragment.

Type
text
Default
jev-1.13.0

Versioned Jev model ID, 1 to 64 letters, digits, ., _ or -. Only jev-1.13.0 is tested with this release. If a key is pasted here by mistake, the file is refused at load without showing the value.

Type
text
Default
TYPESAFE_API_KEY

Name of the environment variable that holds the key (an empty value means only jev.apiKey is used). The variable wins over jev.apiKey when both are set. Write the variable's name here, never the key itself.

Type
text
Default

Key stored in the file. Leave it empty and use the environment variable instead whenever you can. ThePredict never prints it: not in the console, not in /thepredict status, not in migration reports.

Type
text
Values
typesafe
Default
typesafe

Who answers the requests. Keep the default, typesafe, which reads the key from jev.apiKeyEnvironment or jev.apiKey. Other values are experimental and not covered by this documentation.

Type
integer
Default
800
Range
100 – 5000
Unit
ms

How long one decision request may take. It must stay below profileDefaults.maximumIntentDurationTicks × 50 (2000 ms with the defaults), so an answer can arrive before the current intent expires.

Type
integer
Default
1500
Range
100 – 10 000
Unit
ms

How long opening the connection may take.

Type
integer
Default
262144
Range
16 384 – 4 194 304
Unit
bytes

Largest response body ThePredict accepts.

Type
integer
Default
12000
Range
2000 – 45 000
Unit
characters

Largest encoded combat state sent in one request. The client refuses to send a request whose state plus its longest question would pass 32 000 estimated tokens (48 000 characters at 1.5 characters per token); the cap of 45 000 leaves room for the question. The estimate is calibrated for English text.

decision

Global limits that no profile can widen, plus the defaults profiles inherit for confidence, question detail and casting.

Type
integer
Default
600
Range
1 – 1200
Unit
requests/min

Server-wide cap on requests to Jev. The default is half of the account limit published by TypeSafe (1 200 per minute). Mobs over budget fight with their local planner, without errors.

Type
integer
Default
300
Unit
requests/min

Cap per world. It cannot exceed decision.maxRequestsPerMinute. With one world, this is usually the limit that binds first.

Type
integer
Default
8
Range
1 – 64
Unit
requests

Requests that may wait for an answer at the same time, server-wide.

Type
integer
Default
4
Unit
requests

Requests in flight per world. Cannot exceed decision.maxInFlightRequests.

Type
integer
Default
600000
Range
1000 – 10 000 000
Unit
tokens/min

Local cap on input tokens sent per minute. With many mobs in many worlds this is the limit that binds, and it bounds the cost: at the cap, 600 000 tokens per minute is about 1.5 USD per hour of continuous combat at the published price. Lower it to spend less.

Type
integer
Default
20
Range
10 – 200
Unit
ticks

Routine decision rhythm of an encounter: one request per encounter at most this often, or sooner when something relevant happens. Must be at least profileDefaults.minimumDecisionIntervalTicks.

Type
integer
Default
1
Range
0 – 2
Unit
questions

Extra "what if" questions per mob in each request (for example "if your health becomes critical"). The answer is kept and used at once if that situation happens.

Type
decimal
Default
0.45
Range
0 – 0.99

Default confidence an answer needs to be adopted (profiles can set Timing.MinimumConfidence). Answers below it are discarded and the mob keeps its current plan or plays locally.

Type
decimal
Default
0.15
Range
0 – 0.99

Default probability margin a new tactic needs over the current one before the mob switches (profiles can set Timing.SwitchMargin). Prevents flip-flopping between two close options.

Type
integer
Default
10
Range
1 – 100
Unit
mobs/tick

Movement goal installations per tick, when bound mobs spawn or reload.

Type
integer
Default
2
Range
1 – 64
Unit
encounters/tick

Encounters that may prepare a request in one tick.

Type
integer
Default
64
Range
8 – 1024
Unit
sessions/tick

Cheap per-mob checks per tick. Lower it if the tick_work latency in /thepredict status nears 2 ms at p95.

Type
integer
Default
16
Range
1 – 256
Unit
answers/tick

Answers applied per tick.

Type
integer
Default
64
Range
1 – 1024
Unit
signals/tick
predictordecide requests handled per tick.
Type
integer
Default
2000
Range
100 – 20 000
Unit
µs

Work budget of ThePredict inside one server tick.

Type
integer
Default
3
Range
1 – 20
Unit
answers

Low-confidence answers in a row before the mob drops to its local planner (fallback reason LOW_CONFIDENCE).

Type
decimal
Default
48.0
Range
8 – 128
Unit
blocks

Safety cap on how far a mob perceives participants. Each mob uses its MythicMobs Options.FollowRange, never more than this.

Type
boolean
Default
false

Logs every decision, fallback, cast result, threat change and closed outcome window to the console (at most 20 lines every 10 seconds). Useful while tuning a boss; noisy on a live server.

Type
integer
Default
8
Range
2 – 32
Unit
options

Most options in one question to Jev, after identical tactics are merged. The mob's current tactic is never cut, so the switch margin can still compare against it.

Type
text
Values
compact, standard, full
Default
full

How much each option tells Jev, and so how much it costs. full adds what favors or hurts each option right now; compact is a short text and costs about half. Profiles can choose their own with Timing.QuestionDetail. No level ever widens the token limits.

Type
boolean
Default
false

Default of Timing.FitChecks: one extra yes/no "does this option fit now?" question per option, in the same request. Sent only with full detail. Costs tokens.

Type
boolean
Default
true
false forbids fit checks everywhere: a profile with Timing.FitChecks: true then fails to load.
Type
decimal
Default
0.2
Range
0 – 1

Fit below this value vetoes an option. Must be lower than decision.fitRescue.

Type
decimal
Default
0.7
Range
0 – 1

Fit at or above this value lets a single option rescue a low-confidence answer. Must be higher than decision.fitVeto.

Type
text
Values
any_ready, intent_only
Default
any_ready

Which skills fire as soon as they are ready. any_ready: every skill with a valid Intention line fires on the first tick it is ready (on its own cooldown), besides the tactic's choice. intent_only: only the chosen tactic's skill fires. A profile can opt out with Timing.CastMode; the profile wins.

Type
text
Values
same_tick, mythic_default
Default
same_tick

Thread a cast runs on. same_tick runs the skill's delay on the server thread, so delay 10 waits exactly 10 server ticks. mythic_default keeps the MythicMobs default. Global only.

Type
text
Values
tactic_only, any_ready
Default
tactic_only

What a skill without a valid Intention line may do. tactic_only: it fires only as the choice of its own tactic.

Type
integer
Default
0
Range
0 – 100
Unit
ticks

How many ticks ahead a skill still counts as available when ThePredict builds a question. 0 keeps the question to skills that are ready now. The local planner never reads it.

Type
text
Values
"off", safe
Default
off
off keeps the question order as is. safe drops options that cannot work right now and orders the rest by the local score. Quote "off": YAML reads a bare off as a boolean, which ThePredict also accepts here.
Type
text
Values
priority, utility, learned
Default
priority

How the local engine ranks candidate tactics. priority uses the tactic Priority and its situational tie-breaks; utility multiplies that score by the enemy-pattern factor, so a counter to a detected pattern can rise; learned multiplies it by a learned factor and acts only while a learned artifact is active, which this build never loads into fights (see Learning & training).

Type
text
Values
raw, calibrated
Default
raw

Whether decision.minimumConfidence compares Jev's raw confidence or a calibrated probability. The default, raw, keeps the threshold as is.

Type
text or decimal
Values
parity or a number
Default
parity
Range
0.5 – 0.99

Threshold used with confidenceGate: calibrated. parity accepts exactly what the raw threshold accepts.

Type
boolean
Default
false

Meant to show each movement's best option first, so similar tactics do not crowd out different ones.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: decision.candidateDiversity: has no effect in this build.

Type
text
Values
"off", shadow, on
Default
off

Reuse of an identical earlier answer. shadow only measures; on reuses exact answers once its evaluation gate passes, which this release does not reach. Keep it "off".

Type
integer
Default
100
Range
20 – 600
Unit
ticks

How long a cached answer stays valid.

Type
integer
Default
2048
Range
64 – 65 536
Unit
entries

Most cached answers (there is also a cap of 8 000 000 characters).

Type
decimal
Default
0.1
Range
0 – 1

Share of cache hits that are also sent to Jev to check the cache.

Type
integer
Default
jev.timeoutMillis + 200, at most 5000 (1000 with the defaults)
Range
100 – 5000
Unit
ms

Oldest answer that may still be applied. Not in the shipped file; add it only to override the default. Must be at least jev.timeoutMillis.

Type
integer
Default
not in the shipped file
Range
obsolete
Obsolete. An old file that still has it starts with an INFO line and nothing changes; the live cap is decision.tickLayer.maxSessionsPerTick. You can delete it.

decision.tickLayer

The per-tick layer: reactions and micro-movements between two decisions. See How a fight runs.

Type
text
Values
casts, reactions, full
Default
reactions

What the per-tick layer does. casts: only fires ready skills. reactions: also reacts within ticks (dodge pressure, punish a drinking target, finish a low target). full: also runs short micro-movements (circle, step in, back off). off is an error: use casts. A profile can ask for less with Timing.TickLayer, never more.

Type
integer
Default
96
Range
8 – 1024
Unit
sessions/tick

Mobs the tick layer visits per tick.

Type
integer
Default
600
Range
100 – 5000
Unit
µs

Time budget of the tick layer inside one tick.

Type
integer
Default
0
Range
0, or 20 – 50
Unit
ms

MSPT guard. When the previous server tick ran late, or the average tick time passes this value, the tick layer drops to a lighter step for the next tick (casting is never delayed). 0 turns the guard off.

Type
integer
Default
4
Range
1 – 40
Unit
ticks

Shortest time one micro-movement holds before another may replace it (full only).

Type
integer
Default
5
Range
2 – 40
Unit
ticks

How often an orbit waypoint is refreshed (full only).

Type
integer
Default
8
Range
0 – 64
Unit
paths/tick

Short paths computed per tick for micro-movements.

Type
integer
Default
400
Range
0 – 5000
Unit
µs

Time budget for those paths per tick. One path may pass the budget; the next one waits.

debug

Type
boolean
Default
false

Saves every decision Jev answered as an anonymized scenario file under plugins/ThePredict/scenarios/ (at most 1 000 files per start). For calibration work; keep it off on a live server. See Storage & records.

Type
integer
Default
0

Base seed of ThePredict's deterministic random numbers. The same seed and the same tick give the same number.

profileDefaults

Values every profile inherits unless it sets its own. The cross-checks keep the timings consistent: decision.encounterHeartbeatTicks ≥ minimumDecisionIntervalTicks, maximumIntentDurationTicks ≥ minimumDecisionIntervalTicks, jev.timeoutMillis < maximumIntentDurationTicks × 50 and decision.maxDecisionAgeMillis ≥ jev.timeoutMillis.

Type
integer
Default
2
Range
1 – 20
Unit
ticks

How often each mob runs its cheap checks (reach, conditions, ready skills).

Type
integer
Default
20
Range
10 – 200
Unit
ticks

Shortest time an adopted tactic is kept before another may replace it.

Type
integer
Default
40
Range
20 – 400
Unit
ticks

How long an intent stays valid without being renewed. Must be at least profileDefaults.minimumDecisionIntervalTicks.

Type
decimal
Default
0.3
Range
greater than 0 and below profileDefaults.woundedHealthRatio

Health ratio (health plus absorption over max health) at or below which a creature is CRITICAL. Applies to mobs and players. Profiles: Health.Critical.

Type
decimal
Default
0.6

At or below this ratio (and above critical) a creature is WOUNDED; above it, HEALTHY. Profiles: Health.Wounded.

Type
decimal
Default
2.5
Range
greater than 0
Unit
blocks

Melee distance: the MELEE band, where APPROACH stops, and the reach of melee skills. Profiles: Movement.MeleeReach.

Type
decimal
Default
5.0
Unit
blocks

Inner edge of the KEEP_DISTANCE band. Profiles: Movement.Band.Inner.

Type
decimal
Default
9.0
Unit
blocks

Outer edge of the KEEP_DISTANCE band. Profiles: Movement.Band.Outer.

Type
decimal
Default
16.0
Unit
blocks

Up to this distance the target is in the RANGED band; farther, BEYOND. Profiles: Movement.RangedReach.

Type
decimal
Default
10.0
Range
greater than 0
Unit
blocks

Distance a RETREAT tries to open. Profiles: Movement.Retreat.Distance.

Type
decimal
Default
1.2
Range
0.1 – 3
Unit
speed multiplier

Speed multiplier while retreating. Profiles: Movement.Retreat.Speed.

Type
decimal
Default
1.15
Range
0.1 – 3
Unit
speed multiplier

Speed multiplier while approaching, keeping distance and walking back to the arena. Profiles: Movement.Approach.Speed.

participants

Optional. Without it, or with the shipped values, mobs only perceive, target and fight players in SURVIVAL or ADVENTURE. See Targets, participants & threat.

Type
list
Values
SURVIVAL, ADVENTURE, CREATIVE, SPECTATOR
Default
[SURVIVAL, ADVENTURE]

Players in these game modes can be perceived, targeted and fought. [] means no player at all. A profile can only narrow this list (Participants.PlayerGameModes).

participants.entities

Type
list
Default
[]
Range
up to 16 selectors
Unit
selectors

Selectors of non-player living entities that may take part (see Targets, participants & threat). Empty means none, the default behavior. Profiles add their own with Participants.Entities.Allow.

Type
list
Default
[]
Range
up to 16 selectors
Unit
selectors

Selectors that never take part, even when a profile allows them. Profiles add their own.

Type
boolean
Default
true

With false, the Allow lists of profiles are ignored with a load warning and only this file's list counts.

Type
boolean
Default
false

With false, a mob perceives only its own target among non-player entities, at no extra cost. With true, each mob also perceives allowed entities nearby (one nearby-entity query per mob). A profile can turn it on only while this is true.

Type
integer
Default
8
Range
1 – 16
Unit
entities

With perceiveNonTargets, the nearest non-target entities each mob reads per capture. The cap of 16 participants per encounter covers players and entities together.

records

Local JSONL records of each fight. See Storage & records.

Type
text
Values
off, decisions, full
Default
decisions

How much of each fight is written to the JSONL records. decisions writes decisions and tells; full also writes casts, threat, reactions, micro-movements and stances.

Type
text
Values
none, hash, dedup, all
Default
hash

How request bodies are kept in the records: not at all, as a hash, deduplicated, or in full.

Type
text
Default
records

Records folder, relative to plugins/ThePredict/. An absolute path or one with .. is rejected.

Type
integer
Default
16384
Range
1024 – 131 072
Unit
events

Events that may wait for the writer thread.

Type
integer
Default
64
Range
8 – 512
Unit
MiB

A record file rotates when it reaches this size.

Type
integer
Default
60
Range
5 – 1440
Unit
minutes

A record file rotates when it reaches this age.

Type
boolean
Default
true

Gzips each closed segment; the original is deleted only after the .gz closes correctly.

Type
integer
Default
14
Range
1 – 365
Unit
days

Days of records kept. The current day is never deleted.

Type
integer
Default
2048
Range
64 – 65 536
Unit
MiB

Size cap of the records folder. If the current day alone passes it, events pause and the aggregates keep working.

Type
boolean
Default
false

Adds a compact binary copy (summary_b64) to each pattern summary line in the records.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: records.patternSummaryBinary: has no effect in this build.

difficulty

Changing soon

Difficulty is about to be redefined as levels of intelligence and aggression instead of a target fight length. This section documents how the current build works.

Type
text
Values
auto, bench, player
Default
auto

How a mob chooses its pressure when its profile does not say. player: a controller aims the whole fight at the preset's target length. bench: full power, no controller. auto: player against players and bench against other entities.

Type
text
Values
facil, normal, dificil, caos, vacio
Default
normal

Preset of a mob whose file has no PredictorDifficulty. Case and accents are ignored.

Type
integer
Default
100
Range
40 – 600
Unit
ticks

How often the in-fight controller may move the pressure rung (spread across sessions).

Type
decimal
Default
0.20
Range
0.05 – 0.5

Band around the target time inside which the in-fight controller does not react.

Type
decimal
Default
0.10
Range
0 – 0.5

Band inside which the between-fights learning does not move the starting rung.

Type
decimal
Default
0.25
Range
0.05 – 0.5

How fast the between-fights learning moves the starting rung (clipped to 0.33 by the ladder).

Type
decimal
Default
4
Range
2 – 10

Cap of a projected time-to-kill, as a multiple of the target time.

Type
integer
Default
4
Range
3 – 9
Unit
fights

Sign changes in the last ten fights that halve the learning gain.

Type
integer
Default
100
Range
20 – 600
Unit
ticks

Half-life of the damage-rate estimate, for a 45-second target; it scales with the target time.

Type
integer
Default
60
Range
20 – 400
Unit
ticks

Fight time before the estimate counts.

Type
integer
Default
200
Range
40 – 2400
Unit
ticks

A fight closes after this long without the mob dealing damage.

difficulty.maxTrackedFightschanging soonno effect yet
Type
integer
Default
4
Range
1 – 16
Unit
fights

Fight clocks kept per mob. The one quiet for longest is dropped, never the current target's.

No effect in this build: the key is accepted and validated, but the engine does not read it. No warning is logged.

Type
boolean
Default
false

With true, a profile with Difficulty.NativeLevel: spawn may move the MythicMobs level of the next spawn by ±1 (within the mob's level ±2). Never during a fight.

difficulty.worldschanging soon
Type
section
Default
none
Range
per world: preset and entropy

Per-world overrides, keyed by world name: difficulty.worlds.<world>.preset (a preset name) and difficulty.worlds.<world>.entropy (true or false). A world override beats the mob file. Players never choose the difficulty.

YAML
difficulty:
  worlds:
    arena_nether:
      preset: dificil
      entropy: false

Presets

Each preset under difficulty.presets.<name> holds four numbers. The names are facil, normal, dificil, caos and vacio.

Mob file nameconfig.yml keyTarget fight lengthReaction floor (ticks)Entropy floor (ticks)Entropy start
Fácilfacil45 min547 s
Normalnormal30 min535 s
Difícildificil15 min303.5 s
Caoscaos10 min101.5 s
Vacíovacio5 min000 s

facil

Type
integer
Default
45
Range
1 – 60
Unit
minutes

Target length of a whole fight against players for the Fácil preset.

Type
integer
Default
5
Range
0 – 20
Unit
ticks

Shortest reaction delay against players for Fácil.

Type
integer
Default
4
Range
0 – 5
Unit
ticks

Reaction floor reached while PredictorEntropy is on.

Type
decimal
Default
7
Range
0 – 30
Unit
seconds

With Entropy, the adaptation time at the start of the fight; it shrinks toward zero as the fight goes on.

normal

Type
integer
Default
30
Range
1 – 60
Unit
minutes

Target fight length for Normal.

Type
integer
Default
5
Range
0 – 20
Unit
ticks

Reaction floor against players for Normal.

Type
integer
Default
3
Range
0 – 5
Unit
ticks

Reaction floor with Entropy for Normal.

Type
decimal
Default
5
Range
0 – 30
Unit
seconds

Entropy adaptation at the start of the fight for Normal.

dificil

Type
integer
Default
15
Range
1 – 60
Unit
minutes

Target fight length for Difícil.

Type
integer
Default
3
Range
0 – 20
Unit
ticks

Reaction floor against players for Difícil.

Type
integer
Default
0
Range
0 – 5
Unit
ticks

Reaction floor with Entropy for Difícil.

Type
decimal
Default
3.5
Range
0 – 30
Unit
seconds

Entropy adaptation at the start of the fight for Difícil.

caos

Type
integer
Default
10
Range
1 – 60
Unit
minutes

Target fight length for Caos.

Type
integer
Default
1
Range
0 – 20
Unit
ticks

Reaction floor against players for Caos.

Type
integer
Default
0
Range
0 – 5
Unit
ticks

Reaction floor with Entropy for Caos.

Type
decimal
Default
1.5
Range
0 – 30
Unit
seconds

Entropy adaptation at the start of the fight for Caos.

vacio

Type
integer
Default
5
Range
1 – 60
Unit
minutes

Target fight length for Vacío.

Type
integer
Default
0
Range
0 – 20
Unit
ticks

Reaction floor against players for Vacío.

Type
integer
Default
0
Range
0 – 5
Unit
ticks

Reaction floor with Entropy for Vacío.

Type
decimal
Default
0
Range
0 – 30
Unit
seconds

Entropy adaptation at the start of the fight for Vacío.

storage

The SQLite aggregates database, written beside the records folder. See Storage & records.

Type
text
Values
off, sqlite
Default
sqlite

The aggregates database. mysql is reserved and refused at load.

Type
text
Default
aggregates.db

Database file name, written beside the records folder (not inside it). A plain file name, no slashes.

Type
text
Values
normal, full
Default
normal

SQLite synchronous setting.

Type
integer
Default
2000
Range
0 – 30 000
Unit
ms

SQLite busy timeout.

Type
integer
Default
100
Range
20 – 1200
Unit
ticks

How often pending aggregates are written.

Type
integer
Default
4096
Range
256 – 65 536
Unit
keys

Aggregate keys that may wait for the next flush.

Type
integer
Default
24
Range
0, or 1 – 168
Unit
hours

Database backup interval. 0 turns backups off.

Type
integer
Default
7
Range
1 – 60
Unit
copies

Backups kept; older ones are deleted.

telegraph

Changing soon

Tells and telegraphing will be redefined in an upcoming release. This section documents how the current build works.

ThePredict never adds particles or sounds: a tell is a set of signals your own skills can react to. See Stances, tells & poise.

Type
text
Values
enforce, off
Default
enforce

With enforce, every MEDIUM, HEAVY or SEVERE hit against a player is announced for at least its minimum (the danger minimum, plus the answer time, plus the delivery margin) through the tell signals. While Entropy is on, minimums do not apply. Profiles: Telegraph.AgainstPlayers.

Type
text
Values
off, enforce
Default
off

The same, against non-player targets. Profiles: Telegraph.AgainstEntities.

Type
integer
Default
1
Range
0 – 4
Unit
ticks

Margin added to every enforced tell for signal delivery.

Type
integer
Default
32
Range
4 – 256
Unit
tells

Tells released in one tick, server-wide.

Type
integer
Default
10
Range
0 – 40
Unit
ticks

Recovery after a whiffed, lost or rejected tell.

Type
integer
Default
40
Range
0 – 400
Unit
ticks

Cooldown of that skill after a whiff or a feint.

Type
integer
Default
10
Range
2 – 60
Unit
ticks

Ticks watched after the impact to read whether the hit landed (40 for projectiles).

telegraph.minTicks

Type
integer
Default
0
Range
0 – 20
Unit
ticks

Minimum tell of a LIGHT hit. Light hits are not enforced.

Type
integer
Default
8
Unit
ticks

Minimum tell of a MEDIUM hit.

Type
integer
Default
16
Range
10 – 40, and never below telegraph.minTicks.medium
Unit
ticks

Minimum tell of a HEAVY hit.

Type
integer
Default
24
Unit
ticks

Minimum tell of a SEVERE hit.

telegraph.answerTicks

Type
integer
Default
0
Range
0 – 10
Unit
ticks

Extra ticks added when the expected answer is to block.

Type
integer
Default
0
Range
0 – 10
Unit
ticks

Extra ticks when the answer is a sidestep.

Type
integer
Default
3
Range
0 – 10
Unit
ticks

Extra ticks when the answer is to leave reach.

Type
integer
Default
3
Range
0 – 10
Unit
ticks

Extra ticks when the answer is to break line of sight.

Type
integer
Default
3
Range
0 – 10
Unit
ticks

Extra ticks when the answer is to interrupt the wind-up.

stance

Type
text
Values
hybrid, read, write, off
Default
hybrid

How ThePredict shares the stance with MythicMobs. hybrid writes the variable predictor_stance and reads the mob's own stance, never calling setStance. read only reads. write calls setStance. off neither reads nor writes. Profiles: Stances.Native.

Type
integer
Default
20
Range
4 – 200
Unit
ticks

Shortest time a base stance holds before it changes. Profiles: Stances.MinDwellTicks.

Type
integer
Default
2
Range
1 – 7
Unit
cycles

Reactive cycles in a row (2 ticks each) a new base stance must be asked for before it applies. Profiles: Stances.HysteresisCycles.

zone

Terrain reading. See Zones & terrain.

Type
text
Values
off, observe, guard, full
Default
observe

How far terrain reading may change a fight. off: no zone is built. observe: the zone is built and, against players, the push policy and tell feasibility apply. guard: the mob also refuses unsafe ground. full: terrain facts also reach Jev, the conditions and the placeholders. A profile's Zone.Mode can only lower it.

Type
integer
Default
24
Unit
blocks

Radius of the zone read around a fight when the profile sets none.

Type
integer
Default
48
Range
16 – 64
Unit
blocks

Largest zone radius, including an arena (whose zone is the arena radius plus 4).

Type
integer
Default
12
Range
6 – 24
Unit
blocks

Vertical half-band read above and below.

Type
integer
Default
64
Range
1 – 256
Unit
zones

Encounters that may hold a zone map at the same time.

Type
integer
Default
4
Range
1 – 32
Unit
chunks

Chunk snapshots taken on the server thread per tick.

Type
integer
Default
2
Range
1 – 8
Unit
builds

Zone builds queued to the zone thread.

Type
integer
Default
64
Range
8 – 384
Unit
blocks

How far down a drop is followed.

Type
integer
Default
250
Range
50 – 2000
Unit
µs

Time budget of the zone step per tick.

Type
integer
Default
16
Range
0 – 256
Unit
columns

Live column reads per tick.

Type
integer
Default
4
Range
1 – 40
Unit
ticks

Shortest gap between two reads of the same column.

Type
integer
Default
256
Range
16 – 4096
Unit
columns

Changed columns that may wait for a patch.

Type
integer
Default
64
Unit
columns

Changed columns that force a full rebuild instead of patches.

Type
integer
Default
200
Range
40 – 2400
Unit
ticks

How often a busy zone is fully re-checked.

Type
integer
Default
600
Range
100 – 6000
Unit
ticks

An idle zone map is dropped after this long.

Type
integer
Default
32
Range
4 – 256
Unit
queries

Terrain queries answered per tick.

Type
integer
Default
2
Range
1 – 6
Unit
blocks

How far a knockback is assumed to carry when ThePredict checks where a push would land.

Type
integer
Default
7
Unit
blocks

How far a strong push (throw, leap, explosion) is assumed to carry.

Type
integer
Default
3
Range
0 – 8
Unit
blocks

The biggest drop that is still safe. An edge is a drop bigger than this (4 blocks or more with the default).

Type
integer
Default
10
Range
2 – 40
Unit
ticks

How often terrain facts are sampled.

Type
integer
Default
10
Range
2 – 100
Unit
ticks

A fact must hold this long before it turns on.

Type
integer
Default
40
Range
zone.factOnTicks – 400
Unit
ticks

A fact must be gone this long before it turns off.

Type
integer
Default
3
Range
0 – 5
Unit
facts

Terrain facts sent to Jev for one mob.

zone.pushDeferTickschanging soon
Type
integer
Default
10
Range
2 – 40
Unit
ticks

How long one deferral of a dangerous push lasts.

Type
integer
Default
60
Range
zone.pushDeferTicks – 400
Unit
ticks

A deferred push is skipped after this long.

Type
integer
Default
60
Range
20 – 200
Unit
ticks

How long a push stays attributed to the mob that caused it.

Type
integer
Default
4
Range
1 – 20
Unit
ticks

Retry interval while the terrain makes a tell's answer impossible (for example, no room to back off).

Type
integer
Default
40
Unit
ticks

A tell whose answer stays impossible is dropped after this long.

group

Several mobs in one encounter. See Groups.

group.modechanging soon
Type
text
Values
off, fair, coordinate, full
Default
fair

How far mobs of one encounter coordinate. off: no group step. fair: attack tokens and impact spacing per player. coordinate: also a plan, roles and positions, but in this build a plan is only adopted with the group plan question, so it behaves like fair. full: the leader's request can carry the group plan question to Jev. A profile's Group.Mode can only lower it. See Groups.

Type
integer
Default
4
Range
1 – 8
Unit
squads

Squads kept in one encounter, in order: declared squad names first, then each member whose summons are in the encounter, which heads a squad with them. Members of any further squad join the remainder, like a mob without a squad.

Type
integer
Default
100
Range
20 – 600
Unit
ticks

How long a group stays broken after its leader dies with OnLeaderDeath: break.

Type
integer
Default
4
Range
1 – 20
Unit
ticks

How often roles and tokens are re-arbitrated.

Type
integer
Default
20
Range
10 – 100
Unit
ticks

How often roles are reassigned while the group has a plan; a change of members also triggers it.

Type
integer
Default
2
Range
1 – 10
Unit
plans

Group replans per world per tick.

Type
integer
Default
150
Range
50 – 1000
Unit
µs

Time budget of the group step per tick.

Type
integer
Default
2
Range
1 – 4
Unit
weight

Melee attack weight that may press one player at once (each member uses its Group.Weight).

Type
integer
Default
2
Range
1 – 6
Unit
weight

Ranged attack weight that may shoot one player at once.

Type
integer
Default
6
Range
4 – 20
Unit
ticks

Shortest gap between two impacts on the same player. The floor of 4 is fixed.

Type
integer
Default
30
Range
10 – 100
Unit
ticks

An attack token that is not used returns after this long.

Type
integer
Default
150
Range
0 – 500
Unit
ms

Score advantage a member needs to take a token from another.

group.idleWarnTicksno effect yet
Type
integer
Default
100
Range
20 – 600
Unit
ticks

A member left without a token this long is reported.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: group.idleWarnTicks: has no effect in this build.

Type
integer
Default
150
Range
0 – 500
Unit
ms

Cost of changing a member's role, so roles do not flicker.

Type
integer
Default
90
Range
60 – 180
Unit
degrees

Sector behind the player that the group leaves open. The floor of 60 is fixed.

Type
integer
Default
200
Range
20 – 1200
Unit
ticks

While no member sees its target, the group can offer the search_last_known plan if a member saw it at most this long ago. Only matters when the group plan question is asked (full).

Type
integer
Default
2
Range
1 – 3
Unit
tells

Open MEDIUM tells on one player at once.

Type
integer
Default
10
Range
8 – 40
Unit
ticks

Spacing around a HEAVY or SEVERE impact on the same player. The floor of 8 is fixed.

Type
integer
Default
10
Range
0 – 40
Unit
ticks

How early the leader's impact slot is reserved.

Type
integer
Default
2
Range
0 – 5
Unit
ticks

Widening of a projectile's impact window to cover flight time.

Type
integer
Default
4
Range
3 – 4
Unit
plans

Most plans offered in one group plan question: at most one per family (attack, protect, retreat, search), with the local plan first.

Type
integer
Default
40
Range
10 – 200
Unit
ticks

Shortest time a chosen plan holds.

Type
integer
Default
100
Range
group.minPlanTicks – 600
Unit
ticks

A plan expires after this long.

Type
integer
Default
5
Range
0 – 50
Unit
points

Threat added toward the target a group assigns to a member.

group.factOnTicksno effect yet
Type
integer
Default
10
Range
2 – 100
Unit
ticks

A group fact must hold this long before it turns on.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: group.factOnTicks: has no effect in this build.

group.factOffTicksno effect yet
Type
integer
Default
40
Range
group.factOnTicks – 400
Unit
ticks

A group fact must be gone this long before it turns off.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: group.factOffTicks: has no effect in this build.

group.maxFactsno effect yet
Type
integer
Default
4
Range
0 – 7
Unit
facts

Group facts sent to Jev.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: group.maxFacts: has no effect in this build.

patterns

Enemy habits. See Patterns.

Type
text
Values
off, observe, bias, full
Default
observe

How far enemy-pattern reading may affect a fight. observe: detect and publish, decisions unchanged. bias: the local engine leans toward counters. full: also short phrases to Jev. bias and full stay at observe until an evaluation verdict is imported, and /thepredict status names the cause UNVERIFIED_PATTERN_MODE. A profile's Patterns.Mode can only lower it.

Type
integer
Default
16
Range
4 – 32
Unit
blocks

Meant as the range at which a mob hears enemy actions it cannot see. Today an action only counts when a member sees it.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: patterns.hearingBlocks: has no effect in this build.

Type
integer
Default
2
Range
1 – 10
Unit
ticks

How often each watched enemy's movement is sampled.

Type
integer
Default
4
Range
1 – 16
Unit
enemies

Enemies read per encounter at every sample.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: patterns.maxWatchedPerEncounter: has no effect in this build.

Type
integer
Default
16
Range
1 – 64
Unit
reads

Movement reads of enemies per tick, across the whole server. A read that does not fit waits for a later tick and counts PATTERN_READS_DEFERRED in the totals line of /thepredict status.

Type
decimal
Default
0.15
Range
0.05 – 0.5
Unit
blocks

Sideways movement that counts as a strafe.

Type
text
Values
observe, on
Default
observe

Whether swings at the air feed the patterns. Keep observe until it is verified on a server.

Type
integer
Default
6
Range
0 – 20
Unit
ticks

Window that merges repeats of the same strafe or step.

Type
integer
Default
20
Range
10 – 100
Unit
ticks

Inactivity that counts as an idle beat.

Type
integer
Default
20
Range
5 – 40
Unit
actions/s

Most enemy actions recorded per second.

Type
integer
Default
32
Range
0 – 64
Unit
contexts

Rows of the second-order predictor (what follows two actions).

Type
decimal
Default
0.98
Range
0.9 – 1

Forgetting factor of the action predictor (closer to 1 remembers longer).

Type
decimal
Default
0.98
Range
0.9 – 1

Forgetting factor of the pattern evidence.

Type
decimal
Default
0.05
Range
0.01 – 0.2

Tail probability a pattern's evidence must clear.

Type
integer
Default
8
Range
4 – 30
Unit
trials

Observations before a pattern can activate.

Type
integer
Default
3
Range
1 – 10
Unit
updates

Consecutive passing updates needed to activate.

Type
decimal
Default
0.05
Range
0 – 0.2

Gap below the threshold that deactivates a pattern.

Type
decimal
Default
4.0
Range
2 – 8

Change detector threshold: when the enemy's style changes, old evidence is dropped.

Type
decimal
Default
0.4
Range
0.2 – 0.9

Running accuracy the forecast needs before <caster.predictor.forecast> shows it.

Type
integer
Default
2
Range
1 – 4
Unit
ticks

Bin width of the reaction-time histogram.

Type
integer
Default
60
Range
10 – 500
Unit
µs

Time budget of the pattern step per tick.

Type
decimal
Default
0.5
Range
0 – 1

Largest share of casts in a window of patterns.exploitWindowTicks that a detected pattern may motivate against a player (bias and full). The pressure rung can lower it further.

patterns.maxCounterDelayTickschanging soonno effect yet
Type
integer
Default
20
Range
0 – 40
Unit
ticks

Longest delay a counter may wait for its moment.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: patterns.maxCounterDelayTicks: has no effect in this build.

Type
integer
Default
400
Range
100 – 1200
Unit
ticks

Window over which the exploit share is measured.

Type
integer
Default
3
Range
1 – 10
Unit
hits

Successful counters in a row that open a rest.

patterns.restTickschanging soon
Type
integer
Default
300
Range
0 – 2400
Unit
ticks

Length of that rest. When it ends, the pattern comes back active if the habit still holds (a new activation, with its signal in bias and full); otherwise it turns inactive.

Type
integer
Default
2
Range
1 – 4
Unit
patterns

Patterns exploited at the same time.

Type
integer
Default
40
Range
10 – 200
Unit
ticks

A pattern fact must hold this long before it reaches Jev (full).

Type
integer
Default
80
Range
20 – 400
Unit
ticks

A pattern fact must be gone this long before it is dropped.

Type
integer
Default
2
Range
0 – 3
Unit
facts

Pattern facts sent for one enemy.

Type
integer
Default
4
Range
0 – 6
Unit
facts

Pattern facts in one whole request to Jev. Enemies are filled in order, each up to patterns.maxFactsPerParticipant, until this cap is used up. Only full sends pattern facts.

learning

Outcome collection and calibration. See Learning & training.

Type
boolean
Default
false

With true, a mode or learned artifact without an evaluation verdict may activate, and every start warns with the path of learn/active.json. Keep false.

Type
boolean
Default
true

Records outcome windows for learning. It never changes a decision or what is sent to Jev.

learning.scopeno effect yet
Type
text
Values
bench, all
Default
bench

Where learned values may act: bench (mob against mob and simulations) or all (also against players, which needs a passing evaluation verdict).

No effect in this build: this build loads no learned values into fights, so the scope limits nothing yet; /thepredict learn status shows it.

Type
text
Values
priority, utility
Default
priority

Base score a learned value multiplies.

Type
list
Values
sim, bench, player_full, player_paced, player_training
Default
[sim, bench, player_full]

Fight sources that train learned values.

Type
integer
Values
2
Default
2

Version of the learning context. Only 2.

Type
integer
Default
512
Range
64 – 4096
Unit
keys

Situation keys kept per profile; past the cap, fine keys fold into coarser ones.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: learning.maxContextKeysPerProfile: has no effect in this build.

Type
integer
Default
32
Range
8 – 128
Unit
windows

Outcome windows open at once per mob.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: learning.maxOpenWindowsPerSession: has no effect in this build.

Type
decimal
Default
0.5
Range
0 – 1

Weight of the mob's own result in an outcome.

Type
decimal
Default
0.5
Range
0 – 1

Weight of the group's result.

Type
decimal
Default
0.8
Range
0.5 – 1

How fast credit fades over later windows.

Type
integer
Default
20
Range
5 – 200
Unit
windows

Windows a situation needs before its learned value is used.

Type
integer
Default
14
Range
3 – 90
Unit
days

Half-life of old outcomes.

Type
integer
Default
8
Range
2 – 26
Unit
weeks

Weeks of learning data kept.

Type
integer
Default
20000
Range
1000 – 100 000
Unit
rows

Size cap of the learning table.

Type
integer
Default
20
Range
0 – 200
Unit
thousandths

Below this spread between options, the learned factor is 1 (it changes nothing).

Type
integer
Default
2000
Range
200 – 10 000
Unit
rows

Rows read per slice while building an artifact.

Type
boolean
Default
false

With true, mob-against-mob duels may explore other tactics.

Type
text
Values
"off", shadow, on
Default
off

Skipping a question to Jev when the local answer is very likely the same. shadow only measures; on waits for its evaluation gate.

Type
text
Values
"off", shadow
Default
off

In shadow, a hint for Jev is computed and stored in the records but never sent; the request is the same as with off.

Type
text
Values
"off"
Default
off

Reserved. Only "off".

learning.exploration

Type
text
Values
epsilon
Default
epsilon

Exploration policy. Only epsilon.

Type
decimal
Default
0.10
Range
0 – 0.3

Probability of exploring another tactic, where exploration is allowed (see PredictorTraining).

Type
decimal
Default
0.2
Range
0 – 0.5

Largest share of adoptions that may be explorations.

learning.calibration

Type
integer
Default
48
Range
24 – 1000
Unit
decisions

Labelled decisions needed before confidence calibration.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: learning.calibration.minDecisions: has no effect in this build.

Type
integer
Default
20
Range
0 – 200

Strength of the calibration prior.

Type
integer
Default
500
Range
100 – 5000
Unit
windows

Reference windows of the calibration drift detector.

No effect in this build: the key is accepted and validated, but the engine does not read it. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: learning.calibration.driftReferenceWindows: has no effect in this build.

learning.voi

Type
integer
Default
50
Range
20 – 1000
Unit
windows

Windows a situation needs before a skip is considered.

Type
decimal
Default
0.90
Range
0.5 – 0.99

Lower bound of agreement with Jev needed to skip.

Type
decimal
Default
0.02
Range
0 – 0.2

Largest expected gain of asking that still allows a skip.

Type
integer
Default
2
Range
1 – 10
Unit
skips

Skips in a row before a question is sent anyway.

autoconfig

Limits of the overlay workflow. See Profile overlays.

Type
integer
Default
81
Range
9 – 729
Unit
configurations

Size of the first round of an offline configuration search (includes the current one and the defaults).

No effect in this build: the offline search these keys tune does not run on the server in this release. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: autoconfig.initialConfigs: has no effect in this build.

Type
integer
Default
20
Range
5 – 100
Unit
pairs

Fight pairs in the first round.

No effect in this build: the offline search these keys tune does not run on the server in this release. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: autoconfig.initialPairs: has no effect in this build.

autoconfig.etano effect yet
Type
integer
Default
3
Range
2 – 4

Reduction factor between rounds.

No effect in this build: the offline search these keys tune does not run on the server in this release. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: autoconfig.eta: has no effect in this build.

autoconfig.maxPairsno effect yet
Type
integer
Default
8000
Range
1000 – 50 000
Unit
pairs

Most fight pairs in a search.

No effect in this build: the offline search these keys tune does not run on the server in this release. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: autoconfig.maxPairs: has no effect in this build.

Type
integer
Default
90
Range
10 – 600
Unit
minutes

Longest search time.

No effect in this build: the offline search these keys tune does not run on the server in this release. A value other than the shipped one logs a warning at startup: AIConfig/config.yml: autoconfig.maxMinutes: has no effect in this build.

Type
text
Values
"off"
Default
off

Only "off": nothing is ever applied automatically. Overlays are applied by hand with /thepredict autoconfig apply (see Profile overlays).

ThePredict 0.0.1 · release candidate. These pages describe this build, checked against its source code; it has not been verified on a live server yet.

ThePredict is an independent MythicMobs addon. Jev is TypeSafe's decision model; naming it does not imply endorsement. Fonts: Pixelify Sans, Inter and JetBrains Mono, under the SIL Open Font License.