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

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

  1. Offline

    Vynlar

    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

    The formatting on the OP is screwed up. Not sure why though.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  2. Offline

    ArcheCane

    hmm, I wonder what i can use this for... o:
     
  3. Offline

    Vynlar

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

    puyttre

    Thanks so much! I'm going to use this for a tutorial spot where blocks can reset themselves for the next user!
     
  5. 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.
     
  6. Offline

    Vynlar

    Sure, that would actually be useful for me as well. I'll get on it after work.
     
  7. Offline

    puyttre

    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

    Also, I only included iron and coal in the mine :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  8. Offline

    Vynlar

    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.
     
  9. Great! :D
     
  10. Offline

    crazyish

    Any command for removing the blocks? Explotions seem like a not so practical way of removing them.
     
  11. Offline

    Vynlar

    @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.
     
  12. Offline

    crazyish

    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. :)
     
  13. Offline

    Vynlar

    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.
     
    Mrlovecraft and crazyish like this.
  14. Offline

    sebbe1337

    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!

    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

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  15. Offline

    Nali

    Nice plugin but idk how to set it up...
     
  16. 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.
     
  17. Offline

    Nali

    ... How do i even run it.. there is no jar file.
     
  18. Offline

    sebbe1337

    yes there is 1 jarfile -.-
     
  19. Offline

    Nali

    ... where?

    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.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  20. Offline

    Jpl13027

    Is there a way to make is so the block respawns if it pushed by a piston? This is a great plugin!! Thanks!
     
  21. Offline

    sagethor

    @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 :)
     
  22. Offline

    Vynlar

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

    Pheenixm

    TNT that has been activated does not respawn
     
  24. Offline

    Vynlar

    The only event I checked on was the block break event. Ill figure out tnt explosions and other environmental stuff at some point.
     
  25. Offline

    h8no1

    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!
     
  26. Offline

    Slyvr89

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

    Vynlar

    Look for PhatLoots. That will do what you need.

    If you want something to be indestructible, just use worldguard or a similar alternative.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  28. Offline

    Scandragon

    The zip is a jar file..
    From certain servers, IE chooses to save jar files as zip (it basically is a zip file)
    Simply rename it to jar
     
  29. Offline

    josh7554

    im using this for a block doubler im going to make a bank and players will need to apply for a vault and they can put blocks in it (like iron block gold block and diamond block) so they can invest there iron gold and diamond blocks
    so if you place a diamond block in your vault and get rid of it it takes about 2 weeks before it respawns but for gold blocks it take 1 week and iron block will take 5 days thanks for reading this.
     
  30. Offline

    Ksama

    Hi, thanks for this amazing plugin !
    I have a problem : when TNT was activated (with Redstone) she don't respawn ! I know, a personn have the same problem, but can you fix it ?

    Sho I have two ideas :
    • Make a block respawn when he was broken with Redstone
    • Add a command for deleting respawn blocks (Like /brs remove <name>)
    Thanks !
    PS : Sorry for bad English, I'm French.
     

Share This Page