# Zombies
**Zombies** turns your server into a horror survival experience. When the sun sets, hordes of zombies (Scarecrows) rise from the ground to hunt players.
This plugin is fully automated, managing spawn cycles, population limits, and cleanup routines so you don't have to.
## Features
- **Automated Cycle:** Zombies spawn at a configured time (default 19:30) and die at sunrise (07:00).
- **Player Proximity:** Option to spawn zombies exclusively near active players for guaranteed encounters.
- **Loot System:** Zombies drop loot bags on death instead of bodies.
- **Kits Integration:** Equip zombies with custom loadouts using the Kits plugin.
- **Performance Friendly:** Includes logic to clean up zombies that are too far away and relocate them to players.
---
## Permissions
`nightzombies.admin` - Allows access to the `/zombies` chat command.
---
## Commands
**Chat Commands:**
- `/zombies count` - Check active zombie count.
- `/zombies spawn [amount]` - Force spawn zombies.
- `/zombies kill` - Force kill all zombies.
**Console Commands:**
- `nightzombies.spawn [amount]`
- `nightzombies.kill`
- `nightzombies.count`
---
## Configuration
The config file is located at `oxide/config/NightZombies.json`.
### Recommended Settings for High Intensity
To make the night truly scary, enable "Spawn near players" in your config:
```json
"Spawn Settings": {
"Spawn near players": true,
"Min distance from player": 20.0,
"Max distance from player": 50.0,
"Zombie Settings": {
"Population": 50,
"Health": 200.0
}
}