No-Op-Spawn-Protection-3.0.24-MC26.3-NeoForge.jar
Curse Maven Snippet
What's new
If you want a server setup for the No Op Spawn Protection mod with zero effort, get a server with BisectHosting and receive 25% off your first month as a new customer using the code kreezxil
Changes
• Ported the mod to Minecraft 26.3 on NeoForge (version 3.0.24), with the same protection rules as the 1.12.2 version: a square zone around the world spawn (X and Z only, edges included), separate switches for the Overworld, Nether and The End, and the same left click, circuits, containers, doors, right click block, right click item and block placing checks.
• Spawn protection now also works in singleplayer and LAN worlds, not only on dedicated servers. The mod is only needed on the server side and adds no network packets.
• Only players are restricted: players placing and breaking blocks. Breaking blocks inside the zone is always cancelled for a restricted player, including breaks that do not come from a left click, such as a tool from another mod that breaks blocks.
• New option blockOpsToo, default true, with the command /sp-blockOpsToo <true|false>. True blocks ops and creative players at spawn like everyone else; false lets creative players, and operators on a dedicated server, through. The old ignoreOp value is carried over into blockOpsToo when an existing config is upgraded.
• The config is now spawnprotection-common.toml, with the same sections and option names as before. Existing files are upgraded without a .bak backup, and values you already saved are kept. The old 1.12.2 .cfg file is not imported.
• Every option can be edited from the config screen in the Mods menu, with a name and tooltip for each one.
• spawnprotection.example.cf is written to the config folder on launch, listing every option and its default, with a warning not to rename it into use.
• New option commandPermissionLevel (1 to 4, default 1) sets the operator level needed for the commands that change the config. The server console can use them too.
• /sp-display with no argument now shows every setting, and has a new commands part: /sp-display [all|worlds|protection|interaction|commands]. It also shows the world spawn point and the protected X and Z range, and when a player runs it, whether the protection applies to that player where they stand.
• New /spawn command that takes any player to the world spawn point, moved to a safe spot, from any dimension. It is only added when no other mod or vanilla already has a spawn command, and the new option createSpawnCommand (default on) turns it off. The server log says what happened.
• /sp-radius (also /spawnprotection) now accepts 0 to 10000, where 0 was rejected and values above 10000 were accepted before.
• With debugMode on, a player who is let through inside the zone is told why. The server also logs one line at start-up with the radius, spawn point, dimensions and blockOpsToo value in effect.
• Added a 512x512 mod logo for the mod list, a README, and an MIT license file.
This mod has no additional files
