Realistic Shield

Logo created by xDizasterCYx
This plugin allows Players to block with a shield... With sound effects, Activation, Duration and Hunger usage!!
Features
Allows players to craft piston heads which act like shields. Allows players sword blocks to negate damage. Custom Crafting recipes
Configuration
blockDuration: Integer, Seconds the blocking effect will last for
hungerCost: Integer, hungerCost per Block
nameOfItem: String, Name of Item when crafted
Default Durability: Integer, Durability of Item when crafted
Particle Color: Hexadecimal, Color of Particle ex. 0x00FF3C (Light - Green)
sound: boolean, whether or not to play sound on block
Fireworks: boolean, whether or not to play firework effect on block.
damageAfterHunger: boolean, whether or not you can still block if you have no hunger
MultipleTeirs boolean, Whether or not have 3 teirs with redstone having default durability iron having default durability + 10 and diamond + 20
Description of Functions
When a player right clicks with a piston head it consumes a certain amount of hunger defined in the config While the player is blocking all damage inflicted from front is negated and the durability decreases by one. when a player is blocking it will display a potion effect on the player blocking.
Works well with QuickSwap: http://dev.bukkit.org/server-mods/quickswap/
Note: Blocks arrows from ALL directions
Permissions
Shield.Sblock: Allows players to use the same effect but with sword blocking.
Shield.block : Allows Players to block
Shield.craft : Allows a player to craft a shield
Showcase:
Slightly outdated... this was V1.4, would be nice if someone made a new one
→
TODO
- Custom Sounds
- Custom effects
- Block percentages
Source
https://github.com/ooosssososos/Realistic-Shield
Original Request: http://forums.bukkit.org/threads/piston-head-shields-used-to-block-attacks.134362/
-
View User Profile
-
Send Message
Posted Apr 9, 2013Havent tested performance yet.... Ill work on optimizing the code to make it more efficient Never thought i would get so many downloads :3
-
View User Profile
-
Send Message
Posted Apr 9, 2013causes a huge amount of lag when shield is being used for all players, although no errors in console...
-
View User Profile
-
Send Message
Posted Apr 6, 2013@naturlichLv
Thank you
-
View User Profile
-
Send Message
Posted Apr 6, 2013Nice job, bro! ;)
-
View User Profile
-
Send Message
Posted Apr 1, 2013Updated to 1.5.1
-
View User Profile
-
Send Message
Posted Mar 31, 2013Please update for 1.5.1
Pls :(
-
View User Profile
-
Send Message
Posted Mar 25, 2013As of right now no but its due to the fact that I dont think that Mob arena items support metadata
-
View User Profile
-
Send Message
Posted Mar 24, 2013is there anyway i could give my players one of these in the mobarena?
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Fiyasoldier
Please post the full error report.
-
View User Profile
-
Send Message
Posted Mar 23, 2013Im getting a console error that says: Could not pass event PlayerInteractEvent to Shield v1.6
Whats that mean?
-
View User Profile
-
Send Message
Posted Mar 21, 2013@TheFlannelBeard
I am currently creating a plugin that allows items to swap on triggered events. It is currently being approved.
Link to plugin : http://dev.bukkit.org/server-mods/quickswap/
-
View User Profile
-
Send Message
Posted Mar 21, 2013can I make a suggestion??
When a player holds a sword, axe, or diamond hoe (maybe make items configurable by ID) and they hold shift, can you make it switch to the shield?? Then when they unhold shift it switches back? thats the only way I could see this working for us :]
-
View User Profile
-
Send Message
Posted Mar 21, 2013Well theyre both 1.5, but I see that theres a 1.6 version of the plugin now so I'll try that and see what happens
-
View User Profile
-
Send Message
Posted Mar 21, 2013@Fiyasoldier
is there any console errors? because what I think is happening is that your bukkit version isnt compatible with the plugin. can you give me the version of the plugin and your version of bukkit?
-
View User Profile
-
Send Message
Posted Mar 20, 2013Im pretty sure its the newest one, since I installed it last night
-
View User Profile
-
Send Message
Posted Mar 20, 2013@Fiyasoldier
What version of the plugin are you using? It was a bug with previous version
-
View User Profile
-
Send Message
Posted Mar 20, 2013For some reason the shields are blocking even without right clicking (just holding it). Is that supposed to happen?
-
View User Profile
-
Send Message
Posted Mar 20, 2013@paper_penguin
thanks!
-
View User Profile
-
Send Message
Posted Mar 20, 2013Perfect plugin for my server. Works swell too
-
View User Profile
-
Send Message
Posted Mar 19, 2013Will Add an option so that sword blocking will also trigger this effect.