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

SpawnProtection

A lightweight and customizable Minecraft plugin that grants temporary PvP protection to players after joining or respawning, helping prevent spawn kills and create a fairer gameplay experience.

Загрузки
3K
Подписчики
5
Обновлён
30 июня 2026 г.
Лицензия
GPL-3.0-or-later

Опубликован 11 июня 2025 г.

SpawnProtection

SpawnProtection is a lightweight, performance-friendly, and fully customizable Minecraft plugin that enhances server fairness by preventing PvP abuse right after players join or respawn. Ideal for survival and PvP servers, this plugin ensures that newcomers or freshly respawned players are not instantly killed, while still allowing server owners full control over how protection works.

Features:

  • Join & Respawn Protection
    Automatically grants temporary protection to players when they join the server or respawn, shielding them from PvP damage and preventing them from harming others.

  • Tablist Indicator
    Protected players are clearly marked in the player list (tablist), making it easy for others to recognize who is currently invulnerable.

  • Proximity Warning System
    When a protected player comes too close to someone who is unprotected (or vice versa), both players receive configurable warning messages to avoid accidental PvP encounters.

  • Logout & Reconnect Support
    Players who disconnect while protected retain their remaining protection time when they rejoin, preventing abuse and improving the user experience.

  • Early Expiry by Interaction
    Protection is automatically removed if the player performs certain restricted actions (e.g., attacking other players).

  • Complete Customization
    Every aspect of the plugin – from protection duration, tablist formatting, warning messages, trigger actions, to behavior on logout – can be fully adjusted in the config file to suit your server’s playstyle and rules.

Why Use SpawnProtection?

SpawnProtection is the perfect addition for any server that values fair play, especially in competitive or semi-competitive environments. It prevents spawn camping, improves the onboarding experience for new players, and reduces frustration caused by instant PvP deaths after login or respawn.

Whether you're running a large PvP network or a small survival community, SpawnProtection offers just the right amount of safety, transparency, and control.


discord github modrinth

Ченджлог

1.5Релиз26.1.1, 26.1.2, 26.2 · 30 июня 2026 г.

SpawnProtection 1.5

Added

  • Death Effects – Optionally apply configurable potion effects to players on respawn after they die. Useful as a soft penalty or balancing mechanic alongside spawn protection.
    • New death-effects section in config.yml, disabled by default (enabled: false)
    • Define any number of named effects, each independently toggleable
    • Per-effect configuration:
      • type – any valid Bukkit PotionEffectType (e.g. WEAKNESS, SLOWNESS, BLINDNESS, REGENERATION, ...)
      • duration-seconds – effect duration
      • amplifier – effect level (0 = level 1)
      • ambient – translucent particle style toggle
      • particles – show/hide particles entirely
      • icon – show/hide the effect icon in the inventory
    • Comes pre-configured with a disabled weakness and slowness example to show the format

Notes

  • No breaking changes. New config section is added automatically with sensible defaults (enabled: false); existing setups are unaffected unless explicitly enabled.
1.4Релиз26.1.1, 26.1.2, 26.2 · 25 июня 2026 г.

Added

  • Live cooldown display for Mob Protection – Mob Protection now shows the remaining time in real time, matching the behavior already known from Spawn Protection. Previously it only sent a start and an end message.
    • Configurable via the new mob-protection.protection-display option (actionbar or bossbar, default: bossbar)
    • Bossbar mode shows remaining time as mm:ss with a depleting progress bar, in its own green bossbar so it never conflicts with Spawn Protection's bossbar
    • Bossbar automatically hides once the protection expires

Changed

  • When both Spawn Protection and Mob Protection are active at the same time and both are set to actionbar, Spawn Protection takes priority on the shared actionbar line; Mob Protection's actionbar updates are skipped during that time to avoid flickering between the two messages.

Notes

  • No breaking changes. New config option is added automatically with sensible defaults; existing setups continue to work unchanged.
1.3Релиз26.1.1, 26.1.2, 26.2 · 17 июня 2026 г.

Added

  • Mob Protection – New time-limited protection against mobs and monsters, primarily aimed at first-join grace periods. While active, all mob/monster damage is cancelled, but PvP damage still goes through normally.
    • Configurable via mob-protection.first-join-seconds (default: 300)
    • Can be toggled with the new mob-protection.enabled flag
    • Automatically granted to first-time joiners alongside spawn protection, but managed independently from it
    • Players receive messages when mob protection starts and ends (mob-protection-started, mob-protection-ended)
    • Player-shot projectiles are correctly treated as PvP, not as mob damage

Changed

  • All time settings now use seconds instead of minutes for greater precision and consistency. Affected: protection duration, first-join duration, claim duration, required online time, and related settings.
    • default-minutesdefault-seconds
    • first-join-minutesfirst-join-seconds
  • Today playtime tracking refactored from minute-based to second-based tracking for more granular accuracy.
  • /spawnprotection claim messages and calculations now reference seconds.

Performance

  • Today playtime now caches base values to avoid repeated disk reads.
  • Save frequency optimized: data is now persisted once per minute instead of on every increment, reducing disk I/O.

⚠️ Migration Note

All time-related config values changed from minutes to seconds. Existing configs are not auto-converted – update your values manually (e.g. 5 minutes → 300 seconds) or regenerate the config.

1.2Релиз1.21.8, 1.21.9, 1.21.10 · 8 декабря 2025 г.

Added

  • Implemented plugin metrics.
  • All admin commands now require the permission: spawnprotection.admin
  • Added new configuration option:
    protection:
      disable-attack-confirm: false
    
1.1Релиз1.21.8, 1.21.9, 1.21.10 · 13 июля 2025 г.
  • Added config reload command
  • Added tab-list configuration settings

Комментарии

Загружаем…