Loading...
Beta Modpages Unclaimed

No Op Spawn Protection

Much Better Spawn Protection

0 Likes
18084 Downloads
Created by Kreezxil

Description

Bisect Hosting

If you want a server setup for the Any mod pack with zero effort, get a server with BisectHosting and receive 25% off your first month as a new customer using the code kreezxil

 

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.


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Clumps

Clumps XP orbs together to reduce lag

Morpheus

Sleep vote system

FTB Utilities (Forge)

FTB Utilities is a mod by FTB. It aims to provide several useful utilities within the FTB Platform ranging from friends list, server configuration utilities, world borders, guide system and many other features...

spark

spark is a performance profiler for Minecraft clients, servers and proxies.

Lootr (Forge & NeoForge)

A mod that makes it so nobody misses out on Loot! All loot chests are instanced per player and visually unique.