2 ############################### S T A R T ################################
3 ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
4 ## --------------------------------------------------------------------------- ##
5 ## Filename config.php ##
7 ## Developed by: Dzoki ##
8 ## License: TravianX Project ##
9 ## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
11 #################################################################################
13 //////////////////////////////////
14 // ***** ERROR REPORTING *****//
15 //////////////////////////////////
16 // (E_ALL ^ E_NOTICE) = enabled
18 error_reporting (E_ALL ^ E_NOTICE
);
20 //////////////////////////////////
21 // ***** SERVER SETTINGS *****//
22 //////////////////////////////////
25 define("SERVER_NAME","TravianX");
28 // Defines when has server started.
29 define("COMMENCE","1315105921");
32 // Choose your server language.
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...
42 // Defines world size. NOTICE: DO NOT EDIT!!
43 define("WORLD_MAX", "50");
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/");
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
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
65 define("DEMOLISH_LEVEL_REQ","10");
68 // Ingame quest enabled/disabled.
71 // ***** Beginners Protection
76 // You can choose any value you want!
77 define("PROTECTION","0");
79 // ***** Enable WW Statistics
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);
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);
104 define("LOG_TECH",true);
105 // LOG USER LOGIN (IP's)
106 define("LOG_LOGIN",true);
108 define("LOG_GOLD_FIN",false);
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 //////////////////////////////////
125 define("NEWSBOX1",false);
126 define("NEWSBOX2",false);
127 define("NEWSBOX3",false);
130 ///////////////////////////////////////
131 // **** HOME NEWSBOX SETTINGS **** //
132 ///////////////////////////////////////
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
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 ////////////////////////////////////
199 define("ADMIN_EMAIL", "");
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);
224 define("MULTIHUNTER",8);
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 ##
244 ## Developed by: Dzoki ##
245 ## License: TravianX Project ##
246 ## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
248 #################################################################################