Added:
New command: /dt scoreboard (permission dtournaments.scoreboard, default: true)
- Toggles the scoreboard on/off for the player who runs it
Fixes
- Scoreboard no longer flickers during tournaments. Teams are now created once at initialisation, and only their text is updated each tick, instead of being destroyed and recreated on every update cycle.
- Scoreboard no longer fights with minigame scoreboards. The displacement tracker now only restores the tournament scoreboard once a foreign plugin has fully released the player's scoreboard (i.e. it returns to the server default), instead of restoring immediately and triggering an infinite back-and-forth loop.
- All bundled translation files are now extracted on first startup. Previously, only the active language was written to the plugin folder, meaning cs_cz.yml (and any future languages) would never appear on disk unless explicitly switched to. All bundled translations now appear in plugins/dTournaments/translations/ from the very first launch.
Added new objectives for the plugin OneInTheChamber Reborn
- oitc_kill
- oitc_win
- oitc_milestone
Config options per tournament:
- oitc_kill / oitc_win / oitc_milestone: arena: <name> - restrict scoring to a specific arena
- oitc_win: flawless-only: true - only count wins with zero deaths
- oitc_milestone: min-milestone: 10 - only count milestones ≥ this value (default 5)
Small DevAPI changes:
- Added TournamentEndEvent - carries the full TournamentResult (winner UUID, config ID, standings)
- TournamentManager.endTournament() now fires TournamentEndEvent when a winner exists, before reward distribution
- New Objective: "time_played"
- "end-date" option for tournaments, just set an end-date for your tournament instead of duration
- "always-show-in-gui" flag will always show a tournament in the tournaments GUI if enabled
- Remade the entire GUI, made it nicer, and made it nearly fully configurable in the config
- Added new translation strings
- Time format now includes days (instead of 49h 10m 5s, it will be 2d 1h 10m 2s
- Fixed swapping languages always defaulting to English after reload or restart
Warning:
For the new customization options to show up for you in the config file, you will need to delete it so it can generate anew, so if you already have a setup there, I recommend you make a backup and then paste it back in.
Similarly, new tournament flags won't appear in your already set up tournaments, though you can just look at the newly generated example.yml and copy the flags from there.
- Config edits to the scoreboard now propagate themselves immediately upon plugin reload instead of only at server restart
