Initial commit

This commit is contained in:
Robert Miles 2018-12-01 01:17:29 -05:00
commit 4f915fe9c3
3 changed files with 35 additions and 0 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# modded
The modded server site.

30
index.php Executable file
View File

@ -0,0 +1,30 @@
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="tilde.team modded server">
<meta name="author" content="khuxkm">
<meta name="theme-color" content="#00cc00">
<title>tilde.team modded server</title>
<link rel="stylesheet" type="text/css" href="https://tilde.team/css/hacker.css">
</head>
<body>
<div class="container">
<div class="page-header">
<h1><strong>tilde.team modded server</strong>&nbsp;<img src="https://tilde.chat/badges/badge.php?channel=%23modded"></h1>
</div>
<?php
$gag = array("ec","ec","ec","ec","ce"); // Minecraft or Minceraft
$isrunning = exec("ps -u minecraft | grep java | wc -l") != 0;
?>
<div class="well" style="padding-top:0px;"><h3>Status</h3>
<p>The modded server is <?=$isrunning?"<em>ONLINE</em>":"<b>OFFLINE</b>"?>.</p>
<p>The server is <b>whitelisted</b>.</p>
</div>
<p>We are running a modded Min<?=$gag[array_rand($gag)]?>raft server!</p>
<p>The modpack is <a href="/ftmodpack">futuro t&eacute;nico</a>, created by yours truly.</p>
</div>
</body>
</html>

2
news.txt Normal file
View File

@ -0,0 +1,2 @@
2018-08-24 - Thanks to aewens for helping build the spawn.
2018-08-24 - Added item shop.