= 7.4 if (version_compare(phpversion(), '7.4', '<')) { die('The Nameless Installer requires PHP version 7.4 or better. Install normally from https://namelessmc.com/downloads if you do not have PHP 7.4 yet.'); } $version = $_GET['ver'] ?? 'null'; $step = $_GET['step'] ?? 'welcome'; $zip_url = ''; $zip_file = 'namelessmc-' . $version . '.zip'; // These will need to be updated with each NMC release $zip_subdir = $version == 'v1' ? 'Nameless-1.0.21' : 'Nameless-2.0.0-pr13'; // Recursively copy a directory to another location. Used after extraction of the zip file function moveDirectory($source, $dest) { $result = false; if (is_file($source)) { if ($dest[strlen($dest) - 1] == '/') { if (!file_exists($dest)) cmfcDirectory::makeAll($dest, 0755, true); $__dest = $dest . "/" . basename($source); } else $__dest = $dest; $result = copy($source, $__dest); chmod($__dest, 0755); } elseif (is_dir($source)) { if ($dest[strlen($dest) - 1] == '/' && $source[strlen($source) - 1] != '/') { $dest = $dest . basename($source); mkdir($dest); } else mkdir($dest, 0755); $dirHandle = opendir($source); while ($file = readdir($dirHandle)) { if ($file != "." && $file != "..") { $__dest = $dest . "/" . $file; $result = moveDirectory($source . "/" . $file, $__dest); } } closedir($dirHandle); } else $result = false; return $result; } // Used to delete the original extracted zip dir function deleteDirectory($dir) { if (!file_exists($dir)) return true; if (!is_dir($dir)) return unlink($dir); foreach (scandir($dir) as $item) { if ($item == '.' || $item == '..') continue; if (!deleteDirectory($dir . DIRECTORY_SEPARATOR . $item)) return false; } return rmdir($dir); } // Used to display errors function showError($message) { ?>
[ERROR]:
If this continues to happen, contact support in our Discord.
Click here to try again.[WARNING]:
[DEBUG]:
Something minor went wrong, but you can continue. Click here.
[ERROR]: allow_url_fopen is blocked in your php.ini file. Please set this to 1 to continue with the Easy Installer.
If you cannot change this value, you can use an alternative download from here.
[ERROR]: The ZipArchive class does not exist. Please ensure you have the zip extension enabled to continue with the Easy Installer.
If you cannot install this extension, you can use an alternative download from here.
Welcome to NamelessMC!
This script will download and extract NamelessMC for you.
In the next step we will choose which version of NamelessMC to install.
Continue »Now you must choose which version of NamelessMC you want to install.
NamelessMC has two versions: v1 (1.0.21) and v2 (pr13).
v2 is recommended by NamelessMC developers as it is a complete rewrite and provides many more functionalities - such as modules, widgets and beautiful templates.
NamelessMC will now download and extract itself.
It will automatically refresh, so please do not reload the page.
Click here to proceed.
Nameless-Installer | Version: 1.0.4