Jump to content

3 Screenshots

  • 346
  • 2
  • 4.05 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,
  "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,
  "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"
}

 

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
    }
  }
]

 

 Share


User Feedback

355.2k

Downloads

Total number of downloads.

1.8k

Customers

Total customers served.

24.5k

Files Sold

Total number of files sold.

381.5k

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.