Repository navigation
Builds
Since 6.37, with Allay Server 6.33. Allay builds real builds by their authors, from your own blocks, the way you would place them yourself. It never invents a build: every one comes from Allay's catalog, allay-ai/schematics, with its author and license.
Ask in your own words: “find me a modern villa”, «домик у озера», “a small medieval tower”. Allay searches the catalog and offers a few builds with their size and author. Pick one, and it stands in front of you as a preview.
Only you see it: the whole build in full-size blocks, as it will stand. The server tells your game the blocks are there, and the world itself doesn't change: grass and plants in the way vanish from your view only. Your game takes them for solid, so you walk around the preview's walls as around a real house. A frame of particles marks the whole box, and a red box shows each spot where something of the world stands in the way. The bar on top names the build, its size, and its block count. When you clear the preview, move it, or the builder takes it over, your game gets the world's real blocks back.
Ask Allay to change it:
- Move it: “two blocks left”, “one down”, “further away”. It stays within the world's height: a build shown too high or too low moves until it fits.
- Turn it: “turn it to face the sea”.
- Mirror it: left becomes right.
- Swap a material: “stone bricks instead of cobblestone”, “dark oak instead of oak”. Stairs, slabs, walls, and fences of the material follow it.
- Clear it.
A build keeps its shape: Allay can't make it taller, add a floor, or move a room. Ask for that, and it offers another build from the catalog or other blocks for this one.
“What do I need for it?” opens a chest window with each material as its item, what's short first; its tooltip says how many the build takes and how many you have in your inventory and the chests around, and what's all there shines. The top row sums it up. What lies in your ender chest is counted apart, since the builder takes from it only once you allow it. The window also lists the hoe and shovel uses (for farmland and paths), the water bucket, and blocks no survival player can get, such as bedrock or a spawner. Allay asks you what to build those with instead. A swap takes a block you place from an item: never water, lava, or fire.
Say “build it”, and the builder takes over: an automation agent that places the preview block by block from your blocks, at the server's speed.
- Where blocks come from. Your inventory, the chests around you may open, and your ender chest only once you allow it. You can also name certain chests.
- What it waits for. Short of something, it stops, tells you what and how many, and goes on by itself once you put it in your inventory or a chest nearby. It reminds you now and then.
- How it places. Solid blocks go up first, layer by layer from the bottom, then torches, doors, plants, and rails, then water and lava. Each block goes through the server's usual place event, so claims refuse it where you couldn't build, and block loggers like CoreProtect record it. Leaves stay: they never decay. Signs get their text.
- Water and lava. Water sources and waterlogged blocks need a water bucket at hand, which the builder keeps. A lava source takes a lava bucket, and the empty bucket comes back to you.
- Tools. Farmland takes a hoe's use and a path a shovel's, from the worst tool you have and the most worn one first. Unbreaking spares uses as in the game.
- In creative, it takes nothing.
- Clearing the site. First it clears the box of the world's own ground, stone, plants, and trees, top down, so nothing falls into a hole. A tree goes whole, its leaves too. Each broken block counts against the server's speed, as a placed one does. Under the build's own lot the world's ground stays, but a basement, a tunnel, or a pit the build closes in is dug out. The lot's grass, flowers, and snow layers never get in the way: where something stands already, the builder passes them by.
- Claims keep what's yours. The world's own blocks make way, cobblestone, sandstone, terracotta, and ice among them, wherever they came from: the game can't tell a placed block from a grown one. Every break goes through the server's break event (on the mods, the claims mod), so a claim keeps a player's house; build where you may.
- What drops. What a hand takes drops as by hand: dirt, sand, gravel, plants. Stone and ores drop only for a pickaxe from your sources that can mine them, the worst first, which wears for it: iron ore needs a stone pickaxe, diamonds an iron one. Without one they break for nothing. A container's contents always come to you. Drops go to your inventory, then the chests it builds from; what's left falls at your feet every couple of seconds, in full stacks. In creative nothing drops but a container's contents.
- As the game would. Fences, panes, bars, and walls join what stands beside them, stairs turn into corners, and doors come whole, as when you place them yourself, even where an older schematic didn't save it. A build an older game saved keeps its blocks as they looked: 1.13's stone slab goes up as today's smooth stone slab, and signs keep their text from any version.
- Spots in the way. What a player built stays: the builder leaves the spot and goes on. At the end it tells you where those spots are, and builds them once you cleared them.
- The bar on top shows how far it got, in percent and blocks.
- When it's done, it tells you where spots were in the way and builds them once you cleared them. Ask for a new build meanwhile, and the new one takes its place.
- While you're away, it pauses. When you leave the game or the server restarts, it comes back with you and goes on where it stood.
Tell the agent what you want on the way: “pause”, “go on”, “leave out the glass”, “spruce instead of oak from here”. /allay cancel stops it: what it placed and what it took stay.
One builder per player at a time, beside your other agents.
Builds are off until you turn them on with building.enabled: true in config.yml. While they're off, Allay offers none of their tools, and a player who asks hears where they're turned on. On, they add about 1 300 tokens to each question of a player who may build: the catalog's search, the preview tool, and how to use them. The builder's agent carries its own 800 or so on each of its wakes.
building in config.yml sets limits by tier, given by the permission allay.build.<tier>:
| Key | Default | What it sets |
|---|---|---|
max_blocks |
50000 |
The biggest build a player may preview and build |
max_size |
128 |
Its longest side |
blocks_per_second |
5 |
How fast the builder places (0 is as fast as the server allows) |
pause_distance |
64 |
The builder pauses while its player is farther than this from the build |
park_hours |
24 |
How long it waits for its player's blocks, or for them to come back |
A player gets the first tier in the file's order whose permission they hold, and default without any. allay.build.unlimited lifts the size limits, and operators get the biggest tier. Configuration lists the rest, and Commands and permissions the permissions.
The plugin downloads builds only from the catalog, at the commit Allay's server names, and checks each file's SHA-256. A build stays in memory while someone uses it and building.keep_minutes after, never on disk. A server can't add builds of its own.
Players and server owners
- Installation
- Paying for the model
- First steps
- Asking Allay
- What Allay can do
- Automation agents
- Builds
- Commands and permissions
- Configuration
- Languages
- Integrations
- Coming from MCBuddy
- FAQ
Developers