Deadly Blocks

Discussion in 'Archived: Plugin Requests' started by AyrA, Aug 11, 2012.

  1. Offline

    AyrA

    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.
     
  2. Offline

    Hannes103

    #edit
    sry. but strings (wires) are model's no blocks so i don't know how to release this,
    #end edit
     
  3. Offline

    AyrA

    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.
     
  4. Offline

    AyrA

    just writing "push" is so rude, so I include an Image of an Emulator I'm writing showing the TFOD (TrollFace Of Death)[​IMG]
     
    MrBluebear3, np98765 and bobacadodl like this.
  5. Offline

    arcade_droid

  6. Offline

    Cybermaxke

    This plugin shouldn't be so hard too make :)
     
  7. Offline

    Herzire

    Wouldn't it be quite similar to electric fences?
     
  8. Offline

    Gladius_Crafter

    Get the plugin called ScriptBlock then do
    /sbwalk create [@bypass /smite <player>]
    then right click the block you need to do the damage on.
     
  9. Offline

    arcade_droid

    Did you read the post ? Using this command on every block takes too much time.
     
  10. Offline

    bubbleguj

    i'll make this plugin ;) and post it here...
     
  11. Offline

    Cybermaxke

    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.
     
    Last edited by a moderator: May 27, 2016
  12. Offline

    bubbleguj

    ohh okay :) grea work ;)
     
    Cybermaxke likes this.
  13. Offline

    Cybermaxke

    Oh, I forgot the perm, its dblocks.bypass
     
  14. Offline

    AyrA

    Thanks for the Plugin. Works perfectly
    Now the Sign "do not touch" actually makes sense
     
  15. Offline

    Neylmane

    Cool I'll try this plugin on my server
     
  16. Offline

    AyrA

    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
     
  17. Offline

    AndyMcB1

    VariableTriggers can do this..
     
  18. Offline

    AyrA

    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
     
  19. Offline

    LexLaiden

    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.
     
  20. Offline

    xEpicTaco

    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*
     

Share This Page