Create Users and Villages

Submitting this form will create new Users and/or Villages on your server!
Includes resources, main building, rally point, warehouse, granary, wall, market, residence, troops (for hero level-up), and one cranny.

Base Name should be between 4 and 20 characters long

Mode



How Many (accounts) should be between 1 and 200
(Higher values might take a while or cause a crash!)

If you want to run this more than once you should use a different Base Name each time.

Example (legacy):
Base Name = Farm | How Many (accounts) = 5 → Users: Farm1..Farm5
Example (single):
Base Name = FarmLord | Villages = 5 → User: FarmLord with 5 villages


Error: Base Name is too short (min 4 chars)'; break; case 'BN2L': $baseNameFontColor = "Red"; echo '

Error: Base Name is too long (max 20 chars)'; break; case 'AMLO': $amountFontColor = "Red"; echo '

Error: Minimum of 1 for How Many (accounts)'; break; case 'AMHI': $amountFontColor = "Red"; echo '

Error: Maximum of 200 for How Many (accounts)'; break; case 'VILO': $villagesFontColor = "Red"; echo '

Error: Minimum of 1 for Villages'; break; case 'VIHI': $villagesFontColor = "Red"; echo '

Error: Maximum of 200 for Villages'; break; default: echo '

Error: Unknown'; } } elseif ( isset($_GET['g']) && $_GET['g'] == 'OK') { $baseName = ($_GET['bn']); $mode = ($_GET['mo']); $skipped = ($_GET['sk']); $beginnersProtection = ($_GET['bp']); // interpret the tribe label switch ($_GET['tr']) { case '0': $tribe = RANDOM; break; case '1': $tribe = TRIBE1; break; case '2': $tribe = TRIBE2; break; case '3': $tribe = TRIBE3; break; default: $tribe = 'Unknown'; } if ($mode === 'many_accounts') { $amount = ($_GET['am']); echo '

'.$amount.' Users (1 village each) added with Base Name '.$baseName.'
'; } else { $villages = ($_GET['vi']); echo '

Created User '.$baseName.' with '.$villages.' villages.
'; } if (($mode === 'many_accounts' && $amount > 0) || ($mode === 'single_with_villages' && $villages > 0)) { $usersMessage = ($mode === 'many_accounts' ? (($amount > 1) ? 'these Users' : 'this User') : 'this User'); $begMessage = 'Beginners Protection was '; if (!$beginnersProtection) { $begMessage .= 'NOT '; } $begMessage .= 'set for '.$usersMessage.'
'; echo $begMessage; $tribeMessage = 'Tribe for '.$usersMessage.' was '.$tribe.'
'; echo $tribeMessage; } if ($skipped > 0) { echo ''.$skipped.' Users not created as the user name already exists
'; } echo '
Now would be a good time to Return to the server (updates rankings; may take a while)
' . 'Make sure max_execution_time is set high enough in php.ini

'; $baseName = ""; $amount = ""; $villages = ""; } ?>
Base Name  

How Many (accounts)   
Villages (for single account)   

Beginners Protection   

Tribe: