Comment on page
Random Spawning
Configure random spawning and toggle it on or off
Custom mobs can spawn randomly throughout the world with this mechanic.
Go into
plugins/AdvancedMobs/randomSpawning.yml
file, set enabled
to false and restart.In the same file as mentioned above, you will find a list of mobs that can randomly spawn. By default, it looks like this:
randomSpawning.yml
1
# Random Spawn-able custom mobs list
2
mobsAllowedToRandomSpawn:
3
- 'Demon'
4
- 'Dog'
5
- 'Dragon'
6
- 'Flamingo'
7
- 'Giraffe'
8
- 'Gorilla'
9
- 'Hippo'
10
- 'Monkey'
11
- 'Octopus'
12
- 'Raccoon'
13
- 'Raptor'
14
- 'Robot'
15
- 'Tiger'
16
- 'Turtle'
17
- 'Wyvern'
18
- 'Zebra'
19
- 'Snail'
To remove a custom mob, just simply remove that entry from list and restart. To add a new one, simply add an entry with your wanted mob's name.
By default, custom mobs spawn in
"world"
world only. To add new worlds, add an entry to worldList
setting in randomSpawning.yml file. Below is an example where we add custom_world
to our list.randomSpawning.yml
1
# Worlds list for random spawning
2
# In what worlds should random custom mobs spawn
3
worldList:
4
- 'world'
5
- 'custom_world'
To do that, go into
plugins/AdvancedMobs/customMobs
folder. Open any of the mobs file you want (the extension is .amob
but the file acts like a .yml
file - use your text editor to open it!).Here's how the settings look like for Demon mob:
customMobs/Demon.yml
1
settings:
2
health: 40
3
sounds: WOLF
4
hostile: true
5
nametagHeight: 0.9
6
damage: 8
7
animateOnWalking: true
8
animationSmoothness: 5
9
animationSpeed: 2
10
biomes:
11
- 'ALL'
You can see the setting called
biomes
. To change biomes, simply add your entry from biome name list - https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/Biome.html. Adding entry
ALL
will allow the mob to spawn in any biomes.Last modified 1yr ago