Spawn Protection Tweaks (SpawnProtectionTweaks)
This mod introduces manipulation settings for in-game spawn protection, enabling fabric servers to adjust spawn protection settings on the fly, overriding vanilla configurations.
Server-side
This mod is server-side only. It allows fabric servers to dynamically change spawn protection settings, providing flexibility in server management.
Version Support
As of version 1.18, full support for the 1.17 version is available until January 2022, with potential bug fixes until March 2022.
Permissions
SpawnProtectionTweaks supports permissions mods like LuckPerms and other mods utilizing the Fabric Permission API. Permission nodes follow the format: spawnprotectiontweaks.<subcommand>.<operation>
. For instance, spawnprotectiontweaks.dimensions.list
.
An override permission exists allowing players to bypass spawn protection: spawnprotectiontweaks.override
.
Releases
Find the mod releases on the GitHub repository.
Commands
- Enable / Disable Spawn Protection
- /spawnprotectiontweaks enabled set <true/false>
- /spawnprotectiontweaks enabled query
- Configure the Radius of Spawn Protection
- /spawnprotectiontweaks dimensions radius set <dimensionid> <value>
- /spawnprotectiontweaks dimensions radius query [dimensionid]
- ... (and more commands for various configurations)
Config
Exclusive configuration options include:
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 actions.- ... (and more options for dimension-specific configurations)
The new event-based system uses a different permission system: spawnprotectiontweaks.interaction.<dimensionid>.<action>.<target>
.
spawnprotectiontweaks-0.4.1+1.18
spawnprotectiontweaks-0.4.1+1.17.1
spawnprotectiontweaks-0.4+1.17.1
Set of changes:
- split `enabled` node to set and query instead of enable and disable
- remove all client side parts of the mod
- adds experimental event based backend, it can be switched to by setting `"advancedEventOptions": true` in the config
- add centre set query and reset commands
收录