forked from xman8830/BannerTS3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php.dist
40 lines (34 loc) · 1.74 KB
/
config.php.dist
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
<?php
# !IMPORTANT! rename this to config.php !IMPORTANT!
########################################
# #
# Created by xman8830 #
# #
########################################
########################################
# #
# Version by Lukas Westholt #
# #
########################################
$config = [];
// put your values here in
date_default_timezone_set('Europe/Berlin'); //time zone
$config['apikey_ipinfo'] = ''; //https://ipinfo.io/account
$config['apikey_openweathermap'] = ''; //https://openweathermap.org/api
$config['ts3']['host'] = ''; //Host IP or 'localhost'
$config['ts3']['login_port'] = ''; //Port Server
$config['ts3']['query_port'] = ''; //Port Query
$config['ts3']['login'] = ''; //Login Query
$config['ts3']['password'] = ''; //Password Query
$config['ts3']['timeout'] = 2; //Timeout in seconds for TS3 connection, maybe you need to increase the timeout
$config['ts3']['cachetime'] = 30; //Time in seconds after which the ts3 cache should be reloaded.
$config['ts3']['nickname'] = 'loading-server-banner-service'; //Nickname of the ts3 query
$config['ts3']['admingroups'] = array(6); //id admins groups example: id:6
$config['settings'] = 'auto'; // "auto" - refresh website or "bot" - screen bot refresh
$config['lang'] = 'en'; //Language pl/en/de
$config['banner']['format'] = 'png'; //format png/jpg
$config['banner']['background'] = 'img/banner.png'; //path to background png/jpg
$config['img']['found_nick'] = 'unknown'; //Nick if not found nick
$config['cache_name'] = 'server'; //Name of cache file
$config['ip_cachetime'] = 604800; //Time in seconds: Renew ip-location-relationship Default: 1 Week
$config['fallback_city'] = 'Berlin'; //Your displayed city when no one can be calculated