Back to mods
SpawnProtectionTweaks project artwork

Modrinth · Minecraft mod

SpawnProtectionTweaks

Adds in-game spawn protection manipulation

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

Quick answer

Which SpawnProtectionTweaks release matches 1.18?

Updated 4 years ago
beta file 0.4.1+1.18
Game version 1.18
Loader Fabric

SpawnProtectionTweaks 0.4.1+1.18 targets 1.18 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is SpawnProtectionTweaks required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
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

This file is marked server-only.

What else does SpawnProtectionTweaks 0.4.1+1.18 need?

0.4.1+1.18 on 1.18. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add SpawnProtectionTweaks without breaking your instance.

Built for SpawnProtectionTweaks 0.4.1+1.18 on 1.18. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.4.1+1.18. It targets 1.18 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.4.1+1.18. It opens that exact file at the source.

About this project

What does SpawnProtectionTweaks add?

SpawnProtectionTweaks

Modrinth Download Count
License

Adds in-game spawn protection settings manipulation

This mod adds the ability for fabric servers to change spawn protection settings on the fly overriding the vanilla configuration.

Server-side

This mod can be used on both server and client however it is not required to install it on the client.
The only difference in behaviour is that compatible clients are not bound to the en_us locale
and can get translations based on their selected language.

Since version 0.4 this is no longer the case. The server will detect the client's set language and use it to translate the messages.
Currently, only en_us is supported though.

Due to incompatibilities with specific fabric-api versions that feature has been put on ice.
Version 0.4 introduced that feature, version 0.4.1 removed it.

Version support

With the release of 1.18, the 1.17 version will only be fully supported until the end of January 2022
with potential bugs being fixed until the end of March 2022.

Permissions

SpawnProtectionTweaks supports permissions mods like LuckPerms and other mods supporting the Fabric Permission API.
The permission nodes are formatted in the form spawnprotectiontweaks.<subcommand>.<operation>
I.e. spawnprotectiontweaks.dimensions.list

There is an override permission allowing players to bypass spawn protection:
spawnprotectiontweaks.override.

Releases

The mod is licensed under the MIT License

Commands

Enable / Disable Spawn Protection

  • /spawnprotectiontweaks enabled set <true/false>
  • /spawnprotectiontweaks enabled query

Configure the radius of the Spawn Protection

  • /spawnprotectiontweaks dimensions radius set <dimensionid> <value>
  • /spawnprotectiontweaks dimensions radius query [dimensionid]

Configure the centre of the Spawn Protection

  • /spawnprotectiontweaks dimensions centre set <dimensionid> <value>
  • /spawnprotectiontweaks dimensions centre query [dimensionid]

Configure the action bar alert

  • /spawnprotectiontweaks dimensions actionbar set <dimensionid> <true/false>
  • /spawnprotectiontweaks dimensions actionbar query [dimensionid]

Configure the default dimension specific config

  • /spawnprotectiontweaks dimensions set <actionbar/radius/centre> <value>
  • /spawnprotectiontweaks dimensions query <actionbar/radius/centre>

List all dimensions not using the default config

  • /spawnprotectiontweaks dimensions list

List all dimensions

  • /spawnprotectiontweaks dimensions list all

Most query commands should be usable in command blocks if anyone wishs to use them.

Config

Config exclusive options:

  • alias: sets an
    optional alias to the spawnprotectiontweaks command
  • advancedEventOptions: Switches the mod to use a new event based system instead of relying on vanilla to catch the actions (in development!)
  • eventConfig (dimension specific, only active if advancedEventOptions is enabled):
    • preventAttackingBlocks: Prevents attacking blocks in the dimension
    • preventUsingBlocks: Prevents using blocks in the dimension
    • preventAttackingEntities: Prevents attacking entities in the dimension
    • preventUsingEntities: Prevents using entities in the dimension
    • preventUsingItems: Prevents using items in the dimension. Disabling while also disabling preventUsingBlocks and enabling preventAttackingBlocks this will enable players to use flint & steel without being able to remove the fire. Disabling this might also cause desync when players try to use bows without infinity.
    • preventBreakingBlocks: Prevents breaking blocks in the dimension

The new event based system uses a different permission system:
spawnprotectiontweaks.interaction.<dimensionid>.<action>.<target>
for example: spawnprotectiontweaks.interaction.minecraft:overworld.use.block or spawnprotectiontweaks.interaction.minecraft:overworld.attack.player however I didn't thoroughly test this yet.

Project description from Modrinth.

Pick your setup

SpawnProtectionTweaks by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

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

Recent files

SpawnProtectionTweaks versions and loaders

1 of 6 releases match
Clear filters

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