Added ability to disable mob spawning inside of arenas.

This commit is contained in:
2022-06-04 14:26:52 -04:00
parent 4c9a5b2282
commit cd569b9914
5 changed files with 55 additions and 2 deletions

View File

@@ -96,6 +96,13 @@ command snowbrawl {
help Changes the amount of damage done per snowball hit in this arena.;
}
allowmobspawning [boolean:mobspawningallowed] {
perm redstoner.snowbrawl.arena.config.mobspawningallowed;
run set_arena_mobspawningallowed name mobspawningallowed;
type all;
help Sets whether mobs are allowed to spawn in this arena.;
}
bounds pos1 {
[block_x:x] [block_y:y] [block_z:z] {
run set_arena_pos1 name x y z;