Skip to main content
← Blog

August 26, 2026 · The Minely team

How to make a homes plugin with AI (sethome, limits, warmups)

Homes are the quietest essential plugin in Minecraft: players expect /sethome and /home to just work, forever, through restarts and deaths. The feature list is one screen long; the quality is in the edges — limits that scale with rank, warmups that cancel on damage, and storage that never loses a location.

What a homes plugin actually is

A homes plugin lets players save named locations and teleport back to them later. Per-rank limits control how many homes each group gets, a warmup timer with move-and-damage cancel keeps teleports honest, and everything persists cleanly across restarts.

How it works under the hood

Homes are a per-player map of name to location (world, x, y, z, yaw, pitch), stored per player with limits read from their permission group. The teleport flow: run a warmup task of a few seconds, cancel it if the player moves or takes damage, then teleport with a safe-location check. The classic bugs are teleporting into unloaded chunks (load the chunk first) and losing homes on a crash (write-through storage, not flush-on-stop).

The prompt that builds it

You do not have to write this yourself. A precise description is enough:

a homes plugin with /sethome and /home, a per-rank home limit, a 3 second warmup that cancels on movement or damage, and persistence that survives restarts

Name the commands, the permissions, and the exact messages players see. Precision here is what makes the first build land close.

Building it in the right order

  1. Implement /sethome and /home with named storage per player.
  2. Add per-rank limits read from permissions or config groups.
  3. Build the warmup task with move and damage cancellation.
  4. Add chunk loading and safe-location checks before teleporting.
  5. Polish with a homes GUI and delete/rename commands.

The details that matter in production

In production, the first thing you learn is that the happy path is the easy half. The edges are where the work lives: restarts, protection interactions, full inventories, and players who treat every system like an exploit puzzle. Build for those from day one and the launch weekend is quiet instead of a fire drill.

Storage and cleanup deserve special attention. Write state as it changes rather than on shutdown, clear per-player state on quit and on world change, and make every admin-facing action leave an audit line. The first time something goes wrong, those records are the difference between a two-minute review and an evening of guessing.

Finally, test like a hostile user. Spam-click every GUI, rejoin mid-action, try the command with no permission and with every permission, and run it while the server is under load. The bugs that survive that pass are the ones worth shipping.

Tuning it after the first build

Defaults that work: 1 home for players, 3 for members, 5 for VIP, unlimited for staff. A 3 second warmup with a clear countdown message. Consider a teleport cooldown of 10 to 30 seconds in PvP-heavy servers so homes are not a combat escape.

Tips that save you a rebuild

  • Load the chunk before teleporting; an unloaded-chunk teleport is a void death waiting to happen.
  • Write homes to storage on every change, not on shutdown.
  • Cancel warmup on damage as well as movement — the damage-only escape is the oldest trick.
  • Log teleports for a week; you will see if homes are being used as free /spawn.

Questions people ask

Can homes be public or shared?

Ask for /home public toggles and visits by name, with build denial at the destination for visitors.

What about /back on death?

Ask for a death-location record with a /back command on respawn, cleared after use.

How do I cap nether homes?

Per-world enable/disable in config, with nether homes disabled by default on most servers.

Open the dashboard, paste the prompt from this guide, and watch it build live. The first one is free, and the source is yours either way.