[r2] Fix report when all troops die.
[travianx.git] / GameEngine / config.php
blob4bc28040c8ad53dac2e5ea7a66b60281f4435999
1 <?php
2 ############################### S T A R T ################################
3 ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
4 ## --------------------------------------------------------------------------- ##
5 ## Filename config.php ##
6 ## Version 4.8.5 ##
7 ## Developed by: Dzoki ##
8 ## License: TravianX Project ##
9 ## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
10 ## ##
11 #################################################################################
13 //////////////////////////////////
14 // ***** ERROR REPORTING *****//
15 //////////////////////////////////
16 // (E_ALL ^ E_NOTICE) = enabled
17 // (0) = disabled
18 error_reporting (E_ALL ^ E_NOTICE);
20 //////////////////////////////////
21 // ***** SERVER SETTINGS *****//
22 //////////////////////////////////
24 // ***** Name
25 define("SERVER_NAME","TravianX");
27 // ***** Started
28 // Defines when has server started.
29 define("COMMENCE","1315105921");
31 // ***** Language
32 // Choose your server language.
33 define("LANG","en");
35 // ***** Speed
36 // Choose your server speed. NOTICE: Higher speed, more likely
37 // to have some bugs. Lower speed, most likely no major bugs.
38 // Values: 1 (normal), 3 (3x speed) etc...
39 define("SPEED", "3");
41 // ***** World size
42 // Defines world size. NOTICE: DO NOT EDIT!!
43 define("WORLD_MAX", "50");
45 // ***** Graphic Pack
46 // True = enabled, false = disabled
47 //!!!!!!!!!!!! DO NOT ENABLE !!!!!!!!!!!!
48 define("GP_ENABLE",false);
49 // Graphic pack location (default: gpack/travian_default/)
50 define("GP_LOCATE", "gpack/travian_default/");
52 // ***** Troop Speed
53 // Values: 1 (normal), 3 (3x speed) etc...
54 define("INCREASE_SPEED","2");
56 // ***** Village Expand
57 // 1 = slow village expanding - more Cultural Points needed for every new village
58 // 0 = fast village expanding - less Cultural Points needed for every new village
59 define("CP", 1);
61 // ***** Demolish Level Required
62 // Defines which level of Main building is required to be able to
63 // demolish. Min value = 1, max value = 20
64 // Default: 10
65 define("DEMOLISH_LEVEL_REQ","10");
67 // ***** Quest
68 // Ingame quest enabled/disabled.
69 define("QUEST",true);
71 // ***** Beginners Protection
72 // 3600 = 1 hour
73 // 3600*12 = 12 hours
74 // 3600*24 = 1 day
75 // 3600*24*3 = 3 days
76 // You can choose any value you want!
77 define("PROTECTION","0");
79 // ***** Enable WW Statistics
80 define("WW",false);
82 // ***** Activation Mail
83 // true = activation mail will be sent, users will have to finish registration
84 // by clicking on link recieved in mail.
85 // false = users can register with any mail. Not needed to be real one.
86 define("AUTH_EMAIL",false);
88 // ***** PLUS
89 //Plus account lenght
90 define("PLUS_TIME",3600*24*7);
91 //+25% production lenght
92 define("PLUS_PRODUCTION",3600*24*7);
94 // ***** Great Workshop
95 define("GREAT_WKS",true);
98 //////////////////////////////////
99 // **** LOG SETTINGS **** //
100 //////////////////////////////////
101 // LOG BUILDING/UPGRADING
102 define("LOG_BUILD",false);
103 // LOG RESEARCHES
104 define("LOG_TECH",true);
105 // LOG USER LOGIN (IP's)
106 define("LOG_LOGIN",true);
107 // LOG GOLD
108 define("LOG_GOLD_FIN",false);
109 // LOG ADMIN
110 define("LOG_ADMIN",true);
111 // LOG ATTACK REPORTS
112 define("LOG_WAR",true);
113 // LOG MARKET REPORTS
114 define("LOG_MARKET",true);
115 // LOG ILLEGAL ACTIONS
116 define("LOG_ILLEGAL",true);
120 //////////////////////////////////
121 // **** NEWSBOX SETTINGS **** //
122 //////////////////////////////////
123 //true = enabled
124 //false = disabled
125 define("NEWSBOX1",false);
126 define("NEWSBOX2",false);
127 define("NEWSBOX3",false);
130 ///////////////////////////////////////
131 // **** HOME NEWSBOX SETTINGS **** //
132 ///////////////////////////////////////
133 //true = enabled
134 //false = disabled
135 define("HOME1",false);
136 define("HOME2",false);
137 define("HOME3",false);
141 //////////////////////////////////
142 // **** SQL SETTINGS **** //
143 //////////////////////////////////
145 // ***** SQL Hostname
146 // example. sql106.000space.com / localhost
147 // If you host server on own PC than this value is: localhost
148 // If you use online hosting, value must be written in host cpanel
149 define("SQL_SERVER", "localhost");
151 // ***** Database Username
152 define("SQL_USER", "root");
154 // ***** Database Password
155 define("SQL_PASS", "");
157 // ***** Database Name
158 define("SQL_DB", "travx2");
160 // ***** Database - Table Prefix
161 define("TB_PREFIX", "s1_");
163 // ***** Database type
164 // 0 = MYSQL
165 // 1 = MYSQLi
166 // default: 1
167 define("DB_TYPE", 0);
171 ////////////////////////////////////
172 // **** EXTRA SETTINGS **** //
173 ////////////////////////////////////
175 // ***** Censore words
176 //define("WORD_CENSOR", "%ACTCEN%");
178 // ***** Words (censore)
179 // Choose which words do you want to be censored
180 //define("CENSORED","%CENWORDS%");
183 // ***** Limit Mailbox
184 // Limits mailbox to defined number of mails. (IGM's)
185 define("LIMIT_MAILBOX",true);
186 // If enabled, define number of maximum mails.
187 define("MAX_MAIL","30");
189 // ***** Include administrator in statistics/rank
190 define("INCLUDE_ADMIN", false);
194 ////////////////////////////////////
195 // **** ADMIN SETTINGS **** //
196 ////////////////////////////////////
198 // ***** Admin Email
199 define("ADMIN_EMAIL", "");
201 // ***** Admin Name
202 define("ADMIN_NAME", "");
206 //////////////////////////////////////////
207 // **** DO NOT EDIT SETTINGS **** //
208 //////////////////////////////////////////
209 define("TRACK_USR","");
210 define("USER_TIMEOUT","");
211 define("ALLOW_BURST",false);
212 define("BASIC_MAX",1);
213 define("INNER_MAX",1);
214 define("PLUS_MAX",1);
215 define("ALLOW_ALL_TRIBE",false);
216 define("CFM_ADMIN_ACT",true);
217 define("SERVER_WEB_ROOT",false);
218 define("USRNM_SPECIAL",true);
219 define("USRNM_MIN_LENGTH",3);
220 define("PW_MIN_LENGTH",4);
221 define("BANNED",0);
222 define("AUTH",1);
223 define("USER",2);
224 define("MULTIHUNTER",8);
225 define("ADMIN",9);
226 define("COOKIE_EXPIRE", 60*60*24*7);
227 define("COOKIE_PATH", "/");
228 define("SUBDOMAIN", true);
231 ////////////////////////////////////////////
232 // **** DOMAIN/SERVER SETTINGS **** //
233 ////////////////////////////////////////////
234 define("DOMAIN", "http://localhost/");
235 define("HOMEPAGE", "http://localhost/");
236 define("SERVER", "http://localhost/");
239 ############################### E N D ##################################
240 ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
241 ## --------------------------------------------------------------------------- ##
242 ## Filename config.php ##
243 ## Version 4.8.5 ##
244 ## Developed by: Dzoki ##
245 ## License: TravianX Project ##
246 ## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
247 ## ##
248 #################################################################################