Refresh after TNT explosion

Discussion in 'Archived: Plugin Requests' started by ravand, Feb 5, 2012.

  1. Offline

    ravand

    I remember from the old days that worldguard didnt actually block tnt explosion but let it explode and then refreshed the area...

    Im kinda looking for a way to achieve that again...

    I want the explosion to destroy the terrain (or just makes it look like it was destroyed) and then replenishes the area...

    is that somehow possible with a plugin or a configuration or what ever?

    thanks in advance
    ravand
     
  2. Yeah thats possible
     
  3. Offline

    ravand

    really??
    and what about telling me how to... do you think ive opened this thread in the REQUEST forum to just find out weather it works or not?

    and btw i reported u :)
     
  4. Offline

    nisovin

    You asked, he answered.
     
  5. Offline

    ravand

    really sherlock? but then again you cant figure out that im asking for a way to achieve that?

    btw reported ur comment too.. i consider that spaming and its a very unuseful comment

    so would anyone be so kind and tell me HOW to make that possible please
     
  6. Offline

    nisovin

    It's perfectly acceptable for someone to state that a request is possible without actually creating it, especially if the requester specifically asked if it is possible. There's no need for you to be rude about it.

    Just so you know, the old delay between explosion and block restoration wasn't actually an intended feature, it was just a result of the limitations of plugins at the time. The game client would think that blocks were destroyed, but the plugin would prevent them from being destroyed server side. So a few seconds later, the client would sync up with the server and the blocks would reappear.
     
  7. Offline

    AStevensTaylor

    ravand If you wanted to do this, you would have to use a Thread.sleep(1000); and then do a event.setCancelled(true);
    And no I am not going to make it, and I don't care if you report me. I have told you how to do it. (in theory).
     
  8. Offline

    ravand

    i never actually requested someone to MAKE a plugin oO i just wanted to know wether there ALREADY is a way to achieve that... i wrote "is that somehow possible with a plugin or a configuration or what ever?"
    and i only reported those 2 comments because they were really inappopriate and unusefull ... i think they both know it ;) they are just trying to make it look technicalty correct/appropriate

    and what would u answer to that : "Im kinda looking for a way to achieve that again..." didnt really only ask wether its possible or not

    the last 2 comments however were useful and there is no need to report them oO
    well then besides worldguard is there a plugin which still has this unintended feature?
     
  9. Reported you for reporting everyone WITHOUT REASON. You asked if its possible and I told you it is and you reported me. This is abusing the report button.
     
  10. Offline

    Sayshal

    I saw some commits a while back.. If you all are done fighting and such, it seems this has/will be added to WorldGuard in the next release.
     
  11. Offline

    Father Of Time

    This is fairly easy to do, simply create an explosion listener, and inside the explosion event is a collection of blocks that were disturbed, simply take a "snapshot" of each blockstate and store them inside a collection, then trigger a delayed event for however long you want to wait before the terrain regenerates inside the explosion event.

    Let the explosion occur as normal, but then on the runnable execution of the delayed event take that collection of block states and iterate through it, placing the block back in the exact state it was in before the explosion. I know this works because I handle explosion protection this way in my region protection system, only my delay is a single tick so it appears instantaneous.

    Also on a side note ravand, you might want to lighten up a little and not attack people who are attempting you assist you (even if you find their assistance to be worthless), because frankly it made me not want to provide assistance in fear that you would decide to instigate a fight with me aswell... you'll only hurt yourself bro...
     
  12. Offline

    ravand

    ty for your explanation i see your point ! what is your plugin called? is it accessable for others?

    and i made clear why i gave those reports... and dude that guy just tried to be funny or a smartass by only saying "yes possible" and ignoring my request... i also said that i dont really want someone to write a plugin... all i wanted to know is wether its possible to make worldguard act like that again or if there is a plugin which still has this little feature im looking for... and a comment like that just annoys and is very unnecessary... why would i report a comment like yours, its useful and thats something everybody would like to read when requesting or asking something... sry but i considered that as a very unusefull comment because imo its spam. and i dont want to talk about it anymore :)
     
  13. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    ravand ludo0777

    I will ban both of you if you continue to abuse our report system with petty complaints.
     
    kalez and AStevensTaylor like this.
  14. I only reported him because he was abusing it...
     
  15. Offline

    AmoebaMan

    Yeah, it's a farily easy fix, but Father Of Time beat me to it...
     

Share This Page