Add /help command and various gameplay fixes
Introduce a HelpCommand (/help) and register it in SpeedHG; add its localized help text and plugin.yml entry. Prevent kit ability use while in gladiator by checking metadata in KitEventDispatcher and add a matching translation key. Early-return in KitCommand during ENDING state. Fix English message in TeamCommand and adjust spacing in LeaderboardMenu lore. Remove an unused import in SpeedHG and add necessary imports.
This commit is contained in:
@@ -170,6 +170,8 @@ commands:
|
||||
rank_usage: '<red>Usage: /ranking rank <player></red>'
|
||||
player_not_found: '<red>Player <name> is not online.</red>'
|
||||
rank_info: '<prefix><gray>Player <white><name></white> — <rank> <gray>(<score> RR · <games> games)</gray>'
|
||||
help:
|
||||
message: '<gray>━━━━━ <gradient:red:gold>SpeedHG</gradient> <red>Help</red> ━━━━━</gray><newline><gray>▪</gray> <blue>Discord:</blue> discord.gg/HyZV4CdUgV<newline><gray>▪</gray> <gold>Store:</gold> https://mcscrims.club<newline><white><newline><gray>▪</gray> <yellow>/msg <player> <message></yellow><newline><gray>▪</gray> <yellow>/r <message></yellow><newline><gray>▪</gray> <yellow>/report <player></yellow><newline><gray>▪</gray> <yellow>/leaderboard</yellow><newline><gray>▪</gray> <yellow>/team <invite|accept|deny></yellow><newline><gray>━━━━━ <gradient:red:gold>SpeedHG</gradient> <red>Help</red> ━━━━━</gray>'
|
||||
|
||||
scoreboard:
|
||||
title: '<gradient:red:gold><bold>SpeedHG</bold></gradient>'
|
||||
@@ -327,7 +329,7 @@ kits:
|
||||
name: '<gray>Cage</gray>'
|
||||
description: 'Fight an enemy in a 1v1 above the skies'
|
||||
messages:
|
||||
ability_charged: '<yellow>Your ability has been recharged!</yellow>'
|
||||
cannot_use_abilities: '<red>You cannot use abilities while in a gladiator fight!</red>'
|
||||
|
||||
goblin:
|
||||
name: '<gradient:dark_green:gray><bold>Goblin</bold></gradient>'
|
||||
|
||||
@@ -23,6 +23,8 @@ permissions:
|
||||
default: false
|
||||
|
||||
commands:
|
||||
help:
|
||||
description: 'Help Command'
|
||||
kit:
|
||||
description: 'Select kits via command'
|
||||
usage: '/kit <kitName> <playstyle>'
|
||||
|
||||
Reference in New Issue
Block a user