forked from pabp/bhoptimer-webstats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
executable file
·70 lines (51 loc) · 1.86 KB
/
config.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
<?php
// ip address to the mysql server
define('DB_HOST', 'localhost');
// mysql username
define('DB_USER', 'root');
// mysql password
define('DB_PASSWORD', '');
// mysql database (schema) name
define('DB_SCHEMA', 'shavit');
// amount of records that can be displayed
define('RECORD_LIMIT', '100');
// the page's title as seen in the homepage
define('HOMEPAGE_TITLE', 'Bhoptimer Stats');
// title for the top left side of the screen
define('TOPLEFT_TITLE', 'Timer Stats');
// mysql table prefix, leave empty unless changed in the server
define('MYSQL_PREFIX', '');
// header title
define('HEADER_TITLE', 'Welcome!');
//link to join server, of the format steam://{ip}:{port}
define('SERVER_IP', '');
// page styling
define('PAGE_STYLE', '0'); // 0 - Default | 1 - Red/Black
// setup multi styles here, ordering must correspond with indexing in configs/shavit-styles.cfg
$styles = [
'Normal', // 0
'Sideways', // 1
'W-Only', // 2
'Scroll', // 3
'400 Vel', // 4
'Half-Sideways', // 5
'D-Only', // 6
'Low Grav', //7 - default unranked, points column will show "---" for these styles
'Slowmo', //8 - see above
];
//presently bhoptimer only officially supports one bonus track
//adding more bonus tracks is possible, though "you'd need to edit MAX_TRACKS in shavit.inc, recompile and add proper translations in shavit.phrases.txt" - shavit
$tracks = [
'Main', // 0
'Bonus', // 1
];
define('DEFAULT_STYLE', 0); // 0 - normal
define('DEFAULT_TRACK', 0); // 0 - main
// amount of records that can be displayed in 'latest records'
define('RECORD_LIMIT_LATEST', '25');
// amount of players displayed in top players list
define('PLAYER_TOP_RANKING_LIMIT', '25');
// uses rankings?
define('USES_RANKINGS', '1');
//steam api key for vanity url lookup, can be gotten from http://steamcommunity.com/dev/apikey. not necessary, but recommended
define('API_KEY', '');