Added: Feedback messages that get sent to the player, when reloading in game. This includes when games have been successfully created, or if there are any errors.
Added: Log file. When there are errors, they will be added to the logger.log file. This helps me when bugs are reported.
Added: 1.21.6 support!
NOTE 1.21.6 paper is currently unsupported - awaiting a bug fix by them
Added: If the server stop/restarts while players are in a game with an arena, it teleports them to the lobby spawn point so they don't re-join inside the arena.
Please let me know if you have any new feature ideas!
Thank you for using my plugin <3
Added: The scheduler message that announces a game as open, is now clickable
Add this to your messages.yml
Code (Text):
game_open_scheduler_hover: "&eClick to join"
Added: A permission for players to bypass arena flags > tfquiz.admin.bypassflags
Fixed: A bug where, the yaw + pitch werent saved when setting a game spawn point with the command
Fixed: A bug where, the game wasnt ending if 1 player remained
Added: Ability to add + remove players to/from games via command
Added: /truefalse + /tfquiz as the main command alias' (/tf still works too)
/tf game <gameID> addPlayer | removePlayer <player>
Adds or removes a player from the game.
Add these to your messages.yml
Code (Text):
admin_command_usage:
- "#01d54a--------- Admin Help ---------"
- "#01d54a/tf game <gameID> addPlayer|removePlayer<player> &7- Adds|Removes a player from the game"
Code (Text):
game_admin_command_usage:
- "#01d54a--------- Game Help ---------"
- "#01d54a/tf game <gameID> addPlayer|removePlayer<player> &7- Adds|Removes a player from the game"
Code (Text):
game_player_added: "&e%player% &ahas been added to game %game_ID%"
game_player_added_error: "&cThis game is not currently accepting new players"
game_invalid_gamemode_error_other: "&cThe player must be in survival mode to join this game"
game_player_already_in_game: "&e%player% &cis already in a game"
game_player_removed: "&e%player% &ahas been removed from game %game_ID%"
game_player_not_in_game: "&e%player% &cis not in that game"
forced_game_leave: "&aAn admin removed you from game %game_ID%"
Fixed: A bug where, if you closed a game, players would remain in it.
Added: Ability to start + end games via command
/tf game <gameID> start
Starts the countdown, and the game will begin once the countdown gets to 0. This bypasses the minimum required players, but there must be atleast 1 player in the game.
You cannot use this on games that have schedulers set up
/tf game <gameID> end
This ends the game at the end of that round. It will announce all those who remain in play as winners.
Ending a game when its in the countdown stage, just stops the countdown, all players remain.
You cannot use this on games that have schedulers set up
/tf game <gameID> end -without
Use the flag “-without” to immediately end the game without any winners.
You cannot use this on games that have schedulers set up
Add this to your messages.yml
Code (Text):
game_force_started: "&aGame &e%game_ID%'s &acountdown has begun!"
game_force_start_error: "&cError trying to start this game. It is already in play"
game_start_scheduler_error: "&cYou cannot manually start a game that has an active scheduler"
game_start_closed_error: "&cError trying to start this game. It is closed. Use /tf game <ID> open"
game_start_empty_error: "&cError trying to start this game. There are no players in this game"
game_force_ended: "&aGame &e%game_ID% &ahas been ended"
game_force_ended_with_winners: "&aGame &e(%game_ID%) &awill end at the end of the round"
game_force_end_error: "&cError trying to end this game. It is not currently in play"
game_end_scheduler_error: "&cYou cannot manually end a game that has an active scheduler"
Fixed:The updater message to follow the same colour format as other console messages
Added: Ability to open + close games
Add this to your messages.yml
Code (Text):
game_opened: "&aGame %game_ID% has been opened to players"
game_opened_error: "&cGame %game_ID% is already active"
game_opened_scheduler_error: "&cYou cannot manually open a game that has an active scheduler"
game_closed: "&cGame %game_ID% is no longer accepting players"
game_closed_error: "&cGame %game_ID% cannot be closed right now"
game_closed_scheduler_error: "&cYou cannot manually close a game that has an active scheduler"
Inside thr section "admin_command_usage:"
Code (Text):
admin_command_usage:
- "#01d54a/tf game <gameID> open|close &7- Manually opens or closes a game"
Inside the section "game_admin_command_usage:"
Code (Text):
game_admin_command_usage:
- "#01d54a/tf game <gameID> open|close &7- Manually opens or closes a game"