Safezones

[Description]
The Safezones script allows server administrators to define protected areas where players are shielded from combat and other forms of damage. The script ensures smooth transitions in and out of safezones, with configurable invulnerability time, notifications, and debug tools for troubleshooting.
[Features]
Custom Safezones
Multiple safezones can be defined.
Each safezone has configurable position and radius.
Zones can be dynamically added, modified, or removed via config.
Invulnerability Management
Players inside a safezone are invulnerable.
When leaving a safezone, players remain invulnerable for a configurable duration or until they shoot.
Once the timer ends, players are vulnerable again.
Notifications
Entry notification when a player enters a safezone.
Exit notification when a player leaves a safezone.
Vulnerability notification when invulnerability expires after exiting.
Debugging Support
Debug messages in console for zone entry/exit events and vulnerability state.
Useful for testing configurations.
[Dependencies]
- Server version must be 7290 or higher
- Onesync Legacy or Onesync Infinity
[Optimization]
- Runs at 0.00 ms when idle
- Runs at 0.00 - 0.01 ms when active
[Editable Files]
- cfg/cfg.lua
[This package contains]
- core_pvp_safezones
[Documentation & Discord]
- Documentation can be found here : https://nuno-radio-man.gitbook.io/docs
- Join our discord for support : https://discord.gg/9Pt2RXRdbk
