Skip to content
Allay AI

WikiAllay plugin

Installation

#What you need

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

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"]
  1. Start the stack with docker compose up -d.
  2. To pin a version, add it to the name, like https://allay.chat/download/allay-spigot-6.11.0.jar.
  3. 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

  1. Download allay-spigot.jar from the latest release.
  2. Put it into plugins/.
  3. 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

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 reload work 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: /ask and the rest go to that server, as for everyone else there.
  • A server without Allay: /ask, /askall, /askx, and /allay answer 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.

  1. Start Allay Server with SELFHOSTED=1 and a PLUGIN_TOKEN of 24 characters or more, as its self-hosting guide shows. Without SELFHOSTED the backend wants a license, and without the token it answers no plugin.
  2. In plugins/Allay/config.yml (config/allay/config.yml with the mod), point server.url at it and put the same token in server.token. In the same compose file that's the service name and port:
    server:
      url: "http://allay:3000"
      token: "the backend's PLUGIN_TOKEN"
  3. Run /allay reload.
  4. Run /allay init as 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