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 Dec 18, 2013Ok, I have found the problem, The piston Extension no longer exists as an item I am now taking suggestions as to what block to use instead, for now you can fix this problem by changing the data.Teir1.ID value in the config to something other than 34 (piston extension)
-
View User Profile
-
Send Message
Posted Dec 18, 2013For everyone that cant craft it, replace your shield config with the following
-
View User Profile
-
Send Message
Posted Dec 18, 2013cant crafting it!
-
View User Profile
-
Send Message
Posted Dec 18, 2013@ooosssososos
18.12 05:40:34 [Server] INFO ... 15 more 18.12 05:40:34 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 18.12 05:40:34 [Server] INFO at com.hotmail.ooosssososos.Shield.onCommand(Shield.java:136) 18.12 05:40:34 [Server] INFO Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421) 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488) 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227) 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:592) 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:30) 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37) 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116) 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296) 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49) 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:837) 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:886) 18.12 05:40:34 [Server] INFO at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:968) 18.12 05:40:34 [Server] INFO at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:528) 18.12 05:40:34 [Server] INFO at us.Myles.PWP.FakeSimpleCommandMap.dispatch(FakeSimpleCommandMap.java:99) 18.12 05:40:34 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 18.12 05:40:34 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'shield' in plugin Shield v2.3 18.12 05:40:34 [Server] SEVERE null
-
View User Profile
-
Send Message
Posted Dec 17, 2013@Onewingseraphim
First problem : Please post the error log
Will get on fixing the other 2
-
View User Profile
-
Send Message
Posted Dec 17, 2013@ChezaofStormrage
try deleting the config and let the plugin regenerate the config
-
View User Profile
-
Send Message
Posted Dec 17, 2013Okay so a few bugs right off the bat on bukkit version 1.6.4
I really like this plugin, it's an excellent idea please fix and add your upcoming features soon! Thanks :)
-
View User Profile
-
Send Message
Posted Dec 16, 2013The crafting doesn't seem to be working there is also no recipe in the config list
-
View User Profile
-
Send Message
Posted Dec 16, 2013Thanks for the update!
-
View User Profile
-
Send Message
Posted Dec 13, 2013Would also like to recruit a debugger because I really dont have time
-
View User Profile
-
Send Message
Posted Dec 13, 2013I apologize for the delay since I have not been on bukkit recently, I will get a 1.7.2 version out asap
-
View User Profile
-
Send Message
Posted Dec 11, 2013Very good! Um..would you mind If I request a suggestion? Is it possible that I was knockbacked If I shield attack like damaged by attack (no shield)?.
-
View User Profile
-
Send Message
Posted Dec 2, 2013Please, update this plugin to 1.7.2, I really like it! It's so awesome! Thanks!
-
View User Profile
-
Send Message
Posted Dec 2, 2013Just to let you know with the new bukkit 1.7 dev when crafting a shield the server will kick you. If you need a place to test feel free to contact me our Paladins eagerly await the return of their shields.
-
View User Profile
-
Send Message
Posted Nov 1, 2013Seems like it happened one time... randomly.... Im op, added the perm to my group, and tried to craft. And the shield is not craftable it seems. Its active in my plugins list, and i deledted the config. I cant seem to replicate that error...
-
View User Profile
-
Send Message
Posted Nov 1, 2013@Flamez44
was that the entire error? when does the error occur? when you click, when you break something, when you open up a workbench etc.
-
View User Profile
-
Send Message
Posted Nov 1, 2013And heres the exact error:
http://pastebin.com/xUinGXsK
-
View User Profile
-
Send Message
Posted Nov 1, 2013I did that, and still no fix?
-
View User Profile
-
Send Message
Posted Oct 25, 2013@jeppepette
Oops, haven't updated permissions section, Permissio node is Shield.craft
@Flamez44
Go into the realistic shield folder and delete the config so it can regenerate the defaults
@lostminecraft
Custom recipes are already in
-
View User Profile
-
Send Message
Posted Oct 25, 2013hi i have this awesome mod in my server but when players tries to craft the shield it tells them they have no permission to craft it and i looked at the permissions you add i cant find one that says craft permission why is that?