Random Filled Chests

Discussion in 'Archived: Plugin Requests' started by CoD2204, Jul 13, 2014.

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

    CoD2204

    Name: RandomFilledChests

    What I want: A plugin that refills all the chests in the entire world with items, money and permissions, these rewards are set in the rewards.yml file(see below). The config.yml file(see below) should include some stuff such as enabling and disabling which worlds the plugin will affect. The rest of what I want should be explaiend well enough below in the example rewards.yml and config.yml. Would also be nice if the plugin can use both Item ID's and item Material ID.

    Permissions:
    - rfc.loot.items
    - rfc.loot.money
    - rfc.loot.permission
    - rfc.loot.*
    - rfc.reload
    - rfc.version
    - rfc.refill
    - rfc.*

    Commands:
    /rfc reload <- Reload config.yml and rewards.yml
    /rfc version <- Display version of the plugin
    /rfc refill <- Refill all chests now

    When do I want it? Hopefully by next week. :)

    Why do I need it? Im creating an adventure based server and players will be able to find both money and items in the chests that they can use for other aspects of the server.

    The plugin has two files inside it's folder, one named config.yml and another one named rewards.yml

    Heres a clue of how the reward file should look:
    Code:
    Rewards:
      Items:
        Enabled: true
    # ITEM | MINIMUM AMMOUNT-MAXIMUM AMMOUNT | CHANCES OF FINDING IN PERCENT
        - DIAMOND 0-5 5
        - IRON_INGOT 1-10 10
        - COAL 5-15 20
        - EMERALD 0-1 1
      Money:
        Enabled: true
    # MINIMUM AMMOUNT-MAXIMUM AMMOUNT | CHANCE OF FINDING IN PERCENT
        - 5-10 40
        - 10-25 25
        - 100-100 5
        - 1000-1000 0.5
      Permission:
        Enabled: false
    # PERMISSION | CHANCE OF FINDING IN PERCENT
        - permission.fun 5
        - permission.funner 1
        - permission.funniest 0.1
    Of course, this is not the limit. If the developer feel like it, he could always add more rewards. This is just an ideea from my side tho, which I think would be cool.

    I think this is how the config file should look:
    Code:
    Config:
    # Does players need a permission to find rewards?
      Use-Permissions: false
    # Should the chest get looted after one player loots it or should another player be able to loot it later before the reset time?
      One-Time-Loot: true
    # How long time should it take before the chests get filled up again?
      Reset-In-Minutes: 60
    # What worlds should the plugin affect?
      Worlds:
      - world
    Thank you if you take your time to make this!
    ADDITIONAL: Im in need of another plugin as well!
    Can you help?
     
  2. Offline

    CoD2204

  3. Offline

    cucci0

    i hope someone will make this 'cause i need it too CoD2204
     
Thread Status:
Not open for further replies.

Share This Page