Spawner types are in plugins/OtSpawners/mobs.yml. Run /spawners admin reload after a change.
Example
SPIDER:
name: 'Spider'
xp: 5
drops:
- { item: STRING, min: 0, max: 2 }
- { item: SPIDER_EYE, chance: 0.33 }
| Key | What it does |
|---|---|
SPIDER |
The Minecraft name of the mob. It is also the type in /spawners admin give. |
name |
The name in items, menus, messages and above the block |
xp |
XP for every mob. 0 means no XP. |
item |
The Minecraft name of the item |
min and max |
How many of the item one mob drops. Without them it is 1. |
chance |
The chance that a mob drops the item, from 0 to 1. 0.33 is 33%. Without it the item always drops. |
Large stacks use the average of these numbers, so 1,000 spawners give steady loot.
Adding a mob
- Add a block with the Minecraft name of the mob, for example
DROWNED, with itsname,xpanddrops. - Add prices for new items in
prices.ymlwhen players should be able to sell them. - Run
/spawners admin reload. - Give yourself one with
/spawners admin give <your name> drowned.
The menu has room for 7 different items per spawner. With more, the rest is still stored and goes along with Collect all and Sell all, and the console shows a warning.
Removing a mob
Placed spawners of a type that is no longer in mobs.yml stop making loot. What is inside can still be collected and sold.
Players cannot break these spawners, so nobody loses a stack because of a typing error. They see This spawner type is not set up on this server. Put the type back to make them work again, or remove the blocks yourself in creative mode with otspawners.admin.
Types that come with OtSpawners
Zombie, Skeleton, Spider, Cave Spider, Creeper, Blaze, Magma Cube, Slime, Zombified Piglin, Iron Golem, Enderman, Witch, Wither Skeleton, Guardian, Pig, Cow, Chicken, Sheep, Squid and Rabbit.