'; ?>

?
?
?
?
?
?x
?
?
?
?
?
?
?
?
?
?x
?
? hour/s
?True" : "False"; ?>
?Enabled" : "Disabled"; ?>
?Enabled" : "Disabled"; ?>
?Travian Official" : "TravianZ Extended"; ?>
?
?Enabled" : "Disabled"; ?>
?= 86400 ? (NATURE_REGTIME/86400).' Days' : (NATURE_REGTIME/3600).' Hours'; ?>
?
?
?
?
?= 86400 ? (MEDALINTERVAL/86400).' Days' : (MEDALINTERVAL/3600).' Hours'; ?>
?
?Enabled" : "Disabled"; ?>
?True" : "False"; ?>
?
?Enabled" : "Disabled"; ?>
?
Hero base regeneration ?Hit points the hero recovers per day, independent of the regeneration attribute and of equipped items. 0 disables it. HP / day
0 ? (time() - $cronLastRun) : -1; $cronActive = ($cronAge >= 0 && $cronAge < 90); $cronLoop = defined('CRON_LOOP_SECONDS') ? (int) CRON_LOOP_SECONDS : 300; $cronTick = defined('CRON_TICK_SECONDS') ? (int) CRON_TICK_SECONDS : 60; $cronKey = defined('CRON_KEY') ? (string) CRON_KEY : ''; $cronBase = defined('HOMEPAGE') ? rtrim(HOMEPAGE, '/') : ''; $cronUrl = ($cronBase !== '' && $cronKey !== '') ? $cronBase . '/cron.php?key=' . $cronKey : ''; $cleanReports = defined('CLEANUP_REPORTS_DAYS') ? (int) CLEANUP_REPORTS_DAYS : 14; $cleanChat = defined('CLEANUP_CHAT_DAYS') ? (int) CLEANUP_CHAT_DAYS : 7; $cleanMessages = defined('CLEANUP_MESSAGES_DAYS') ? (int) CLEANUP_MESSAGES_DAYS : 0; $cleanupMarker = __DIR__ . '/../../GameEngine/Prevention/cleanup_last.txt'; $cleanupInfo = @is_file($cleanupMarker) ? @json_decode((string) @file_get_contents($cleanupMarker), true) : null; $cronPath = realpath(__DIR__ . '/../../cron.php'); $cronCmd = $cronPath ? '*/5 * * * * /usr/local/bin/php ' . $cronPath . ' >/dev/null 2>&1' : ''; // cheia afisata mascat; se dezvaluie la cerere (evita expunerea in screenshot-uri) $cronKeyMasked = ($cronKey === '') ? '' : (strlen($cronKey) > 12 ? substr($cronKey, 0, 6) . str_repeat('•', 8) . substr($cronKey, -4) : str_repeat('•', 8)); ?>
Cron & Automation
Automation source ?Where the game tick (battles, movements, training, construction) is processed from. When the cron job is running, players' page loads no longer carry the processing. Cron job" : "Page loads (fallback)"; ?>
Last cron tick ?Written by cron.php on every tick into GameEngine/Prevention/cron_active.txt. Under 90 seconds means the cron is alive. 0) { echo date('d.m.Y H:i:s', $cronLastRun) . ' (' . $cronAge . 's ago)'; } else { echo "Never"; } ?>
Invocation length ?CRON_LOOP_SECONDS - how long one cron.php invocation keeps running. Hosts that only allow a cron every 5 minutes still get a tick every minute this way. 0 = a single tick per invocation. 0 ? $cronLoop . ' s (' . (int) floor($cronLoop / max($cronTick, 1)) . ' ticks per invocation)' : "Single tick"; ?>
Tick interval ?CRON_TICK_SECONDS - how often Automation runs inside one invocation. Automation itself expects to run about every 60 seconds. s
HTTP trigger key ?CRON_KEY - only needed to call cron.php over HTTP (external cron service). Running it from the server's own cron job does not use this key. Generated automatically at install. Not set show
HTTP trigger URL ?Optional. Use this with an external cron service if the host cannot run a local cron job. One HTTP call = one tick. hidden – use "show" above
Database cleanup ?Automation trims tables that would otherwise grow forever. Archived reports are never deleted. 0 disables a rule. 0 ? $cleanReports . 'd' : 'off'); $parts[] = 'chat: ' . ($cleanChat > 0 ? $cleanChat . 'd' : 'off'); $parts[] = 'deleted messages: ' . ($cleanMessages > 0 ? $cleanMessages . 'd' : 'off'); echo implode('  |  ', $parts); ?>
Last cleanup run ?Cleanup runs once per hour from Automation and deletes in batches, so a first run on an old server catches up over several passes. (' . (int) ($r['reports'] ?? 0) . ' reports, ' . (int) ($r['chat'] ?? 0) . ' chat, ' . (int) ($r['messages'] ?? 0) . ' messages)'; } else { echo "Not run yet"; } ?>
Cron job command ?Add this in cPanel → Cron Jobs. The path is detected from this installation.
New Mechanics and Functions
Display oasis in profile ?Enable (Disable) the display of oases of each village in the player profileEnabled" : "Disabled"; ?>
Alliance invitation message ?Enable (Disable) sending an in-game message to the player, if he was invited to the allianceEnabled" : "Disabled"; ?>
New Alliance & Embassy Mechanics ?https://github.com/Shadowss/TravianZ/wiki/New-Alliance-&-Embassy-MechanicsEnabled" : "Disabled"; ?>
New forum post message ?Enable (Disable) forum subscription messagesEnabled" : "Disabled"; ?>
Tribes images in profile ?Enable (Disable) displaying images of tribesEnabled" : "Disabled"; ?>
New Tribe: Huns ?Enable (Disable) the Huns tribeEnabled" : "Disabled"; ?>
New Tribe: Egyptians ?Enable (Disable) the Egyptians tribeEnabled" : "Disabled"; ?>
New Tribe: Spartans ?Enable (Disable) the Spartans tribeEnabled" : "Disabled"; ?>
New Tribe: Vikings ?Enable (Disable) the Vikings tribeEnabled" : "Disabled"; ?>
MHs images in profile ?Enable (Disable) displaying images of MultihuntersEnabled" : "Disabled"; ?>
Display artifact in profile ?Enable (Disable) the display of the artifactEnabled" : "Disabled"; ?>
Display WoW in profile ?Enable (Disable) the display of the wonderEnabled" : "Disabled"; ?>
Vacation Mode ?Enable (Disable) vacation modeEnabled" : "Disabled"; ?>
Catapult targets ?Enable (Disable) the display of catapult targetsEnabled" : "Disabled"; ?>
Manual on Nature and Natars ?Enable (Disable) manual infoEnabled" : "Disabled"; ?>
Direct links placement ?Left menu vs right menuEnabled" : "Disabled"; ?>
Medal Veteran Player ?3 yearsEnabled" : "Disabled"; ?>
Medal Veteran Player 5a ?5 yearsEnabled" : "Disabled"; ?>
Medal Veteran Player 10a ?10 yearsEnabled" : "Disabled"; ?>
Special Medals?Special MedalsEnabled" : "Disabled"; ?>
Server Milestones?Server MilestonesEnabled" : "Disabled"; ?>
Server Medal Reset Timer?Server Medal Reset TimerEnabled" : "Disabled"; ?>
T4 Hero (items, adventures, auction)?T4 Hero (items, adventures, auction)Enabled" : "Disabled"; ?>
Registration Bonus Gold?Give every newly registered player a one-time gold bonus at account creationEnabled" : "Disabled"; ?>
Registration Bonus Gold – amount?How much gold each new player receives when the bonus is enabled
?
?
?
?
?
?
?
?
?
?
?
?
?= 86400 ? (PLUS_TIME/86400).' Days' : (PLUS_TIME/3600).' Hours'; ?>
?= 86400 ? (PLUS_PRODUCTION/86400).' Days' : (PLUS_PRODUCTION/3600).' Hours'; ?>
?Enabled" : "Disabled"; ?>
?Enabled" : "Disabled"; ?>
?Enabled" : "Disabled"; ?>
?Enabled" : "Disabled"; ?>
?Enabled" : "Disabled"; ?>
?Enabled" : "Disabled"; ?>
?Enabled" : "Disabled"; ?>
?Enabled" : "Disabled"; ?>
?Enabled" : "Disabled"; ?>
?Enabled" : "Disabled"; ?>
?Enabled" : "Disabled"; ?>
?
?
?
?*********
?
?
?
?Enabled" : "Disabled"; ?>
?Limit mailbox disabled"; ?>
?No admin name defined!" : ADMIN_NAME; ?>
?No admin email defined!" : ADMIN_EMAIL; ?>
?Enabled" : "Disabled"; ?>
?Enabled" : "Disabled"; ?>
?Yes" : "No"; ?>
$value){ $keyname = ($keys ? $keys."_" : "").$key; if(is_array($array[$key])) define_array($array[$key], $keyname); else define($keyname, $value); } } ?>