Cuberite Forum
SpawnProtect - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html)
+---- Forum: Archived Plugins (https://forum.cuberite.org/forum-18.html)
+---- Thread: SpawnProtect (/thread-666.html)

Pages: 1 2


SpawnProtect - bearbin - 12-28-2012

Warning: MUST be used with rev 1113 or above to be effective.

My first plugin.

Basically it allows you to protect a certain area around spawn.

Features:
  • Blocks players building and placing blocks around spawn.
  • Protect radius is configurable.
  • Permission to bypass protections.
  • Lightweight operation, better than before.
  • Logging of block breaks/places (optional, turned on by default).

Permissions:

SpawnProtect has only one permission,

SpawnProtect.bypass

This allows people to bypass spawn protection.

Configuration?

There is a configuration section up the top of main.lua, in the plugins folder.

Download:

For stable download, please use: http://ci.berboe.co.uk:8080/job/SpawnProtect/lastSuccessfulBuild/artifact/MCServer/Plugins/SpawnProtect.zip
For a dev download, see: http://ci.berboe.co.uk:8080/job/SpawnProtect-Dev/lastSuccessfulBuild/artifact/SpawnProtect.zip

Development:

See the git repo at https://github.com/bearbin/SpawnProtect


RE: SpawnProtect - NiLSPACE - 12-28-2012

thank you once again Smile


RE: SpawnProtect - bearbin - 12-28-2012

Now the plugin is much more efficient Smile

I doubt it would make much difference but performance is what MCServer is going for so there's no need not to do it.

Edit: Oh yeah, and it works now.


RE: SpawnProtect - bearbin - 12-28-2012

Added logging feature and made it so it actually works, i forgot to test last timeTongue


RE: SpawnProtect - bearbin - 01-07-2013

Updated for rev 1126 plus. Use the dev version please. Block breaking stopping doesn't work but I think it's the fault of the API


RE: SpawnProtect - NiLSPACE - 01-07-2013

I can still build even if i don't have SpawnProtect.bypass


RE: SpawnProtect - bearbin - 01-08-2013

3 Questions:

Are you using the:
  • Hooks branch build?
  • Dev version of SpawnProtect?

Also, block breaking protection doesn't work quite yet. I think it's an api bug. Try block placing.


RE: SpawnProtect - NiLSPACE - 01-08-2013

Yes i have the Hooks branch build
Yes i have the dev version of spawnprotect
and prevent placing works indeed Smile


RE: SpawnProtect - bearbin - 01-08-2013

OK, I think it's just the API bug then Smile

returning true to OnPlayerBreakingBlock() seems not to cancel the block break.


RE: SpawnProtect - xoft - 01-09-2013

Should be fixed in rev 1133.