90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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? This offers a very simple configuration and setup all while remaining very light-weight.

How to Install

  1. Download and install BukkitOfUtils. Found here: BukkitOfUtils
  2. Download the correct version of this plugin for you 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.
  • Configurable grace-period.

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.

  • /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).

Project members

MrDrak

Owner

waffler

Editor

Details

Licensed LGPL-3.0-or-later
Published 10 months ago
Updated 21 hours ago