Sueta
PL

PlungingAttack

1.0.0

Lightweight Genshin Impact-like plunging attacks with high customization!

·Plugin

WakaTime for this project
Source code for this project
Donate to the author
Find support here
bStats Metrics

This plugin is inspired by Genshin Impact's plunging attack.
While mid-air, attack by clicking LMB and deal AOE damage to entities upon landing!
I've tried to make this plugin as customizable as possible.

config.yml
# PlungingAttack Configuration
# -=-=-=-=-=-=-=-=-=-=-=-=-=-
# bStats: Whether or not to send anonymous usage statistics to bStats.org (17637) (almost no performance impact).
# update-checker-frequency: How often to check for updates (in hours) - set to -1 to disable.
# aoe-radius: The radius of the Area Of Effect (AOE) of the attack.
# plunging-y: The minimum height of the fall that is considered a plunge.
# damage-players: Whether or not to damage players in the AOE.
# damage-mobs: Whether or not to damage mobs in the AOE.
# effect-start-plunge: The particles to spawn when started plunging (see https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html).
# sound-start-plunge: The sound to play when started plunging (see https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html).
# effect-plunge: The particles to spawn upon plunging (see https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html).
# sound-plunge: The sound to play upon plunging (see https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html).
# multiplier: How much to multiply the plunge attack damage by.
# shield-immunity: The amount of immunity (0%-100%) to the attack when using a shield.
# friendly-fire: Whether or not to damage players on the same team.
# -------
# Weapon multiplier is a multiplier that will be applied to the damage
# if the player is holding this weapon (or, for that matter, any item)
# in their main hand upon plunging.
# Weapon multipliers syntax:
# weapon-multipliers:
#   <case_insensitive_material>: <multiplier>
# You can look up the materials at https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
# -------
# Strength multiplier is a multiplier that will be applied to the damage
# if the player has strength effect upon plunging.
# Strength multipliers syntax:
# strength-multipliers:
#   <strength_level>: <multiplier>
# -------
# Sharpness multiplier is a multiplier that will be applied to the damage
# if the player has the sharpness enchantment on their main hand item upon plunging.
# Sharpness multipliers syntax:
# sharpness-multipliers:
#   <sharpness_level>: <multiplier>
# -=-=-=-=-=-=-=-=-=-=-=-=-=-
# © 2023 RoughlyUnderscore with ❤

bStats: true
update-checker-frequency: 24
aoe-radius: 15
plunging-y: 3
damage-players: true
damage-mobs: true
effect-start-plunge: FLASH
sound-start-plunge: ENTITY_WARDEN_TENDRIL_CLICKS
effect-plunge: EXPLOSION_LARGE
sound-plunge: ENTITY_WARDEN_SONIC_BOOM
multiplier: 0.4
shield-immunity: 40
friendly-fire: false
language: en
messages:
  en:
    no-permission: '&cYou do not have permission to use this command.'
    reload: '&aReloaded the configuration.'
    invalid-argument: '&cInvalid argument.'
  ru:
    no-permission: '&cУ вас нет прав для использования этой команды.'
    reload: '&aКонфигурация перезагружена.'
    invalid-argument: '&cНеверный аргумент.'
weapon-multipliers:
  wooden-sword: 1.2
  stone-sword: 1.275
  iron-sword: 1.35
  golden-sword: 1.425
  diamond-sword: 1.5
  netherite-sword: 1.575
  wooden-axe: 1.225
  stone-axe: 1.3
  iron-axe: 1.375
  golden-axe: 1.45
  diamond-axe: 1.525
  netherite-axe: 1.6
strength-multipliers:
  '1': 1.05
  '2': 1.2
  '3': 1.35
  '4': 1.5
  '5': 1.65
sharpness-multipliers:
  '1': 1.05
  '2': 1.2
  '3': 1.35
  '4': 1.5
  '5': 1.65

Similar projects

Plugin →