1+ <?php
2+ /*
3+ First-Coder Teamspeak 3 Webinterface for everyone
4+ Copyright (C) 2017 by L.Gmann
5+
6+ This program is free software: you can redistribute it and/or modify
7+ it under the terms of the GNU General Public License as published by
8+ the Free Software Foundation, either version 3 of the License, or
9+ any later version.
10+
11+ This program is distributed in the hope that it will be useful,
12+ but WITHOUT ANY WARRANTY; without even the implied warranty of
13+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+ GNU General Public License for more details.
15+
16+ You should have received a copy of the GNU General Public License
17+ along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
19+ for help look http://first-coder.de/
20+ */
21+
22+ /*
23+ Info:
24+ Advanced: This settings are just in this config editable.
25+ */
26+
27+ /*
28+ Advanced
29+
30+ If you have sponsored this project, you can add here your paypal mail. If you have
31+ sponsored more then 20 euro, you will get the new Version 2 weeks earlier. This a
32+ thank you for all supporter and not a payment. You will also get the new version
33+ without donations.
34+ */
35+ define ("DONATOR_MAIL " , "" );
36+
37+ /*
38+ SQL Login Information
39+ */
40+ define ("SQL_Hostname " , "" );
41+ define ("SQL_Datenbank " , "" );
42+ define ("SQL_Username " , "" );
43+ define ("SQL_Password " , "" );
44+ define ("SQL_Port " , "3306 " );
45+ define ("SQL_Mode " , "mysql " );
46+ define ("SQL_SSL " , "0 " );
47+
48+ /*
49+ Mailsettings
50+ */
51+ define ("USE_MAILS " , "true " );
52+ define ("MAILADRESS " , "mail@my-domain.de " );
53+ define ("MAIL_SMTP " , "false " );
54+ define ("MAIL_SMTP_HOST " , "" );
55+ define ("MAIL_SMTP_PORT " , "" );
56+ define ("MAIL_SMTP_USERNAME " , "" );
57+ define ("MAIL_SMTP_PASSWORD " , "" );
58+ define ("MAIL_SMTP_ENCRYPTION " , "off " ); // Possible values: off, tls, ssl
59+ define ("MAIL_SMTP_DEBUG " , "1 " ); // SMTP Debug options 1 = Errors & Messages 2 = Only Messages
60+
61+ /*
62+ Teamspeak 3 Heading (Dont take a Word that is to long)
63+ */
64+ define ("HEADING " , "First-Coder " );
65+
66+ /*
67+ With this name will the Webinterface & Botinterface connect to your Teamspeakserver
68+ */
69+ define ("TS3_CHATNAME " , "TS3-Servewache " );
70+
71+ /*
72+ Language from your Webinterface (default: english)
73+ */
74+ define ("LANGUAGE " , "english " );
75+
76+ /*
77+ Insert here your Stylesheet you want to use (it must be in /css/themes/)
78+ Leave blank to use the normal Style
79+ */
80+ define ("STYLE " , "" );
81+
82+ /*
83+ Masterserver, to show your Main / Supportserver on your Webpage
84+ Note: If you want use this feature make sure its on the Webpagesettings set!
85+ */
86+ define ("MASTERSERVER_INSTANZ " , "" );
87+ define ("MASTERSERVER_PORT " , "" );
88+
89+ /*
90+ Change the Newspage to a custompage. You can find the custom page under /config/custompages/custom_news.php
91+
92+ Default is "false"
93+ */
94+ define ("CUSTOM_NEWS_PAGE " , "false " );
95+
96+ /*
97+ Change the Loginpage to a custompage. You can find the custom page under /config/custompages/custom_dashboard.php
98+
99+ Default is "false"
100+ */
101+ define ("CUSTOM_DASHBOARD_PAGE " , "false " );
102+
103+ /*
104+ Advanced
105+ Change the Interval for all Teamspeakviewers in milliseconds. If you want to
106+ deaktivate the interval and just want one build (like normal viewers), write -1.
107+
108+ Warning
109+ Please go under 2000 with the value, cause if your internet connection is not that
110+ good, the site will crash your Browser!
111+
112+ Examples
113+ 2000 = 2 seconds (default)
114+ 4000 = 4 seconds
115+ -1 = just load once
116+ */
117+ define ("TEAMSPEAKTREE_INTERVAL " , "2000 " );
118+
119+ /*
120+ Advanced
121+ Hide specific servergroups in your teamspeakviewer. Default is empty.
122+
123+ Examples
124+ 2,3,4 = Servergroups 2, 3 and 4 will be hide
125+ 234,123 = servergroups 234 and 123 will be hide
126+ */
127+ define ("TEAMSPEAKTREE_HIDE_SGROUPS " , "" );
128+
129+ /*
130+ Advanced
131+ Change the Interval of Permissionscheck for every Client he is connected. If you want to
132+ deaktivate the interval, write -1.
133+
134+ Warning
135+ Please go under 2000 with the value, cause if your internet connection is not that
136+ good, the site will crash your Browser!
137+
138+ Examples
139+ 10000 = 10 seconds (default)
140+ 2000 = 2 seconds
141+ 4000 = 4 seconds
142+ -1 = deaktivated
143+ */
144+ define ("CHECK_CLIENT_PERMS " , "10000 " );
145+
146+ /*
147+ Advanced
148+ Change if you can delete a Ticket (complete deleted in the database)
149+
150+ Default is "true"
151+
152+ false => Can be closed but not deleted
153+ true => Can be closed and after that deleted
154+ */
155+ define ("TICKET_CAN_BE_DELETED " , "true " );
156+
157+ /*
158+ Advanced
159+ Set the mount of max Clients they will be searched on a Teamspeakserver.
160+ https://github.com/par0noid/ts3admin.class/issues/27#event-1061704498
161+
162+ Default is "9000000"
163+ */
164+ define ("GET_DB_CLIENTS " , "9000000 " );
165+
166+ /*
167+ Advanced
168+ Here you can edit, how long will be the created teamspeak banner image used.
169+
170+ Examples
171+ 60 = 1 minute (default)
172+ 120 = 2 minutes
173+ 300 = 5 minutes
174+ */
175+ define ("TEAMSPEAK_BANNER_REFRESH_INTERVALL " , "60 " );
176+
177+ /*
178+ Advanced
179+ Default Teamspeak "Server Create" Configuration
180+ */
181+ $ ts3_server_create_default ['servername ' ] = 'First Coder Teamspeak 3 Server ' ;
182+ $ ts3_server_create_default ['slots ' ] = '32 ' ;
183+ $ ts3_server_create_default ['welcome_message ' ] = 'Willkommen auf unserem Teamspeak 3 Server ' ;
184+ $ ts3_server_create_default ['reserved_slots ' ] = '0 ' ;
185+ $ ts3_server_create_default ['password ' ] = '' ;
186+
187+ $ ts3_server_create_default ['host_message ' ] = '' ;
188+ $ ts3_server_create_default ['host_message_show ' ] = '0 ' ; // Host message show 0=No message 1=Show message in Log 2=Show modal message 3=Modal message and exit
189+ $ ts3_server_create_default ['host_url ' ] = '' ;
190+ $ ts3_server_create_default ['host_banner_url ' ] = '' ;
191+ $ ts3_server_create_default ['host_banner_int ' ] = '' ;
192+ $ ts3_server_create_default ['host_button_gfx ' ] = '' ;
193+ $ ts3_server_create_default ['host_button_tip ' ] = '' ;
194+ $ ts3_server_create_default ['host_button_url ' ] = '' ;
195+
196+ $ ts3_server_create_default ['auto_ban_count ' ] = '' ;
197+ $ ts3_server_create_default ['auto_ban_time ' ] = '' ;
198+ $ ts3_server_create_default ['remove_time ' ] = '' ;
199+
200+ $ ts3_server_create_default ['points_tick_reduce ' ] = '' ;
201+ $ ts3_server_create_default ['points_needed_block_cmd ' ] = '' ;
202+ $ ts3_server_create_default ['points_needed_block_ip ' ] = '' ;
203+
204+ $ ts3_server_create_default ['upload_bandwidth_limit ' ] = '' ;
205+ $ ts3_server_create_default ['upload_quota ' ] = '' ;
206+ $ ts3_server_create_default ['download_bandwidth_limit ' ] = '' ;
207+ $ ts3_server_create_default ['download_quota ' ] = '' ;
208+
209+ $ ts3_server_create_default ['virtualserver_log_client ' ] = '1 ' ; // Log Clients no=0 yes=1
210+ $ ts3_server_create_default ['virtualserver_log_query ' ] = '0 ' ; // Log Query no=0 yes=1
211+ $ ts3_server_create_default ['virtualserver_log_channel ' ] = '0 ' ; // Log Channel no=0 yes=1
212+ $ ts3_server_create_default ['virtualserver_log_permissions ' ] = '1 ' ; // Log Permissions no=0 yes=1
213+ $ ts3_server_create_default ['virtualserver_log_server ' ] = '1 ' ; // Log Server no=0 yes=1
214+ $ ts3_server_create_default ['virtualserver_log_filetransfer ' ] = '0 ' ; // Log Filetransfer no=0 yes=1
215+ ?>
0 commit comments