О плагине pvp-toggle
Пусть ваши игроки решат, хотят ли они pvp!
- Автор
- LukeOnuke
- Лицензия
- GNU General Public License v3.0 only
- Первая публикация
- Последнее обновление
- Категории
- Игровые механики, Общение, Утилиты
PVP Toggle
Позвольте своим игрокам выбирать, когда они хотят сражаться! Когда игрок находится под защитой, он не может получить урон от других игроков и также не может наносить урон другим игрокам.
Обширная конфигурация!
Команды
| Команда | Использование | Право доступа | Альтернативы |
|---|---|---|---|
/pvp | Переключить PvP | pvptoggle.pvp | N/A |
/pvp <user> | Переключить PvP для пользователя | pvptoggle.pvp.others | N/A |
/pvp reload | Перезагрузить плагин | pvptoggle.reload | N/A |
/pvpstatus | Узнать, защищены ли вы от PvP | pvptoggle.pvpstatus | /pstatus, /ps |
/pvpstatus <user> | Узнать, защищен ли другой игрок от PvP | pvptoggle.pvpstatus.others | /pstatus, /ps |
Интеграция с PlaceholderAPI
Этот плагин поддерживает PlaceholderAPI и поставляется со следующими заполнителями.
%pvp-toggle_vulnerable%Является ли игрок уязвимым, выраженное в настраиваемом человекочитаемом языке.%pvp-toggle_boolvulnerable%Является ли игрок уязвимым, выраженное вtrueизfalse.
Конфигурация по умолчанию
# What should messages be prefixed with?
# You can use the formatting codes listed at https://minecraft.wiki/w/Formatting_codes#Color_codes
prefix: "§4PvP »"
# Should pvp be on by default?
default-pvp: false
# Do any worlds have PVPToggle disabled?
disabled-worlds:
# - world
# What is the message sent to players in the chat if they try to use the pvp command while on cooldown?
# %s is replaced by the time remaining, in the format of "1 minute and 32 seconds" or "32 seconds"
cooldown-message: "%s of cooldown remaining."
# After enabling pvp, how many seconds must a player wait before disabling it?
cooldown: 120
# Should players be prevented from disabling pvp during a fight?
anti-abuse: true
# Should players be able to hit themselves?
hit-self: true
# Should particles be spawned when a player is hit, but protected?
particles: true
# Should a message be sent to a player when they hit another player, but fail because that player is protected?
feedback: true
# Should a player's pvp status be reset when they die?
death-status-reset: true
# Should pvp be turned on after a player dies? Doesn't apply if death-status-reset is false.
death-status: false
# How many seconds should a player's cooldown be set to when they die? -1 to disable.
death-cooldown: -1
# After how many seconds should a player's pvp be automatically re-enabled? -1 to disable.
limited-time: -1
# Should a player be sent a chat message when their pvp is automatically re-enabled?
limited-message: "You are now %s"
# Should a player be sent a chat message when they die?
death-message: "You are now %s"
# Should players be able to attack pets of protected players?
protect-pets: true
# Should players ever be able to hit their own pets? (More "friendlies" coming soon)
friendly-fire: false
# What should the message be when a player tries to attack someone but fails because they're protected?
# %s is replaced with the name of the attacked.
pvp-off-message: "You can't fight %s!"
# %r is replaced with the name of the pet, for example "Wolf" or "King George II."
pet-pvp-message: "You can't fight %s's %r!"
# What should the message be when you try to attack your own team, but fail because friendly-fire is false?
ff-message: "Friendly fire!"
# What should the message be when toggle pvp?
# %s is replaced with the new state, "Vulnerable" or "Protected" by default.
toggle-message: "You are now %s"
# What should the message be when the console tries to do something that only players can do?
console-message: "§cYou can't use this command from the console."
# What should the message be when someone tries to do something, but can't because they don't have permission to?
permission-message: "You don't have permission to use this command."
# What should the message be after reloading this plugin?
reload-message: "Reloaded!"
# What should the message be when the targeted player can't be found?
# %s is replaced with the name of the targeted player.
not-found-message: "%s isn't online."
# What should the message be after toggling another player's pvp?
# %s is replaced with the name of the targeted player.
# %r is replaced with the new state, "Vulnerable" or "Protected" by default.
remote-toggle-message: "%s is now %r"
# What should the message be for checking pvp status?
# %s is the name of the player
# %r is the state; "Vulnerable" or "Protected" by default. (See: `disabled` and `enabled`)
pvp-status-message: "Status of %s is now %r"
# What should the words for the two states of pvp be?
disabled: "§aProtected"
enabled: "§cVulnerable"
Совместимость pvp-toggle
Ядра и прокси Minecraft
Поддерживаемые версии Minecraft
- 1.21.11
- 1.21.10
- 1.21.9
- 1.21.8
- 1.21.7
- 1.21.6
- 1.21.5
- 1.21.4
- 1.21.3
- 1.21.2
- 1.21.1
- 1.21
- 1.20.6
- 1.20.5
- 1.20.4
- 1.20.3
- 1.20.2
- 1.20.1
- 1.20
Нажмите на версию, чтобы посмотреть плагины для неё. Для этого плагина подберите сборку по версии Minecraft и ядру.
