ModsFinder

SafeZone

by Er1ikHan

SafeZone is a Fabric client mod that watches for nearby players outside a whitelist and runs a command of the player's choice when one gets close.

FabricClient-side onlyMIT License1.20.1 – 1.20.6

What it does

When a player missing from the whitelist comes within a set distance, the mod runs a preset command automatically, for example to quit to a hub, teleport to spawn or return to a safe position. The check happens once per second, which keeps the effect on game performance small. It is built for open areas such as PvP zones or towny servers, where a builder or gatherer can work without watching for approaching players.

Protection can be switched on and off, and the trigger distance is set in blocks. Trusted friends are added by name, separated by commas. Settings open with the P key by default, and the key can be changed in the normal Controls menu. The mod is client-side only, so the server does not need it and players join without installing anything. Files are available for Fabric alone, across six release versions 1.20.1 – 1.20.6, under the MIT License, and the project is not open source.

Key features

  1. Automatic protection

    Detection runs in the background and fires the chosen command as soon as a non-whitelisted player is in range.

  2. Whitelist of trusted names

    Friends are listed by name in the settings, so they never trigger the protection.

  3. Configurable response command

    Any command can be set to run on trigger, such as a hub or spawn teleport, so the reaction suits the server.

  4. Quick on and off switch

    Protection can be toggled without leaving the game, which is useful when the area is safe again.

  5. Settings screen

    A GUI opens with the P key by default and holds the on/off switch, the trigger distance and the trusted names.

Compatibility

Latest build for each game version and loader.

1.20.62.0.0
1.20.52.0.0
1.20.42.0.0
1.20.32.0.0
1.20.22.0.0
1.20.12.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Working in open PvP areas

A gatherer on a towny server sets a trigger distance and a teleport command, then works without watching the horizon.

Reacting to snatching attempts

A player can have the response run at once when another player approaches during an unexpected situation.

Who it’s for: Players on Fabric who gather, build or roam in open PvP areas or towny servers, and who want an automatic reaction when another player comes near.

Questions

Does SafeZone need to be installed on the server?

No. Players add it to their own game, and a server needs no copy.

Which loader does SafeZone support?

Fabric is the only loader with files. The latest file is 2.0.0 for 1.20.6, published on 2026-02-17.

How often does the mod check for nearby players?

The mod checks once per second, which is every 20 ticks, so it has a small effect on game performance.

In the catalog

SafeZone is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 11,154 mods support Minecraft 1.20.6.

More from Er1ikHan

All projects

Similar mods

What the author says

!NOTE!: For those who don't understand the mod, its purpose is to allow you to escape when another player approaches you. For example, if you're mining in an open PvP area on a towny server, this mod puts an end to worrying about whether someone might come along. !NOT!: modu anlayamayanlar için modun amacı yakınına…
Er1ikHan, on the Modrinth page

Official listing

Owner
Er1ikHan
Published
2026-02-01
Updated on Modrinth
2026-02-17
Facts verified
2026-10-15

Tags