This commit is contained in:
root 2020-04-24 01:53:49 +00:00
commit 6155417e98
2 changed files with 38 additions and 0 deletions

12
README.md Normal file
View File

@ -0,0 +1,12 @@
# factorio.tildeverse.org
we run a factorio server
come chat in \#factorio
you can connect to the server using
factorio.tildeverse.org
as the server address

26
index.php Normal file
View File

@ -0,0 +1,26 @@
<?php
$hostname = $_SERVER["HTTP_HOST"];
$org = explode(".", $hostname)[1];
?>
<!DOCTYPE html>
<html>
<head>
<title><?=$org?> factorio</title>
<link rel="stylesheet" href="https://tilde.team/~ben/gruvbox/gruvbox.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body id="top">
<main>
<h1><?=$org?> factorio</h1>
<p>come play factorio</p>
<p>server address is: <em><?=$hostname?></em></p>
<p>come chat: <a href="https://web.tilde.chat/?join=factorio">#factorio</a></p>
</main>
</body>
</html>