CurseForge · Minecraft mod
AFKFarming
Server-side AFK zones that keep your mob farms, crop farms and spawners running while nobody is nearby. No client mod needed.
Quick answer
Which AFKFarming release should I use?
AFKFarming 1.0 (26.3 Fabric) targets 26.3 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.
Where it goes
Is AFKFarming required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does AFKFarming 1.0 (26.3 Fabric) need?
AFKFarming 1.0 (26.3 Fabric). Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add AFKFarming without breaking your instance.
Built for AFKFarming 1.0 (26.3 Fabric). Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use AFKFarming 1.0 (26.3 Fabric). It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside AFKFarming 1.0 (26.3 Fabric). It opens that exact file at the source.
About this project
What does AFKFarming add?
AFK Farming
Keep your server's farms running when nobody is around. Server-side only: players join with a plain vanilla client.
AFK Farming lets server owners mark out AFK zones. Inside a zone, the game acts as if a player is standing nearby, so mob farms, spawners, crop farms and redstone keep working while everyone is offline or somewhere else.
You don't need to add anything to your modpack. Install it on the server and that's it.
What a zone does
A zone works at two different scales: some effects cover every chunk the zone touches, others stop exactly at the zone's box.
In every chunk the zone touches
Minecraft loads and ticks whole chunks, so these effects cover the entire chunks, not just the box:
- Chunks stay loaded and ticking. Redstone, hoppers, furnaces and mob movement keep running with nobody nearby. Zones survive restarts and keep their dimension active even when it's empty.
- Crops and plants grow. Wheat, saplings, sugar cane and anything else that grows on random ticks grows anywhere in these chunks, even just outside the box. A real player nearby works the same way.
- Nether portals can still spawn zombified piglins.
Only inside the zone's box
These effects stop exactly at the box you gave /afkzone:
- Natural mob spawning works. Each zone counts as a player for the spawn range check and for the mob caps, so it adds the same spawning room one player would. Mobs only spawn inside the box.
- Mobs don't despawn while they're inside the box, just like when a player is within 32 blocks.
- Monster spawners run when they're inside the box.
Zones don't stop mobs spawning close by the way a real player does, so mob farms work right up to the zone's edges. A real player standing nearby still blocks spawns around themselves, the same as in vanilla.
Tip: make the box match your mob farm's spawning area. Crop farms only need to be in the same chunks as the zone.
Commands
| Command | What it does |
|---|---|
/afkzone create <name> |
Turns your WorldEdit selection into a zone |
/afkzone create <name> <from> <to> |
Makes a zone from two corners (no WorldEdit needed) |
/afkzone remove <name> |
Removes a zone |
/afkzone list |
Lists the zones in your current dimension |
- Zones are saved per dimension, along with the world.
- A zone can cover up to 1,024 chunks.
- Zones are 3D boxes, so include the full height of your farm.
Permissions
| Permission | Allows |
|---|---|
afkfarming.all |
Everything below |
afkfarming.zone.create |
/afkzone create |
afkfarming.zone.remove |
/afkzone remove |
afkfarming.zone.list |
/afkzone list |
Without a permissions mod, only ops (level 2+) and the console can use the commands. LuckPerms works on every loader, for example:
/lp user <player> permission set afkfarming.all true
Versions
| Minecraft | Loaders |
|---|---|
| 26.3 | NeoForge, Fabric |
| 1.21.1 | NeoForge, Fabric |
| 1.20.1 | Forge, Fabric |
- Fabric: needs Fabric API on the server.
- Optional: WorldEdit (7.2+ on 1.20.1, 7.3+ on 1.21.1, 7.4+ on 26.3) for creating zones from a selection.
- Optional: LuckPerms, or any permissions mod for your loader.
Good to know
- Server-side only. AFK Farming adds no blocks, items or packets, so clients don't need it. It also works in singleplayer, but a singleplayer world only runs while it's open.
- Plays nicely with
/forceload. Chunks you force-loaded yourself stay loaded when you remove a zone. - On 26.3, dedicated servers pause after 60 seconds with nobody online. Set
pause-when-empty-seconds=0inserver.propertiesif your farms should keep running on an empty server. - Don't install it alongside AFK Anchor. Both add
/afkzone. If you want a placeable block that players can set up themselves, use AFK Anchor instead.
Project description from CurseForge.
Pick your setup
AFKFarming by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.3
2 loader builds1.21.1
2 loader builds1.20.1
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
AFKFarming versions and loaders
AFKFarming 1.0 (26.3 Fabric)
afkfarming-1.0.0-fabric-26.3.jar
2 Nov 2026
AFKFarming 1.0 (26.3 Neoforge)
afkfarming-1.0.0-neoforge-26.3.jar
2 Nov 2026
AFKFarming 1.0 (1.21.1 Fabric)
afkfarming-1.0.0-fabric-1.21.1.jar
2 Nov 2026
AFKFarming 1.0 (1.21.1 Neoforge)
afkfarming-1.0.0-neoforge-1.21.1.jar
2 Nov 2026
AFKFarming 1.0 (1.20.1 Fabric)
afkfarming-1.0.0-fabric-1.20.1.jar
2 Nov 2026
AFKFarming 1.0 (1.20.1 Forge)
afkfarming-1.0.0-forge-1.20.1.jar
2 Nov 2026
Looking for an older file? The official CurseForge project page is in Resources.