Shield

Logo

Shield - A collection of common Bukkit protection plugin API
Author: Malikk
Version Beta 1.2


Shield Banner


Shield is an API, bridging the gap between the many region protection plugins and the common plugin. Through Shield, plugin developers can easily access a variety of methods, without hooking a specific protection plugin, and have them applied universally. Hours of work adding support for a small handful of protection plugins is a thing of the past. A lot of work has been put into making Shield as easy to use as possible, so all of the api can be found in a single interface, clearly labeled and clearly documented automatically as soon as you've configured your build path.

Forums
Plugins Using Shield

Features

  • Get region objects from Players, Locations, and names and prioritize them based on the config's plugin preference order.
  • Run checks across several plugins and return whether or not all the plugins agree with permissions queries. (i.e. check canBuild across plugins)
  • Set, edit, and check custom flags for you plugin
  • Throw custom exceptions so you know exactly how to handle situations, such as an invalid region name or if a flag hasn't been set

Usage

Developers

To develop with Shield, all you have to do is download the jar and add it to your project's build path. For help hooking in Shield, check out the Shield Wiki.

Servers

Provided you are using a protection plugin supported by Shield and a plugin using its API, all you have to do is download Shield and drop it into your plugins folder. If you are using multiple protection plugins you can set their priorities in the config file.

Supported Protection Plugins

and soon many more!

Help

For help implementing and using Shield, check out the Github Wiki. Use the forums here for discussion and questions, and the tickets page for suggestions and bug reports.

I'll be leaving the comment section up here until I get some actual traffic.


Shield on Github
Help support the development of Shield
Donate!

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Malikk65 Malikk65 Dec 23, 2013 at 05:12 UTC - 0 likes

    @CommodoreAlpha: Go

    Thanks, but I've pretty much stopped work on it. No one was really chomping at the bits to use it and it was a colossal amount of work to get it even to the point where it is now.

    There's actually been some action on the github page. If enough devs can help me out I'll go through all the pull requests and get this project back up and running, its just too much work for one guy to tackle the ins and outs of EVERY protection plugin AND the api and infrastructure that holds them all together.

    My Plugins: MobCatcher, EpicGlass, Shield
    Donate!

  • Avatar of CommodoreAlpha CommodoreAlpha Dec 23, 2013 at 05:06 UTC - 0 likes

    I must say, this is an excellent plugin that's pretty underrated; I think the only reason why it's not more popular now is that most developers don't know about its existence. I believe most developers are still going through the tiresome practice of supporting protection plugins individually (mainly WorldGuard alone).

    Server Information: "antarcticspecops.webs.com"

    Antarctic Special Operations, home of the buggiest (modded) server ever! With the most incompetent admin (me) also! Currently unplayable on survival due to construction accidents involving but not limited to a rebar in the face. I'll consider opening for Beta testing as soon as I overcome my incompetence. <3

  • Avatar of coaster4321 coaster4321 Oct 20, 2013 at 00:25 UTC - 0 likes

    I forked this plugin. I will see if I can get some stuff expanded on for ya. If I get time. I would like to use this for my plugins for my server. However It lacks support for some plugins we use. I will try and help you out :)

    I also help with ModDamage. It just does not list me on bukkit page. Only on github Readme page.

    EDIT:

    Its very very hard to update to latest version of AntiShare. So much of its API has changed. I got part of it to work.

    Last edited Oct 20, 2013 by coaster4321: Refuse to post multiple posts in a row.

    BFAK:90574521,d61c583abcd3d75d023d4cdf6f1e25eaf98cb26f3908e55af6b7448cc0aca632

  • Avatar of Nickbbeezy Nickbbeezy Sep 17, 2013 at 01:09 UTC - 0 likes
  • Avatar of Chemical_Datas Chemical_Datas Sep 16, 2013 at 02:23 UTC - 0 likes

    Think that you could include Grief-Prevention on your protection list? I know you havn't looked into this in a while, but if you get back into it maybe give it a try?

  • Avatar of antichip antichip Jul 01, 2013 at 00:34 UTC - 0 likes

    Id rathewr dump factions, and use more squad based, so no worries here anymore works great.

    Realtime webmap

    server adress: servere.Dadslands.com

    If you want admin/mod/op to screw off and cheat and play creative flying wrecking stuff, go play(F&*#) yourself offline. If you want admin/mod/op to have power and have a title, buy a dog and slap a name tag saying boss on your shirt If you want admin/mod/op to make it a fun place to bring friends and play minecraft, meet new people, and help others out we should talk.

  • Avatar of Malikk65 Malikk65 Jun 27, 2013 at 08:07 UTC - 0 likes

    @antichip: Go

    Probably factions updated and changed the name of something and Shield needs an update. If its a quick update, i'll fix it, but honestly no one uses this, lol. It hasn't taken off as much as i thought it would and it's a lot of work to maintain myself with my other plugins/actual life.

    You should make a ticket tho, that will it will show up in my todo list.

  • Avatar of antichip antichip Jun 27, 2013 at 03:14 UTC - 0 likes

    hello, I am sorry bor the bother or inconvienience, first Off I shot a glass piece at my spawn and all glass attached to it shattered, I was so freaking mad as it was alot to do, i just walked away, then I walked back over and noticed it regenerating, so i dont mind, it is cool, but what about only breaking the one piece that was shot?

    Ok now my real question

    10:47:40 PM [INFO] [ShieldAPI] Detected Towny: Waiting 10:47:40 PM [SEVERE] [ShieldAPI] Plugin ShieldAPI vBeta 1.2 has failed to register events for class com.malikk.shield.plugins.Protect_Factions because com/massivecraft/factions/Faction does not exist. 10:47:40 PM [INFO] [ShieldAPI] Detected Factions: Waiting 10:47:40 PM [INFO] [ShieldAPI] Enabled

    Any thoughts as to the cause of this?

  • Avatar of Thepom360 Thepom360 Jun 09, 2013 at 06:17 UTC - 0 likes

    Please support GriefPrevention :)

  • Avatar of krisdestruction krisdestruction May 07, 2013 at 22:37 UTC - 1 like

    Dang, no support for GriefPrevention. Otherwise I would have used it.

Plugins for future support

  1. Choices:

  1. Results
  2. 2 comments

Facts

Date created
Aug 07, 2012
Category
Last update
Jan 26, 2013
Development stage
Beta
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Shield
Downloads
1,596
Recent files

Authors