[MECH] BlockRespawn v0.1 - Create blocks that respawn after a certain amount of time [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Vynlar, Aug 5, 2011.

     
  1. Offline

    Vynlar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    BlockRespawn
    Create blocks that respawn after a certain amount of time!
    Version: 0.1

    This will make it so you can turn ant block into a respawning block that will respawn after a certain amount of time after breaking it. This could be used for a tutorial on the server where someone can break a block and it will reset its self for the next person. There are many other uses i just haven't thought of.
    If you use this plugin on your server, tell us where or how you used it to give others ideas for their own servers.

    To install, simply put the jar into your plugins folder and restart or reload your server.

    Features:
    • Create blocks that respawn after a certain amount of time!
    • Permissions 3 support
    • Customizable
    Download

    Configuration:

    The config file under plugins/BlockRespawn/config.yml is ONLY for storing the positions. It's not an actual config, though if you want to change anything in the file, you can.

    Usage:
    • Type: /brs create <name> <delay in seconds>
    • Then punch a block.
    • Prosper!
    Permission Nodes:
    • blockrespawn.create - Allows you to create respawning blocks.
    Media:

    If anyone has any media (video, pictures, etc.) of BlockRespawn in action, contact me on here and I'll add it to the post.

    ToDo:
    • Suggestions welcome! [diamond]
    • Blocks that disappear after a delay of placing them. Not sure if it would be block id based, or location based.
    • Add PEX support.
    Bugs:
    • None that I found in testing.
    Change Log:
    v0.1
    • Initial release
    Credits:
    Idea from this thread

    This post has been edited 7 times. It was last edited by Vynlar Aug 5, 2011.
  2.  
  3. Offline

    Vynlar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The formatting on the OP is screwed up. Not sure why though.
  4. Offline

    ArcheCane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    hmm, I wonder what i can use this for... o:

    This post has been edited 1 time. It was last edited by ArcheCane Aug 5, 2011.
  5. Offline

    Vynlar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I wrote this for someone else, and realized it was perfect for one part of my server, I'm sure there's tons of things that would be handy.
  6. Offline

    puyttre

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks so much! I'm going to use this for a tutorial spot where blocks can reset themselves for the next user!
  7. Offline

    TfT_02

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it possible to disable the item drops? If you would make a tutorial which includes different types of ores, it would be a cheap and easy way to farm diamonds if the blocks drops items.
  8. Offline

    Vynlar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sure, that would actually be useful for me as well. I'll get on it after work.
  9. Offline

    puyttre

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey, this is a great plugin. I noticed a few bugs though, I'm not trying to be a douche, but instead I'm just trying to help.

    1. Using superpickaxe or MegaDrill from mcMMO will disable the block to respawn.
    2. Naming 2 blocks the same will only let one of them respawn (I'm pretty sure this is unfixable, but I put it here just in-case)
    3. If you do a command wrong, it messes up the plugins and weird bugs occur.
    4. If a creeper or a ghast explodes the block, it won't respawn.

    Thanks,
    Puyttre
  10. Offline

    puyttre

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Also, I only included iron and coal in the mine :p
  11. Offline

    Vynlar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    1: Don't use super pick on the blocks.
    2: Don't name them the same, duh.
    3: I'll add more checks on the commands.
    4: I'll look into fixing that.
  12. Offline

    TfT_02

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Great! :D
  13. Offline

    crazyish

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any command for removing the blocks? Explotions seem like a not so practical way of removing them.
  14. Offline

    Vynlar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @crazyish As a temporary solution, you can go into the config file and manually remove the block entry, but I really do need to add a removal system/command.

    This post has been edited 1 time. It was last edited by Vynlar Aug 8, 2011.
  15. Offline

    crazyish

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeh i found that sollution. Now i'd like to use this system on a spleef arena. So i can add this to the guests area of my server, i'd like to be able to protect the walls of the arena, f.ex by setting them to respawn in 0 seconds. But i'd like the snow blocks which will be placed over lava, to be breakable and respawn in 60+ seconds. Doing this when each block must have a unique name will take a very very long time hehe. Could a block group system be implemented somehow maybe? like when you activate the command, each block hit untill you use an end command will belong to that group? Maybe using a particular tool to make it work? Just throwing ideas out there. :)
  16. Offline

    Vynlar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I was already thinking of adding cuboid support or something like what your proposing a sort of mode where everything you hit goes into the file.

    This post has been edited 1 time. It was last edited by Vynlar Aug 8, 2011.
    Mrlovecraft and crazyish like this.
  17. Offline

    sebbe1337

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    if yo makes it cuboid supported we all will love you thats a plugin that almost every server needs ! :) [diamond][diamond][diamond]
    Dont you dare stop continue on this plugin! we need cuboids support!

    This post has been edited 1 time. It was last edited by sebbe1337 Aug 10, 2011.
  18. Offline

    sebbe1337

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    and also could you make so you can like the cuboid to a sign that tells when the mine resets ? :)
    Mine will be
    [Respawned]
    in x amount of seconds

    This post has been edited 1 time. It was last edited by sebbe1337 Aug 10, 2011.
  19. Offline

    Nali

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nice plugin but idk how to set it up...
  20. Offline

    raught19

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Could u have an option for it to send out a custom server message to everyone? would be awesome to spawn an diamond block in the center of an arena every hour, and have ppl fight over it.
  21. Offline

    Nali

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ... How do i even run it.. there is no jar file.
  22. Offline

    sebbe1337

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    yes there is 1 jarfile -.-
  23. Offline

    Nali

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ... where?
  24. Offline

    Nali

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Im sorry guys but i cant find the jar file.. only zip and rar files. and when i extract they become into class files... so i cant find any jar ones. and even if i do convert the rar files into jar then the plugin doesnt work.
  25. Offline

    Jpl13027

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is there a way to make is so the block respawns if it pushed by a piston? This is a great plugin!! Thanks!
  26. Offline

    sagethor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Vynlar
    I think this plugin is great for a respawning stone quarry for my prison server. Of course, it'd be a pain to set up without an way to "mass produce" respawnable blocks, but still, it's awesome. I look forward to using a new updated version with that feature :)
  27. Offline

    Vynlar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I started school recently and haven't been able to do any developing. Ill get the cuboid support out as soon as I have time to make it.
  28. Offline

    Pheenixm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    TNT that has been activated does not respawn
  29. Offline

    Vynlar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The only event I checked on was the block break event. Ill figure out tnt explosions and other environmental stuff at some point.
  30. Offline

    h8no1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Will you please add a command to stop a block from respawning again, also could you please add the option to not get a drop? im trying to make it so i can make my house not destroyable by anyone! Thanks!
  31. Offline

    Slyvr89

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm not sure if this runs in the same category, but I'm building an adventure server and it would be useful if the loot inside chests could be replenished for the next adventurers that wander through

Share This Page