[Question]Block replacement with timer

Discussion in 'Archived: Plugin Requests' started by rareshutzu, Jun 20, 2013.

  1. Offline

    rareshutzu

    I can't seem to find a plugin and I was wondering if you guys know any, that replaces a block with another block for a defined period of time, after the block has been destroyed.
     
  2. Offline

    ProtoTempus

    rareshutzu I could whip something up, but I am a little fuzzy on the details. Did you want it to occur when they place a certain block? Are there any other feature you're looking for?

    i.e. config.yml would be like:
    Code:
    replace:
        3:2
            time: 5
            destroyAfter: true
        4:5
            time: 10
            destroyAfter: false
    

    Explanation of config:
    Code:
        (Replaced Block ID):(Replacement Block ID)
            time: (Amount of time before action)
            destroyAfter: (true-Block is destroyed | false-Block is returned to original ID)
     
  3. Offline

    rareshutzu

    I am making an rpg server, where you can't place any block but destroy. So I was thinking of a plugin that replaces certain blocks (only that can be broke) with another blocks (that can't be broke) for a period of time.
     
  4. Offline

    ProtoTempus

    rareshutzu Do the blocks get replace onCommand, onClick, on break, etc?
     
  5. Offline

    rareshutzu

    On break. I want everything to be automated.

    Played goes for iron ore, he breaks it, takes the ore, then a grey wool block (for example) appears instead and after 2 minutes (or something), a new block of iron ore appears instead of the wool block.
     

Share This Page