Cornucopia

The horn of plenty! Spawn extra crates, barrels, nodes, animals, etc. randomly on the map

Total Downloads: 6,716 - First Release: Jul 28, 2015 - Last Update: Jun 1, 2017

5/5, 26 likes
  1. Cool. Thanks for the quick update!

    BTW can you update the overview
    • default config
    • give a clear explanation of the -1 setting
    • spacing!
    • give examples of "to do X change Y in the config." OR a couple of explainer videos :)
    • how-tos on using with other plugins (Item Config, LootConfig, Hunt, Zlevels, etc)
    Also, I donated: #7FK55664JJ258674V Because I appreciate your plugin work !
     
    Last edited by a moderator: Oct 12, 2015
  2. Alright I'll try and do that tonight, indeed it was written when I released it initially and didn't review it since then. Lots of things changed!

    Thank you very much for your donation it's very appreciated!
     
  3. My config file looks completely different from yours.


    Code:
    {
      "RefreshMinutes": 15,
      "ApplyLootFix": false,
      "RefreshOnStart": false,
      "Animals": [
        {
          "Prefab": "assets/bundled/prefabs/autospawn/animals/chicken.prefab",
          "Min": -1,
          "Max": -1,
          "IgnoreIrridiated": true,
          "DeleteEmtpy": false
        },
        {
          "Prefab": "assets/bundled/prefabs/autospawn/animals/horse.prefab",
          "Min": -1,
          "Max": -1,
          "IgnoreIrridiated": true,
          "DeleteEmtpy": false
        },
        {
          "Prefab": "assets/bundled/prefabs/autospawn/animals/boar.prefab",
          "Min": -1,
          "Max": -1,
          "IgnoreIrridiated": true,
          "DeleteEmtpy": false
        },
    just to show a part.

    U know what this is caused of? The changes are much harder to config!
     
    Last edited by a moderator: Oct 15, 2015
  4. The config file totally changed ina version a while back, sorry the main description of the plugin is outdated. The new config isn't that much harder to modify really..
     
  5. Thanks for reply, harder was the wrong word. More.. time lasting? :D
     
  6. is there a way to figure out what the min/max was before installing cornucopia?
    I see the new json file do not have it as before.


    nvm i'm guessing its what's on the 1st page. sorry to bother.
     
    Last edited by a moderator: Oct 21, 2015
  7. No the info on the first page is outdated,

    The number of "natural" resources vary based on world size and possibly seed, so you want to run the plugin with the default config on a fresh server restart and wait for 30 min or so. Then you can run /cdump and check RCON for the current numbers. These will represent about what the game generates naturally, give or take. Use these values as references for setting your minimums and maximums.
     
  8. What is the purpose of "IgnoreIrridated"?

    Also what are your plans, if any to handle the hole "betterloot" is leaving since it is no longer supported?
     
  9. IgnoreIrridiated does nothing currently. It was meant to be used so items are not spawned or deleted in rad areas. I think I used to treat this and somehow zapped the code that did. Oops!
    [DOUBLEPOST=1445609783][/DOUBLEPOST]About BetterLoot my plugin does not affect the contents in any way currently. It is compatible with BetterLoot or any and all other loot modification plugins as it spawns containers the same way the game does.

    I do plan to make a loot plugin for my server but unsure at this point if I will make it public or not.
     
  10. Is this suppose to create that config file or do we put that in ourselves? If so.. save that as Cornucopia.json correct?

    Code:
    {
      "Animals": {
        "minBears": 10,
        "minBoars": 25,
        "minChickens": 5,
        "minHorses": 60,
        "minStags": 35,
        "minWolves": 5
      },
      "Barrels": {
        "minGoodBarrels": 25,
        "minNormalBarrels": 15,
        "minTrashCans": 45
      },
      "Crates": {
        "minBoxCrates": 20,
        "minWeaponCrates": 15
      },
      "General": {
        "refreshIntervalSeconds": 900,
        "fixloot": true
      },
      "Minerals": {
        "minMetalNodes": 70,
        "minStoneNodes": 70,
        "minSulfurNodes": 70
      }
    }
     
  11. This is the old config format, its obsolete. Just load the plugin and it will create a default config and just change it to what you need, upload and reload.
     
  12. I see you said you would post an updated description with how tos for the new updated config. That hasn't been done yet. Any chance you can post that soon?
     
  13. I'll try and do that tonight sorry
     
  14. I tried making animal numbers higher, and ran the /cspawn command. Then used the cornu.dump command in console after about 30 minutes, and doesnt look like there are the numbers I have set in my config. Wolves for example i have min 500 max 1250, but when i ran the dump command it said there was only 8 spawned. :/
     
  15. Show me the output of cdump.

    Btw no point setting a min and a max. Set either not both.
     
  16. Code:
    [Oxide] 10:54 AM [Info] [Cornucopia] crate_normal.prefab 14(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] oil_barrel.prefab 22(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] loot_barrel_2.prefab 15(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] loot_trash.prefab 26(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] trash-pile-1.prefab 45(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] loot-barrel-2.prefab 24(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] loot-barrel-1.prefab 35(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] = ANIMALS =====================(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] bear.prefab 5(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] wolf.prefab 5(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] stag.prefab 20(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] horse.prefab 7(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] boar.prefab 22(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)[Oxide] 10:54 AM [Info] [Cornucopia] chicken.prefab 2(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
     
    Last edited by a moderator: Nov 18, 2015
  17. You sure you using the latest version seldom??

    What's the output of /cspawn in rcon?
     
  18. Pretty sure.

    When i use /cspawn there is no output in rcon.. I guess thats not good :/
    [DOUBLEPOST=1447879876][/DOUBLEPOST]Are all the min and max numbers supposed to have - infront? like..
    -1,
    or should it just be
    1,
     
  19. Max number should not have - before it... -1 means "ignore that parameter".
     
  20. okay sweet. seems to be working now.. I've been killed by a wolf and a bear. 1000 wolves on a 2500size map = hard to survive. Just they way i like it!