Перейти к содержимому
Mineforgian

Данные могли устареть: источник временно недоступен, показан кэш.

Pacifism

Allow players to toggle their PVP on or off. (Also enables PVP after a specified amount of grace-time.)

Загрузки
2K
Подписчики
17
Обновлён
26 июня 2025 г.
Лицензия
LGPL-3.0-or-later

Опубликован 10 января 2024 г.

Dependencies

Discord Please join the Streamline Hub Discord in order to get updates and for me to fully assist you with bugs, questions, or suggestions.

Discord: click here

Summary Allow players to toggle their PVP on or off. (Also enables PVP after a specified amount of grace-time.).

Why This? Pacifism offers simplicity while still granting your server what you need.

How to Install

  1. Download and install BukkitOfUtils. Found here: BukkitOfUtils
  2. Download the correct version of this plugin for your server version.
  3. Place in your plugins folder.
  4. Stop server.
  5. Start server.
  6. Use to your liking.

More Info

How to toggle your PVP

  1. Install plugin. (Shown above.)
  2. /tpvp

Functions

  • Disable PVP interactions:
    • Direct (melee).
    • Projectiles.
    • Explosions in a specified radius.
      • Block explosions.
        • Beds.
        • TNT.
        • Respawn Anchors.
        • Other.
          • Configurable by Bukkit Material.
      • Entity explosions.
        • TNT Minecarts.
        • Primed TNT.
        • End Crystals.
        • Other.
          • Configurable by Bukkit EntityType.
  • Configurable grace-period.
    • x ticks (20 ticks = 1 second) until pvp is automatically disabled or enabled (configurable).
    • Configurable countdown messages via FireStrings (via BukkitOfUtils) or commands ran as console.
    • Configurable grace-period end message.
    • Set players grace-period with commands.

Placeholder API Support

Check out the placeholders on my wiki: click here

Commands and Permissions

Commands

Definitions

  • <required> - "required" (literal) is required for the command to work.
  • (optional) - "optional" (literal) is optional for the command to work.
  • "thing" - thing is non-literal; meaning you specify something that "thing" describes. Such as a world name, or player name.

Plugin Commands

  • /tpvp
    • /tpvp ("player") (-f)
      • Toggles PVP for a certain player or for yourself.
      • Use -f to force toggling; meaning it will bypass the cooldown.
  • /spvp
    • /spvp <on/off> ("player") (-f)
      • Sets PVP to on / off for a certain player or for yourself.
      • Use -f to force setting; meaning it will bypass the cooldown.
  • /worldwhitelist
    • /worldwhitelist <set-as> <whitelist|blacklist>
      • Sets the whitelist to either be a whitelist (worlds in it are the only worlds that Pacifism works in) or a blacklist (worlds in it are excluded from Pacifism working in them).
    • /worldwhitelist <add/remove> ["world"]
      • Adds a world to the whitelist/blacklist.
    • /worldwhitelist <list>
      • Lists all worlds currently in the whitelist/blacklist.
  • /setgracetime
    • /setgracetime <"ticks"> ["player"]
      • Sets the gracetime in ticks for a certain player or for yourself.

Permissions

  • pacifism.command.togglepvp - Allows running the command /tpvp.
  • pacifism.command.setpvp - Allows running the command /spvp.
  • pacifism.command.worldwhitelist - Allows running the command /worldwhitelist.
  • pacifism.command.setgracetime - Allows running the command /setgracetime.
  • pacifism.others.toggle - Allows toggling other players' PVP.
  • pacifism.others.set - Allows setting other players' PVP to on or off.
  • pacifism.others.gracetime - Allows setting other players' gracetime.
  • pacifism.force - Allows toggling or setting PVP forcefully (bypasses cooldown).

Ченджлог

1.19.0Релиз26.1.1, 26.1.2, 26.2 · 26 июня 2025 г.
  • Updated BOU.
1.17.0Релиз1.21.3, 1.21.4, 1.21.5 · 7 марта 2025 г.
  • Fixed NPE when a player joins for the first time.
1.16.0Релиз1.21.2, 1.21.3, 1.21.4 · 4 февраля 2025 г.
  • fixed - data being overwriten on plugin reload without player relog.
  • fixed - "0" showing for the seconds of cooldown and grace period.
  • added - more placeholders.
    • you can now use PlaceholderAPI directly in messages.
    • %damager_name% and %damaged_name% can be used to help with this.
1.15.0Релиз1.21.2, 1.21.3, 1.21.4 · 29 января 2025 г.
  • Fixed the plugin thinking enderpearls (and snowballs / eggs) are damaging projectiles.
    • This means you can now throw enderpearls.
  • Fixed the cooldown for disabling pvp sometimes being negative (-10020912409 etc.)
1.14.0Релиз1.21.2, 1.21.3, 1.21.4 · 3 января 2025 г.
  • Added the ability to configure messages.
    • If you want a message to be disabled, just set it to empty ('').
1.13.0Релиз1.21.2, 1.21.3, 1.21.4 · 4 декабря 2024 г.
  • Updated to using new BOU methods.
  • Added new placeholders.
  • Added more configuration for placeholders.
1.12.1Релиз1.21.1, 1.21.2, 1.21.3 · 3 декабря 2024 г.
  • Implemented new BOU methods.
  • Fixed some command feedback not being colored.
1.12.0Релиз1.21.1, 1.21.2, 1.21.3 · 2 декабря 2024 г.

Комментарии

Загружаем…