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. Greetings! I set a minimum value and let maximum at -1.

    either with bears and wolfes. there i set a maximum and let minimum -1.

    but now i have no bears and wolfes. with cdump they are not listened.

    Code:
    3:29 PM [Info] [Cornucopia] boar.prefab                                        237
    3:29 PM [Info] [Cornucopia] stag.prefab                                        204
    3:29 PM [Info] [Cornucopia] chicken.prefab                                     46
    3:29 PM [Info] [Cornucopia] horse.prefab                                       71
    [DOUBLEPOST=1453128591][/DOUBLEPOST]My config:
    Code:
    {
      "Animals": [
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 120,
          "Prefab": "assets/bundled/prefabs/autospawn/animals/chicken.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 150,
          "Prefab": "assets/bundled/prefabs/autospawn/animals/horse.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 420,
          "Prefab": "assets/bundled/prefabs/autospawn/animals/boar.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 420,
          "Prefab": "assets/bundled/prefabs/autospawn/animals/stag.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": 50,
          "Min": -1,
          "Prefab": "assets/bundled/prefabs/autospawn/animals/wolf.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": 30,
          "Min": -1,
          "Prefab": "assets/bundled/prefabs/autospawn/animals/bear.prefab"
        }
      ],
      "ApplyLootFix": true,
      "Loots": [
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 46,
          "Prefab": "assets/bundled/prefabs/radtown/loot_barrel_1.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 68,
          "Prefab": "assets/bundled/prefabs/radtown/loot_barrel_2.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 36,
          "Prefab": "assets/bundled/prefabs/radtown/oil_barrel.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 20,
          "Prefab": "assets/bundled/prefabs/radtown/loot_trash.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 208,
          "Prefab": "assets/bundled/prefabs/autospawn/resource/loot/trash-pile-1.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 46,
          "Prefab": "assets/bundled/prefabs/radtown/crate_normal.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 68,
          "Prefab": "assets/bundled/prefabs/radtown/crate_normal_2.prefab"
        }
      ],
      "Ores": [
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 2100,
          "Prefab": "assets/bundled/prefabs/autospawn/resource/ores/stone-ore.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 1950,
          "Prefab": "assets/bundled/prefabs/autospawn/resource/ores/metal-ore.prefab"
        },
        {
          "DeleteEmtpy": false,
          "IgnoreIrridiated": true,
          "Max": -1,
          "Min": 1950,
          "Prefab": "assets/bundled/prefabs/autospawn/resource/ores/sulfur-ore.prefab"
        }
      ],
      "RefreshMinutes": 60,
      "RefreshOnStart": true
    }
     
  2. Umm I don't know mate config looks fine? Did you try /cspawn? What msgs you getting there?
     
  3. Respawning the lost ones... and done!

    cdump now says

    Code:
    3:54 PM [Info] [Cornucopia] stag.prefab                                        420
    3:54 PM [Info] [Cornucopia] boar.prefab                                        420
    3:54 PM [Info] [Cornucopia] chicken.prefab                                     120
    3:54 PM [Info] [Cornucopia] horse.prefab                                       150
    
    But still no Bears and Wolfes. I try to set also a minimum value.
     
  4. The way you config is setup you should get at least the normal pop... Worse case capped to your max values if the map has more normally.

    I don't know, could be a bug I must admit its been a while since I used maximums..
     
  5. Is it better to use minimum? as i said... the other values are minimum and i have enough spawning around. i try also minimum for bear and wolf.
     
  6. Well the minimun is used to spawn more.. Maximum is used to cap.. Don't use both for the same item it makes no sense..

    Depends on what you want really... Are you looking for more wolves and bears than vanilla, or less?
     
  7. I look that i even have any bears or wolves! :D
    at the moment i have no one at all!

    I set bears and wolves to -1 but no one spawns.

    I want 2 times more bears and wolves than normal.

    but with cdump i have no bears and wolves.
     
  8. Umm I think the prob might be that you restarted server, ran cspawn and then looked at cdump?

    When the server restarts there are no animals, it takes a good 30 min for the normal pop to be reached.

    Try setting min and max to -1 and let it run for 30 min and then check cdump..
     
  9. Now it works! Set wolfes also to minimum 50 and bears minimum 30 and now it works.

    Another question... what do u mean with "delete empty" ?
     
  10. Thats for barrels and loot crates. This makes it so the cycle deletes empty ones.
     
  11. @Deicide666ra I found something wierd with your plugin; When you choose to add more "ores" to you server it adds them as item on the ground... Why no edit it so it spawns more collectable instead of ressources ?

    Lines 28-31
    Code:
    // Ore nodes
                    Ores.Add(new CornuConfigItem { Prefab = "assets/bundled/prefabs/autospawn/collectable/stone/stone-1.prefab", Min = -1, Max = -1, IgnoreIrridiated = true });
                    Ores.Add(new CornuConfigItem { Prefab = "assets/bundled/prefabs/autospawn/collectable/stone/metalore-2.prefab", Min = -1, Max = -1, IgnoreIrridiated = true });
                    Ores.Add(new CornuConfigItem { Prefab = "assets/bundled/prefabs/autospawn/collectable/stone/sulfurore-3.prefab", Min = -1, Max = -1, IgnoreIrridiated = true });
    
    But if you do that you may have to edit Purge() and GetOreNodes() function. Let me know what you think about it
     
  12. I made it to add minable nodes, not pickups...
     
  13. Then why when I used the default config players were finding "pickups" ? Is it a new thing in rust that i'm mot aware of? I thought it was your plugin but maybe I was wrong.
     
  14. Pickups have been there for like 6 months?
     
  15. maybe, stopped playing 2 months ago though ans never saw sulfur,metal ore pickups, only minables nodes. Ans if you look at the oxide item list your plugins is using ressources instead of collectables which are the minable nodes. That's why I'm confused
     
  16. The plugin reuses pickable resource locations out of lazyness. It just uses them, it does not generate new ones.
     
  17. Is there any way to change the spawn rate of rocks (the ones which players mine and receive stone, metal ore, sulfur ore and HQM from)? It isn't in the config.
     
  18. You can set your min value to your current /cdump values and reduce the spawn cycle time. This will ensure you always have that target amount when the cycle hits, adding nodes until its reached.
     
  19. Is there any chance this plugin could interfere/block Patrol Helicopters from spawning? I can't see any issues in the logs but since this plugin has been installed there hasn't been a single heli that auto spawned. I can spawn them manually with no issues however.
     
  20. I don't see how it could do that. That said if you are running any kind of plugin that affects day or night length or allow players to bypass night you will screw over the natural timer for airdrops and helis. I'd look that way if you have any such plugins!