Introduction

1figure
6min read
Sheet 1 of 47 · Getting Started

IgniteTestTool is a desktop tool for testing Paper plugins with real bots, and for keeping every test process under control. It starts a server, fills it with bots, clicks through menus, runs scripted regression tests, sends raw packets and swaps a bot for a real Minecraft window. All of it can also be driven over a small HTTP API.

It was built for IgniteSky and IgniteZombies, but nothing in it is specific to them. It needs a license key, entered once on the first start; see License & Machine Slots.

Live, the screen the tool opens on.
The Live screen: the server console, a row of bot screens under it, the rundown of test files on the right and four keys along the bottom

What it does

PartWhat you get
BotsMCProtocolLib clients that run as threads inside the tool, so they cannot outlive it. They chat, open and click menus, read dialogs, walk with real physics and pathfinding, dig, place, fight, craft, and reconnect on their own.
SwarmsDozens of bots from a name pattern, or one bot per saved premium account.
Any 1.21 serverBots speak 1.21.11, and ViaVersion inside the tool translates to 1.21.4 through 1.21.10.
Signed chatPremium bots sign chat and /msg, /say, /me like the real client, so they talk on servers with enforce-secure-profile=true.
Proxy networksBots join through Velocity or BungeeCord, switch servers with /server or plugin messages, follow transfer packets and keep cookies. /stats says which backend they are on.
TakeoverSwap a bot for a real vanilla client on the same account and server, then hand it back. The client goes through a local proxy, so the tool still reads its menus, dialogs and chat, and can screenshot or record its window.
Menus and dialogs as dataThe open window comes back as JSON with every item's name and lore, as plain text and as styled runs with colors. The last dialog the server showed comes back as its full definition.
Packet composerSend any serverbound packet from a form, or raw bytes past the codec.
ScenariosJSON or YAML scripts that join, run commands, expect windows and chat, click items and assert state, with a live report. Checks can look at colors, bold and glint, and dialogs can be checked and answered. Files can include each other, call named step groups with parameters and run once per row of a matrix or CSV.
RecorderPlay the bot, in the tool or in Minecraft, and get a scenario back, with checks you add as you go.
DebuggerBreakpoints on scenario steps, single stepping and the variables at every stop.
History and flaky stepsEvery run is kept. Run a file N times and see which steps fail sometimes and how their time spreads.
Menu crawlerWalks every menu from a command, skips clicks that look unsafe and returns the whole graph. Waits on packets instead of fixed sleeps, follows pages and answers chat prompts. Exports to the website's menu explorer and to GUI Studio.
Menu diffSnapshot the menus, reload the plugin, snapshot again, and see which titles, names and lore changed.
Visual regressionRenders every crawled menu to PNG through GUI Studio, compares it with a baseline and writes diff images and a report.
GUI fuzzerHammers a menu with every click type and checks the bot's items after each move. A dupe comes back as a scenario that replays it.
Load runsA swarm doing one thing for a while, with TPS, MSPT, ping and GUI open times in a report.
Soak runsBots that play like people for hours, with TPS, MSPT and heap over time and a warning when one of them drifts.
spark reportsLoad and fuzz runs can run the spark profiler and put the report links in their report.
Server watcherReads the server log while tests run, groups stack traces, blames a plugin and the step or click that caused them, and fails scenarios on them.
Hot deployBuild the plugin, swap its jars, restart the server and rerun the scenarios in one click, or on its own when a jar changes.
Command coverageWhich registered plugin commands and subcommands the tests actually ran.
CI modeRuns scenarios without the window, starts and stops the server, writes JUnit XML and exits 0 when everything passed, 1 when something failed, 2 for a bad command line and 3 when not licensed.
JUnit 5Every group of a scenario file as its own test in your plugin's build, and steps written in Java.
Workers--workers 3 copies the server three times and runs a third of the scenario files on each, side by side.
Short looprun suite/ --cache --deploy from a shell builds the plugin, restarts the server, runs only the scenario files whose inputs changed and prints a short report, with what the bot saw when a step failed.
ScheduleThe scenario folder nightly or every N minutes, optionally after a deploy, with a report to Discord or any JSON webhook.
Browser panelThe running tool in a browser tab: run and check scenarios, read the short report, start the server, watch bots and the result cache.
Process controlServer, clients and commands run in a Windows job object, so nothing survives the tool. A ghost scanner finds leftovers from earlier runs.
FilmingOver the API: take over a bot and record camera moves of the server to MP4, stage players in the shot, or let the auto director find the builds and film them.

The six rooms

The list on the left of the window groups every screen into six rooms. Ctrl+1 to Ctrl+6 switch between them.

RoomScreens
LiveThe server console and every bot on one wall, the test run as a rundown
BotsBots, Packets, Accounts
TestsScenarios, Coverage (commands and code lines), Schedule
ExploreCrawl, Fuzz, Load, Soak
ServerProcesses, Console, Deploy, Agent, Watch, Checkpoints, Ghosts
SetupSettings, API (endpoints, examples and usage)

How a test run fits together

The strip across the top of every screen is the signal chain: plugin, build, server, agent, bots, API. Each link has a lamp, grey when off, amber while working, green when up and red when it failed, so it is clear where things stop. A click on a link opens its screen.

A typical run walks that chain from left to right. Deploy builds the plugin and swaps its jar on the server. The server agent, IgniteTestAgent, answers what bots cannot see from the outside. Bots play the scenario, and the API lets a script or the command line drive the same steps without the window.

Where to go next

Loading the index

Enter openUp Down moveEsc close