Examples
Configuration Examples
RoRank
const RoRank = require('rorank');
new RoRank({
main: {
logs: {
compact: false,
},
suspend: {
rank: 1,
"auto-rank": true
}
},
api: {
places: [
0,
1
]
},
applications: [{
"Name": "Receptionist",
"Questions": [{
"Name": "Which of the following sentences is grammatically correct?",
"Responses": ["A) 'I seen the dentist yesterday.'", "B) 'I have saw the dentist yesterday.'", "C) 'I saw the dentist yesterday.'", "D) 'I seeing the dentist yesterday.'"],
"Allowed": [3]
}],
"Errors": 3,
"Rank": 3,
"AllowedRanks": [1],
"Text": {
"Passed": "Congratulations! You passed with flying colors.",
"Failed": "Unfortunately, you didn't pass."
}
}],
ranks: [{
PlaceID: null,
Ranks: [{
Name: "Senior Executives",
Rank: 0,
Gamepass: 0,
Border: true,
Rainbow: true,
},
{
Name: "Board of Directors",
Rank: 0,
Gamepass: 0,
Border: true,
Rainbow: false,
},
{
Name: "Administrative Directors",
Rank: 0,
Gamepass: 0,
Border: false,
Rainbow: false,
}
]
}]
}).start();
Last updated
Was this helpful?