Spawn Protect
This plugin will protect your spawn against all sorts of griefing including:
breaking of blocks, placing of blocks, forming of blocks (flowing water), moving of blocks(with dispensers) and much more!
Players will not receive any kind of damage.
Features:
- Protects the plugin against all violations.
- Protects players of all damage.
- Custom spawn borders (square)
- Custom message on entering / leaving the spawn
Commands:
/SpawnProtect: displays all commands with explanation. (permission: spawnprotect)
/SpawnProtect disable: disables the plugin, i.e. for changing the spawn. (permission: spawnprotect.disable)
/SpawnProtect enable: re-enables the plugin, spawn is again protected. (permission: spawnprotect.enable)
/SpawnProtect setnw: set the north-west corner of the spawn. (permission: spawnprotect.setnw)
/SpawnProtect setse: set the south-east corner of the spawn. (permission: spawnprotect.setse)
/SpawnProtect setspawn: sets the spawnpoint to this exact location. (permission: spawnprotect.setspawn)
Additional permissions:
spawnprotect.editspawn: enables you to modify the world inside the spawn without having to disable this plugin (as requested by mrcryingobsidian)
Setup:
1. Drag and Drop the plugin in the plugins folder + reload the server
2. Set the boundaries for the spawn using /spawnprotect setnw and /spawnprotect setse
3. Edit the messages in the customConfig.yml if you want and reload
After this the plugin will be setup and ready for usage!
TODO: (if requested)
- /spawn command with cooldown for teleporting to the spawn
- multiple spawn points?
Do you have an idea? I am open-minded for all suggestions!
If you encounter any bugs/problems with this plugin or have any suggestions/ideas,
don't hesitate to contact me!
Now i'm not new to Bukkit programming anymore. You can 'hire' me for small plugin requests if you want.
Any chance there is a way to remove the text from entering and leaving the spawn?
In reply to MedievalFellow:
Yes definetely! Thanks for this feature request I'll look into it this month!
Hey there!
Is there a wiki on how to use this?
I'm not sure if I put in my coords right for setting spawn and I can't find anything to guide me.
In reply to itscanuck:
Hi!
I am not planning to make a wiki, I think the description of the commands are sufficient.
If you don't correctly set up valid spawn boundaries, the plugin will tell you so.
You can test if your boundaries are the exact boundaries you wished to setup by walking in/out the spawn, you should get a message when crossing the boundary.
My server keeps running this error: 22.07 16:32:39 [Server] INFO java.lang.NullPointerException: null
22.07 16:32:40 [Server] ERROR Could not pass event BlockIgniteEvent to SpawnProtect v1.3.2
Any idea what's going on ?
In reply to drmiyog:
Thank you for reporting this issue. This error is my fault. I made the assumption that a BlockIgniteEvent is caused by a player only, but that isnt the case. This is fixed in the new version!
In reply to Forge_User_52549109:
Hey thanks man!
Also I found another bug, I am unsure if this is related to your plugin but when running with PermissionsX/Essentials, my players are unable to use permissions.signs.use.repair inside the protected area, but can use the admin shop buy/sell signs. As in, players are unable to use [Repair] Hand/all $100 signs provided by essentials while inside spawn. They are able to while outside of spawn.
In reply to drmiyog:
This may be because SpawnProtect also denies players from interacting with sings. Currently I do not know how I would go around to fix this conflict with PermissionsX/Essentials. I will look into it, thanks for reporting this bug!
It says "you can not break blocks here" and "you can not place blocks here" when I test it as a deopped player but still lets me break/place blocks. How would I go about fixing this? My server is 1.14.3 if it matters.
In reply to quinziiii:
Thank you for reporting this problem.
I cannot replicate this problem, can you give more information about your server settings?
Are any errors displayed in the console?
In reply to Forge_User_52549109:
Hello, I am running the plugin on 1.15.2 and i am having the same issue as quinziiii. Even when i or another players are de-opped. It displays all the entering, leaving, and block damage and placing messages, however we can still break and place blocks.
As far, as i've seen, There are no errors displaying on my console. I downloaded it, uploaded it to my server. i easily set my boundaries and the messages worked instantly but the protection isn't working. I have tried reloading and restarting the server but we can still break blocks.
Please Help.
Hi, is there a way to allow OPs to edit the spawn without having to disable spawn protection for everyone?
In reply to Forge_User_61117608:
Thank you for this feature reqeust. I've added this in the last version!
In reply to Forge_User_52549109:
Thank you very much! Looking forward to the new version release.
EDIT: Creepers can still blow up things in the spawn area. Could you fix that too?
In reply to Forge_User_61117608:
Thank you for reporting this issue. In the updated version, creepers and TNT can no longer damage blocks in the spawn!
Players can't open or interact with chests in spawn, but OP can? How do I fix this?
In reply to TackyTanuki:
Hi, I cant replicate this bug. Are you sure it hasn't got another cause?
Or add a friend list which allows players in the list can by pass the limitation...
In reply to gameplay_ethan:
I have added a permission exactly for this now! Sorry for my inactivity, you requested this over 2 years ago lol.
Dear Developer,
Could you add the ability of adding multiple spawn point?