SpawnProtectionTweaks

Quick rating

SpawnProtectionTweaks

No reviews yet

Adds in-game spawn protection manipulation

No Theme
No Genre
QoL & Tweaks
Server Utility
Mod Loaders
Fabric
Minecraft
1.18

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
spawnprotectiontweaks-0.4.1+1.18
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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.

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.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works