forked from TauCetiStation/TauCetiClassic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
database.dm
22 lines (18 loc) · 891 Bytes
/
database.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// MySQL configuration
var/global/sqladdress = "localhost"
var/global/sqlport = "3306"
var/global/sqldb = "ss13"
var/global/sqllogin = "root"
var/global/sqlpass = ""
// For FTP requests. (i.e. downloading runtime logs.)
// However it'd be ok to use for accessing attack logs and such too, which are even laggier.
var/global/fileaccess_timer = 0
var/global/custom_event_msg = null
//Database connections
//A connection is established on world creation. Ideally, the connection dies when the server restarts (After feedback logging.).
var/global/DBConnection/dbcon = new()
//
// Xeno/role whitelist database ( code/modules/admin/whitelist.dm )
//
var/global/list/role_whitelist // cache of all ckeys and their roles
var/global/list/whitelisted_roles = list("unathi", "tajaran", "skrell", "diona", "machine", "vox", "vulpkanin", "ian") // Case important, everything must be in lowercase.