aboutsummaryrefslogtreecommitdiffhomepage
path: root/minecraft/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'minecraft/index.html')
-rw-r--r--minecraft/index.html91
1 files changed, 0 insertions, 91 deletions
diff --git a/minecraft/index.html b/minecraft/index.html
deleted file mode 100644
index a7f4941..0000000
--- a/minecraft/index.html
+++ /dev/null
@@ -1,91 +0,0 @@
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="UTF-8" />
5 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
8 <script src="/script.js"></script>
9 <link rel="stylesheet" href="/style.css" />
10 <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
11
12 <title>~/minecraft</title>
13 </head>
14
15 <script>
16 function add2whitelist() {
17 username = document.getElementById("username").value;
18 button = document.getElementById("add-button");
19 fetch("https://mc.igorek.dev/whitelist", {
20 method: "POST",
21 body: username.trim(),
22 }).then((response) => {
23 response.text().then((text) => {
24 button.textContent = `[${text}]`;
25 setTimeout(() => (button.textContent = "[+ add]"), 2000);
26 });
27 });
28 }
29 </script>
30
31 <body>
32 <nav>
33 <a href="/">/igorechek06</a>
34 <a href="/projects">~/projects</a>
35 <a href="/minecraft" class="current">~/minecraft</a>
36 </nav>
37
38 <main>
39 <h1>My minecraft servers</h1>
40
41 <h2>Vanilia 1.20.6</h2>
42 <p>
43 Just vanilla Minecraft server. I try to update it to new versions as
44 they come out. To join this server you will have to add yourself to the
45 whitelist below (just small CAPTCHA).
46 </p>
47 <ul>
48 <li>
49 Version: <a href="https://mcversions.net/download/1.20.6">1.20.6</a>
50 </li>
51 <li>
52 Map: <a href="https://mc.igorek.dev/map">https://mc.igorek.dev/map</a>
53 </li>
54 <li>
55 IP:
56 <span class="copy" copy-text="mc.igorek.dev:25565">
57 mc.igorek.dev:25565
58 </span>
59 </li>
60 <li>
61 Whitelist:
62 <input type="text" id="username" placeholder="username" />
63 <span id="add-button" class="add" onclick="add2whitelist()">
64 [+ add]
65 </span>
66 </li>
67 <li>
68 Recommended mod:
69 <a href="https://modrinth.com/plugin/simple-voice-chat">
70 Simple Voice Chat
71 </a>
72 </li>
73 </ul>
74
75 <h2>Beta 1.7.3</h2>
76 <p>I just hosted <a href="https://mc.arslee.me">my friend's server</a></p>
77 <ul>
78 <li>
79 Version:
80 <a href="https://mcversions.net/download/b1.7.3">beta 1.7.3</a>
81 </li>
82 <li>
83 IP:
84 <span class="copy" copy-text="mc.igorek.dev:25575">
85 mc.igorek.dev:25575
86 </span>
87 </li>
88 </ul>
89 </main>
90 </body>
91</html>