# General zombies

General zombies are basically common entities, which spawns more frequently and have basic settings for players to deal with.

## Features

* Notification about remaining zombies in game
* Chance to spawn this zombie as baby or villager
* Option to make them silent (not producing any sounds)
* Option to make them burn in daylight
* Option to target nearby players first or random players
* Option to set [custom name](/ragemode-docs/global-game-guides/name-tag.md) (name tag)
* Option to spawn zombies at different world times
* Option to change death sound
* Option to drop extra bonus points on entity death
* Option to execute a list of commands after death
* Option to spawn this zombie as immunity with glowing effect as well
* Option to add different types of [attributes](https://minecraft.wiki/w/Attribute)
* Option to add equipment like armour or weapon using [Custom items](/ragemode-docs/guides/custom-items.md)

#### Zombie with dropped bonus

<figure><img src="/files/cgCLiZKXm0TWpGCxPLpU" alt=""><figcaption></figcaption></figure>

<p align="right"><sub><em>Works for both general and special zombies</em></sub></p>

## Configuration

You can find the settings for this zombie in `plugins\RageMode\zombie game` directory under `settings.yml` file.

```yml
zombies-left:
  start-notification-from: 5
  apply-glowing-effect-seconds: 5
```

* `start-notification-from` - Defines the value of when to start broadcasting the amount of zombies left behind
  * Set to `0` to only broadcast if all zombies killed
  * Set to `-1` to disable broadcasting
* `apply-glowing-effect-seconds` - Apply a glowing effect to the remaining zombies for x amount of seconds
  * Set to `0` to keep it as long as the zombie lives
  * Set to `-1` to disable
  * `start-notification-from` option should be set to a positive value to make this work

`general-zombie-settings`

* `baby-zombie-chance` - The chance that this zombie spawns as baby, can range from `0-100` where `0` = disabled
* `zombie-villager-chance` - The chance to spawn this zombie as villager, can range from `0-100` where `0` = disabled
* `silent-zombies` - Makes this zombie silent (not producing any sounds)
* `should-burn-in-day` - Should this zombie burn in daylight
* `target-nearby-players-first` - Determines if this zombie should target nearby players firstly or not
  * If disabled, they will target random players per spawned zombie. They can also detect players who are very far away and ignore nearby players.
  * If enabled, they will target nearby players (within x blocks range) - This is the default vanilla behaviour
* [custom name](/ragemode-docs/global-game-guides/name-tag.md) (name tag)
* `world-times-to-spawn-zombies` - Spawn zombies in defined world times
  * Set to `-1`, to spawn every time even in sunlight
  * Specify world ticks in integer value or the name of the time
    * Available common time names: `day`, `noon`, `night`, `midnight`
    * <https://minecraft.wiki/w/Daylight_cycle#24-hour_Minecraft_day>
  * You can also specify from which time till the specified time should spawn zombies
    * Example: `sunset-sunrise`
  * If, for example, only one time is specified, `night`, the zombies will start spawning from this time until 0 (24000).
    * But you can't specify times like `sunset-sunset` (it should be -1), `night-day` (13000 > 1000)
    * Take into account the `lock-day-light-cycle` option, if this enabled zombies won't be spawned, unless the world time is at the specified value
* `death-sound` - Sound played when this zombie died
  * `should-play` - Should this zombie play death or customised sound or not?
  * `sound` - The sound to be played when this zombie died
    * Set to `none` to keep vanilla default death sound
* `drop-bonus-points` - Drop bonus points on zombie death
  * `drop-item` - [Item to drop](/ragemode-docs/guides/custom-items.md), specify item name from `custom-items.yml` file
  * `chance` - The chance between dropping bonus points on zombie death
    * value should range between `0-100`
    * `0` to disable
  * `max-drops-possible` - Maximum amount of drops possible in all games
    * Value should be higher than `0`
    * This is a global configuration meant for all spawned general zombies
  * `despawn-seconds` - Item despawn time after which this entity is forcefully despawned and removed
    * If `0` the item will be removed on game end only
  * `points`
    * The random points to give if the player picks up this drop from the ground: `points: 1-5`
    * You can as well specify this to give a fixed value: `points: 6`
  * `item-custom-name` - Custom name to appear above this drop item
    * Set to empty value   to have no name appear
* `death-commands` - List of death commands to perform after this zombie died
* `zombie-immunity` - Make zombies immune to any damage for a certain amount of seconds
  * `chance` - The chance between `0-100` to apply immunity for spawned zombies
    * `0` to disable
  * `custom-name` - Appends a custom name (name tag) above the immunity zombie
    * Set to empty string `custom-name: ''` to disable
  * `immunity-seconds` - A random time interval between two values, or a single value to set a fixed time
    * Single value: `immunity-seconds: 5`
    * Random value: `immunity-seconds: 5-10`
    * The maximum value is 1800 seconds (30 minutes)
  * `apply-glowing-to-immune-zombies` - Apply glowing effect to zombies which have immunity effect set
* `attributes` - The attributes added to this zombie
  * ```yml
    attributes:
      name:
        chance: 4.0
        value: 0.05-30
        operation: add_number
    ```
  * `name` - the name of the [attribute](https://minecraft.wiki/w/Attribute#Attributes)
  * `chance` - The chance ranges between `0-100` to apply this attribute to this zombie, `0` to disable
  * `value` - A random value between minimum and maximum values, or a single value to set for this zombie
    * Single value as minimum: `value: 1.2`
    * Random value: `value: 3-5`
  * `operation` - The operation to perform with the value (defaults to `add_number`)
    * list of operations: <https://minecraft.wiki/w/Attribute#Operations>
* `equipment` - Gives random equipment for the spawned zombies to make it hard to kill them
  * `chance` - The chance ranges between `0-100` in percent to give equipment to spawned zombies
  * `replace-existing` - If enabled, existing items the zombie currently equipped will be replaced with the selected items
  * `main-hand` - The main hand [items](/ragemode-docs/guides/custom-items.md) that can be added to zombie
  * `off-hand` - The off-hand [items](/ragemode-docs/guides/custom-items.md) that can be added to zombie
  * `armour-content` - The [armour](https://minecraft.wiki/w/Armor) [items](/ragemode-docs/guides/custom-items.md) that zombies can equip (helmet, chestplate, leggings, boots)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mdswork.gitbook.io/ragemode-docs/zombie-game-guide/general-zombies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
