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 May 16, 2013will be releasing shortly but I haven't had access to my computer for a week
-
View User Profile
-
Send Message
Posted May 16, 2013hey mate how is yur prorgress on this plugin?
-
View User Profile
-
Send Message
Posted Apr 29, 2013@faesorama
Hmmm that shouldnt be happening I'll figure it out wait for next update or downgrade or just disable it for now
-
View User Profile
-
Send Message
Posted Apr 29, 2013hellow mate yur new shield with iron / diamond in the center are not accurate it can block more then 1000 times even when i set default and lowest to 15 any advice?
-
View User Profile
-
Send Message
Posted Apr 28, 2013@MinecraftownerT
What do you mean?
-
View User Profile
-
Send Message
Posted Apr 28, 2013is this a new update or something?
-
View User Profile
-
Send Message
Posted Apr 25, 2013@The_Newbizzle
I have no idea why that is happening :/ Edit: have you tried disabling both sound and effects?
-
View User Profile
-
Send Message
Posted Apr 24, 2013I never posted about it, but after we helped you fix the first issue, it worked great on our test server of 6 people. but once moved to our server of 30, it lagged terribly. No errors, but still lag. I think it still has to do with the event tag on contact. Not sure how to fix it, but let me know if you need help trying to figure it out.
-
View User Profile
-
Send Message
Posted Apr 23, 2013Should I post my issue below as a ticket?
Right now, I can't replicate the lag on a clean testing server with only this plugin, ProtocolLib, BKCommonLib, and NoLagg. So now it's pretty apparent it might have something to do with another plugin(s); I'm going to continue testing to see what I come up with.Can't replicate this at all on my testing server (from what I've seen so far). Might have to do with the config files on one of my many plugins, but I'll still have to see what I can come up with. :|
-
View User Profile
-
Send Message
Posted Apr 21, 2013@CommodoreAlpha
Sure I can add those functions to the todo list but for your lag problem I haven't seen that happen to me. could you elaborate or make a video? also what version are you running?
-
View User Profile
-
Send Message
Posted Apr 21, 2013This plugin appears to be lagging me (horribly); I haven't tested it alone though. Everytime I try placing or removing a block, it lags (and according to NoLagg, it's on every PlayerInteractEvent). No errors by the way.
And now, time for the suggestions.
But yeah, overall nice plugin. :)
-
View User Profile
-
Send Message
Posted Apr 13, 2013@iTeush
The shield is ID 34
-
View User Profile
-
Send Message
Posted Apr 12, 2013Thanks for your plugin :) I just don't undersant How do I make it compatible with Quickswap ? What is the id please ?
-
View User Profile
-
Send Message
Posted Apr 11, 2013@ooosssososos
to addon to his suggestion, possible change of recipe for stronger shields such as, changing the middle redstone to rarer ores for better shields.
-
View User Profile
-
Send Message
Posted Apr 10, 2013@AlexSmith49
Nice idea thanks for that :D
-
View User Profile
-
Send Message
Posted Apr 10, 2013@ooosssososos
Well basically. Everything is fine on the server while loaded until I start to use a shield. Then not only does everyone lag, but I had delayed death. No health bar pops up, and I begin to die from hunger rapidly. Finally when server catches up, I am dead.
-
View User Profile
-
Send Message
Posted Apr 10, 2013I have a suggestion: allow the crafting of multiple shields. Basically, there could be a shield with 10 dura and 20 dura.
-
View User Profile
-
Send Message
Posted Apr 10, 2013@The_Newbizzle
Can you elaborate more on this "Lag" ? like is it block lag pvp lag, movement lag, pullback etc.
-
View User Profile
-
Send Message
Posted Apr 10, 2013not sure what the issue is. Still having lag problems when the shield is in use. Could it be clashing with another plugin? Such as essentials or maybe nocheatplus? I cant really put my finger on it...
-
View User Profile
-
Send Message
Posted Apr 10, 2013Ty very much for the quick update. I will test on my server and keep you updated. My server is based off of Game of Thrones, so a very skillful pvp system and your shields will be a very useful attribute to the best pvpers.