Commit Graph
64 Commits
Author SHA1 Message Date
stijn 416c44a8f3 show participant status in tab using colors
announce killer if present
show everyone the bossbar
drop items on death
give players participation price permission
2026-07-11 22:13:52 +02:00
stijn fc7b5c76a6 Handle ROUND_STATE.ENDED in stateChange to clear resources and reset loot. 2026-07-11 21:53:40 +02:00
stijn 9198af6c29 Register online players without auto-join-bypass permission during ROUND_STATE.PLAYER_REGISTRATION or ROUND_STATE.ENDED. 2026-07-11 19:38:59 +02:00
stijn d5266b659b Register online players without auto-join-bypass permission during ROUND_STATE.PLAYER_REGISTRATION or ROUND_STATE.ENDED. 2026-07-11 19:38:26 +02:00
stijn e9e7c1cc80 Allow round to start from ROUND_STATE.ENDED and update related state handling 2026-07-11 19:35:33 +02:00
stijn 40f52a4a45 Update PlayerService to adjust PLAYER_STATE during ROUND_STATE.ENDED phase 2026-07-11 19:14:37 +02:00
stijn 3906bd747b Handle asynchronous player teleportation in PlayerTeleporterService with error handling and logging. 2026-07-11 17:14:32 +02:00
stijn 0d757aa2ab Remove redundant teleportation logging in PlayerService during finale phase. 2026-07-11 17:14:25 +02:00
stijn 5f35866e7a Make finale border size configurable via Config and apply it dynamically in RoundService. 2026-07-11 17:14:07 +02:00
stijn 491e6a6050 Make finale border size configurable via Config and apply it dynamically in RoundService. 2026-07-11 16:52:15 +02:00
stijn 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
stijn fe10d57978 Show title messages during broadcasts to enhance player visibility. 2026-07-11 16:28:03 +02:00
stijn 8d05658214 Introduce LootItem record and refactor loot handling logic to support material-specific max amounts 2026-07-06 00:04:53 +02:00
stijn 7324177250 Change player game mode from SURVIVAL to ADVENTURE during round reset in RoundService 2026-07-05 23:59:49 +02:00
stijn 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
stijn 5ce26782f2 Add CommandListener to enforce command whitelist and block restricted commands 2026-07-05 23:19:49 +02:00
stijn a137ef4cc6 Handle empty stage list in Round and adjust state transitions in RoundService 2026-06-28 02:19:28 +02:00
stijn 62c9661c82 Adjust finale border size to 60 in RoundService 2026-06-28 00:35:39 +02:00
stijn 936cabfd42 Update boss bar messages to reflect accurate border shrinking phases and align config keys 2026-06-28 00:32:32 +02:00
stijn 38f8ffd4a3 Prioritize finale center when searching for safe locations in /stuck command 2026-06-27 23:58:54 +02:00
stijn 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
stijn 99bff5446d Adjust Round logic to handle last game stage countdown gracefully 2026-06-27 23:00:13 +02:00
stijn f9e00b04cc Update BORDER_TRANSITION_SECONDS in WorldBorderUtil to 45 2026-06-27 23:00:05 +02:00
stijn a7ce376abb Add ItemSpawnListener to control item despawn delays based on round phases 2026-06-27 22:55:09 +02:00
stijn 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
stijn a3085ad4b4 Prevent duplicate game end announcements and update RoundService initialization to include PlayerTeleporterService. 2026-06-27 22:17:50 +02:00
stijn 29c46ba485 Fix typo in getHumanReadableName across commands and services 2026-06-27 22:04:17 +02:00
stijn 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
stijn 4bf6ca9dc4 Improve RoundState command to handle null ROUND_STATE values gracefully 2026-06-22 02:26:37 +02:00
stijn f0d3a20283 Add /hg nextphase and /hg end commands to manage game phases and rounds 2026-06-22 02:22:02 +02:00
stijn 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
stijn dd060bce48 Adjust teleportation logic to set correct direction for player-facing location 2026-06-21 23:56:16 +02:00
stijn 10a6103f32 Add LootItems configuration support and reload handling 2026-06-21 23:56:12 +02:00
stijn 646b9a2a35 Refactor STATS_FORMAT to use text block for improved readability 2026-06-15 23:29:28 +02:00
stijn 09b48fbafe Teleport spectating players to designated spectator area 2026-06-15 23:29:24 +02:00
stijn 6cd5315d28 Broadcast player death messages with remaining player count and suppress default death messages 2026-06-15 23:26:04 +02:00
stijn cf011ae72f Add winner declaration message and endRound logic with proper message broadcasting and error handling 2026-06-15 23:17:47 +02:00
stijn c8e85f186a Add player stats tracking with StatService and /hg stats command integration 2026-06-15 22:56:27 +02:00
stijn 2b6480c880 Add warmup period for /hg stuck with movement and damage cancellation 2026-06-15 22:45:06 +02:00
stijn 4cf4361286 Update /hg stuck cooldown handling with Duration for improved time management 2026-06-15 22:41:45 +02:00
stijn 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
stijn 4c1fd4d228 Refactor decideRarity method for improved readability with consistent formatting 2026-06-15 22:23:36 +02:00
stijn 8ba514c9c2 Fix null-check for loot items and adjust rarity handling in generateLoot method 2026-06-15 22:15:45 +02:00
stijn 25c95dd46a Introduce LootService for chest loot handling and ChestListener for in-game chest interactions 2026-06-15 22:13:51 +02:00
stijn 58d0b7fa19 Add loot items configuration and RARITY enum for item rarity handling 2026-06-15 22:04:52 +02:00
stijn e97a6ade73 Add player movement freezing during countdown and winner declaration logic 2026-06-15 21:00:43 +02:00
stijn d7160b86cd Update message formatting for Hunger Games and improve configuration validation methods 2026-05-31 17:59:27 +02:00
stijn 02228f570d Add initial border size configuration, round warmup messages, and start-round validation logic 2026-05-31 16:40:16 +02:00
stijn c2d83492d1 Fix missing angle brackets in ROUND_STATE message placeholders 2026-05-30 20:02:59 +02:00
stijn 161344b30c Add /hg reload command to refresh configs and messages 2026-05-30 19:57:02 +02:00
stijn c969873e0a Refactor PlayerService to include Round dependency and update singleton initialization logic 2026-05-30 19:56:50 +02:00
stijn 9db0e70425 Introduce round management improvements, tab completion for /hg register, and plugin.yml configuration 2026-05-30 18:37:48 +02:00
stijn 5743bc63a5 Add PlayerDamageListener to manage damage, death, and respawn events during rounds 2026-05-30 00:16:33 +02:00
stijn d3946bc16a Remove IN_GAME player state and related logic; integrate destination-based teleportation during round progression. 2026-05-30 00:10:35 +02:00
stijn 0cf662dfef Introduce singleton pattern for services, add safe phase to round state, and implement PlayerTeleporterService with destination-based teleporting 2026-05-30 00:03:32 +02:00
stijn 2746a43837 Add player join and disconnect event handling with state updates 2026-05-24 17:04:50 +02:00
stijn c832a6648b Implement round progression system with countdown, stages, and /hg start command 2026-05-24 01:30:11 +02:00
stijn ab6112b9da Add player registration system with /hg register command and refactor services for improved state management. 2026-05-24 00:58:27 +02:00
stijn 2fd6d4ba30 Implement round and player state management services along with /hg roundstate command. 2026-05-24 00:13:25 +02:00
stijn f248372fcc Update TODO.md: Refine player states and disconnect handling 2026-05-23 23:28:35 +02:00
stijn 2846a88125 Expand TODO.md with player registration and session management details. 2026-05-23 23:27:07 +02:00
stijn 51ae3bbece Added todo file (roadmap) 2026-05-23 23:13:53 +02:00
stijn 5ac98467f0 Initial commit for HungerGames 2026-05-23 23:08:23 +02:00
stijn 16f15400fd Initial commit for HungerGames 2026-05-23 23:06:30 +02:00