Add timer command, recraft module & recipes

Introduce a /timer admin command with tab completion (speedhg.admin.timer) and a parseTimeToSeconds utility; add CommandSender.sendMsg extension and language strings. Add RecraftManager module that enforces a configurable recraft-nerf (reduces extra recraft points for alive players) and starts from GameManager; wire the new module into GameManager. Register mushroom-stew shapeless recipes for cocoa and cactus in plugin startup and tidy command registration. Update plugin.yml with permission/command entries and adjust imports as needed.
This commit is contained in:
TDSTOS
2026-03-27 16:26:18 +01:00
parent 9682df5bf9
commit 8e96a07a65
8 changed files with 334 additions and 4 deletions

View File

@@ -69,6 +69,11 @@ commands:
empty: '<red>There are currently no stats</red>'
line: '#<rank> - <green><name></green> - <aqua><score></aqua>'
footer: '<gray>====== <gold>Leaderboard</gold> ======</gray>'
timer:
usage: '<red>Usage: /timer <seconds></red>'
positiveNumber: '<red>Invalid time format! Use, for example, 10m, 30s, or 600.</red>'
onlyIngame: '<red>Timer can only be set in game.</red>'
set: '<green>The game timer has been set to <time>!</green>'
scoreboard:
title: '<gradient:red:gold><bold>SpeedHG</bold></gradient>'