Limited Zones

With this addon you can create limited zones for a specified number of players. For example, if there are only a few players on the server, you can configure the game to take place in a specific part of the map. Exits from these zones can be blocked using entities via the editor.

The plugin includes a built-in editor that allows you to create and modify zones for a specific number of players.

What does the editor offer?

  1. Max Players

    • Allows you to set the maximum number of players required for the zone to activate.

  2. Spawn Enemies Distance

    • Enables you to configure a unique spawn distance from enemies for each zone.

  3. Boxes

    • These boxes define the playable zones where players can spawn (you can create multiple boxes per zone). Any spawns located outside the defined boxes will be deactivated.

  4. Props (Entities)

    • Used to block the exits of individual zones, reducing the playable area and ensuring smoother, more focused gameplay.

When creating zones, have the language set to "en" in configs/core.json in ServerLanguage

Zones Preview

Editor Preview

Config

What it does
Available Values

Respawn All Players

Determines whether all players will be respawned when a zone is activated

true / false

Count Bots As Players

Specifies whether bots should be counted as regular players

true / false

Zone Change Cooldown

The time it takes to switch zones after a zone change is triggered

seconds

Map Start Cooldown

The time during which zone changes are disabled at the start of a map

seconds

Check Spawn Points Under/Above Box

Determines whether spawn points can be located above or below boxes, or must be inside them

true / false

Entity Props

List of all entities that will be displayed in the menu editor (Props)

Admin Commands (Permission: @dm/zones)

  1. css_dm_zones - Opens a menu with the zone editor

  2. css_dm_setzone <player_count> - Activates a zone for the number of players you select

Last updated