Sheet 44 of 47 · Reference Filesconfig.json · workflow.json · launch.json · config/ignitetestcamera.properties · +6
Fileconfig.jsonFileworkflow.jsonIgniteTestTool keeps its settings in two JSON files in the data folder: config.json for paths and defaults, workflow.json for the scenario folder, deploy and schedule. The Settings, Deploy and Schedule screens write both, so most people never open them. This sheet lists every key with its default.
Fileconfig.jsonThe data folder is %LOCALAPPDATA%\IgniteTestTool on Windows and ~/.ignitetesttool where LOCALAPPDATA is not set (Linux). --data-dir <dir> or ITT_DATA_DIR picks another one, --config <file> or ITT_CONFIG another config.json.
- Fileconfig.jsonOn start the tool reads
config.json, fills in every key the file does not have with its default and writes the file back, so a key added in a newer version shows up with its default.
- A file that is not a JSON object stops the start with
config is not a JSON object.
- Saves go through a temp file and a move, so a crash in the middle never leaves half a file.
- Settings starts from what is saved, so a key it has no field for keeps its value in the file.
Top first:
- A parameter on the call:
drive=, recorder=, kitDir=, endCardUrl= and the like.
- The command line:
--data-dir, --config, --api-port.
- The
ITT_* environment variables.
- Fileconfig.json
config.json.
- The built-in default.
Fileconfig.jsonCI mode writes its options into a fresh config.json of its own.
Values that cannot work are named in plain words, with the key in brackets: a port outside 1 to 65535, a timeout or fps below 1, a longest reconnect delay below the first one, a render timeout outside 30 to 3600, a drive, recorder, token mode, nametag mode or crash policy that is not one of its values, filmRecorder set to obs without an obsScript, and the mod camera on the API port while modCamera is on.
- On start every problem is logged as a warning.
- The Settings screen shows the first problem in its status line and will not save until it is fixed.
- When
--api-port or ITT_API_PORT lands on modCameraPort with the mod camera on, the tool warns on start: Mod camera and API share port N.
Fileconfig.jsonA config.json saved by 1.3.0 or older can carry paths of the machine the tool was built on in javaPath, serverDir, clientLaunchJson and modCameraJar. On start each of them is cleared when nothing is there, and a modCameraPort of 8767 moves to 8769. The log says Moved settings from an older version. A path that exists on your machine stays as it is.
The Settings column is the group and field on the Settings screen. Lists are JSON arrays in the file and take | between the values on Settings.
| Key | Default | Settings | Meaning |
|---|
serverDir | empty | Test server > Server folder | The server Start server runs, and the folder deploy, checkpoints, the result cache and file steps work in. Empty until you pick one; Start server and Deploy then stop with No server folder set instead of guessing |
serverJar | paper.jar | Test server > Server jar file | The jar in that folder |
serverMemory | 3G | Test server > Memory | -Xmx for the server, the way Java takes it: 4G or 2048M |
serverStopTimeoutSeconds | 60 | Test server > Stop timeout | Seconds the server gets after stop, then it is killed |
javaPath | empty | Test server > Java program | The Java the server and clients run on. Empty runs them on the Java the tool itself runs on |
| Key | Default | Settings | Meaning |
|---|
botHost, botPort | 127.0.0.1, 25565 | Bots > Server address and port | Where a new bot joins. The Bots header and host, port on the API change it per bot |
velocityForwardingSecret | empty | Bots > Velocity forwarding secret | The forwarding.secret of a Velocity proxy, for joining a backend straight, see Proxies & Transfers |
botVersion | empty | Bots > Minecraft version | The version bots speak. Empty or auto asks the server, see Bots |
botViewDistance | 4 | Bots > Chunks a bot loads | Around the bot, fewer is lighter on the server |
chatLogLines | 300 | Bots > Chat lines kept | Per bot, older lines are dropped |
swarmPattern | Test_{n} | Bots > Swarm names | The names a swarm gets |
swarmStaggerMillis | 600 | Bots > Pause between swarm joins | Milliseconds between two joins of a swarm |
reconnectDelaySeconds | 5 | Bots > First reconnect delay | Seconds before the first reconnect, doubled after every failed try |
reconnectMaxDelaySeconds | 60 | Bots > Longest reconnect delay | The doubling stops here. At least the first delay |
A plain Minecraft window started from the Live screen, to watch a test with your own eyes.
| Key | Default | Settings | Meaning |
|---|
clientLaunchJson | empty | Game client > Client launch file | The launch.json of the old launcher flow, only for Start client. Empty stops Start client with No client launch file set; a takeover downloads its own client |
clientMemory | 3G | Game client > Memory | |
clientUsername | empty | Game client > Username | The name the client joins with. Empty keeps the name in launch.json |
clientWidth, clientHeight | 1920, 1080 | Game client > Window size | In pixels |
| Key | Default | Settings | Meaning |
|---|
takeoverVersion | empty | Taking over a bot > Minecraft version | The client version with takeoverDirect on. Empty takes what the server reports |
takeoverMinecraftDir | empty | Taking over a bot > Existing .minecraft | Copy client files from there instead of downloading them |
takeoverJava | empty | Taking over a bot > Java for the client | Empty uses the Java runtime the tool downloads for the client |
takeoverLaunchJson | empty | Taking over a bot > Modded client launch file | A launch file for a client you installed yourself. Empty downloads vanilla. See Takeover |
takeoverReconnect | true | Taking over a bot > After the client exits | Bring the bot back when the client closes |
takeoverDirect | false | Taking over a bot > Connection | Connect the client straight to the server, without the takeover proxy |
The client files land in client-cache in the data folder. See Takeover.
| Key | Default | Settings | Meaning |
|---|
modCamera | false | Mod camera > Use the mod when present | An optional Fabric mod inside the takeover client for roll, live fov and render-fps moves |
modCameraPort | 8769 | Mod camera > Port | The mod's localhost port. Every takeover with modCamera on writes it into config/ignitetestcamera.properties of the client. Keep it off the API port |
modCameraJar | empty | Mod camera > Mod jar | The built IgniteTestCamera jar to copy into the client. Empty copies nothing |
modCameraModsDir | empty | Mod camera > Client mods folder | Empty is mods in cinematicProfileDir, else in the game folder of the client being taken over |
A call's drive= and recorder= win over the first two. More on Filming.
| Key | Default | Settings | Meaning |
|---|
filmDrive | cine | Filming > Camera drive | cine (Server camera), keys (Keys), sendinput (Windows mouse) or mod (Camera mod) |
filmRecorder | internal | Filming > Recorder | internal (Built in, ffmpeg on a window grab) or obs (OBS). obs needs obsScript |
ffmpegPath | ffmpeg | Filming > ffmpeg program | A bare name is looked up on the PATH |
obsScript | empty | Filming > OBS control script | The Node script that talks to OBS over its websocket. It does not ship with the tool |
nodePath | node | Filming > Node program | Runs the OBS script and the render kit |
filmOutputDir | empty | Filming > Clip folder | Empty is film in the data folder |
filmFps | 60 | Filming > Frames per second | Default fps of a shot, up to 120 |
filmTakeoverTimeoutSeconds | 150 | Filming > Wait for the client | Seconds a shot waits for the takeover client |
filmPrewarmMillis | 1500 | Filming > Chunk warm-up | Upper bound of the chunk wait before recording |
filmPresetsFile | empty | Filming > Shot presets | A JSON file of named shots for preset= |
sendinputHz | 125 | Filming > Mouse steps | Steps a second of the sendinput drive |
sendinputPixelsPerDegree | 8.0 | Filming > Mouse pixels per degree | Match the client's sensitivity |
filmHandheld | 0.03 | Filming > Handheld sway | What handheld=on uses |
filmParticleCount | 12 | Filming > Particles per burst | For particles= |
cameraNametags | off | Filming > Other players' nametags | off (Show), hide (Hide) or rename (Rename) |
cameraNames | ten first names | Filming > Names for Rename | Comma between names |
cinematicShader | false | Filming > Cinematic look | Depth of field, motion blur and bloom while filming |
cinematicFov | empty | Filming > Field of view | Degrees. Empty keeps the client's |
cinematicProfileDir | empty | Filming > Client profile folder | The profile the cinematic look patches. Empty is the game folder of the client being taken over |
cinematicDofSamples | 16 | Filming > Depth of field samples | Fewer is faster |
cinematicSpeedScale | 1.5 | Filming > Slower with the shader | Times the shot length |
More on Auto Director.
| Key | Default | Settings | Meaning |
|---|
scanRadius | 48 | Auto director > Scan radius | Blocks around the point |
autofilmMaxShots | 12 | Auto director > Shots per run | For /autofilm |
autofilmSeedVariety | true | Auto director > Variety | Vary angle, time and moves per build |
bestLightDefault | false | Auto director > Light | Pick the time of day that lights the camera side best |
coverageDistance | 8.0 | Auto director > Coverage distance | Blocks from the subject, for /film/coverage and /sequence |
renderKitDir | empty | Auto director > Render kit folder | The shorts render kit with build.cjs, for /render and /produce. It does not ship with the tool; kitDir= on the call wins |
renderTimeoutSeconds | 1200 | Auto director > Render timeout | Seconds per short, 30 to 3600 |
produceMaxShorts | 6 | Auto director > Shorts per run | For /produce |
produceFps | 30 | Auto director > Short fps | Of the finished short |
produceEndCardUrl | empty | Auto director > End card address | The address on the end card. Empty leaves the end card out |
produceEndCardCta | Join | Auto director > End card button | |
produceTaglines | four lines | Auto director > End card taglines | One is picked per short |
produceLines | eight lines | Auto director > Lines on screen | Three are picked per short |
produceConcepts | jv-world, jv-slam, jv-strip, jv-split | Auto director > Kit concepts | Template names in the kit |
produceStyles | house, synthwave, lofi, futurebass, techno, trap, cinematic, dnb | Auto director > Music styles | Music styles in the kit |
produceAccents | six colours | Auto director > Accent colours | Like #46e6b4 |
produceGrade | contrast(1.1) saturate(1.22) brightness(1.08) | Auto director > Colour grade | A CSS filter. Empty is none |
| Key | Default | Settings | Meaning |
|---|
agentUrl | http://127.0.0.1:8768 | Looking inside the server > Agent address | Where IgniteTestAgent listens. For a server on another machine it is the tunnel end or http://host:8768 after bind: 0.0.0.0, see Remote server |
agentToken | empty | Looking inside the server > Agent token | Empty reads it from plugins/IgniteTestAgent/config.yml in the server folder on every call |
agentTimeoutSeconds | 15 | Looking inside the server > Agent timeout | Seconds per agent call |
rconHost, rconPort | 127.0.0.1, 25575 | Looking inside the server > RCON address and port | For /rcon and rcon steps on a server the tool did not start |
rconPassword | empty | Looking inside the server > RCON password | |
rconTimeoutSeconds | 5 | Looking inside the server > RCON timeout | Seconds per command, for the connect and the answer |
| Key | Default | Settings | Meaning |
|---|
apiPort | 8766 | API > API port | A new port applies after a restart. --api-port and ITT_API_PORT win |
apiTokenMode | exec | API > Token needed for | exec (Calls that change things), all (Every call) or off (No call). See HTTP API |
| Key | Default | Settings | Meaning |
|---|
useJobObject | true | Safety > Kill children with the tool | The Windows job object, applies after a restart. See Process Safety |
scanIntervalSeconds | 3 | Safety > Process scan every | How often the process list refreshes, applies after a restart |
survivorPolicy | ask | Safety > Leftovers from a crash | What to do with processes a crashed session left: ask (Ask me), kill (Stop them) or ignore (Leave them). Headless stops them unless it is ignore |
gradleUserHome | empty | Safety > Gradle user home | GRADLE_USER_HOME for builds the tool runs |
The scenario folder, Hot Deploy and Schedule. /workflow reads it and /workflow/set?key=value changes any key, call workflow/set deployProject=<dir> from a shell.
| Key | Default | Meaning |
|---|
scenarioDir | empty | The scenario folder. Empty means scenarios in the data folder |
deployProject | empty | Where the build runs |
deployBuild | gradlew build | The build command, empty to only copy |
deployArtifacts | build/libs/*.jar | Globs of the plugin jars, relative to the project, ; between them |
deployBuildTimeoutSeconds | 600 | Seconds before the build is killed with its process tree |
deployRestart | true | Stop the server, copy, start and wait for Done |
deployWatch | false | Deploy on its own when a jar changes |
deployRunScenarios | false | Run the scenario folder after a deploy and fail the deploy on a failed scenario |
scheduleEnabled | false | |
scheduleMode | daily | daily or interval |
scheduleTime | 03:00 | For daily |
scheduleEveryMinutes | 60 | For interval |
scheduleDeployFirst | false | Build and deploy before a scheduled run |
scheduleRepeat | 1 | Runs per file, up to 50 |
webhookUrl | empty | A Discord URL gets an embed, anything else a JSON body |
webhookOnlyFailures | false | Post only runs that failed |
webhookOnDeploy | false | Post every deploy too |
| Variable | What it does |
|---|
ITT_LICENSE | The license key. Wins over license.key, and in CI mode and JUnit takes the shared CI slot. See License |
ITT_API_TOKEN | Replaces the token in api-token.txt, for the tool and for the command line client |
ITT_DATA_DIR | The data folder when --data-dir is not given. The command line client reads it too |
ITT_CONFIG | The config.json to use when --config is not given |
ITT_API_PORT | The API port when --api-port is not given. Wins over apiPort |
LOCALAPPDATA | Where the default data folder goes on Windows |
GITHUB_STEP_SUMMARY | Set by GitHub Actions; CI mode writes its summary there too |
| Path | What it holds |
|---|
config.json, workflow.json | The settings above |
ui.json | The window: position, theme, Look settings, folded headers, tool options and saved setups |
license.key, .license, .license-ci | The key and the activation tokens, see License |
api-token.txt, api-port.txt | The API token and port. The command line client finds a running tool through them |
instance.lock | One tool per data folder; a second start stops with IgniteTestTool is already running for <dir> |
accounts.dat, premium-hosts.json | Premium refresh tokens sealed with DPAPI, and the remote hosts you approved. See Premium Accounts |
processes.json | PID and start time of every process the tool started, for the cleanup after a crash |
scenarios/ | The default scenario folder |
history/ | Every run of every file, <file>-<folder hash>.jsonl, 300 kept per file |
result-cache.json, impact/, jacoco/ | The result cache, the methods each file ran, the coverage agent |
checkpoints/, snapshots/ | Checkpoints and menu snapshots |
captures/ | Screenshots and recordings |
film/ | Filmed clips, unless filmOutputDir says otherwise |
fuzz/, load/, soak/ | One folder per job with report.json and report.html |
client-cache/ | The takeover client's files |
via/ViaLoader | ViaVersion configs for bots on other server versions |
logs/ | The tool's own logs |
| Code | Window or --headless | CI mode | Command line client |
|---|
0 | Clean exit | Every scenario passed | Everything passed |
1 | Could not start | A scenario failed, the server did not start or a file did not parse | Something failed |
2 | Bad option, or already running for this data folder | Bad command line | The tool is not reachable |
3 | Not licensed, or the license was lost while running | Not licensed | |