Перейти к содержимому
Mineforgian

DynamicSpawnPlugin

Dynamically updates the world spawn point in a spiral or square pattern outward from the original spawn location. The spawn moves at a configurable interval based on tick and/or respawns, allowing the world to expand gradually over time.

Загрузки
207
Подписчики
3
Обновлён
12 ноября 2025 г.
Лицензия
Open-Works-NAP-License

Опубликован 20 марта 2025 г.

Исходный код

DynamicSpawnPlugin dynamically updates the world spawn point using either a spiral or square pattern outward from the original spawn location. The spawn moves at a configurable interval, allowing the world to expand gradually over time.

Key Features:

  • Moves the spawn point in either a spiral or square pattern, expanding outward by a set distance.
  • Configurable update intervals (daily, weekly, monthly, yearly, or exact tick values).
  • Customize spiral tightness and curve with adjustable step distance and angle divisor.
  • Define square step size or use chunk center placement for precise spawn updates.
  • Updates can be triggered on player respawns based on configurable conditions.
  • /forcespawnmove command to manually trigger a spawn update.
  • /checkspawn command to view the current spawn coordinates.

Perfect for:

Survival servers looking to encourage exploration, prevent spawn crowding, and dynamically shift the world's central point over time!

Ченджлог

1.2Релиз1.21.10 · 12 ноября 2025 г.

Fixed infinite loop.

1.1Релиз1.21.4, 1.21.5, 1.21.6 · 29 июня 2025 г.
  • Fixed Square Mode to correctly move spawn outwards in all directions from center.
  • added config options for custom spawn_center, broadcast message, update on new player arrival and have it be possible to require both a respawn and an update_interval.
1.0Релиз1.21.4 · 28 марта 2025 г.

World Selection

Configurable target world (default: world).

Controlled using world-name in config.yml.

Spawn Update Interval

Automatically updates the spawn at regular intervals.

Configurable using update_interval with options:

daily (1728000 ticks)

weekly (12096000 ticks)

monthly (51840000 ticks)

yearly (631152000 ticks)

Custom tick values or 0 to disable automatic updates.

Respawn-Based Spawn Updates

Updates spawn on player respawns.

Controlled using update_on_respawn with options:

none – No update on respawn.

respawn-no-bed – Update spawn only if the player respawns without a bed.

respawn-all – Update spawn on all respawns.

Spawn Movement Modes

Spiral Mode:

Moves spawn outward in a spiral pattern.

Configured using:

spiral_step_distance – Step size between each spiral increment.

spiral_angle_divisor – Controls the spiral turn density.

Square Mode:

Moves spawn incrementally in a square pattern.

Configured using:

Manual Commands

/forcespawnmove – Manually triggers a spawn update.

/checkspawn – Displays current spawn coordinates.

Event Listeners

Player Respawn: Triggers a spawn update based on configured update_on_respawn settings.

World Spawn Change: Resets the spawn cycle and re-applies tick-based updates.

Комментарии

Загружаем…