Spawners

The <spawners> module provides an easy way of spawning entities and items into the world, without using actual spawner blocks and NBT editors.

The module uses the same syntax as kits to define items and makes use of a specific region to spawn them in.

Currently, only dropped items are supported by this module. Other types of entities may be supported in the future.
ElementDescriptionValue/Children
The main spawner node containing all defined spawners used in the match.Spawners
Spawner Attributes
AttributeDescriptionValueDefault
RequiredThe region in which to spawn the target entities.Region
RequiredThe region used to determine whether the spawner is actively spawning entities. At least 1 player must be in this region for the spawner to be active. Region
Cap of how many entities the spawner can spawn.NumberInfinity
Interval in between spawning attempts.Time Period10s
Used to randomize the spawn interval. Combine this with to create random intervals in between two values. Cannot be combined with .Time Period
Used to randomize the spawn interval. Combine this with to create random intervals in between two values. Cannot be combined with .Time Period
Filter to further control spawn conditions, will return true if at least one player in meets criteria. Filter
Spawner Sub-elements
ElementDescriptionValue
An item that will be dropped in the Item

Examples

This will spawn golden swords (in stacks of 1) in the red base, provided there is at least 1 person in that base. The swords will spawn in ramdom intervals of 2s - 10s. The insures that only players on the red team can trigger the spawner.

<spawners>
<spawner spawn-region="red-base" player-region="red-base" max-entities="50" min-delay="2s" max-delay="10s" filter="only-red">
<item amount="1" name="`6Golden Sword" material="gold sword"/>
</spawner>
</spawners>