Trivia
Capture
Capture2
Capture3
Capture4
 

Trivia

(2 customer reviews)

$14.99

Give your players more to do in chat with Trivia.  Random questions are pulled from an open source database with different difficulty levels.  Players can type their answers in chat.  Winner gets either Server Rewards points, Items, or Both.  Full customization of prizes including separate loot tables for Easy, Medium, and Hard.

Sold By: TBird412

Description

Trivia questions/answers are pulled from the most widely used and accepted open source Trivia database.  They have three difficulty levels – Easy, Medium, Hard.  They are also either 4x multiple choice or True/False.  When answering, a player will get two guesses for a multiple choice and only one guess for a true/false.  This is to prevent guess spamming for prizes.  The answers are not case sensitive but due to limits on string comparison they do require exact spelling and punctuation where needed.

In other words, if the answer to a question is “F/A-18 SuperHornet” …
FA18 SuperhornetWRONG
f/a-18 superHornetCORRECT 

The plugin is fired through a console command trivia.random.  These are most commonly fired off with a Battlemetrics schedule but can be fired off in the console by anyone with the permission Trivia.manage
(The reasoning for this method was to limit the amount of resources being used by this plugin by having it constantly running timers to automate the question asking.  It is much more efficient by letting the scheduling of the questions be handled off site by anything that can periodically fire off console commands)

Configuration:

“RewardPlayers”: true,    /// Turn this on or off to allow players to be rewarded for correct answers
“Seconds before players can start answering the question (0 to turn off)”: 15.0,  /// Time allowed before the plugin will listen for answers
“Seconds to allow players to answer the question.”: 60.0,   /// Time allowed before the question expires
“SteamID for chat icon”: “76561198960218042”,
“Symbols”: [             /// Some questions may have issues converting the output string.  If you have a symbol show up incorrectly simply add it here
          {
“Code”: “&”,
“Replacement”: “&”
         },
         {
“Code”: “‘”,
“Replacement”: “‘”
         },
         {
“Code”: “"”,
“Replacement”: “\””
         }
]

Loot tables for prizes …..

When setting up your loot tables, you pick a range anywhere between 0 and 100 for each entry.  Then when a player answers the question correctly the plugin first rolls an RNG for 0-100.  It then picks anything from the appropriate loot table that has a range that covers the RNG number.

So for example if someone answers an easy question correctly and the plugin picks 17 as the RNG the player would receive 25 scrap and 25 rp.  But if it rolled a 99 as RNG the player would receive 25 blood,  a bronze easter egg, and 50 rp (because it is st to ‘both’ for items and RP).  You can have more than one item in a range (like the second example with the blood and bronze egg) and they will receive all items falling in that range.

{
“both/rp/item”: “both”,      /// Global setting to award players Server Rewards RP, Items, or both from the tables below
“EasyPool”: [             ///  List of prizes for the Easy questions
{
“Max”: 50.0,
“Min”: 0.0,
“RewardItem”: {
“Amount”: 25,
“Shortname”: “scrap”
},
“RP”: 25
},
{
“Max”: 100.0,
“Min”: 51.0,
“RewardItem”: {
“Amount”: 25,
“Shortname”: “blood”
},
“RP”: 25
},
{
“Max”: 100.0,
“Min”: 99.0,
“RewardItem”: {
“Amount”: 1,
“Shortname”: “easter.bronzeegg”
},
“RP”: 0
}
],

“MediumPool”: [
{
“Max”: 50.0,
“Min”: 0.0,
“RewardItem”: {
“Amount”: 25,
“Shortname”: “scrap”
},
“RP”: 50
},
{
“Max”: 100.0,
“Min”: 51.0,
“RewardItem”: {
“Amount”: 25,
“Shortname”: “blood”
},
“RP”: 50
},
{
“Max”: 100.0,
“Min”: 99.0,
“RewardItem”: {
“Amount”: 100,
“Shortname”: “metal.refined”
},
“RP”: 0
}
],

“HardPool”: [
{
“Max”: 50.0,
“Min”: 0.0,
“RewardItem”: {
“Amount”: 25,
“Shortname”: “scrap”
},
“RP”: 100
},
{
“Max”: 100.0,
“Min”: 51.0,
“RewardItem”: {
“Amount”: 25,
“Shortname”: “blood”
},
“RP”: 100
},
{
“Max”: 100.0,
“Min”: 99.0,
“RewardItem”: {
“Amount”: 600,
“Shortname”: “ammo.rifle”
},
“RP”: 0
}
],

Bonus:  You can use anything you’d like to automate the console command.  Battlemetrics schedules work great for this but anything will work.  Here is an example of a Battlemetrics schedule that will perform trivia questions periodically.

bm1
bm2

2 reviews for Trivia

  1. mrchick (verified owner)

    Amazing plugin work ace for my PVE Server

  2. James Moore (verified owner)

    What a great idea! lots of fun

Only logged in customers who have purchased this product may leave a review.

Version 1.7.27

  • Performance optimizations
  • Added chat message "Submit your answer..." so players know when the timer is complete and the plugin is now accepting answers.
Version 1.7.23 - 7/16/2020
  • Performance optimizations
  • Added config "Seconds before players can start answering the question (0 to turn off)": 15.0,
 

No License Found!