Home›Java›Mods›Safe Zone (.jar)
Safe Zone (.jar)
ModsJava

Safe Zone (.jar)

Java mod listed for Minecraft 1.21. Download on the author's site.

by rbnsky · on CurseForge

⬇ Download on CurseForge

Create Zones in which combat, damage, projectiles and hostile mobs are disabled!

This datapack is heavily performance optimized to ensure it runs well even on low-end servers.

The light version features slightly better performance, but slightly fewer features.

Features

Create spherical safezones of 6 different sizes:

Check the Commands below to learn how to create safezones among many other things.

Inside a safezone, these rules apply:

But beware, a fire from outside a safezones could spread inside if the blocks along its border allow it.

Additional features

Presentation

Compatability

Safezones also block the usage of weapons from Incendium and Spellbound Weapons.

Commands

General Commands

/function safezone:cmd/help

/function safezone:cmd/create/size[1-5]

/function safezone:cmd/move/safezone

/function safezone:cmd/tp/safezone

/function safezone:cmd/delete/nearest

/function safezone:cmd/delete/nearby

/function safezone:cmd/delete/all

Make safezones visible

When a safezone is made visible, soulflame particles will appear at its center once you are within its range.

This makes understanding their range easier and can help locating them.

/function safezone:cmd/show/nearest

/function safezone:cmd/show/nearby

/function safezone:cmd/show/all

/function safezone:cmd/hide/nearest

/function safezone:cmd/hide/nearby

/function safezone:cmd/hide/all

Anti-Grief for safezones inside spawnchuncks

To save server performance, safezones are only active if players are nearby.

If a safezone is inside always loaded spawnchunks, certain entities could grief the spawn area, if there are no players nearby.

To prevent this, make it a spawn safezone:

/function safezone:cmd/add/spawn

/function safezone:cmd/remove/spawn

/function safezone:cmd/move/safezone

/function safezone:cmd/tp/safezone

Make Entities invulnerable to players in survival & adventure mode

/function safezone:cmd/add/invulnerable

/function safezone:cmd/remove/invulnerable

/function safezone:cmd/move/invulnerable

/function safezone:cmd/tp/invulnerable

Allow certain entities inside safezones

/function safezone:cmd/add/allowed

/function safezone:cmd/remove/allowed

/function safezone:cmd/move/allowed

/function safezone:cmd/tp/allowed

Freeze the movement of certain entities

/function safezone:cmd/add/frozen

/function safezone:cmd/remove/frozen

/function safezone:cmd/move/frozen

/function safezone:cmd/tp/frozen

Make all entities invulnerable inside safezones

/function safezone:cmd/add/entity_resistance

/function safezone:cmd/remove/entity_resistance

Make all entities deal no melee damage inside safezones

/function safezone:cmd/add/entity_weakness

/function safezone:cmd/remove/entity_weakness

Excluded from light version:

Make all players invulnerable inside safezones

This is on by default.

/function safezone:cmd/add/player_resistance

/function safezone:cmd/remove/player_resistance

Make all players deal no melee damage inside safezones

This is on by default.

/function safezone:cmd/add/player_weakness

/function safezone:cmd/remove/player_weakness

Installing

As with any datapack, use /reload after placing SafeZone.zip in the datapacks folder of your world to activate it.

Uninstalling

This Datapack does not need to be uninstalled before deletion.

Run /function safezone:cmd/delete/all to delete all currently loaded safezones.

Feedback

Feel free to give me bug reports, feature ideas or other feedback on my Discord Server.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Safe Zone (.jar) is a free Minecraft Java mod. Compatible with Minecraft 1.21.4, 1.21.3, 1.21.2, 1.21 and newer. Downloaded 2,238 times (via CurseForge). Download it and open it directly in the game.

Explore more