Filled Block sequence

Discussion in 'Plugin Requests' started by matija131, Dec 20, 2019.

Thread Status:
Not open for further replies.
  1. Hello guys, I need a plugin that will spawn blocks in a specific configurable sequence after being broken.
    Example, when I break a dirt block, a cobblestone will spawn in its spot, when I break a cobblestone plugin will wait 10mins before spawning a dirt block back (if possible with a random offset of lets say 2 blocks).
    Everything needs to be configurable!

    Config example:
    Code:
    dirt:                    //if dirt block is broken
    1: cobblestone         //cobblestone will spawn after dirt being broken
    time: 10               //time before dirt is spawned after the last block in the sequence is broken
    offset: 2             //dirt block spawn offset
    
    leaves:                // if leaves are broken
    1: planks             //planks will spawn after leaves being broken
    2: log                //log will spawn after planks have been broken
    time: 5              //time before leaves are spawned after the log has been broken
    offset: 1             //leaves spawn offset
    About offset: it shouldnt replace the block, if there is one in the way, when being spawned, if theres something blocking the way it should spawn the other way where its not being blocked
    I would really like having offset but if you find it hard implementing it, its fine! If you can implement it but having problems it being configurable thats also fine, it doesnt need config, default offset should be 2 blocks!

    There will be thousands of those blocks with sequences in the world and im guessing atleast 50ppl breaking them at once, please make it lag free and possible. If "saving the sequences" (by that I mean, how will the plugin know which sequence has been started? How will the plugin know it should spawn cobblestone when a dirt block is broken if dirt is also under "leaves"? So I guess plugin will be remembering which sequence has been started in that spot), so if "saving the sequences" creates lag, I will not be using same blocks in any of the setups [I will not be using cobblestone in both "dirt" or "leaves" configuration]

    I need it for 1.8
    If you have any questions feel free to ask them!
    Thanks in advance! :)
     
  2. Offline

    LouShunt

    Hello ! I have made a version, i didn't succeed to make offset :( sorry about that. If you have any problem don't hesitate to contact me. Have a great day !
    Link: <Edit by Moderator: Redacted not allowed paid resource url>

    LouShunt
     
    Last edited by a moderator: Feb 6, 2021
  3. Awesome, works great! Thank you! :)
    Its fine about offset but, would you mind leaving a source code if somebody is willing to add it?
     
    Last edited by a moderator: Feb 6, 2021
Thread Status:
Not open for further replies.

Share This Page