this datapack can make your own ZombieNight minigame,if you want to learn how to play it and use my finished world(download and playnow) you can go to this page Link
if you want to use guns,you should download this datapack Custom Guns datapack
otherwise,you can't use gun,and please set this datapack on top of the Custom Guns
How can you use it
use command
"dialog show @s czn:dev" to open dev menu
you can customize the mob generation points and player spawn points
but if you want to generate vindicator and slime,you should get block "enable generate point block"in the Dev dialog
player should stand on it to enable generating point
if you want to add more items in the shop,go to folder
datapack/CustomZombieNight/data/czn/dialog/shop.json
and go to https://minecraft.wiki/w/Dialog learn how to make dialog
scoreboard:
name objective what can it do
jis sm time,Mob are generated every 600 ticks
(your_name) sm coin
bc sm Generate mob quantity
tag:
name what can it do
slime Enable slime generation points
vind Enable vindicator generation points