UltimateTrivia: Custom rewards and winning titles
Numerous new functions in the rewards.yml:
NEW rewards.yml
Code (Java):
settings
:
winner
-title
:
"Congratulations!"
winner
-subtitle
:
"You won the Quiz!"
winner
-sound
:
"ENTITY_PLAYER_LEVELUP"
winner
-sound
-pitch
:
1.2
winner
-title
-start
:
"#FFD700"
winner
-title
-end
:
"#FFA500"
winner
-subtitle
-start
:
"#00FF00"
winner
-subtitle
-end
:
"#009900"
winner
-rewards
:
true
rewards
:
EASY
:
-
"DIAMOND;1;Shiny Diamond;#00FFFF;#0000FF"
MEDIUM
:
-
"GOLDEN_APPLE;2;Golden Apple;#FFFF00;#FFA500"
HARD
:
-
"NETHERITE_INGOT;1;Legendary Netherite;#FF0000;#800000"
NEW TITLE FOR WINNERS:
Colors and text adjustable in rewards.yml
To see the updates in config.yml, you will need to delete the file so that the plugin can recreate it. Please save your questions before you reapply.
If a change has been made to config.yml or rewards.yml, the command /quiz reload is sufficient to take advantage of the changes.
Bug fixes and Improvements:
- Questions are now better asked randomly
- New config.yml setting: random-questions (default: true)
Please always let me know if there are any changes or suggestions.
Next update: Bug Fixed and Improvements