Commit Graph

56 Commits

Author SHA1 Message Date
akastijn e9e7c1cc80 Allow round to start from ROUND_STATE.ENDED and update related state handling 2026-07-11 19:35:33 +02:00
akastijn 40f52a4a45 Update PlayerService to adjust PLAYER_STATE during ROUND_STATE.ENDED phase 2026-07-11 19:14:37 +02:00
akastijn 3906bd747b Handle asynchronous player teleportation in PlayerTeleporterService with error handling and logging. 2026-07-11 17:14:32 +02:00
akastijn 0d757aa2ab Remove redundant teleportation logging in PlayerService during finale phase. 2026-07-11 17:14:25 +02:00
akastijn 5f35866e7a Make finale border size configurable via Config and apply it dynamically in RoundService. 2026-07-11 17:14:07 +02:00
akastijn 491e6a6050 Make finale border size configurable via Config and apply it dynamically in RoundService. 2026-07-11 16:52:15 +02:00
akastijn 244f8f6df7 Add logging to PlayerService for teleports, adjust ROUND_STATE handling, and use @Slf4j annotation for consistency. Update countdown logic in Round and refactor configuration keys for finale timing. 2026-07-11 16:51:04 +02:00
akastijn fe10d57978 Show title messages during broadcasts to enhance player visibility. 2026-07-11 16:28:03 +02:00
akastijn 8d05658214 Introduce LootItem record and refactor loot handling logic to support material-specific max amounts 2026-07-06 00:04:53 +02:00
akastijn 7324177250 Change player game mode from SURVIVAL to ADVENTURE during round reset in RoundService 2026-07-05 23:59:49 +02:00
akastijn c7161f707c Refactor Round phase transitions and countdown logic; consolidate messages, adjust state handling, and add configurable durations for safe and kill phases. 2026-07-05 23:42:20 +02:00
akastijn 5ce26782f2 Add CommandListener to enforce command whitelist and block restricted commands 2026-07-05 23:19:49 +02:00
akastijn a137ef4cc6 Handle empty stage list in Round and adjust state transitions in RoundService 2026-06-28 02:19:28 +02:00
akastijn 62c9661c82 Adjust finale border size to 60 in RoundService 2026-06-28 00:35:39 +02:00
akastijn 936cabfd42 Update boss bar messages to reflect accurate border shrinking phases and align config keys 2026-06-28 00:32:32 +02:00
akastijn 38f8ffd4a3 Prioritize finale center when searching for safe locations in /stuck command 2026-06-27 23:58:54 +02:00
akastijn 1a9f4cbd2d Refactor respawn handling: streamline spectator teleportation, reset player experience, adjust finale border size, and improve game stage countdown logic. 2026-06-27 23:57:07 +02:00
akastijn 99bff5446d Adjust Round logic to handle last game stage countdown gracefully 2026-06-27 23:00:13 +02:00
akastijn f9e00b04cc Update BORDER_TRANSITION_SECONDS in WorldBorderUtil to 45 2026-06-27 23:00:05 +02:00
akastijn a7ce376abb Add ItemSpawnListener to control item despawn delays based on round phases 2026-06-27 22:55:09 +02:00
akastijn 897c8ab14d Refactor world border handling: centralize logic in WorldBorderUtil and integrate into RoundService and GameStageHandler. Add logging for player teleportation and improve player reset process. 2026-06-27 22:32:43 +02:00
akastijn a3085ad4b4 Prevent duplicate game end announcements and update RoundService initialization to include PlayerTeleporterService. 2026-06-27 22:17:50 +02:00
akastijn 29c46ba485 Fix typo in getHumanReadableName across commands and services 2026-06-27 22:04:17 +02:00
akastijn ca7b6f1152 Enhance death handling and round logic: suppress death messages, clear player inventories, reset health and food levels, and teleport players to spectator area or prepare them for countdown phase. Integrate PlayerTeleporterService into RoundService. 2026-06-27 22:02:05 +02:00
akastijn 4bf6ca9dc4 Improve RoundState command to handle null ROUND_STATE values gracefully 2026-06-22 02:26:37 +02:00
akastijn f0d3a20283 Add /hg nextphase and /hg end commands to manage game phases and rounds 2026-06-22 02:22:02 +02:00
akastijn 233cffd2df Implement BossBarService for countdowns and finale updates, integrating dynamic boss bar messages and real-time player progress tracking. 2026-06-22 02:02:42 +02:00
akastijn dd060bce48 Adjust teleportation logic to set correct direction for player-facing location 2026-06-21 23:56:16 +02:00
akastijn 10a6103f32 Add LootItems configuration support and reload handling 2026-06-21 23:56:12 +02:00
akastijn 646b9a2a35 Refactor STATS_FORMAT to use text block for improved readability 2026-06-15 23:29:28 +02:00
akastijn 09b48fbafe Teleport spectating players to designated spectator area 2026-06-15 23:29:24 +02:00
akastijn 6cd5315d28 Broadcast player death messages with remaining player count and suppress default death messages 2026-06-15 23:26:04 +02:00
akastijn cf011ae72f Add winner declaration message and endRound logic with proper message broadcasting and error handling 2026-06-15 23:17:47 +02:00
akastijn c8e85f186a Add player stats tracking with StatService and /hg stats command integration 2026-06-15 22:56:27 +02:00
akastijn 2b6480c880 Add warmup period for /hg stuck with movement and damage cancellation 2026-06-15 22:45:06 +02:00
akastijn 4cf4361286 Update /hg stuck cooldown handling with Duration for improved time management 2026-06-15 22:41:45 +02:00
akastijn 016ab17ef2 Add /hg stuck command for teleporting players to the nearest safe location with configurable cooldown and effects 2026-06-15 22:37:16 +02:00
akastijn 4c1fd4d228 Refactor decideRarity method for improved readability with consistent formatting 2026-06-15 22:23:36 +02:00
akastijn 8ba514c9c2 Fix null-check for loot items and adjust rarity handling in generateLoot method 2026-06-15 22:15:45 +02:00
akastijn 25c95dd46a Introduce LootService for chest loot handling and ChestListener for in-game chest interactions 2026-06-15 22:13:51 +02:00
akastijn 58d0b7fa19 Add loot items configuration and RARITY enum for item rarity handling 2026-06-15 22:04:52 +02:00
akastijn e97a6ade73 Add player movement freezing during countdown and winner declaration logic 2026-06-15 21:00:43 +02:00
akastijn d7160b86cd Update message formatting for Hunger Games and improve configuration validation methods 2026-05-31 17:59:27 +02:00
akastijn 02228f570d Add initial border size configuration, round warmup messages, and start-round validation logic 2026-05-31 16:40:16 +02:00
akastijn c2d83492d1 Fix missing angle brackets in ROUND_STATE message placeholders 2026-05-30 20:02:59 +02:00
akastijn 161344b30c Add /hg reload command to refresh configs and messages 2026-05-30 19:57:02 +02:00
akastijn c969873e0a Refactor PlayerService to include Round dependency and update singleton initialization logic 2026-05-30 19:56:50 +02:00
akastijn 9db0e70425 Introduce round management improvements, tab completion for /hg register, and plugin.yml configuration 2026-05-30 18:37:48 +02:00
akastijn 5743bc63a5 Add PlayerDamageListener to manage damage, death, and respawn events during rounds 2026-05-30 00:16:33 +02:00
akastijn d3946bc16a Remove IN_GAME player state and related logic; integrate destination-based teleportation during round progression. 2026-05-30 00:10:35 +02:00