GeneralPVP

General PVP configurations: bed/crystal/anchor pvp disabler, item limiter, potion limiter, enchantment limiter

1,42k

GeneralPVP

Dependencies

* **BukkitOfUtils**

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

A one-stop plugin for any PVP server. You can get rid of <u>five</u> plugins with just this <u>one</u> plugin!

Main Features

- Disable types of PVP: - Crystal PVP. - Only allow exploding Crystals when there are no other players (besides the one blowing the crystal up) within 15 blocks of the explosion. - Allows for fighting the Ender Dragon. - Bed bombing PVP. - Only allow bed bombing when there are no other players (besides the one bed bombing) within 15 blocks of the explosion. - This allows players to bed bomb for netherite still. - Anchor PVP. - Completely disable, or completely allow respawn anchor explosions. - When an anchor "blows up" and Anchor PVP is disabled, the anchor will not blow up and will not allow you to put more glowstone in it. - Item Limiter. - Block or limit the amount of items a player can have. - Potion Limiter. - Block or limit the amplification of potions. (Ex: max of `Speed I`) - Enchantment Limiter. - Block or limit the amplification of enchantments. (Ex: max of `Protection III`)

Why This?

- Lightweight. - 1 plugin instead of 5. - Easy to configure.

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

Configuration Help

Item Configuration ```yaml

Item configurations.

items:

Drop extra on ground.

drop-excess: true

If ENCHANTED_GOLDEN_APPLE should be treated like GOLDEN_APPLE.

If true, just put the material as GOLDEN_APPLE.

all-golden-apples-similar: true totems: material: TOTEM_OF_UNDYING # The Bukkit Material of the item you want to limit. max-amount: 1 # The maximum amount of the item the player can have in their inventory. ```

Potion Configuration ```yaml

Potion configurations.

potions: strength: type: STRENGTH # The Bukkit Potion Type of the potion you want to limit. amplifier: 2 # STRENGTH II and above is blocked (Keep in mind, 2 = only Strength I is allowed.) ```

Enchantment Configuration ```yaml

Enchantment configurations.

enchantments: protection:

The enchantment type.

NOTE:

- This can be a Bukkit Enchantment.

- This can be a key. (Such as "minecraft:protection".)

- No ":" in it, means it is a default (Minecraft provided) enchantment type.

type: "protection" amplifier: 4 # PROTECTION IV and above is blocked (Keep in mind, 4 = only up to Protection III is allowed.) ```

Commands and Permissions

Commands

* `/gpvpreload` * Reloads the configuration. * Note: this is not really needed, as it will reload the config itself.

ADS