Pacifism

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

2,09k

Pacifism

Dependencies

* **BukkitOfUtils** - Centralized utilities and plugin internals.

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 blacklist (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).

ADS