/
Statbus.php
127 lines (127 loc) · 3.14 KB
/
Statbus.php
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?php
return [
'app_name' => getenv('APP') ?: 'Statbus',
'UA' => getenv('UA') ?: null,
'remote_log_src' => getenv('REMOTE_LOGS') ?: null,
'github' => getenv('GITHUB') ?: null,
'auth' => [
'remote_auth' => getenv('REMOTE_AUTH') ?: false,
'oauth_start' => 'oauth_create_session.php',
'token_url' => 'oauth.php',
'auth_session' => 'oauth_get_session_info.php'
],
'ip_auth' => getenv('IP_AUTH') ?: false,
'ip_auth_days' => getenv('IP_AUTH_DAYS') ?: 10,
'perm_flags' => [
'BUILDMODE' => (1<<0),
'ADMIN' => (1<<1),
'BAN' => (1<<2),
'FUN' => (1<<3),
'SERVER' => (1<<4),
'DEBUG' => (1<<5),
'POSSESS' => (1<<6),
'PERMISSIONS' => (1<<7),
'STEALTH' => (1<<8),
'POLL' => (1<<9),
'VAREDIT' => (1<<10),
'SOUNDS' => (1<<11),
'SPAWN' => (1<<12),
'AUTOLOGIN' => (1<<13),
'DBRANKS' => (1<<14)
],
'ranks' => [
'Coder' => [
'backColor' => '#31b626',
'foreColor' => '#FFF',
'icon' => 'code'
],
'Admin' => [
'backColor' => '#9b59b6',
'foreColor' => '#FFF',
'icon' => 'asterisk'
],
],
'servers' => [
[
'port'=>1234,
'name'=>'Server'
]
],
'mode_icons' => [
'Abduction'=>'street-view',
'Ai Malfunction'=>'network-wired',
'Arching Operation'=>'',
'Assimilation'=>'syringe',
'Blob'=>'cubes',
'Changeling'=>'spider',
'Clockwork Cult'=>'cog',
'Clown Ops'=>'angry',
'Cult'=>'book-dead text-danger',
'Devil'=>'handshake',
'Devil Agents'=>'handshake',
'Double Agents'=>'user-ninja',
'Everyone Is The Traitor And Also'=>'',
'Extended'=>'running',
'Extended Events'=>'',
'Families'=>'',
'Gang War'=>'',
'Gang War No Security'=>'',
'Hand Of God'=>'',
'Infiltration'=>'user-tie',
'Internal Affairs'=>'user-secret',
'Jeffjeff'=>'',
'Just Fuck My Shit Up'=>'',
'Meteor'=>'sign-out-alt',
'Monkey'=>'dizzy',
'Nuclear Emergency'=>'bomb',
'Overthrow'=>'frown-open',
'Ragin\' Mages'=>'magic',
'Revolution'=>'fist-raised',
'Rod Madness'=>'slash',
'Sandbox'=>'grin-stars',
'Secret Extended'=>'bed',
'Shadowling'=>'users',
'Speedy_revolution'=>'',
'Traitor'=>'skull-crossbones',
'Traitor+brothers'=>'user-injured',
'Traitor+changeling'=>'user-astronaut',
'Very Ragin\' Bullshit Mages'=>'cloud-sun',
'Vigilante Gang War'=>'',
'Wizard'=>'hat-wizard'
],
'jobs' => [
'AI',
'Assistant',
'Atmospheric Technician',
'Bartender',
'Botanist',
'Captain',
'Cargo Technician',
'Chaplain',
'Chemist',
'Chief Engineer',
'Chief Medical Officer',
'Clown',
'Cook',
'Curator',
'Cyborg',
'Detective',
'Geneticist',
'Head of Personnel',
'Head of Security',
'Janitor',
'Lawyer',
'Librarian',
'Medical Doctor',
'Mime',
'Quartermaster',
'Research Director',
'Roboticist',
'Scientist',
'Security Officer',
'Shaft Miner',
'Station Engineer',
'Virologist',
'Warden'
]
];