Список изменений
Version 1.6.0 - Combat Update
⚔️ Added
- Combat Tagging System: Players can no longer use
/wildwhile in PvP combat - Smart Combat Detection: Automatically detects player vs player damage including projectiles
- Configurable Combat Duration: Set how long combat lasts after taking/dealing damage (default: 15 seconds)
- Combat Notifications: Players are notified when entering and leaving combat
- Combat Logout Protection: Optional punishment system for players who log out during combat
- World Blacklisting: Disable combat tagging in specific worlds (spawn areas, creative worlds)
- New Permission:
mcwild.wild.combat.bypass- Allows bypassing combat restrictions - Combat-related Messages: New message configurations for combat status and restrictions
🔧 Configuration Options Added
combat-tag.enabled- Enable/disable combat tagging systemcombat-tag.duration- Combat duration in seconds (default: 15)combat-tag.notify-on-tag- Notify players when tagged in combatcombat-tag.notify-on-untag- Notify players when combat endscombat-tag.punish-logout- Enable combat logout punishmentcombat-tag.logout-punishment- Type of punishment ("none", "kill", "damage")combat-tag.logout-damage- Damage amount for logout punishmentcombat-tag.blacklisted-worlds- List of worlds where combat tagging is disabled
📝 Enhanced
- Improved Logging: Enhanced debug output for combat events
- Thread Safety: Combat tag tracking uses thread-safe data structures
- Memory Management: Automatic cleanup of expired combat tags
- Error Handling: Better error handling for combat-related events
🛠️ Technical Changes
- Added
CombatManager.java- Core combat tagging logic - Added
CombatListener.java- PvP event handling - Updated
MCWild.java- Integrated combat manager - Updated
WildCommand.java- Added combat status checks - Enhanced plugin initialization and shutdown procedures
🔒 Permissions
- Added
mcwild.wild.combat.bypasspermission for staff/VIP players - Updated
mcwild.*permission to include combat bypass
💬 New Messages
combat-tagged- Notification when entering combatcombat-ended- Notification when leaving combatcannot-teleport-in-combat- Warning when trying to use/wildin combat- Combat logout punishment messages
- Combat help information
⚙️ Compatibility
- Backward Compatible: All existing features work unchanged
- Optional Feature: Combat tagging can be completely disabled via config
- No Breaking Changes: Existing configurations remain valid
- Spigot 1.21+: Optimized for latest Minecraft versions
🐛 Bug Fixes
- Improved chunk loading reliability
- Enhanced error handling for teleportation failures
- Better memory management for player data
📋 Migration Notes
- No manual migration required
- Combat tagging is enabled by default but can be disabled
- Existing permissions and configurations remain unchanged
- New configuration options will be auto-generated on first startup
Файлы
mcwild-1.6.0.jar(29.46 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.6.0
Загрузчики
PaperPurpurSpigot
Версии игры
1.21–1.21.8
Загрузок
8
Дата публикации
8 мес. назад

