[Anti-Grief] OglofusProtection

####Oglofus Protection allows a player to place a special block, and this protects their area from griefing, like PreciousStones!

When the player places the block it creates a region that gives the player ownership of that area and in turn grief protection. If the player breaks the ProtectionBlock then they get the block back and the region is removed from region list.

####Development can be tracked at https://github.com/nikosgram13/OglofusProtection

###Currently Implemented:

  • Tab completion for commands
  • Complete integration with Sponge API.
  • Simple API.

###Currently planned features:

  • Explotion protection.
  • Block the fire spread.
  • Region’s FLAG.
  • Nice effect around the region.
  • RegionManager per World.

###Logic

Every region has a staff and a vector.

The staff is divided into owner, officers and members.

  • The owner has any access to region and can delete the region.
  • The officers can kick a member and invite a player to be member in the region.
  • The players can build in the region.

###API Example

Get region:

ProtectionRegion region = OglofusProtection.getRegionManager().getRegion(name/uuid/location).get();

Change region’s name:

region.changeName("Newname");

Broadcast a message to region’s staff:

region.getProtectionStaff().broadcastRaw(Texts.of("Hello Staff :D"));

Get entities inside to region:

region.getProtectionVector().getEntities(Entity.class);
1 Like

Thank you for this! I will be testing it EXTENSIVELY on the test server!

… How do I even pronounce that.

Nice plugin idea, btw.

Im a little confused reading your wiki, it says creates worldguard regions, is there worldguard for sponge yet?

No specifically. It works like the ProtectionStone from the bukkit.

Suggestion: Change it to something people can pronounce. Otherwise will use :smiley:

Like? Can use from SMP servers for a simple direct protection.

“ProtectPlus” maybe

I do not think that is essential. It’s a optional plugin.

I’ll give you credits for the plugin name, Oglofus. :clap:

It’s just a name :stuck_out_tongue:

1 Like

You should update the link to the most current one.