Add Venom kit and integrate into game

Introduce a new Venom kit with aggressive (deafening wither beam) and defensive (shield of darkness) abilities by adding src/main/kotlin/.../VenomKit.kt. Wire the kit into the plugin: import and register Venom in SpeedHG (extracted registerKits()), and extend KitEventDispatcher to handle projectile interactions for Venom defensive playstyle (cancel/stop projectiles and reflect thrown potions). Update en_US.yml: add Venom localization/messages, adjust default prefix and some kit/scoreboard copytext, and add a no_permission message.
This commit is contained in:
TDSTOS
2026-03-25 23:33:57 +01:00
parent 0f95499a0f
commit ee79dd4bf4
4 changed files with 396 additions and 12 deletions

View File

@@ -4,7 +4,8 @@
#
default:
prefix: '<gradient:dark_green:gold>McScrims</gradient> <dark_gray>|</dark_gray> <reset>'
prefix: '<gradient:red:gold>SpeedHG</gradient> <dark_gray>|</dark_gray> <reset>'
no_permission: '<prefix><red>Insufficient permissions.</red>'
game:
join: '<prefix><green><name></green> <gray>has joined the game.</gray>'
@@ -57,7 +58,7 @@ scoreboard:
title: '<gradient:red:gold><bold>SpeedHG</bold></gradient>'
lobby:
- "<gray><st> "
- "Spieler: <green><online>/<max>"
- "Players: <green><online>/<max>"
- "Kit: <yellow><kit>"
- ""
- "<gray>Waiting for start..."
@@ -89,8 +90,11 @@ kits:
name: '<gradient:dark_green:gray><bold>Goblin</bold></gradient>'
lore:
- ' '
- 'Use your abilities to either copy'
- 'your enemies kit or hide in a bunker'
- 'AGGRESSIVE:'
- 'Copy your enemies kit'
- ' '
- 'DEFENSIVE:'
- 'Summon a bunker for protection'
- ' '
- 'PlayStyle: §e%playstyle%'
- ' '
@@ -111,9 +115,11 @@ kits:
name: '<gradient:dark_aqua:aqua>IceMage</gradient>'
lore:
- ' '
- 'Use your abilities to freeze players'
- 'or gain speed in ice biomes and slow'
- 'enemies.'
- 'AGGRESSIVE:'
- 'Gain speed in ice biomes and give slowness'
- ' '
- 'DEFENSIVE:'
- 'Summon snowballs and freeze enemies'
- ' '
- 'PlayStyle: §e%playstyle%'
- ' '
@@ -123,6 +129,38 @@ kits:
snowball:
name: '§bFreeze'
description: 'Freeze your enemies by throwing snowballs in all directions'
passive:
name: '§bIceStorm'
description: 'Gain speed in cold biomes and give enemies slowness'
messages:
shoot_snowballs: '<aqua>You have shot frozen snowballs in all directions!</aqua>'
ability_charged: '<yellow>Your ability has been recharged!</yellow>'
ability_charged: '<yellow>Your ability has been recharged!</yellow>'
venom:
name: '<gradient:dark_red:red>Venom</gradient>'
lore:
- ' '
- 'AGGRESSIVE:'
- 'Summon a deafening beam'
- ' '
- 'DEFENSIVE:'
- 'Create a shield for protection'
- ' '
- 'PlayStyle: §e%playstyle%'
- ' '
- 'Left-click to select'
- 'Right-click to change playstyle'
items:
wither:
name: '§8Deafening Beam'
description: 'Summon a deafening beam against an enemy'
shield:
name: '§8Shield of Darkness'
description: 'Create a shield and get protected against hits and projectiles'
passive:
name: '§8Shield of Darkness'
description: 'Create a shield and get protected against hits and projectiles'
messages:
wither_beam: '<gray>You have summoned your deafening beam!</gray>'
shield_activate: '<gray>Your shield of darkness has been activated!</gray>'
shield_break: '<red>Your shield of darkness has broken!</red>'
ability_charged: '<yellow>Your ability has been recharged</yellow>'