"; $forge = ""; if (file_exists("./forge-universal.jar")) { $forge = "./forge-universal.jar"; while (is_link($forge)) { $forge = readlink($forge); } $forge = basename($forge); } $spigot = ""; if (file_exists("./spigot.jar")) { $spigot = "./spigot.jar"; while (is_link($spigot)) { $spigot = readlink($spigot); } $spigot = basename($spigot); } $vanilla = ""; if (file_exists("./minecraft_server.jar")) { $vanilla = "./minecraft_server.jar"; while (is_link($vanilla)) { $vanilla = readlink($vanilla); } $vanilla = basename($vanilla); } $mod_location = "mods/"; $mod_count = 0; if (file_exists($mod_location)) { $mod_count = count(glob($mod_location . "*.jar")); } $plugin_location = "plugins/"; $plugin_count = 0; if (file_exists($plugin_location)) { $plugin_count = count(glob($plugin_location . "*.jar")); } // echo "
"; // echo "forge=[" . $forge . "]
"; // echo "vanilla=[" . $vanilla . "]
"; // echo "spigot=[" . $spigot . "]
"; // echo "mod_location=[" . $mod_location . "]
"; // echo "mod_count=[" . $mod_count . "]
"; // echo "plugin_location=[" . $plugin_location . "]
"; // echo "plugin_count=[" . $plugin_count . "]
"; // echo "
"; ?>
This Minecraft server has Forge Mods enabled using

"; echo "

server version: " . $forge . "

"; echo "

 

"; echo "

To connect to our server you need to be running the Forge Mod version of minecraft.

"; echo "

You can get that at "; echo "files.minecraftforge.net.

"; echo "

Then click the version that matches ours, then under Download Recommended, click 'Installer-win'.

"; echo "

 

"; if ($mod_count > 0) { echo "

The mods currently installed on this server are listed below and can be downloaded using the links below.

"; echo "

To prevent glitches it is best if you run these same mod versions on your PC.

"; echo ""; echo ""; if ($mod_list = opendir($mod_location)) { while(($file = readdir($mod_list)) !== false){ if (strpos($file, ".jar") > 0) { echo ""; echo ""; echo ""; echo ""; echo ""; } } closedir($mod_list); } echo "
linknamechecksum
download" . $file . "" . md5_file($mod_location . $file) . "
"; } } else if (strlen($spigot) > 0) { echo "

This is a Vanilla Minecraft server which is running with Spigot Plugins.

"; echo "

server version: " . $spigot . "

"; if ($plugin_count > 0) { echo "

The plugins currently installed on this server are listed below.

"; echo ""; echo ""; if ($plugin_list = opendir($plugin_location)) { while(($file = readdir($plugin_list)) !== false){ if (strpos($file, ".jar") > 0) { echo ""; echo ""; echo ""; } } closedir($plugin_list); } echo "
name
" . $file . "
"; } } else if (strlen($vanilla) > 0) { echo "

This is a vanilla Minecraft server which is running the following software.

"; echo "

server version: " . $vanilla . "

"; } ?>
There is more information about this server available here.
Recent chat history:
]//g" | tail -40'); 
?>
Recent server (re)starts:

Recent players joining and leaving:
]//g" | tail -40'); 
?>
Recent server log INFO:
]//g" -e "s/[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*:[0-9]*//g" | tail -40'); 
?>
Most recent crash report:

User logins and one-month expiry date (includes lookups done by Ops looking for heads and skins):

System resource report from the command 'top', showing processes with highest CPU usage:

System resource report from the command 'top', showing processes with highest memory usage: