PvpUtils

This project adds a bunch of configurable features and limits to help make your PVP experience better!

27

PvpUtils

Pvp Fixes A plugin that helps improve your server's pvp experience. Features: • Potion Limiter. This only limits potions and splash potions, and also doesn't limit tipped arrows. To clarify, the only limits this option enforces are physical potion item limits, so /effect or plugin given effects will still bypass these. This limiter works by detecting clicks from all containers and picking up items. When you pick up an potion that bypasses the config restrictions, it will downgrade it to the base level. (there currently is an exploit with hoppers and dispensers that I am going to fix).

• Enchant Limiter. You can ban or limit certain enchants. This works by detecting when a player takes an item out of a container or picks up an item, and then downgrades it. This means that enchants will still appear in enchant tables etc, it will just downgrade them right after. (I plan to add an in game command that lets you choose items that can bypass this limit)

• Clumps. Clumps together xp so that opponents cant steal it, and it also reduces lag a little bit.

• Better Mending. Auto calculates the best mend and applies it to your armor during combat.

• Offhand cooldown fix. Basically, there is a new bug where if you use an item in your offhand, like blocks or wind charges, it gives a attack cooldown to your mainhand. Enabling this setting the config will fix this.

• Projectile Buffs. So bows, crossbows, and tridents kinda suck for throwing. So in the config you can enable this to make them do slightly more damage. (adding configurable damage buffs soon!)

Note: The default config already has settings in it.

``` #fixes and settings settings: #Makes so that mainhand cd doesnt get reset when using an item in the offhand offhand_swing_animation_patch: enabled: true #Auto mend better_mend: enabled: true #Merge xp orbs merge_orbs: enabled: true merge_radius: 3.0 #Make tridents and bows and crossbows do more damage buff_projectiles: enabled: true

Enchant limiter configuration

Format: <enchantment_key>: <max_level>

Set level to 0 to completely disable the enchantment

enchant-limits: minecraft:thorns: 0

Potion Limiter Configuration

Define potion rules here.

Example blocks strength II and swiftness II

potion-limits: strength: allow-upgraded: false allow-extended: true replace-with: strength

swiftness: allow-upgraded: false allow-extended: true replace-with: swiftness ```

Thats it for now, hope you like this plugin :D

ADS