Development
Plugins and mods that want to extend Allay: see Expansions.
#Stack
- Kotlin and Gradle Kotlin DSL, Java 25.
- Spigot API 26.3, so the plugin runs on Spigot and Paper.
- The game's own names (26.3 ships unobfuscated) for both mods:
modcorebuilds against NeoForm's Minecraft through ModDevGradle, with a few narrow mixins where a loader has no event; Fabric Loader, Fabric API, and Loom for the Fabric mod; NeoForge and ModDevGradle for the NeoForge mod. - kotlinx-coroutines and kotlinx-serialization.
- OkHttp for the backend's Server-Sent Events.
- MaxMind DB reader for the country database.
- SnakeYAML, so
corereads YAML without Bukkit. - Optional, compile only: GriefPrevention, PlaceholderAPI, and the Plan API for the plugin; Text Placeholder API, Common Protection API, Flan, and Open Parties and Claims for both mods; fabric-permissions-api and the Plan API for the Fabric mod. NeoForge's PermissionAPI is part of NeoForge.
#Tests
./gradlew build runs every module's tests, and both mods' game tests (modcore/src/gametest, the same tests on Fabric and NeoForge): a real server with real survival players who ask every tool, open the windows, press the buttons, and run automation agents against real chests, furnaces, stands, and tables. They cover the planners (chests, inventory layouts, crafting, brewing, the anvil), the game's formulas, the protocol and its stream parser, billing, quotas, languages (LangTest checks that every language file has every English key), consents with the notice's hash and the age question, players' state on the backend and the sealed files, the locator rules, vanish, and drafts. See Building from source for the check on a real Paper.
#Texts
Code, comments, commit messages, and config.yml are English. Player-facing texts live in core/src/main/resources/lang/<code>.yml (en, ru, es, pt, de), and a new text goes into every one of them.
#Commits
Short one-line imperative English messages, one logical change per commit: “Show tool results as ⎿ lines”. A change that reaches what the project ships goes into CHANGELOG.md in the same push.
#Autopilot
Every Monday at 03:00 UTC, .github/workflows/autopilot.yml runs Claude: it updates the dependencies and the game version, fixes what breaks, pushes to master, and runs the “Release” workflow when what the project ships changed.
#AI involvement
AI wrote parts of the documentation and some of the code at first. Since 2.0 the plugin is written by an AI agent, Claude, from my specs: the protocol, the tools, the windows, the languages. AI also writes the commit messages from the changes.
#Credits
IP Geolocation by DB-IP, licensed under CC BY 4.0. Profession and item names in the windows come from Minecraft's own translations.
