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