Releases: asiddiqi18/Trivia-Plugin
Releases · asiddiqi18/Trivia-Plugin
Added statistics, PlaceholderAPI support, schedule command
- Added /trivia statistics
- Permission is "trivia.player" (given to all by default)
- Shows trivia wins in 1st, 2nd, or 3rd place; games participated in; money and experience earned, and total rounds won
- Features language support
- Added /trivia schedule
- Permission is "trivia.player" (given to all by default)
- If scheduled games is enabled, shows how many minutes until next game starts
- Added placeholder API support
- Optional dependency
- Placeholders
- %trivia_game_wins_first%, %trivia_game_wins_second%, %trivia_game_wins_third% shows a player's games won for that position
- %trivia_game_participation% shows how many games a player has participated in
- %trivia_round_wins% shows how many rounds (questions answered) a player has
- %money_won% and %experience_won% show how much money or experience that player won
- %game_in_progress% shows "true" if a game is currently in progress and "false" otherwise
- A few bug fixes
Tie resolver, placeholder, toggle fireworks
- Added a tie resolver
- In case of tie, the player first to reach the score wins
- Added placeholder for rewards messages
- %items%
- %money%
- %experience%
- Added toggle-able fireworks to be spawned after winning for each of the first three winners
- Removed import feature
Hex Colors and Bug Fixes
You can now include hex color codes in the messages.yml and in questions. To add a hex color, use the tag
'[#f19718] message here'
Plugin no longer supports versions 1.15 or older. If you're still on these versions, please use version 1.11.
Fireworks that are shot at the location of a trivia winner no longer hurt players.
Fixed "/trivia reload" not reloading properly and overwriting files.
Fixed automatic games running if no players are online.
Fixed a bug where two players answering correctly simultaneously caused the plugin to crash.
More Formatting and Bug fixes
If a game is in progress, you now have an option to stop the game from the Trivia main menu.
Added /trivia start <#> which will start a new trivia match with # of rounds.
Added a quick summary of the game when you start a new match.
Fixed a bug where multiple games would be automatically scheduled.
Fixed a bug where the round result wouldn't show up on the last round of the match.
For rewards, if no reward message is desired, set to "none" and nothing will be sent.
Added a few more correct options to default questions.
BossBar now turns yellow if a question was skipped.
Added more formatting options to messages.yml:
Added a way to include multiple line breaks in the messages. To add one, use the ";" character.
Added placeholder, %single_answer%, which returns a single correct answer if there are multiple correct answers.
Added %border% placeholder, which returns a horizontal border.
Replaced "Winner Line" with "Winner Message"
1.10
fixed incorrect question ID bug when adding from file