-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.php
175 lines (157 loc) · 4.05 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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<?php
########################################
# #
# Created by xman8830 #
# #
########################################
date_default_timezone_set('Europe/Warsaw');//Time zone/Strefa czasowa
$config['cache_name'] = 'EDIT_ME'; //Name cache/Nazwa cache
$config['ts3']['host'] = ''; //Host IP
$config['ts3']['login_port'] = '9987'; //Port Server/Port serwera
$config['ts3']['query_port'] = '10011'; //Port Query
$config['ts3']['login'] = 'serveradmin'; //Login Query
$config['ts3']['password'] = ''; //Password Query/Hasło Query
$config['settings'] = 'auto'; // "auto" - refresh website or "bot" - screen bot refresh
$config['banner']['format'] = 'png'; //Format png/jpg
$config['banner']['background'] = 'img/banner.png'; //link to background png/jpg/Link do tła png/jpg
$admingroups = array(14,13,15); //id admins groups/Id grup administracyjnych
$config['img']['found_nick'] = 'Nieznajomy';// Nick if not found nick/Nick jeżeli nie znajdzie go
$config['lang'] = 'PL';//Language PL/EN/Język PL/EN
$weather = array(
'status' => false,
'icon' => array (//Icon weather/Ikona pogody
'status' => true,
'x' => 1300,
'y' => 100
),
'description' => array (//Details weather/Szczegóły pogody
'status' => false,
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
'size' => 34,
'x' => 100,
'y' => 100
),
'temp' => array (//Temperature/Temperatura
'status' => true,
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
'size' => 33,
'x' => 1330,
'y' => 210
),
'city' => array (//City/Miasto
'status' => true,
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
'size' => 34,
'x' => 1270,
'y' => 40
)
);
/*
Variables/Zmienne:
[nick] - Nick
[adminsOnline] - Admins Online/Admini online
[channel] - Online channels/Dostępne kanały
[uptime] - Time on days of enabled server/Czas w dniach włączonego serwera
[visit] - Server visits/Odwiedzin Serwera
[max] - The maximum number of slots/Maksymalna ilość slotów
[online] - User online/Osób online
[ping] - Ping
[time] - Time/Czas
[date] - Date/Data
[nameday] - Name day/Imieniny
##########################################
THIS COPY/TO KOPIUJ
$img[] = array (
'x' => 100,//Width/Szerokość
'y' => 100,//Height/Wysokość
'size' => 20,//Size/Wielkość
'text' => 'It Works',//Content/Zawarość
'font' => '/fonts/Ubuntu-l.ttf',//Font/Czcionka
'color' => '#fff',//Color/Kolor
);
##########################################
*/
$img[] = array (
'x' => 173,
'y' => 40,
'size' => 34,
'text' => 'Admini online: [adminsOnline]',
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
);
$img[] = array (
'x' => 173,
'y' => 80,
'size' => 34,
'text' => 'Nick [nick]',
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
);
$img[] = array (
'x' => 173,
'y' => 120,
'size' => 34,
'text' => 'online: [online]/[max]',
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
);
$img[] = array (
'x' => 173,
'y' => 160,
'size' => 34,
'text' => 'Godzina: [time]',
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
);
$img[] = array (
'x' => 173,
'y' => 200,
'size' => 34,
'text' => 'Data: [date]',
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
);
$img[] = array (
'x' => 173,
'y' => 240,
'size' => 34,
'text' => 'Kanały: [channel]',
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
);
$img[] = array (
'x' => 173,
'y' => 280,
'size' => 34,
'text' => 'uptime: [uptime] dni',
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
);
$img[] = array (
'x' => 173,
'y' => 320,
'size' => 34,
'text' => 'Odwiedzin: [visit]',
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
);
$img[] = array (
'x' => 173,
'y' => 360,
'size' => 34,
'text' => 'Ping: [ping]',
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
);
$img[] = array (
'x' => 430,
'y' => 400,
'size' => 34,
'text' => 'Imieniny: [nameday]',
'font' => '/fonts/Ubuntu-l.ttf',
'color' => '#fff',
);
?>