Back to mods
AFKFarming project artwork

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.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which AFKFarming release matches 26.3?

Updated 8 days ago
Best match for your filters AFKFarming 1.0 (26.3 Fabric)
Game version 26.3
Loader Fabric

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.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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) on 26.3. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by AFKFarming 1.0 (26.3 Fabric)
required
Matching file found Matched file: [26.3] Fabric API 0.166.2+26.3

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) on 26.3. Pick another file and the loader, install side or required mods may change.

  1. 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.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 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=0 in server.properties if 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.

6 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

AFKFarming versions and loaders

2 of 6 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.