No Op Spawn Protection

No Op Spawn Protection

Much Better Spawn Protection

by
773 Downloads
forge
Rent Server with this Mod

About this Mod

 

Logo Credit: Pixabay CC0 Public Domain Src: http://bit.ly/2uDEIMM

 

In 1.8 Mojang changed how the spawn_protection setting in server.properties functions. If there is no op at the time of world creation the setting is ignored and disabled. Creating an op later does not enable it.

 

This mod gives you a default spawn protection of 16 blocks. It can be set anywhere in the range of 0 to 10000 with optional granular level controls for what can be done at spawn. The mod must be installed on the dedicated server. It has no effect on the client and is also not required on the client.

Features

Protect and configure spawn properties for the 3 main dimensions: Overworld, Nether, and The End.

 

Specifically control any of the following player actions.

  • Button pushing and lever flipping (circuits)
  • Door, gate, trap door (doors) opening and closing
  • Chests, furnace, machines (anything that is a container)
  • Block Placing
  • Right Clicking Items
  • Right Clicking Blocks
  • In-game commands for modifying the config without needing to restart the server

Commands

commands change the behavior of the mod in the game on the server side

when commands are executed the server config is updated thus removing the requirement to reboot the server.

 

/sp-allow <circuits|containers|doors|place|block|item> <true|false>

/sp-debug <true|false>

/sp-dimension <end|nether|overworld> <true|false>

/sp-display <all|worlds|protection|interaction>

/sp-ignore_op <true|false>

/sp-radius <range>

 

Using /sp-ignore true you can fully test the power of the commands without having a survival player near you or having to be in survival mode.

While present, the debug mode is something I might tell you to use to help me in the future.

 

Currently the /sp-radius affects spawn radius for the 3 worlds. I'll add more granularity to this in an upcoming release.

 

The  /sp-display command will show a readout similar to the following so that you can tweak things as you desire.

Notes

If you notice that others seem to be utterly blocked despite how you set the mod. Edit your server.properties and change spawn-protection to 0.

 

You can change the size of the protection and the protection controls by changing the config or by using the in-game commands. There is no need to reload your server or reset your world.

 

It currently does not block pressure plates as they do not fire an event and I'm using events to make this mod happen.

 

Interacting with Villagers is permanently allowed. If you want this to be configurable let me know.

 

Todo

  • Different spawn radii for the dimensions
  • Support Custom dimensions
  • prevent mob griefing
  • prevent explosions
  • prevent other preventables
Modpacks

Go for it. No need to ask. A link back would be awesome but not required.

Help a Veteran today

I am Veteran of United States Army. I am not disabled. But I do love to make these mods and modpacks for you guys. Please help me to help you by Donating at https://patreon.com/kreezxil

 

This project is proudly powered by FORGE, without whom it would not be possible. Help FORGE get rid of Adfocus at https://www.patreon.com/LexManos.

Available Versions

2.3.23release
MC 1.12.2forge
May 26, 2022
2.3.23release
MC 1.11.2forge
May 26, 2022

How to Install No Op Spawn Protection on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.12.2).

3

Install Mod

Open the mod browser in the dashboard and search for "No Op Spawn Protection". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.12.2, 1.11.2

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

No Op Spawn Protection server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.12.2). You can switch loaders with one click in the panel.

Is No Op Spawn Protection compatible with forge?

No Op Spawn Protection officially supports forge for Minecraft 1.12.2, 1.11.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with No Op Spawn Protection – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if No Op Spawn Protection consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install No Op Spawn Protection with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.12.21.11.2