TriviaTreasure! A Quiz Plugin to Bring Fun to Your Chat » Custom Rewards » Menus & More! icon

TriviaTreasure! A Quiz Plugin to Bring Fun to Your Chat » Custom Rewards » Menus & More! -----

Put your players to the test with trivia! Create your custom trivia questions and answers!




- Renamed plugin to TriviaTreasure, in order to make it more unique than just "Trivia." Plugin command and permissions are still labeled as trivia though.
- Added 'trivia rewards' and 'trivia questions' commands to shortcut you into the respective menu.
- Bumped bStats version
----------, May 7, 2023

  • More language support
    • Added customization for some errors and /trivia reload
  • Added new placeholders
    • %trivia_next_game% : Displays time until next scheduled game
    • %trivia_experience_won%: Player's total experience earnings from Trivia
  • Updated placeholder's formatting
    • %trivia_money_won% shows the currency sign as well as commas
    • %trivia_experience_won% shows commas
  • In GUI main menu, it now shows the number of questions loaded
----------, Jul 30, 2022

  • Provided more language support in messages.yml
    • Customize the pre-start summary information sent to the starter of Trivia
  • Removed common-lang dependency as it will not be supported in the future
  • Added support for 1.19
----------, Jul 16, 2022

  • 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
----------, May 27, 2022

  • 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
----------, May 13, 2022

  • You can now include hex color codes in the messages.yml and in questions. To add a hex color, use the tag [#AAAAAA] before a message to get the AAAAAA color. You can add colors to questions like this:
    Code (YAML):
    ' [ #f19718]Who is the [#86fe4c]original creator [#f19718]of Minecraft?'
    You can also still use & codes.
  • [​IMG]
  • 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.
----------, Jul 10, 2021

  • 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"
----------, Jun 22, 2021

  • Added option to run your own commands from console for trivia winners.
    • With this, you can reward trivia winners with crates/points or other features offered in other plugins.
    • To add your own command that'll be executed for the winner:
      • In rewards.yml file, under the 'Commands' section, add the command without the '/'. Use %username% as placeholder for a player's name.
      • For example, this gives the user carrots and gold blocks: upload_2021-5-31_17-32-36.png
  • Quality of life changes
    • List of questions now show the ID of the question on the paper item.
    • /trivia reload has a new look.
    • Updated wordings/chat formatting on certain items.
  • Bug fixes:
    • Fixed bug where adding questions in file would be overwritten if another question was added by GUI next.
----------, May 31, 2021

  • Added more default questions
  • Update notice will no longer show on pre-release builds
  • Fixed bug where rewards.yml was not being updated upon /trivia reload.
----------, Apr 17, 2021

  • Introduced per-round awards, which includes items/money given to the first person to answer a question correctly in a round. Final rewards for first, second or third place are still handed out.
----------, Jan 23, 2021

  • Added a boss bar which keeps dynamically tracks the progression of a trivia match.
    • Shows the current round of the game.
    • Shows the total amount of rounds left.
    • Can be disabled by setting "Enable Boss Bar" in config to false.
    • Language support is featured for the boss bar.
  • Fixed bug where players who logged out during the middle of the game lose their previous score if they log back on during the same game.
  • You may want to back up your current plugin files before updating. Also, the comments in your config YAML file will be wiped.
----------, Nov 6, 2020

  • Moved custom messages from config.yml to messages.yml. This is because this version added a bunch more custom messages, and having it all in config.yml would've created clutter.
  • Nearly every message in the GUI and chat can be customized.
  • Added a 'prefix' option, which can be set to whatever value. To show the prefix in a message, use the placeholder %prefix%.
  • Moved rewards data from config.yml to rewards.yml. This is because the rewards.yml is used to store data and therefore it doesn't belong in the config.
  • Config will no longer wipe out comments.
  • Added a way to import questions created from other users right to your server. To use it, use /trivia import <id>, where <id> is the id of the question to import. Get a list of ids at: http://pastebin.com/7cTQznMZ.
When creating your own question, the question will now save that it was submitted by you.
----------, Sep 25, 2020

Fixed a bug which prevented players from shift-clicking or double-clicking items.
----------, Sep 1, 2020

  • Questions and answers will no longer be stored in config.yml; instead, they'll be stored in questions.yml.
    • This change was made for a few reasons:
      • Easier to look at from the user's perspective.
      • Allows the use of list to allow for multiple answers.
      • Provides more flexibility in the future if there's a need to add more specific functions for each question/answer.
    • Questions previously stored in config.yml will attempt to update them into questions.yml for you. It is recommended you save your questions/answers beforehand.
  • Create questions with multiple answers. When adding questions through the menu, add different answers by separating them with commas.
  • New commands:
    • /trivia help - provides all command usage
    • /trivia skip - skips the current question.
  • Updated list menu
    • The question ID is now the display name, the question and answers are in the lore, so that they are more readable especially in large GUI scales.
  • Updated custom language/formatting:
    • Messages when questions are skipped/out of time now allow you to use placeholders so that you can display the right answer.
    • Added %username%, which is the unformatted name of the player.
  • Now open source!

----------, Aug 30, 2020

This update comes with important bug fixes:
  • Fixed bug that caused translation messages to not show up.
  • Fixed money not being given if no items were rewarded.
  • Fixed the files not saving custom exp points/messages.
  • Added a 3 tick delay for the winner's message to be delayed so it doesn't appear within the list of winners.
Additionally, an update notifier has been added, which will notify console whenever this plugin is available to be updated.
----------, Aug 16, 2020

  • Added automatically scheduled games.
    • New config values:
      • 'Scheduled games' - if set to true, it will automatically host games for you every so often if enough players are online.
      • 'Scheduled games interval' - this is how frequently the scheduled games will be hosted if they are enabled.
      • 'Scheduled games minimum players' - this is how many players must be online for a scheduled game to be hosted.
    • In the trivia main menu, if scheduled games are enabled, it will show you when the next one is.
  • Added customizable delay between questions.
    • New config value:
      • 'Time between rounds' - this is an integer value for the amount of seconds between each of the rounds. Set it to higher if you want more breathing space. (Default is 2).
  • New subcommands
    • /trivia start
      • This will quickly host a trivia game with default values (and you can run this command through console).
    • /trivia stop
      • This forcibly stops the trivia game.
Let me know if you run into any issues, and I will fix them for you.
----------, Aug 12, 2020

  • Added a rewards system where players can be rewarded money (if vault is enabled) or any custom item. Additionally, you may customize the win message the player receives after winning and you may grant them experience points.
  • You may set different rewards based on which place the player ranked.
  • Let me know if you find any bugs and I'll be glad to check them out!
----------, Jul 15, 2020

  • Added custom sound effects that are played when a player gets the right answer, or when time is up for a question, and when trivia starts and ends. These sounds are configurable.
  • Added fireworks that spawn at the winner's feet when the game ends.
  • Added bStats metrics.
  • Now Trivia will announce if there are no winners after a game.
  • Note to people upgrading from previous versions: to add the new config values, it is recommended to make a copy of your original config, then delete the original and let the plugin create a new config.yml in order to load the new stuff. Then paste back the stuff back from the original to the new one.
----------, Jun 21, 2020

Resource Information
Author:
----------
Total Downloads: 4,335
First Release: Jun 19, 2020
Last Update: May 7, 2023
Category: ---------------
All-Time Rating:
15 ratings
Find more info at youtu.be...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings