Plugin category: FUN Suggested name: DeadlyBlocks What I want: I'd like to have a plugin, that does Damage to a Player as soon as he touches a Block. The Block IDs should be in a config File so they can be changed so other People can use the Mod too. The Reason I want this is because I have powerlines on my Server with Tripwire and Hooks. Images here: http://imgur.com/a/5WsHS Players should be punished for touching a 10KV wire. (Edit) It would actually be funny if the Player gets hit by Lightning Ideas for commands: No commands needed for this plugin. It would be nice to have commands for adding and removing blocks to the List but a config file would be enough. Ideas for permissions: deadlyblocks.ignore, set to true so the player is not hurt. Would make sense for builders or the Admin Group.
I do not know if it helps, but I have experimented with Minecraft a bit and found out, that the Minecraft client stores tripwire in the Chunk with the Value 132 (Dec). The Data value of String is 287, so the Tripwire is different from the actual String. It seems to act like a block, as you can place other blocks over it.
just writing "push" is so rude, so I include an Image of an Emulator I'm writing showing the TFOD (TrollFace Of Death)
Get the plugin called ScriptBlock then do /sbwalk create [@bypass /smite <player>] then right click the block you need to do the damage on.
I am testing my plug right now, but I didn't add command yet :O I already started on this. I made it pretty lightweight Download: here Config is made on this way, there is not per block config. Code: Damage: 5 FlamesEffect: true LightningEffect: false #Blocks u can walk trough or with smaller boundingbox (slabs, enchanting table, ect) #Tripwire block and string block ids Blocks 1: 132,131 #Blocks u walk over #Redstone lamp powered id Blocks 2: 124 EDIT by Moderator: merged posts, please use the edit button instead of double posting.
btw. I found a Bug. I do not know if it is a bukkit or a mod bug. If you touch a wire near a solid block it catches on fire. Even if its wood, the Fire will not spread or destroy the Block. Oh yeah and a little question, it it possible to knock back the Player? The Idea with the Redstone Lamp Block in the Config is cool, you can make some sort of Maze which changes the Lights on the Floor
Variable Triggers intercepts about every possible Event in Bukkit. This may be a little bit too much for a "I told you to not touch this wire" mod
VariableTriggers doesn't intercept all events, YET, but the thing you need to keep in mind is that if you don't need certian events and don't create triggers for them then those events arn't run and don't cause any extra hold up. Actually VT is a very efficient plugin. It in its self does not solw the servar at all. the only thing that may slow the server is the things users have it do, and under most conditions those don't cause any noticable slowdown. because 90% of the interpretation of scripts is happening on a separet thread. Now granted if a user creates a trigger that spawns 100 TNT and egnites them all at once then you are going to see lag, but its bukkit lagging from TNT not VT causing the lag.
LexLaiden I see you advertising that plugin everywhere ^.^. Is it open sourced? If so, I (and every other developer) can actually backup the fact that's it's efficient. Plus, I think you should just let the current plugin go on, as the dev already put lots of work into it (not that you didn't) just for this guy. Chill, bro. *I do use your plugin, BTW*