Filled Smart Farm

Discussion in 'Plugin Requests' started by Hergarian, Feb 18, 2015.

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

    Hergarian

    Plugin category: RPG

    Suggested name: Smartfarm

    What I want: I'd like to have a plugin that opens a chest menu via command. There you have the option to buy virtual farms (wheat, potato's, iron...). The "farms" are producing the items in an interval of maybe five minutes. The items are stored in a virtual chest. if full it denies any more stuff.

    The Chest should be builded up in different types (configurable) and when you click on an item type you can buy a farm and then expand the size of it.
    Should all be configurabl .

    Ideas for commands: /farm /farmadmin

    Admin: reset player; give player

    Ideas for permissions: farm.use farm.maxsize.X farm.admin

    When I'd like it by: 1 Month


    I know it is hard.
    You can use any API
     
  2. Offline

    mrCookieSlime

    @Hergarian
    I might be interested in making
    this.
    However as Im currently extremely sick, it'll most likely take a few days until I can start with it.
    I might be able to finish it like in the next ~1-2 weeks.
     
  3. Offline

    Hergarian

  4. Offline

    mrCookieSlime

    One question though:
    Are Players only allowed to have 1 farm per type and then upgrade their Tier.
    Also, should the Tier upgrade the capacity of the Buffer and the production rate or just the capacity?
    If so, what should the tiers be?
    9 Slots and 5 minutes
    18 Slots and 2 Minutes
    etc...?
    Also, how do you buy/upgrade a farm? Using Money via Vault?
     
  5. @Hergarian This seems very interesting, I wouldn't mind doing it but I will not do it while someone else already is.
     
  6. Offline

    Hergarian

    The user can have every farm.
    When they expand the size, just the amount is going up.
    (Maybe they can add worker, to produce it faster.)
    I'm using Vault with CrafConomy3
     
  7. Offline

    mrCookieSlime

    @Hergarian
    That doesn't answer any of my Questions though besides the Economy one.

    Are Players only allowed to have one wheat farm for example and upgrade that or can they have like 20 wheat farms all upgraded?
    What exactly does the upgrading?
    Define "size"
    Will it upgrade
    a) The Buffer of how many Items can be stored per farm
    b) The Production rate
    c) The amount of Items generated per production.
     
  8. Offline

    Hergarian

    1 allowed "farm" Per Item (1 Wheat Farm, 1 Potato Farm, 1 Gold Mine...)

    It will upgrade
    c) The amount of Items generated per production.
     
  9. Offline

    mrCookieSlime

    @Hergarian
    Alright and how big is the capacity then?
    I mean, can it fill like upto 9 Slots or 18 etc...?
     
  10. Offline

    Hergarian

    It can fill 18 slots

    And it would be nice if i can change the language. (german u know)
     
  11. Offline

    mrCookieSlime

    @Hergarian
    Im always including a messages.yml in my Plugins.

    (Also german btw :p )
     
  12. Offline

    Hergarian

  13. Offline

    mrCookieSlime

    @Hergarian
    Another thing:
    What should be the max size of a farm? 64?
     
  14. Offline

    Hergarian

    You mean like 64 Items per 5 min?
    Yeah that would be okay
     
  15. Offline

    mrCookieSlime

    @Hergarian
    Okay good.
    If I'm feeling well enough, I might start this weekend.
    If not, then probably next week, it's getting better.
    Maybe I will maybe even be able to finish it this weekend, I'm fast but no promises though.

    May I ask you for what type of Server this is for though?
     
  16. Offline

    Hergarian

    Real.Life RPG Server
     
  17. Offline

    mrCookieSlime

    @Hergarian
    Done. Link is in my Signature, look for "VirtualFarms".
     
  18. Offline

    Hergarian

    @mrCookieSlime Thank you!!!!!!
    You don't know how happy i am!! ;D

    @mrCookieSlime
    Okay. I'm having this Problem:
    Wheat is complete fuctionable but I can't add new farms!

    Code:
    
    WHEAT:
      enabled: true
      production-rate-in-minutes: 5
      max-level: 64
      max-capacity: 18
      base-cost: 100
      increment: 500
      allow-offline-production: false
    POTATO:
      enabled: true
      production-rate-in-minutes: 4
      max-level: 64
      max-capacity: 18
      base-cost: 1000
      increment: 500
      allow-offline-production: false
    CARROT:
      enabled: true
      production-rate-in-minutes: 4
      max-level: 64
      max-capacity: 18
      base-cost: 1000
      increment: 500
      allow-offline-production: false
    
    @mrCookieSlime Okay it looks like the plugin is completely ignoring the config file

    @mrCookieSlime and if the user takes the item out of the chest. They can open it and take it again.

    EDIT by Timtower: merged posts
     
    Last edited: Feb 21, 2015
  19. Offline

    Hergarian

  20. Offline

    mrCookieSlime

    @Hergarian
    Sorry, Tags are sometimes not working, didn't receive a notification on those two.
    Its POTATO_ITEM and CARROT_ITEM.

    Also, please mark this Thread as Filled please.
     
  21. Offline

    Hergarian

    @mrCookieSlime
    if the user takes the item out of the chest. They can open it and take it again.
     
  22. Offline

    mrCookieSlime

    @Hergarian
    They can take Items but as soon as they close the Inventory, next time they open it, it'll have only those Items in it which the User did not take.
     
  23. Offline

    Hergarian

    @mrCookieSlime
    I got like 100 Stacks after the first 5 minutes

    Edit: Here i have more information for you. The user can take the items out of the chest, but they can't put in their inventory (it jumps back to the mouse). If they Shift-Click it, they can close it and take as many items as they want.
     
    Last edited: Feb 22, 2015
  24. Offline

    mrCookieSlime

    @Hergarian
    Can't be...
    What does the Stats say?
     
  25. Offline

    Hergarian

  26. Offline

    mrCookieSlime

  27. Offline

    Hergarian

    Currently Protucing 6 in 5 Min
    Currently Stored Items: 62 (5.0%)
    Next Item in: 3m 25s
    Cost: 4000
    @mrCookieSlime
     
  28. Offline

    mrCookieSlime

  29. Offline

    Hergarian

    @mrCookieSlime
    when i close it and open it again, the same amount is in the chest
     
  30. Offline

    mrCookieSlime

    @Hergarian
    And? You do know that's normal, right? I mean the Farms should obviously produce Items... so if you don't take them out, they obviously remain in there.
     
Thread Status:
Not open for further replies.

Share This Page