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/
I have version 2.2 and I cant seem to craft the shield.
@Iwitrag
It blocks arrows form all directions because arrows are glitchy and if I set to front sometimes it doesnt block arrows from front
@deancohen1994
I dont think thats possible because i cant take up an entire ID slot
but "/Shield <Player name>" works
is there a way i can give this item in a kit? so it has a custom id for example /give [player] [shield ID] thanks
I don't like that it blocks arrows from all directions :\ unreal
Sorry Neglected to test out the new build... Does not work, Will fix
@Deslayer1
Example Shield Config with the recipe in the video: http://puu.sh/4isKA.png
Hey its me again with another problem. Im sorry for bugging you again because its probably vary annoying. So i downloaded the previous version as you said to do and it worked fine. However when i right clicked to use the shield it kicked me and said internal server error. The other suggestion you made might be the right route. However i looked in the confog and saw nothing specifying and recipe change. I know your busy but could you please tell me how to set a default recipe? Any help would be apreciated.
okay thnx!
@Deslayer1
oh shoot I made custom recipes and forgot to change the default to the one in the video. until I can fix it go into your config and define your own crafting recipe edit: or use Version 2.1
@FlOppythp
not yet complete working on it. school just started for me so it might take a few days
I am making a server and installed this plugin. However after installing i was unable to craft the shield in the crafting bench. I checked the config files and the video above to see if i missed something. Please help me out i would really like to use your plugin on my server! :)
Added custom recipes! hope you guys can figure it out at least until I get a video up of how to use it
@ooosssososos
Well that would be the best, add custom recipes... :D
I will stop being lazy and make custom recipes as well as configurable damage for next update..... whenever that will be.....
@CommodoreAlpha
This is essentially why I have an issue with devs. Some of them try to over complicate things and put their personal spin on it. :P I think they need to set an EASY default recipe with easy to get / offer items, then set a config for your own, right off the start. I hate it when its like "OH SHIT thats a great idea but....it....i cant customize it..."
I personally have my own version of this, but my dev hasnt updated it to 1.6x. Still, itd be nice to see this idea take off for others. Im offering whats worked for me.
Why can't you just make shield recipes fully configurable, with data value support too (such as using "DIAMOND:1" in a recipe, instead of "DIAMOND:0")? I mean, personally, I like none of those recipes, since my server is so "specialised". And I'm sure each server is different in some way, so most admins will want something slightly different.
In other words, put the power in the admin's hands to stop bickering over what recipe should be which. Modularity is indeed a powerful trait. :)
@semirotta
True, and I like this, but you also have to think of simplicity for the PLAYER to collect the tools. Luckily, I offer free leashes, but sometimes leather can be hard to come by. Thats why I suggested what I had, for simplicity.
If you want them to USE the shield, you got to make it simpler for the masses, which are 10-14 year old kiddos who, well, are stupid. No offense to them, but its their age.
Such is my opinion. :) anytime i overcomplicate a plugin no one uses it.
For example, MagicSpells, i only used Sticks and BlazeRods (given), not sticks blaze rods books skulls bones, etc to cast spells. I limited it to two, and everyone gets its.
My 2 cents, for what its worth. :)
Also, what do you think about my HP idea with the damage types??
@ooosssososos
Well I would say this:
![http://i.imgur.com/rPh9Rkx.png?1](http://i.imgur.com/rPh9Rkx.png?1)
The reason for LEAD in the middle would be the string part which you hold on to the shield :)
It would also give new use for Lead and would make the obtaining of shield bit more harder.
And to UPGRADE the shield into better durability:
Full set from lowest to highest durability
![http://i.imgur.com/Ij2xvUM.png](http://i.imgur.com/Ij2xvUM.png)
@TheFlannelBeard
It´s even possible in Vanilla(attributes).