Chest Auto Restock

Discussion in 'Archived: Plugin Requests' started by colefrick, Nov 10, 2012.

  1. Offline

    colefrick

    Hello, i am working on a survival server to work like day z... I need a plugin that can restock a chest in a certain amount of x minutes with a x amount of items and x amount of items left to then restock..
    I tried the 2 already made restock plugins nothing close to what i need..
    I need one that can restock the chest to reload it with maybe 2-4 different items then after all the items are gone it will restock after a certain amount of minutes.
    I was thinking maybe a sign above the chest like:
    [Restock:1]
    [ to ensure it is a restock chest
    restock to ensure it's for the restock plugin
    1 being the ID of the chest
    Then the commands would be like:
    /setstock chestID ITEM ID,ITEM ID,ITEM ID
    Example of the working command would be like:
    /setstock 1 43,1,3, or /setstock 1 tnt,stone,diamond,sword
    and to set the timer it would be
    /setstocktime 1 xMinutes
    Example of the working command would be like:
    /setstocktime 1 2 or /setstocktime 1 21
    21 being the Minute
    If anyone can help or make it please reply or want more indev please reply also!
     
  2. Offline

    seiterseiter1

Share This Page