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/
Help! After /reload all my players get all types of shields! WTF?
@RFSMassacre
Durability is configurable, why not just set it to something like 99999
I just gotta say I love this plugin! It gives my KitPVP server a little more flair to the fun. My Knight kit can now use a shield and it balances it out when fighting against Archers and Mages. Keep up the good work!
Might I suggest an option for unlimited blocking? It would help if the Knight used hunger as the payment for blocking and not have the shield break.
@RowanFN
Yes, all configurable in the config
can you craft different and multiple shields?
@nkomosim
will fix in next patch
@ooosssososos
Sorry I had just figured it out. Great plugin. Even though I think this is cool, the fireworks do spam extremely fast when holding down block against zombies or other things. Thanks!
@nkomosim
give them perms then right click with a sword
@Sudding123
If you did not read the posts, The piston head is no longer in the game, so the default has been changed to stone slabs, But you can change the ID used in the config
Help!! the shield still become the stone slabs when i craft it :(
hello ha sory didnt reply to last -
im using new 2.5 with spigot seems im getting this each time i interact with anything ie a door or pressure plate
http://pastebin.com/WD7rA25a
thanks
<<reply 2010698>
you have to stop the server for the first time I think, also, I was asking him what his typo was xD
@ooosssososos
Typo is typing error. when i craft the shield it becomes stone slab and does not create a config file..
@jacob_vejvoda
Ya, kinda got lazy with the checks, will fix.... later..... Edit: may I ask what was the typo?
@jacob_vejvoda
NVM, It was a typo in defining an item name, you should have a check on start-up for that.
I installed this plugin and I get this error:
@lathame
Oh I have not updated the documentation, sorry about the misunderstanding
@ooosssososos
My bad, I just did a quick overlook of the plugin and thought it would be cool to add.
@lathame
It is already in the plugin, Lots of people requested custom recipes so I made it use custom recipies.
Its in the config, you can define the item, the lore, and the crafting recipe
Do you think you could add different shields like iron,gold diamond etc, with lore?
Basically the option to create multiple shields with multiple crafting recipies and use lore.