Jump to content

3 Screenshots

  • 23.5k
  • 52
  • 18.26 kB
 Share

About Question And Answer

This plugin make it possible, to have a Question database, with 1 valid and 1 to several invalid answer, and it will post a question into the chat in every configured X time, for configured Y time long. It support 4 different reward type, Economy, ServerReward, Item and Command. 

To win, the player need to type in the good answer. First good answer win. If the "Prevent bruteforce against answers" set to true, only the first guess will be considered.

The current variables you can use in a command are:
$player.name - Player display name
$player.id - Player Steam ID
$player.x, $player.y, $player.z - Vector3 coordinates

Examples:
say You are the best: $player.name!
oxide.grant user $player.id randompermission
randomairstrike $player.x, $player.y, $player.z 

Configuration

{
  "Repeat in every X second": 30,
  "Notification before a game start enabled": false,
  "Hide game Close message": false,
  "Notification before a game start (in seconds, please watch for the overlap between questions)": 25,
  "Economy enabled?": false,
  "Serverrewards enabled?": false,
  "Commands as reward enabled?": true,
  "Duration of the Question in second": 10,
  "Play Sound to notify the event": true,
  "Prevent bruteforce against answers": true,
  "Player need to type in the Index of the valid answer": true,
  "Player need to type in the FULL valid answer, without typo": false,
  "Broadcast player winning notification.": false,
  "Text after the question duration number": "seconds, starting now!",
  "Sound prefab to play on start to notify players": "assets/prefabs/tools/pager/effects/beep.prefab",
  "Show valid answer at the end of the game, if nobody guessed good.") - false
  "Remove question from the available question pool, if it was not guessed and and valid answer was displayed before.") - false
}

 

Data

[
  {
    "question": "Test Question for Economy?",
    "valid_answer": "This is a valid answer",
    "incorrect_answer": [
      "Random wrong answer 1",
      "Random wrong answer 2"
    ],
    "customreward": {
      "type": 0,
      "command": "",
      "itemid": 0,
      "amount": 3000
    }
  },
  {
    "question": "Test Question for ServerReward?",
    "valid_answer": "This is a valid answer",
    "incorrect_answer": [
      "Random wrong answer 1",
      "Random wrong answer 2",
	  "Random wrong answer 3"
    ],
    "customreward": {
      "type": 1,
      "command": "",
      "itemid": 0,
      "amount": 5000
    }
  },
  {
    "question": "Test Question for Item?",
    "valid_answer": "This is a valid answer, and give scrap as Item",
    "incorrect_answer": [
      "Random wrong answer 1"
    ],
    "customreward": {
      "type": 2,
      "command": "",
      "itemid": -932201673,
      "amount": 150
    }
  },
  {
    "question": "Test Question for Command?",
    "valid_answer": "This is a valid answer, and will run a command",
    "incorrect_answer": [
      "Random wrong answer 1",
      "Random wrong answer 2",
	  "Random wrong answer 3"
    ],
    "customreward": {
      "type": 3,
      "command": "",
      "itemid": 0,
      "amount": 0
    }
  }
]

 


User Feedback

1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.3k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.