Installation
#What you need
- Spigot or Paper 26.3, or a fork of them, like Purpur, for the plugin. Or Fabric 26.3 with Fabric API, or NeoForge 26.3, for the mod, on a dedicated server or in your own game.
- Java 25.
- An Allay backend. Allay talks to
https://allay.chatout of the box. You can also run your own Allay Server. - Optional on Spigot and Paper: GriefPrevention, PlaceholderAPI, and Plan. On Fabric: Flan or another claims mod behind Common Protection API, Text Placeholder API, LuckPerms, Plan, and Vanish. On NeoForge: Flan or Open Parties and Claims, Placeholder API NeoForge, LuckPerms, and Vanishmod. See Integrations.
Every release is on GitHub. The plugin for Paper is also on Hangar, and the plugin and both mods go on Modrinth as Allay AI once its review there ends.
#Install the plugin
#With Docker (recommended)
If your server runs in itzg/minecraft-server, it fetches Allay itself. Give PLUGINS the jar's address on allay.chat:
services:
minecraft:
image: itzg/minecraft-server:java25
environment:
EULA: "TRUE"
TYPE: PAPER
VERSION: "26.3"
PLUGINS: |
https://allay.chat/download/allay-spigot.jar
ports: ["25565:25565"]
volumes: ["./data:/data"]
- Start the stack with
docker compose up -d. - To pin a version, add it to the name, like
https://allay.chat/download/allay-spigot-6.11.0.jar. - To add the optional plugins, list them in
MODRINTH_PROJECTS, one per line:placeholderapi,griefprevention,plan.
allay.chat hands over the jar from the GitHub release. The release's own link doesn't work here: GitHub answers it with a redirect whose headers are larger than the image's downloader accepts (itzg/mc-image-helper#913).
#By hand
- Download
allay-spigot.jarfrom the latest release. - Put it into
plugins/. - Restart the server.
On its first start Allay writes plugins/Allay/config.yml and the texts in plugins/Allay/lang/, and downloads the country database into plugins/Allay/geoip/.
#Install a mod: Fabric or NeoForge
The same Allay as a mod, with every tool, window, and automation agent the plugin has. Pick the jar for your loader. Both behave alike.
#On a dedicated server
- Fabric 26.3: put
allay-fabric.jarand Fabric API intomods/. - NeoForge 26.3: put
allay-neoforge.jarintomods/. It needs nothing else.
Kotlin is inside Allay's jar, and players need nothing on their side. Restart the server.
With itzg/minecraft-server, put the jar's address on allay.chat in MODS. On Fabric, MODRINTH_PROJECTS brings Fabric API:
services:
minecraft:
image: itzg/minecraft-server:java25
environment:
EULA: "TRUE"
TYPE: FABRIC
VERSION: "26.3"
MODRINTH_PROJECTS: fabric-api
MODS: |
https://allay.chat/download/allay-fabric.jar
ports: ["25565:25565"]
volumes: ["./data:/data"]
On NeoForge, Allay needs nothing else:
services:
minecraft:
image: itzg/minecraft-server:java25
environment:
EULA: "TRUE"
TYPE: NEOFORGE
VERSION: "26.3"
MODS: |
https://allay.chat/download/allay-neoforge.jar
ports: ["25565:25565"]
volumes: ["./data:/data"]
The optional mods go into MODRINTH_PROJECTS too: luckperms, flan, open-parties-and-claims, and the rest from the list above. With MODRINTH_DOWNLOAD_DEPENDENCIES: required the image also fetches what they need, like Forge Config API Port for Open Parties and Claims on Fabric.
Allay keeps its files in config/allay/: config.yml, lang/, license.key, the country database, and the sealed lists of who agreed.
#In singleplayer
Put the jars into the mods/ folder of your game with Fabric Loader or NeoForge for 26.3, and open a world. Allay runs on your game's own server, also when you open the world to LAN, and answers there as it does on a dedicated server.
config/allay/in your game folder holds the settings and the license for every world, so you link once. A world keeps only its own server id in its save.- You own the world, so
/allay link,/allay status, and/allay reloadwork for you with cheats off. Operator tools, like giving items, need cheats on. - A license made in your own game is a Solo license: it answers you alone and buys the cheaper Solo plans, as Paying for the model says.
#With the mod on other servers
Allay runs where its server runs it. With the mod in your game:
- A server with Allay, the plugin or a mod:
/askand the rest go to that server, as for everyone else there. - A server without Allay:
/ask,/askall,/askx, and/allayanswer with one line that Allay can't work there. The world and its chests belong to that server, so Allay has nothing to read or move. Ask the owner to add it.
The mods add no blocks or items, so your game joins any server with one, and players without it join a server that has it.
#Pick a backend
The backend runs the AI model, and the plugin runs the game tools. Choose one of two:
#The hosted backend (allay.chat)
Nothing to set up: server.url already points at https://allay.chat. You pay for the model with a subscription or bring your own key, as Paying for the model explains.
#Your own backend (Allay Server)
Run Allay Server next to Minecraft, and there's no billing at all.
- Start Allay Server with
SELFHOSTED=1and aPLUGIN_TOKENof 24 characters or more, as its self-hosting guide shows. WithoutSELFHOSTEDthe backend wants a license, and without the token it answers no plugin. - In
plugins/Allay/config.yml(config/allay/config.ymlwith the mod), pointserver.urlat it and put the same token inserver.token. In the same compose file that's the service name and port:server: url: "http://allay:3000" token: "the backend's PLUGIN_TOKEN" - Run
/allay reload. - Run
/allay initas an operator. It gives you a one-time link, valid for 30 minutes, to the backend's admin panel, where you create the first account and set the model key.
/allay status then says the backend is self-hosted, and nobody needs to pay or link anything.
Next: Paying for the model
