forked from sirDonovan/Cassius
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-example.js
More file actions
53 lines (44 loc) · 1.18 KB
/
config-example.js
File metadata and controls
53 lines (44 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/**
* Config (example)
* Cassius - https://github.com/sirDonovan/Cassius
*
* Copy this file to 'config.js' before starting Cassius.
*
* @license MIT license
*/
'use strict';
// The username and password that Cassius will use to login
exports.username = 'Example Username';
// leave this blank if the username is unregistered
exports.password = '';
// The server address to which Cassius will connect
exports.server = '';
// Rooms that Cassius will attempt to join after logging in
// example: exports.rooms = ['room1', 'room2', 'room3'];
/**@type {Array<string>} */
exports.rooms = [];
// Rooms where scripted games are enabled
/**@type {Array<string>} */
exports.games = [];
// The character that determines which messages are read as commands
exports.commandCharacter = '.';
// Symbols and rankings for the server's user groups
exports.groups = {
'‽': 0,
'!': 0,
' ': 0,
'+': 1,
'%': 2,
'@': 3,
'*': 3,
'#': 4,
'&': 5,
'~': 6,
};
// Userids of those who have debug access to Cassius
// example: exports.developers = ['devuser1', 'devuser2', 'devuser3'];
/**@type {Array<string>} */
exports.developers = [];
// Custom function
/**@type {?Function} */
exports.parseMessage = null;