Chest Refill

Discussion in 'Plugin Requests' started by icedmoca, Oct 15, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    icedmoca

    Hello, I'm looking for someone to code a plugin for me, here is what I need. Its long but JUST DO IT.

    Name: XPCHESTREFILL

    About: When you start the server, the XP levels count down from 300 to 0 then right at Zero all chests you select to refill with items. The XP timer keeps repeating, 300 to 0, 0 to 300, 300 to 0, and so on.

    How To Create A Chest That Refills:
    1. Place a chest
    2. Look at the chest
    3. Type /XCR select
    4. Type /XCR addref 1
    5. A gui opens with 3x9 slots
    6. You place items in the gui.
    7. If you want different items to spawn in the chest each time, repeat the command.. with 2.
    8. Add different items in the chest each time do /XCR addref 2 then a gui opens.
    9. To finish editing the chest, do /XCR done


    Commands:

    /XCR
    /XCR help
    /XCR select
    /XCR addref <#>
    /XCR done
    /XCR refill


    The text /XCR sends to you:
    &9Do /XCR help

    The text /XCR help sends you:

    &9Commands:
    &c/XCR select
    &c/XCR addref <#>
    &c/XCR done
    &c/XCR done

    The text /XCR select sends you:
    &aSelected Chest!

    The text /XCR addref <#> sends you:
    It Doesn't send you any text, it opens a gui.

    The text /XCR done sends you:
    &aExiting and deselecting.

    The text /XCR refill sends you:
    &aRefilled All Chests.


    Support: It doesn't need large chest support, but if can its ok.


    Thanks, hope you guys can pull this off, thanks :)
     
    Last edited: Oct 15, 2015
  2. Offline

    asaffisher.dev

    This is what i can do:
    1. /XCR select
    2. place chest
    3. put default stuff in the chest
    4. /XCR endselect
    5. /XCR Refill
    and on...
     
  3. Offline

    TookieP

    I'll do it.
     
  4. Offline

    icedmoca

    Thanks man! Do it well!

    Ok I'll give your plugin a try and @TookieP plugin a try.

    <Edited by bwfcwalshy: Merged posts, please use the edit button rather than double posting.>
     
    Last edited by a moderator: Oct 20, 2015
  5. Offline

    TookieP

    I have some questions, first of all, i did all this :
    1. Place a chest
    2. Look at the chest
    3. Type /XCR select
    4. Type /XCR addref 1
    5. A gui opens with 3x9 slots
    6. You place items in the gui.

    But i don't understand what i'm supposed to do next...
     
    Last edited by a moderator: Oct 20, 2015
  6. Offline

    icedmoca

    Ok here is what more i need:

    After putting random items in 3x9 slots you can do /XCR addref 2 to open another 3x9 gui to put other items into it.

    Once you close the 3x9 gui, you do /XCR done to finish the chest selecting and editing.

    What i also need is the EXP bar levels to count down from 300 to 0, at 0 all the chest refill. After they refill the EXP bar level starts back at 300 and goes to 0 then it refreshes the chest with your second 3x9 slot of items. Then when it goes back to 300 then back to 0 the chest will change the items to XCR addref 1.


    What it is really doing is:

    When Chest refills for the first time when the server restarts or starts up,

    the /XCR addref 1

    Will be the first items into the chest.

    then when the timer of the EXP bar levels go from 300 to 0, at 0 the chests refill.

    the next refill will have the /XCR addref2 items in it,

    then when the timer of the EXP bar levels go from 300 to 0, at 0 the chest refill with the addref 1.

    and so on and so on..

    thanks.

    EDIT by Timtower: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 20, 2015
Thread Status:
Not open for further replies.

Share This Page