Desc This plugin is designed for duels so that players do not violate the principle of the combat. The plugin has a cooldown on the use of items, and much more that can be customized.
# EN * Should save the combat when the plugin is disabling? (Useful when the plugin is reloading)
# RU * Сохранить ли поединок когда плагин выключается? (Полезен когда сервер экстренно выключается)
save-pvp: true
# EN * Allowed commands in combat time.
# RU * Разрешенные команды во время поединка.
allowed-commands:
- 'hub'
power-up-punishes:
creative:
# EN * Whether to allow damage to the player, but not to give a combat mode.
# RU * Разрешить ли урон по игроку, но не давать режим боя.
accept-damage: false
# EN * Disable creative mode?
# RU * Выключить ли креатив?
disable-power-up: false
actions:
- '[sound] ENTITY_VILLAGER_NO 1.0 1.0'
- "[message] &cYou can't start combat in creative mode!"
#- '[console] minecraft:gamemode 0 {player}'
vanish:
# EN * Whether to allow damage to the player, but not to give a combat mode.
# RU * Разрешить ли урон по игроку, но не давать режим боя.
accept-damage: false
# EN * Disable vanish mode?
# RU * Выключить ли ваниш?
disable-power-up: false
actions:
- '[sound] ENTITY_VILLAGER_NO 1.0 1.0'
- "[message] &cYou can't start combat in vanish mode!"
fly:
# EN * Whether to allow damage to the player, but not to give a combat mode.
# RU * Разрешить ли урон по игроку, но не давать режим боя.
accept-damage: false
# EN * Disable fly mode?
# RU * Выключить ли флай?
disable-power-up: false
actions:
- '[sound] ENTITY_VILLAGER_NO 1.0 1.0'
- "[message] &cYou can't start combat in fly mode!"
god:
# EN * Whether to allow damage to the player, but not to give a combat mode.
# RU * Разрешить ли урон по игроку, но не давать режим боя.
accept-damage: false
# EN * Disable god mode?
# RU * Выключить ли год?
disable-power-up: false
actions:
- '[sound] ENTITY_VILLAGER_NO 1.0 1.0'
- "[message] &cYou can't start combat in god mode!"
actions:
start:
- "[message] &8[&c&nPvP&8] &fStarted combat with &c{enemy}&f. Don't leave from server before end the combat mode, else you will &c&ndie&f!"
- '[sound] ENTITY_GENERIC_EXPLODE 1.0 1.0'
quit:
- '[console] minecraft:kill {player}'
- '[broadcast] &cA player {player} quited in combat mode and was &4&npunished&f.'
- '[sound] ENTITY_PLAYER_LEVELUP 0.5 1.0'
end:
- '[message] &8[&c&nPvP&8] &fCombat mode &a&nfinished&f, now you may &7quit &ffrom the server.'
- '[sound] ENTITY_PLAYER_LEVELUP 1 1'
pvp-information:
bossbar:
enable: true
text: '&8- &c{time} &fsec to end &8-'
# Available styles: SOLID, SEGMENTED_6,
# SEGMENTED_10, SEGMENTED_12, SEGMENTED_20.
style: SOLID
# Available colors: BLUE, GREEN, PINK,
# PURPLE, RED, WHITE, YELLOW.
color: RED
#actionbar: '&cДо окончании PvP осталось {time} сек.'