
ZonePracOldCombat
1.8 PvP mode enforcement for ZonePractice Pro Duels via OldCombatMechanics
Оцените первым
6
0
ZonePracOldCombat
1.8 PvP mode enforcement for ZonePractice Pro via OldCombatMechanics
» About
This addon bridges ZonePractice Pro and OldCombatMechanics. Maps arena ladders to OCM combat modes (old / new) and applies module overrides per-player at match start. No world restriction headaches, no manual /ocm mode commands — players get the right combat mode automatically.
» Dependencies
- ZonePractice Pro — required
- OldCombatMechanics — required
» Installation
- Install ZonePractice Pro and OldCombatMechanics
- Drop
ZonePracOldCombat.jarinto yourplugins/folder - Restart the server
- Edit
plugins/ZonePracOldCombat/config.ymlto map ladders to modes
» Configuration
config.yml
# Which ladders use which mode
ladder-modes:
Nodebuff: old
BuildUHC: old
# ...
# Modules to enable for each mode (must match OCM module names)
modules:
old:
- "disable-attack-cooldown"
- "disable-sword-sweep"
- "old-tool-damage"
- "sword-blocking"
- "shield-damage-reduction"
- "old-golden-apples"
- "old-player-knockback"
- "old-player-regen"
- "old-armour-strength"
- "old-potion-effects"
- "old-critical-hits"
- "disable-attack-sounds"
new: []
» How it works
- Listens to
MatchStartEventandMatchRoundStartEvent - Resolves the ladder name from the match at runtime
- Looks up the configured mode (
old/new) for that ladder - Applies
setModuleOverridesForPlayer()withFORCE_ENABLEDon every module listed under that mode — bypasses OCM world-based modeset restrictions - Clears all overrides on
MatchEndEvent
» Compatibility
- Compatible with any Minecraft version supported by both ZonePractice Pro and OldCombatMechanics.
Enjoy ZonePracOldCombat!
Часто задаваемые вопросы
Совместимость
Зависимости
Ссылки
Создатели
Детали
Лицензия:
Опубликован:2 недели назад
Обновлён:2 недели назад
