-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathindex.html
More file actions
447 lines (418 loc) · 23.9 KB
/
index.html
File metadata and controls
447 lines (418 loc) · 23.9 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>FMHL - Free Minecraft Hosters List</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="logos/FMHL.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap" rel="stylesheet">
<meta name="title" content="FMHL - Free Minecraft Hosters List">
<meta name="description" content="The biggest site with all the free minecraft hosters. Updated all the time!">
<meta name="keywords" content="fmhl, mc, hosting, host, hosters, free, us, france, germany, sweden, britain">
<meta name="robots" content="index, follow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="English">
<meta name="revisit-after" content="7 days">
<meta name="author" content="FMHL - Devloo - Myuui">
<link href="https://cdn.jsdelivr.net/npm/@sweetalert2/theme-dark@4/dark.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/float.css" rel="stylesheet">
<link href="css/mobile.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.text-line > span,
.text-line > img {
margin-right: 8px;
}
.grid-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.5rem;
}
@media only screen and (max-width: 1600px) {
.grid-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 10px;
}
@media only screen and (max-width: 1400px) {
.grid-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 10px;
}
@media only screen and (max-width: 1200px) {
.grid-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 10px;
}
}
@media only screen and (max-width: 1000px) {
.grid-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 10px;
}
}
@media only screen and (max-width: 800px) {
.grid-container {
display: grid;
grid-template-columns: repeat(1, 1fr);
grid-gap: 10px;
}
}
@media only screen and (max-width: 600px) {
.grid-container {
display: grid;
grid-template-columns: repeat(1, 1fr);
grid-gap: 10px;
}
}
</style>
</head>
<body>
<div id="floatingElement" class="bg-dark">
<img src="flags/Flag.svg" alt="Icon">
<div class="text">Stands for all locations.</div>
</div>
<div id="floatingElement2" class="bg-dark">
<img src="flags/Check.svg" alt="Icon">
<div class="text">Last Updated 07 / 16 / 2025</div>
</div>
<div>
<div>
<main>
<div>
<div class="markdown-body card" style="background-color: #282b30; padding: 24px; border-radius: 15px;">
<div class="alert alert-simple alert-secondary text-center" style="font-size: 36px; background-color: #2d3238;">
<h1>FMHL - Free Minecraft Hosts List</h1>
<h5>indexed by Myuui & the community!</h5>
</div>
<section>
<div class="col-sm-12">
<div class="alert alert-simple alert-secondary text-left" style="background-color: #2d3238;">
<i class="start-icon far fa-check-circle faa-tada animated"></i>
<strong class="font__weight-semibold">
<h1>Need tips?</h1>
</strong>
<h3>Common Mistakes:</h3>
<ul>
<li><strong>Gigahertz Myth:</strong> When selecting CPUs for your Minecraft server, do not use the clock speed rating to compare two CPUs unless they are of same model and manufacture. Please refer to <a href="https://pcpartpicker.com/forums/topic/152736-the-gigahertz-myth" class="btn btn-secondary btn-sm">Gigahertz Myth</a>for more info.
In short, select the latest cpu architecture and the highest single core thread rating model available.
</li>
<li><strong>More RAM ≠ Better performance:</strong> Server performance is largely dependant on your CPU, not RAM.</li>
</ul>
<h3>Personal preference:</h3>
<ul>
<li><strong>CPU model:</strong> I personally wouldnt settle for for anything older than AMD Ryzen 3900. A generational leap is significant. Generally, looking for a newer CPU that is marketed toward gaming will be the most suitable for Minecraft, as these tend to have higher single-core performance.</li>
<li><strong>High yield, high risk:</strong> Some hosts with huge specs manage to fit in here, despite the anti-summerhosts rules. They're often dangerous because they're unstable and remove themselves or restart their service to wipe the customers clean in just a few months, all so they can renew themselves under new names. I strongly recommend choosing a smaller host with reasonable specs.</li>
</ul>
</div>
</div>
</section>
<div class="col-sm-12">
<div style="display: flex; justify-content: center; align-items: center;">
</div>
</div>
<div class="alert alert-simple alert-secondary text-center" style="background-color: #2d3238;">
<h2 style="color: white;">Our request / modify form has moved to discord, please join our discord to submit requests.</h2>
<a href="https://discord.gg/QmgAFzasaP" target="_blank" class="btn btn-secondary">Join Discord</a>
</div>
<span>
<a href="https://discord.gg/QmgAFzasaP" target="_blank">
<img id="img-discord" style="border-radius: 5px;" class="" src="https://invite.casperiv.dev/?inviteCode=QmgAFzasaP" />
</a>
</span>
</div>
</div>
<p></p>
<h1></h1>
<div id="filter-options" class="markdown-body card" style="background-color: #282b30; padding: 24px; border-radius: 15px;">
<label style="color: var(--color-text-secondary); font-size: 28px;">Filter by:</label>
<div class="btn-group d-flex mb-3">
<button class="btn btn-dark flex-fill filter-btn active" data-filter="all">All Hosts</button>
</div>
<input type="text" id="search-input" placeholder="Search by title..." class="form-control text-white mb-3" style="background-color: #2d3238; border: none; color: white;">
<div class="row mb-3">
<div class="col">
<label class="form-label text-white">Min RAM:</label>
<select id="ram-filter" class="form-select bg-dark text-white" style="border: none;">
<option value="0">Any</option>
<option value="1">1 GB+</option>
<option value="2">2 GB+</option>
<option value="4">4 GB+</option>
<option value="6">6 GB+</option>
<option value="8">8 GB+</option>
</select>
</div>
<div class="col">
<label class="form-label text-white">Min Storage:</label>
<select id="storage-filter" class="form-select bg-dark text-white" style="border: none;">
<option value="0">Any</option>
<option value="2">2 GB+</option>
<option value="4">4 GB+</option>
<option value="10">10 GB+</option>
<option value="25">25 GB+</option>
</select>
</div>
<div class="col">
<label class="form-label text-white">Min Stars:</label>
<select id="star-filter" class="form-select bg-dark text-white" style="border: none;">
<option value="0">Any</option>
<option value="2.5">2.5+</option>
<option value="3.5">3.5+</option>
<option value="4">4+</option>
</select>
</div>
<div class="col">
<label class="form-label text-white">Min Cores %:</label>
<select id="cores-filter" class="form-select bg-dark text-white" style="border: none;">
<option value="0">Any</option>
<option value="100">100%</option>
<option value="125">125%</option>
<option value="150">150%</option>
<option value="200">200%</option>
<option value="250">250%</option>
<option value="300">300%</option>
<option value="400">400%</option>
<option value="600">600%</option>
<option value="800">800%</option>
</select>
</div>
</div>
<div class="mb-3">
<label class="form-label text-white">Locations:</label>
<div class="dropdown">
<button class="btn btn-dark dropdown-toggle w-100" type="button" id="locationDropdown" data-bs-toggle="dropdown" aria-expanded="false">
Select Locations
</button>
<ul class="dropdown-menu bg-dark text-white p-2" style="width: 200px;" id="location-options">
<li><label class="form-check-label"><input type="checkbox" class="form-check-input me-2 location-check" value="Germany"> Germany</label></li>
<li><label class="form-check-label"><input type="checkbox" class="form-check-input me-2 location-check" value="France"> France</label></li>
<li><label class="form-check-label"><input type="checkbox" class="form-check-input me-2 location-check" value="USA"> USA</label></li>
<li><label class="form-check-label"><input type="checkbox" class="form-check-input me-2 location-check" value="Finland"> Finland</label></li>
<li><label class="form-check-label"><input type="checkbox" class="form-check-input me-2 location-check" value="India"> India</label></li>
<li><label class="form-check-label"><input type="checkbox" class="form-check-input me-2 location-check" value="Singapore"> Singapore</label></li>
<li><label class="form-check-label"><input type="checkbox" class="form-check-input me-2 location-check" value="UK"> United Kingdom</label></li>
</ul>
</div>
</div>
</div>
<p></p>
<h1></h1>
<div class="grid-container" id="host-list"></div>
</div>
</div>
<p></p>
<h1></h1>
<div class="markdown-body card" style="background-color: #282b30; padding: 1px; border-radius: 10px; font-size: 24px;">
<div class=" px-4 py-5" id="custom-cards">
<h2 class="text-center fw-bold" style="background-color: #2d3238; border-radius: 6px; color: white; font-size: 33px; padding: 12px;">Need more specs at the expense of service quality? Take a look at <a href="https://flhl.berserk.sbs/" class="btn btn-secondary btn-sm">FLHL</a> in the “Newest Hosting” tab.</h2>
</div>
<h1></h1>
</div>
<p></p>
<footer style="border-radius: 15px; background-color: #282b30; padding: 20px; border-radius: 15px; ">
<div class="footer-content">
<div class="footer-section about">
<h2>About Us</h2>
<p>Free Minecraft Hosting List aka. FMHL</p>
</div>
<p></p>
<div class="footer-section contact">
<h2>Contact Us</h2>
<p>Discord: myuui / alt: tyug</p>
</div>
<p></p>
<div class="footer-section links">
<h2>Quick Links</h2>
<ul>
<li><a href="#">Home</a></li>
<li><a href="license.html">License</a></li>
<li><a href="https://github.com/Myuui/Free-Minecraft-Hosts">Github</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
© 2025 FMHL. All rights reserved.
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YKC9DFBX2P"></script>
<script src="https://getbootstrap.com/docs/4.0/assets/js/vendor/popper.min.js"></script>
<script src="https://getbootstrap.com/docs/4.0/assets/js/vendor/holder.min.js"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-YKC9DFBX2P');
</script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.js"></script>
<script>
async function loadHosts() {
try {
const response = await fetch('getHosts.php');
const hostFiles = await response.json();
const parent = document.getElementById('host-list');
let containersArray = [];
for (let i = 0; i < hostFiles.length; i++) {
const file = hostFiles[i];
const res = await fetch('hosts/' + file);
const data = await res.json();
const rating = parseFloat(data['trustpilot-score']) || 0;
const rounded = Math.round(rating * 2) / 2;
const iconFile = rounded.toString().replace('.', '-');
const container = document.createElement('div');
container.className = 'container text-white';
container.dataset.location = data.locations.join(' / ');
container.dataset.rating = rating;
container.innerHTML = `
<div class="icon-box">
<img src="${data.icon}" alt="Icon" style="max-width:100px;">
</div>
<div class="content">
<div class="title fw-bold">${data.title}</div>
<div class="text-line mt-2">
<span>RAM:</span>
<span class="text-highlight">${data.ram}</span>
<span>Locations:</span>
${data.locations.map(loc => `<img src="flags/${loc}.svg" height="27">`).join('')}
</div>
<div class="text-line mt-2">
<span>Storage:</span>
<span class="text-highlight">${data.storage}</span>
<div class="rating">
<img style="width:100px;" src="assets/trustpilot-stars/stars-${iconFile}.svg" alt="Rating">
<span>${rating.toFixed(1)}<span class="star">★</span></span>
</div>
</div>
<div class="btn-toolbar mt-3">
<a class="btn btn-secondary me-2" href="${data.link}" target="_blank">Get Started</a>
<button class="btn btn-secondary" onclick="showMore${i}()">More Info</button>
</div>
</div>
`;
const cores = parseFloat((data.vcore || '0').replace('%', '').trim()) || 0;
container.dataset.cores = cores;
containersArray.push({ element: container, rating: rating });
window[`showMore${i}`] = function() {
Swal.fire({
title: "More Info",
html: `
<div class="container">
<div class="icon-box">
<img src="${data.icon}" alt="Icon" style="max-width:80px;">
</div>
<h3>${data.title}</h3>
<div class="content">
<div class="text-line">
<span>Performance: </span>
<span class="text-highlight">${data.performance}</span>
<span class="">Location: </span>
<span class="text-highlight">${data.locations.join(' / ')}</span>
</div>
<div class="text-line">
<span>CPU: </span>
<span class="text-highlight">${data.vcore} (${data['cpu-model']})<img src="${data['cpu-icon']}" style="width:45px; height:45px;"></span>
<div class="Rating" style="">
<span>24/7: </span>
<span class="text-highlight">${data['24-7'] ? '✅' : '❌'}</span>
</div>
</div>
<span>Notes: </span>
<span class="text-highlight">${data.notes}</span>
</div>
`,
showCloseButton: true,
showConfirmButton: false,
});
};
}
containersArray.sort((a, b) => b.rating - a.rating);
containersArray.forEach(item => parent.appendChild(item.element));
if (window.refreshFilter) refreshFilter();
} catch (error) {
console.error('Error loading hosts:', error);
}
}
loadHosts();
</script>
<script>
document.addEventListener("DOMContentLoaded", function () {
const searchInput = document.getElementById("search-input");
const ramFilter = document.getElementById("ram-filter");
const storageFilter = document.getElementById("storage-filter");
const starFilter = document.getElementById("star-filter");
const coresFilter = document.getElementById("cores-filter");
const locationChecks = document.querySelectorAll(".location-check");
const containers = () => document.querySelectorAll(".grid-container .container");
function getRating(container) {
const ratingElement = container.querySelector(".rating span");
return ratingElement ? parseFloat(ratingElement.textContent.trim()) || 0 : 0;
}
function parseValue(text) {
const match = text.match(/(\d+(?:\.\d+)?)(\s*)(gb|tb)/i);
if (!match) return 0;
let value = parseFloat(match[1]);
return match[3].toLowerCase() === "tb" ? value * 1024 : value;
}
function getSelectedLocations() {
return Array.from(document.querySelectorAll(".location-check:checked")).map(cb => cb.value.toLowerCase());
}
function updateLocationDropdownText() {
const selectedCount = document.querySelectorAll(".location-check:checked").length;
document.getElementById("locationDropdown").textContent = selectedCount > 0 ? `${selectedCount} Selected` : "Select Locations";
}
function filterHosts() {
const allContainers = Array.from(containers()).sort((a, b) => {
const ratingA = parseFloat(a.dataset.rating || 0);
const ratingB = parseFloat(b.dataset.rating || 0);
return ratingB - ratingA;
});
const searchTerm = searchInput.value.trim().toLowerCase();
const minRAM = parseFloat(ramFilter.value) || 0;
const minStorage = parseFloat(storageFilter.value) || 0;
const minStars = parseFloat(starFilter.value) || 0;
const minCores = parseFloat(coresFilter.value) || 0;
const selectedLocations = getSelectedLocations();
allContainers.forEach(container => {
const ramText = container.querySelector(".text-line:nth-child(2) .text-highlight")?.textContent.toLowerCase() || "";
const storageText = container.querySelector(".text-line:nth-child(3) .text-highlight")?.textContent.toLowerCase() || "";
const titleText = container.querySelector(".title")?.textContent.toLowerCase() || "";
const locationText = container.dataset.location.toLowerCase();
const rating = getRating(container);
const cores = parseFloat(container.dataset.cores || 0);
const ramValue = parseValue(ramText);
const storageValue = parseValue(storageText);
let visible = true;
if (searchTerm && !titleText.includes(searchTerm)) visible = false;
if (visible && ramValue < minRAM) visible = false;
if (visible && storageValue < minStorage) visible = false;
if (visible && rating < minStars) visible = false;
if (visible && cores < minCores) visible = false;
if (visible && selectedLocations.length > 0) {
visible = selectedLocations.some(loc => locationText.includes(loc));
}
container.style.display = visible ? "block" : "none";
});
}
[searchInput, ramFilter, storageFilter, starFilter, coresFilter].forEach(el => {
el.addEventListener("input", filterHosts);
el.addEventListener("change", filterHosts);
});
locationChecks.forEach(cb => {
cb.addEventListener("change", () => {
updateLocationDropdownText();
filterHosts();
});
});
updateLocationDropdownText();
});
</script>
</div>
</div>
</body>
</html>