Trivia Trivia
Capture Trivia
Capture2 Trivia
Capture3 Trivia
Capture4 Trivia
 

Trivia

(6 customer reviews)

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.

$14.99

Sold By: TBird412
Categories: , , Tags: , ,

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 Trivia
bm2 Trivia

6 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

  3. LaidtoRest (verified owner)

    Answer are not smart. Some of the long answers it doesn’t pick up and award. Also the instructions to use is lacking. It would be nice to put basic Server rewards and other economics options already in the config.

  4. RustyPlanet.net (verified owner)

    super plugin. and the players love it.

  5. Angela Stücklin (verified owner)

    Our players love this plugin!

  6. Anthony Villarreal (verified owner)

    Very entertaining, great way for my players to earn extra boom on my server.

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

Version 1.0
  • Added Initial release

No custom license found. Refer to the TOS for License information!

Got something to discuss?


Customer
RustyPlanet.net
6 months 13 days ago

Recently i get this error
anyone can help out ?

Failed to call hook ‘RandomQuestionConsoleCommand’ on plugin ‘Trivia v1.7.27’ (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Trivia.RandomQuestionConsoleCommand (ConsoleSystem+Arg arg) [0x0003d] in :0
at Oxide.Plugins.Trivia.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0024d] in :0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

Customer
doublee313
2 months 18 days ago

I’ve tried all the options to reward the players……and they aren’t getting them. Can you please confirm this is still giving rewards? Thx

Customer
doublee313
2 months 15 days ago

Rewards aren’t working all the time (works and doesn’t work)….
Economics plugin now working.

 
How do I use this .zip/.7z file I just purchased on my server?

• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.

Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA

• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.