About AutoSpawner
About AutoSpawner
This plugin allows you to randomly spawn animals for a price in resources.
Features:
You can customize your animals for spawn(custom items for any animal).
If You have same fuel for some animals - will picked random animal with same fuel.
Chat commands:
/craft_spawner - command for craft custom spawner.
Permission:
autospawner.craft - Give permission to craft autospawner
Notes:
Dont add or remove animals from config file, just disable or enable them as needed.
After restarting server, all animals will be removed.
Config Example:
{ "AutoSpawner config": { "spawnInterval": 5.0, //Timer for spawning "spawnRadius": 5.0, "maxSpawnedAnimals": 5, "speedFall": 3.0 //The speed of animals falling to the ground }, "Animals Custom spawning": { //First config key example for all animals in the list "bear": { "enabled": true, //Enabled/disabled to spawn animal "animalPrefab": "assets/rust.ai/agents/bear/bear.prefab", //Dont try to change this "fuel": { "fuelShortname": "lowgradefuel", //Only shortnames items "skinId": 0, //Your custom skinID "fuelAmount": 10 //Cost fuel for spawn one animal } }, "wolf": { "enabled": true, "animalPrefab": "assets/rust.ai/agents/wolf/wolf.prefab", "fuel": { "fuelShortname": "lowgradefuel", "skinId": 0, "fuelAmount": 10 } }, "boar": { "enabled": true, "animalPrefab": "assets/rust.ai/agents/boar/boar.prefab", "fuel": { "fuelShortname": "lowgradefuel", "skinId": 0, "fuelAmount": 10 } }, "horse": { "enabled": true, "animalPrefab": "assets/rust.ai/agents/horse/horse.prefab", "fuel": { "fuelShortname": "lowgradefuel", "skinId": 0, "fuelAmount": 10 } }, "chicken": { "enabled": true, "animalPrefab": "assets/rust.ai/agents/chicken/chicken.prefab", "fuel": { "fuelShortname": "lowgradefuel", "skinId": 0, "fuelAmount": 10 } }, "stag": { "enabled": true, "animalPrefab": "assets/rust.ai/agents/stag/stag.prefab", "fuel": { "fuelShortname": "lowgradefuel", "skinId": 0, "fuelAmount": 10 } } }, "spawnerSkinId": 3358767438, //Your custom skinID for autospawner "Cost craft": { //Cost for craft "lowgradefuel": 10, "metal.fragments": 100, "wood": 100 } }
Demo Video: