2490 lines
94 KiB
HTML
2490 lines
94 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>Eaglercraft Central - Ultimate Hub 2025</title>
|
||
<meta name="description" content="Your ultimate hub for Eaglercraft clients, servers, mods, and community. Find the best servers and launch clients in one place!">
|
||
<meta name="keywords" content="Eaglercraft, Eaglercraft Central, Minecraft, Minecraft clients, Minecraft servers, Eaglercraft clients, eaglerserverlist, Eaglercraft mods, launcher, gaming community, eaglercraft multiplayer, eaglercraft resource packs, web Minecraft, vanilla Minecraft">
|
||
<link rel="icon" type="image/png" href="https://raw.githubusercontent.com/BobTheBuilderB/eaglercraftcentral/refs/heads/main/images/logo.png">
|
||
<style>
|
||
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Inter:wght@300;400;500;600;700&display=swap');
|
||
|
||
* {
|
||
margin: 0;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
:root {
|
||
--primary-bg: #0a0a0f;
|
||
--secondary-bg: #1a1a24;
|
||
--accent-color: #00ffff;
|
||
--accent-secondary: #0080ff;
|
||
--text-primary: #ffffff;
|
||
--text-secondary: #a0a0b3;
|
||
--border-color: rgba(0, 255, 255, 0.2);
|
||
--card-bg: rgba(26, 26, 36, 0.8);
|
||
--glass-bg: rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
/* Iframe Modal Styles */
|
||
.iframe-modal {
|
||
display: none;
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: rgba(0, 0, 0, 0.95);
|
||
z-index: 10000;
|
||
backdrop-filter: blur(10px);
|
||
animation: fadeIn 0.3s ease;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.iframe-modal.active {
|
||
display: flex;
|
||
}
|
||
|
||
@keyframes fadeIn {
|
||
from { opacity: 0; }
|
||
to { opacity: 1; }
|
||
}
|
||
|
||
.iframe-container {
|
||
position: relative;
|
||
width: 90%;
|
||
height: 85%;
|
||
max-width: 1400px;
|
||
max-height: 90vh;
|
||
background: var(--secondary-bg);
|
||
border-radius: 16px;
|
||
border: 2px solid var(--accent-color);
|
||
box-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
|
||
overflow: hidden;
|
||
animation: slideUp 0.4s ease;
|
||
transition: all 0.3s ease;
|
||
}
|
||
|
||
.iframe-container.fullscreen {
|
||
width: 100%;
|
||
height: 100%;
|
||
max-width: 100%;
|
||
max-height: 100%;
|
||
border-radius: 0;
|
||
}
|
||
|
||
@keyframes slideUp {
|
||
from { transform: translateY(50px); opacity: 0; }
|
||
to { transform: translateY(0); opacity: 1; }
|
||
}
|
||
|
||
.iframe-header {
|
||
background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
|
||
padding: 15px 20px;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
font-family: 'JetBrains Mono', monospace;
|
||
color: var(--primary-bg);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.iframe-header-left {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 15px;
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.iframe-header-right {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
}
|
||
|
||
.iframe-title {
|
||
font-weight: 600;
|
||
font-size: 1.1rem;
|
||
letter-spacing: 0.5px;
|
||
}
|
||
|
||
.iframe-url {
|
||
font-size: 0.85rem;
|
||
opacity: 0.8;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.iframe-fullscreen-btn,
|
||
.iframe-close {
|
||
background: rgba(255, 255, 255, 0.2);
|
||
border: none;
|
||
color: var(--primary-bg);
|
||
font-size: 20px;
|
||
font-weight: bold;
|
||
cursor: pointer;
|
||
width: 40px;
|
||
height: 40px;
|
||
border-radius: 8px;
|
||
transition: all 0.3s ease;
|
||
font-family: 'JetBrains Mono', monospace;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.iframe-fullscreen-btn:hover,
|
||
.iframe-close:hover {
|
||
background: rgba(255, 255, 255, 0.3);
|
||
transform: scale(1.1);
|
||
}
|
||
|
||
.iframe-content {
|
||
width: 100%;
|
||
height: calc(100% - 60px);
|
||
border: none;
|
||
background: white;
|
||
}
|
||
|
||
.iframe-loading {
|
||
position: absolute;
|
||
top: 50%;
|
||
left: 50%;
|
||
transform: translate(-50%, -50%);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
color: var(--accent-color);
|
||
font-size: 1.5rem;
|
||
animation: pulse 1.5s infinite;
|
||
}
|
||
|
||
@keyframes pulse {
|
||
0%, 100% { opacity: 1; }
|
||
50% { opacity: 0.5; }
|
||
}
|
||
|
||
/* Page Content */
|
||
.page-content {
|
||
position: relative;
|
||
z-index: 1;
|
||
opacity: 1;
|
||
transform: translateY(0);
|
||
transition: all 0.4s ease;
|
||
}
|
||
|
||
.page-content.hidden {
|
||
display: none;
|
||
}
|
||
|
||
/* Smooth page transitions */
|
||
body {
|
||
font-family: 'Inter', sans-serif;
|
||
background: linear-gradient(135deg, var(--primary-bg) 0%, #1a1a24 100%);
|
||
background-attachment: fixed;
|
||
min-height: 100vh;
|
||
color: var(--text-primary);
|
||
overflow-x: hidden;
|
||
scroll-behavior: smooth;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
#matrix-canvas {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
pointer-events: none;
|
||
z-index: -1;
|
||
opacity: 0.4;
|
||
transition: opacity 0.5s ease;
|
||
}
|
||
|
||
body::before {
|
||
content: '';
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
background:
|
||
radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.03) 0%, transparent 50%),
|
||
radial-gradient(circle at 80% 20%, rgba(0, 128, 255, 0.03) 0%, transparent 50%),
|
||
radial-gradient(circle at 40% 40%, rgba(0, 255, 128, 0.02) 0%, transparent 50%);
|
||
pointer-events: none;
|
||
z-index: -1;
|
||
}
|
||
|
||
.container {
|
||
max-width: 1400px;
|
||
margin: 0 auto;
|
||
padding: 20px;
|
||
}
|
||
|
||
header {
|
||
text-align: center;
|
||
margin-bottom: 50px;
|
||
background: var(--glass-bg);
|
||
backdrop-filter: blur(20px);
|
||
border-radius: 16px;
|
||
padding: 50px 30px;
|
||
border: 1px solid var(--border-color);
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
header::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: -50%;
|
||
left: -50%;
|
||
width: 200%;
|
||
height: 200%;
|
||
background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.03), transparent);
|
||
animation: scan 4s linear infinite;
|
||
}
|
||
|
||
@keyframes scan {
|
||
0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
|
||
100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
|
||
}
|
||
|
||
.logo {
|
||
height: 80px;
|
||
margin: 0 auto 20px;
|
||
border-radius: 12px;
|
||
box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
|
||
}
|
||
|
||
h1 {
|
||
font-family: 'JetBrains Mono', monospace;
|
||
color: var(--text-primary);
|
||
font-size: 3.5rem;
|
||
margin-bottom: 15px;
|
||
font-weight: 700;
|
||
text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
|
||
letter-spacing: -0.02em;
|
||
position: relative;
|
||
z-index: 1;
|
||
}
|
||
|
||
.subtitle {
|
||
color: var(--text-secondary);
|
||
font-size: 1.3rem;
|
||
margin-bottom: 30px;
|
||
font-weight: 300;
|
||
position: relative;
|
||
z-index: 1;
|
||
}
|
||
|
||
/* Navigation */
|
||
.nav-container {
|
||
display: flex;
|
||
justify-content: center;
|
||
gap: 15px;
|
||
margin: 30px 0;
|
||
flex-wrap: wrap;
|
||
z-index: 1;
|
||
position: relative;
|
||
}
|
||
|
||
.nav-btn {
|
||
padding: 12px 24px;
|
||
background: var(--card-bg);
|
||
border: 1px solid var(--border-color);
|
||
border-radius: 8px;
|
||
color: var(--text-secondary);
|
||
cursor: pointer;
|
||
transition: all 0.3s ease;
|
||
font-weight: 500;
|
||
font-family: 'JetBrains Mono', monospace;
|
||
font-size: 0.9rem;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.5px;
|
||
text-decoration: none;
|
||
display: inline-block;
|
||
}
|
||
|
||
.nav-btn:hover, .nav-btn.active {
|
||
background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
|
||
color: var(--primary-bg);
|
||
border-color: var(--accent-color);
|
||
transform: translateY(-2px);
|
||
box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
|
||
}
|
||
|
||
/* Breadcrumb Navigation */
|
||
.breadcrumb-nav {
|
||
text-align: center;
|
||
margin: 20px 0;
|
||
padding: 15px 30px;
|
||
background: var(--card-bg);
|
||
backdrop-filter: blur(10px);
|
||
border-radius: 8px;
|
||
border: 1px solid var(--border-color);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
font-size: 0.9rem;
|
||
color: var(--text-secondary);
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.breadcrumb-nav::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: 0;
|
||
left: -100%;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
|
||
transition: left 0.6s;
|
||
}
|
||
|
||
.breadcrumb-nav:hover::before {
|
||
left: 100%;
|
||
}
|
||
|
||
.breadcrumb-prefix,
|
||
.breadcrumb-suffix {
|
||
color: var(--accent-color);
|
||
font-weight: bold;
|
||
}
|
||
|
||
#currentPath {
|
||
color: var(--text-primary);
|
||
font-weight: 600;
|
||
text-transform: uppercase;
|
||
letter-spacing: 1px;
|
||
}
|
||
|
||
.section-title {
|
||
font-size: 2.5rem;
|
||
font-weight: 600;
|
||
margin-bottom: 30px;
|
||
color: var(--accent-color);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
text-align: center;
|
||
text-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
|
||
}
|
||
|
||
/* Client Categories */
|
||
.client-category {
|
||
margin-bottom: 50px;
|
||
}
|
||
|
||
.category-title {
|
||
font-size: 1.8rem;
|
||
font-weight: 600;
|
||
margin-bottom: 25px;
|
||
color: var(--accent-secondary);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
text-align: left;
|
||
border-bottom: 2px solid var(--border-color);
|
||
padding-bottom: 10px;
|
||
}
|
||
|
||
/* Client Cards */
|
||
.clients-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
||
gap: 30px;
|
||
margin-top: 40px;
|
||
}
|
||
|
||
.client-card {
|
||
background: var(--card-bg);
|
||
backdrop-filter: blur(15px);
|
||
border-radius: 16px;
|
||
padding: 30px;
|
||
border: 1px solid var(--border-color);
|
||
transition: all 0.4s ease;
|
||
position: relative;
|
||
overflow: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.client-card::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: 0;
|
||
left: -100%;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
|
||
transition: left 0.6s;
|
||
}
|
||
|
||
.client-card:hover::before {
|
||
left: 100%;
|
||
}
|
||
|
||
.client-card:hover {
|
||
transform: translateY(-8px);
|
||
border-color: var(--accent-color);
|
||
box-shadow:
|
||
0 20px 40px rgba(0, 0, 0, 0.3),
|
||
0 0 30px rgba(0, 255, 255, 0.2);
|
||
}
|
||
|
||
.client-name {
|
||
font-size: 1.6rem;
|
||
font-weight: 600;
|
||
margin-bottom: 15px;
|
||
color: var(--text-primary);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
}
|
||
|
||
.client-version {
|
||
font-size: 0.9rem;
|
||
color: var(--accent-color);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
margin-bottom: 10px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.client-description {
|
||
color: var(--text-secondary);
|
||
line-height: 1.6;
|
||
margin-bottom: 20px;
|
||
flex-grow: 1;
|
||
font-size: 0.95rem;
|
||
}
|
||
|
||
.launch-btn {
|
||
width: 100%;
|
||
padding: 15px;
|
||
background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
|
||
color: var(--primary-bg);
|
||
border: none;
|
||
border-radius: 12px;
|
||
font-size: 16px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
transition: all 0.3s ease;
|
||
font-family: 'JetBrains Mono', monospace;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.5px;
|
||
text-decoration: none;
|
||
display: inline-block;
|
||
text-align: center;
|
||
margin-top: auto;
|
||
}
|
||
|
||
.launch-btn:hover {
|
||
transform: translateY(-2px);
|
||
box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
|
||
}
|
||
|
||
.launch-btn.purple {
|
||
background: linear-gradient(45deg, #8B5CF6, #A855F7);
|
||
}
|
||
|
||
.launch-btn.purple:hover {
|
||
box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
|
||
}
|
||
|
||
.launch-btn.dark-purple {
|
||
background: linear-gradient(45deg, #581C87, #7C3AED);
|
||
}
|
||
|
||
.launch-btn.yellow {
|
||
background: linear-gradient(45deg, #F59E0B, #FBBF24);
|
||
}
|
||
|
||
.launch-btn.green {
|
||
background: linear-gradient(45deg, #10B981, #34D399);
|
||
}
|
||
|
||
.launch-btn.red {
|
||
background: linear-gradient(45deg, #EF4444, #F87171);
|
||
}
|
||
|
||
.launch-btn.orange {
|
||
background: linear-gradient(45deg, #F97316, #FB923C);
|
||
}
|
||
|
||
.launch-btn.pink {
|
||
background: linear-gradient(45deg, #EC4899, #F472B6);
|
||
}
|
||
|
||
.launch-btn.indigo {
|
||
background: linear-gradient(45deg, #6366F1, #818CF8);
|
||
}
|
||
|
||
/* Server Cards */
|
||
.servers-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
|
||
gap: 30px;
|
||
margin-top: 40px;
|
||
}
|
||
|
||
.server-card {
|
||
background: var(--card-bg);
|
||
backdrop-filter: blur(15px);
|
||
border-radius: 16px;
|
||
padding: 30px;
|
||
border: 1px solid var(--border-color);
|
||
transition: all 0.4s ease;
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.server-card::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: 0;
|
||
left: -100%;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
|
||
transition: left 0.6s;
|
||
}
|
||
|
||
.server-card:hover::before {
|
||
left: 100%;
|
||
}
|
||
|
||
.server-card:hover {
|
||
transform: translateY(-8px);
|
||
border-color: var(--accent-color);
|
||
box-shadow:
|
||
0 20px 40px rgba(0, 0, 0, 0.3),
|
||
0 0 30px rgba(0, 255, 255, 0.2);
|
||
}
|
||
|
||
.server-rank {
|
||
position: absolute;
|
||
top: -12px;
|
||
right: -12px;
|
||
background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
|
||
color: var(--primary-bg);
|
||
width: 55px;
|
||
height: 55px;
|
||
border-radius: 50%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-weight: bold;
|
||
font-size: 18px;
|
||
font-family: 'JetBrains Mono', monospace;
|
||
box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
|
||
border: 2px solid var(--primary-bg);
|
||
}
|
||
|
||
.server-name {
|
||
font-size: 1.6rem;
|
||
font-weight: 600;
|
||
margin-bottom: 15px;
|
||
color: var(--text-primary);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.server-address {
|
||
background: var(--primary-bg);
|
||
padding: 15px;
|
||
border-radius: 8px;
|
||
margin: 20px 0;
|
||
font-family: 'JetBrains Mono', monospace;
|
||
word-break: break-all;
|
||
border-left: 4px solid var(--accent-color);
|
||
color: var(--accent-color);
|
||
font-size: 0.9rem;
|
||
position: relative;
|
||
}
|
||
|
||
.server-address::before {
|
||
content: '>';
|
||
color: var(--accent-color);
|
||
margin-right: 8px;
|
||
}
|
||
|
||
.server-stats {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, 1fr);
|
||
gap: 20px;
|
||
margin: 25px 0;
|
||
padding: 20px;
|
||
background: rgba(0, 0, 0, 0.2);
|
||
border-radius: 12px;
|
||
border: 1px solid rgba(0, 255, 255, 0.1);
|
||
}
|
||
|
||
.stat {
|
||
text-align: center;
|
||
}
|
||
|
||
.stat-value {
|
||
font-size: 1.3rem;
|
||
font-weight: 700;
|
||
color: var(--accent-color);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
}
|
||
|
||
.stat-label {
|
||
font-size: 0.8rem;
|
||
color: var(--text-secondary);
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.5px;
|
||
margin-top: 5px;
|
||
}
|
||
|
||
.server-description {
|
||
color: var(--text-secondary);
|
||
line-height: 1.6;
|
||
margin: 20px 0;
|
||
font-size: 0.95rem;
|
||
}
|
||
|
||
.server-tags {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 10px;
|
||
margin: 20px 0;
|
||
}
|
||
|
||
.tag {
|
||
background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 128, 255, 0.1));
|
||
color: var(--accent-color);
|
||
padding: 6px 14px;
|
||
border-radius: 20px;
|
||
font-size: 0.8rem;
|
||
font-weight: 500;
|
||
border: 1px solid rgba(0, 255, 255, 0.3);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.3px;
|
||
}
|
||
|
||
.connect-btn {
|
||
width: 100%;
|
||
padding: 15px;
|
||
background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
|
||
color: var(--primary-bg);
|
||
border: none;
|
||
border-radius: 12px;
|
||
font-size: 16px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
transition: all 0.3s ease;
|
||
font-family: 'JetBrains Mono', monospace;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.5px;
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.connect-btn::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: 0;
|
||
left: -100%;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
||
transition: left 0.5s;
|
||
}
|
||
|
||
.connect-btn:hover::before {
|
||
left: 100%;
|
||
}
|
||
|
||
.connect-btn:hover {
|
||
transform: translateY(-2px);
|
||
box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
|
||
}
|
||
|
||
.status-indicator {
|
||
display: inline-block;
|
||
width: 12px;
|
||
height: 12px;
|
||
border-radius: 50%;
|
||
margin-right: 12px;
|
||
position: relative;
|
||
}
|
||
|
||
.online {
|
||
background: var(--accent-color);
|
||
box-shadow: 0 0 10px var(--accent-color);
|
||
}
|
||
|
||
.online::after {
|
||
content: '';
|
||
position: absolute;
|
||
top: -2px;
|
||
left: -2px;
|
||
right: -2px;
|
||
bottom: -2px;
|
||
border-radius: 50%;
|
||
border: 2px solid var(--accent-color);
|
||
animation: pulse-ring 2s infinite;
|
||
}
|
||
|
||
.loading {
|
||
background: var(--text-secondary);
|
||
animation: blink 1s infinite;
|
||
}
|
||
|
||
@keyframes pulse-ring {
|
||
0% { transform: scale(1); opacity: 1; }
|
||
100% { transform: scale(1.5); opacity: 0; }
|
||
}
|
||
|
||
.offline {
|
||
background: #ff4444;
|
||
box-shadow: 0 0 10px #ff4444;
|
||
}
|
||
|
||
/* Server Status Loading/Latency */
|
||
.latency-display {
|
||
font-size: 1.1rem;
|
||
font-weight: 500;
|
||
color: #ffcc00;
|
||
font-family: 'JetBrains Mono', monospace;
|
||
text-align: right;
|
||
}
|
||
|
||
.latency-display.high { color: #ff4444; }
|
||
.latency-display.low { color: #00ff88; }
|
||
.latency-display.loading { color: var(--text-secondary); animation: blink 1s infinite; }
|
||
|
||
@keyframes blink {
|
||
0%, 100% { opacity: 1; }
|
||
50% { opacity: 0.4; }
|
||
}
|
||
|
||
/* Settings Page Styles */
|
||
.settings-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||
gap: 30px;
|
||
}
|
||
|
||
.setting-card {
|
||
background: var(--card-bg);
|
||
backdrop-filter: blur(15px);
|
||
border-radius: 16px;
|
||
padding: 30px;
|
||
border: 1px solid var(--border-color);
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: space-between;
|
||
transition: all 0.3s ease;
|
||
}
|
||
|
||
.setting-card:hover {
|
||
border-color: var(--accent-secondary);
|
||
box-shadow: 0 0 20px rgba(0, 128, 255, 0.2);
|
||
}
|
||
|
||
.setting-title {
|
||
font-size: 1.5rem;
|
||
font-weight: 600;
|
||
margin-bottom: 10px;
|
||
color: var(--accent-color);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
}
|
||
|
||
.setting-description {
|
||
color: var(--text-secondary);
|
||
line-height: 1.5;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
/* Custom Toggle Switch */
|
||
.toggle-switch {
|
||
position: relative;
|
||
display: inline-block;
|
||
width: 60px;
|
||
height: 34px;
|
||
}
|
||
|
||
.toggle-switch input {
|
||
opacity: 0;
|
||
width: 0;
|
||
height: 0;
|
||
}
|
||
|
||
.slider {
|
||
position: absolute;
|
||
cursor: pointer;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
background-color: #333;
|
||
transition: 0.4s;
|
||
border-radius: 34px;
|
||
border: 2px solid var(--border-color);
|
||
}
|
||
|
||
.slider:before {
|
||
position: absolute;
|
||
content: "";
|
||
height: 26px;
|
||
width: 26px;
|
||
left: 4px;
|
||
bottom: 4px;
|
||
background-color: var(--text-secondary);
|
||
transition: 0.4s;
|
||
border-radius: 50%;
|
||
}
|
||
|
||
input:checked + .slider {
|
||
background-color: var(--accent-secondary);
|
||
border-color: var(--accent-color);
|
||
}
|
||
|
||
input:focus + .slider {
|
||
box-shadow: 0 0 10px var(--accent-color);
|
||
}
|
||
|
||
input:checked + .slider:before {
|
||
transform: translateX(26px);
|
||
background-color: var(--accent-color);
|
||
box-shadow: 0 0 5px var(--accent-color);
|
||
}
|
||
|
||
/* Search */
|
||
.search-container {
|
||
position: relative;
|
||
margin: 30px 0;
|
||
z-index: 1;
|
||
}
|
||
|
||
#searchInput {
|
||
width: 100%;
|
||
padding: 18px 60px 18px 25px;
|
||
border: 1px solid var(--border-color);
|
||
border-radius: 12px;
|
||
font-size: 16px;
|
||
background: var(--card-bg);
|
||
backdrop-filter: blur(10px);
|
||
color: var(--text-primary);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
transition: all 0.3s ease;
|
||
}
|
||
|
||
#searchInput:focus {
|
||
outline: none;
|
||
border-color: var(--accent-color);
|
||
box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
|
||
background: var(--secondary-bg);
|
||
}
|
||
|
||
#searchInput::placeholder {
|
||
color: var(--text-secondary);
|
||
font-family: 'Inter', sans-serif;
|
||
}
|
||
|
||
.search-icon {
|
||
position: absolute;
|
||
right: 25px;
|
||
top: 50%;
|
||
transform: translateY(-50%);
|
||
color: var(--accent-color);
|
||
font-size: 18px;
|
||
}
|
||
|
||
/* Filter Tabs */
|
||
.filter-tabs {
|
||
display: flex;
|
||
gap: 15px;
|
||
margin: 30px 0;
|
||
flex-wrap: wrap;
|
||
justify-content: center;
|
||
z-index: 1;
|
||
position: relative;
|
||
}
|
||
|
||
.filter-tab {
|
||
padding: 12px 24px;
|
||
background: var(--card-bg);
|
||
border: 1px solid var(--border-color);
|
||
border-radius: 8px;
|
||
color: var(--text-secondary);
|
||
cursor: pointer;
|
||
transition: all 0.3s ease;
|
||
font-weight: 500;
|
||
font-family: 'JetBrains Mono', monospace;
|
||
font-size: 0.9rem;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.5px;
|
||
}
|
||
|
||
.filter-tab:hover, .filter-tab.active {
|
||
background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
|
||
color: var(--primary-bg);
|
||
border-color: var(--accent-color);
|
||
transform: translateY(-2px);
|
||
box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
|
||
}
|
||
|
||
/* Stats Section */
|
||
.stats-section {
|
||
background: var(--glass-bg);
|
||
backdrop-filter: blur(20px);
|
||
border-radius: 16px;
|
||
padding: 40px;
|
||
margin: 40px 0;
|
||
text-align: center;
|
||
border: 1px solid var(--border-color);
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.stats-section::before {
|
||
content: '';
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
height: 2px;
|
||
background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
|
||
animation: scan-horizontal 3s ease-in-out infinite;
|
||
}
|
||
|
||
@keyframes scan-horizontal {
|
||
0%, 100% { opacity: 0; }
|
||
50% { opacity: 1; }
|
||
}
|
||
|
||
.global-stats {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||
gap: 30px;
|
||
position: relative;
|
||
z-index: 1;
|
||
}
|
||
|
||
.global-stat {
|
||
text-align: center;
|
||
padding: 20px;
|
||
background: rgba(0, 0, 0, 0.2);
|
||
border-radius: 12px;
|
||
border: 1px solid rgba(0, 255, 255, 0.1);
|
||
}
|
||
|
||
.global-stat-value {
|
||
font-size: 3rem;
|
||
font-weight: 700;
|
||
color: var(--accent-color);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
text-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
|
||
}
|
||
|
||
.global-stat-label {
|
||
font-size: 1.1rem;
|
||
color: var(--text-secondary);
|
||
text-transform: uppercase;
|
||
letter-spacing: 1px;
|
||
margin-top: 10px;
|
||
}
|
||
|
||
/* Resources Grid */
|
||
.resources-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
||
gap: 30px;
|
||
margin-top: 40px;
|
||
}
|
||
|
||
.resource-card {
|
||
background: var(--card-bg);
|
||
backdrop-filter: blur(15px);
|
||
border-radius: 16px;
|
||
padding: 30px;
|
||
border: 1px solid var(--border-color);
|
||
transition: all 0.4s ease;
|
||
position: relative;
|
||
overflow: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.resource-card:hover {
|
||
transform: translateY(-8px);
|
||
border-color: var(--accent-color);
|
||
box-shadow:
|
||
0 20px 40px rgba(0, 0, 0, 0.3),
|
||
0 0 30px rgba(0, 255, 255, 0.2);
|
||
}
|
||
|
||
.resource-links {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
margin-top: auto;
|
||
}
|
||
|
||
.resource-link {
|
||
padding: 12px 20px;
|
||
background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
|
||
color: var(--primary-bg);
|
||
border: none;
|
||
border-radius: 8px;
|
||
text-decoration: none;
|
||
text-align: center;
|
||
font-weight: 600;
|
||
font-family: 'JetBrains Mono', monospace;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.5px;
|
||
transition: all 0.3s ease;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.resource-link:hover {
|
||
transform: translateY(-2px);
|
||
box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
|
||
}
|
||
|
||
/* Discord Section */
|
||
.discord-section {
|
||
max-width: 600px;
|
||
margin: 0 auto;
|
||
background: var(--card-bg);
|
||
backdrop-filter: blur(15px);
|
||
border-radius: 16px;
|
||
padding: 40px;
|
||
border: 1px solid var(--border-color);
|
||
text-align: center;
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.discord-btn {
|
||
width: 100%;
|
||
padding: 20px;
|
||
background: linear-gradient(45deg, #5865F2, #7289DA);
|
||
color: white;
|
||
border: none;
|
||
border-radius: 12px;
|
||
font-size: 18px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
transition: all 0.3s ease;
|
||
font-family: 'JetBrains Mono', monospace;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.5px;
|
||
text-decoration: none;
|
||
display: inline-block;
|
||
margin-top: 20px;
|
||
}
|
||
|
||
.discord-btn:hover {
|
||
transform: translateY(-2px);
|
||
box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
|
||
}
|
||
|
||
footer {
|
||
text-align: center;
|
||
margin-top: 60px;
|
||
color: var(--text-secondary);
|
||
font-size: 0.9rem;
|
||
padding: 30px;
|
||
border-top: 1px solid var(--border-color);
|
||
font-family: 'JetBrains Mono', monospace;
|
||
}
|
||
|
||
.error {
|
||
background: rgba(255, 68, 68, 0.1);
|
||
border: 1px solid rgba(255, 68, 68, 0.3);
|
||
color: #ff4444;
|
||
padding: 25px;
|
||
border-radius: 12px;
|
||
text-align: center;
|
||
margin: 25px 0;
|
||
backdrop-filter: blur(10px);
|
||
}
|
||
|
||
/* Responsive Design */
|
||
@media (max-width: 768px) {
|
||
h1 {
|
||
font-size: 2.5rem;
|
||
}
|
||
|
||
.clients-grid,
|
||
.servers-grid,
|
||
.resources-grid,
|
||
.settings-grid {
|
||
grid-template-columns: 1fr;
|
||
gap: 25px;
|
||
}
|
||
|
||
.server-stats {
|
||
grid-template-columns: 1fr;
|
||
gap: 15px;
|
||
}
|
||
|
||
.nav-container,
|
||
.filter-tabs {
|
||
justify-content: center;
|
||
gap: 10px;
|
||
}
|
||
|
||
.nav-btn,
|
||
.filter-tab {
|
||
padding: 10px 16px;
|
||
font-size: 0.8rem;
|
||
}
|
||
|
||
.iframe-container {
|
||
width: 95%;
|
||
height: 90%;
|
||
}
|
||
|
||
.iframe-header {
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.iframe-header-left {
|
||
width: 100%;
|
||
}
|
||
|
||
.iframe-header-right {
|
||
width: 100%;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.iframe-url {
|
||
margin-left: 0;
|
||
font-size: 0.75rem;
|
||
}
|
||
|
||
.iframe-title {
|
||
font-size: 0.95rem;
|
||
}
|
||
}
|
||
|
||
/* Terminal-style scrollbar */
|
||
::-webkit-scrollbar {
|
||
width: 12px;
|
||
}
|
||
|
||
::-webkit-scrollbar-track {
|
||
background: var(--primary-bg);
|
||
}
|
||
|
||
::-webkit-scrollbar-thumb {
|
||
background: var(--accent-color);
|
||
border-radius: 6px;
|
||
}
|
||
|
||
::-webkit-scrollbar-thumb:hover {
|
||
background: var(--accent-secondary);
|
||
}
|
||
|
||
/* Glowing effects */
|
||
.glow {
|
||
animation: glow 2s ease-in-out infinite alternate;
|
||
}
|
||
|
||
@keyframes glow {
|
||
from { text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color); }
|
||
to { text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color); }
|
||
}
|
||
</style>
|
||
|
||
<!-- Google Analytics -->
|
||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WWJHLNGD9Y"></script>
|
||
<script>
|
||
window.dataLayer = window.dataLayer || [];
|
||
function gtag(){dataLayer.push(arguments);}
|
||
gtag('js', new Date());
|
||
gtag('config', 'G-WWJHLNGD9Y');
|
||
</script>
|
||
</head>
|
||
<body>
|
||
<!-- Iframe Modal -->
|
||
<div id="iframeModal" class="iframe-modal">
|
||
<div class="iframe-container" id="iframeContainer">
|
||
<div class="iframe-header">
|
||
<div class="iframe-header-left">
|
||
<span class="iframe-title" id="iframeTitle">LOADING...</span>
|
||
<span class="iframe-url" id="iframeUrl"></span>
|
||
</div>
|
||
<div class="iframe-header-right">
|
||
<button class="iframe-fullscreen-btn" id="fullscreenBtn" onclick="toggleFullscreen()" title="Toggle Fullscreen">
|
||
⛶
|
||
</button>
|
||
<button class="iframe-close" onclick="closeIframe()" title="Close">×</button>
|
||
</div>
|
||
</div>
|
||
<div class="iframe-loading" id="iframeLoading">>>> ESTABLISHING CONNECTION...</div>
|
||
<iframe id="iframeContent" class="iframe-content" style="display:none;"></iframe>
|
||
</div>
|
||
</div>
|
||
|
||
<canvas id="matrix-canvas"></canvas>
|
||
<div class="container">
|
||
<header>
|
||
<img src="https://raw.githubusercontent.com/BobTheBuilderB/eaglercraftcentral/refs/heads/main/images/logo.png" alt="Eaglercraft Central Logo" class="logo" onerror="this.src='https://raw.githubusercontent.com/BobTheBuilderB/eaglercraftcentral/refs/heads/main/images/logo.png'">
|
||
<h1>Eaglercraft Central</h1>
|
||
<p class="subtitle">>>> Ultimate Eaglercraft Hub Protocol v4.0.1</p>
|
||
|
||
<!-- Main Navigation -->
|
||
<div class="nav-container">
|
||
<a href="#/clients" class="nav-btn" data-page="clients">CLIENTS</a>
|
||
<a href="#/servers" class="nav-btn" data-page="servers">SERVERS</a>
|
||
<a href="#/resources" class="nav-btn" data-page="resources">RESOURCES</a>
|
||
<a href="#/discord" class="nav-btn" data-page="discord">DISCORD</a>
|
||
<a href="#/settings" class="nav-btn" data-page="settings">SETTINGS</a>
|
||
</div>
|
||
</header>
|
||
|
||
<!-- Hash-based breadcrumb navigation -->
|
||
<div id="breadcrumb" class="breadcrumb-nav">
|
||
<span class="breadcrumb-prefix">>>> </span>
|
||
<span id="currentPath">ROOT/CLIENTS</span>
|
||
<span class="breadcrumb-suffix"> <<<</span>
|
||
</div>
|
||
|
||
<!-- Clients Page -->
|
||
<section id="clients" class="page-content">
|
||
<h2 class="section-title">>>> CLIENT LAUNCHERS</h2>
|
||
|
||
<!-- Official Clients -->
|
||
<div class="client-category">
|
||
<h3 class="category-title">/// OFFICIAL CLIENTS</h3>
|
||
<div class="clients-grid">
|
||
<div class="client-card">
|
||
<h3 class="client-name">Eaglercraft 1.8.8</h3>
|
||
<div class="client-version">v1.8.8 - OFFICIAL</div>
|
||
<p class="client-description">The classic and widely used version, perfect for PvP and a stable experience. Optimized for maximum compatibility and performance. The most stable and widely supported version.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://eaglercraft.com/mc/1.8.8/', 'Eaglercraft 1.8.8')" class="launch-btn">
|
||
[LAUNCH_1.8.8_CLIENT]
|
||
</a>
|
||
</div>
|
||
<div class="client-card">
|
||
<h3 class="client-name">Eaglercraft 1.5.2</h3>
|
||
<div class="client-version">v1.5.2 - LEGACY</div>
|
||
<p class="client-description">Classic legacy version with nostalgic gameplay mechanics. Perfect for retro servers and authentic vanilla experience from the golden age of Minecraft.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://eaglercraft.com/mc/1.5.2/', 'Eaglercraft 1.5.2')" class="launch-btn green">
|
||
[LAUNCH_1.5.2_CLIENT]
|
||
</a>
|
||
</div>
|
||
<div class="client-card">
|
||
<h3 class="client-name">Eaglercraft 1.12.2</h3>
|
||
<div class="client-version">v1.12.2 - MODERN</div>
|
||
<p class="client-description">A newer version with more modern features, although less common for servers. Enhanced block palette, improved rendering, and advanced gameplay mechanics.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://eaglercraft.com/mc/1.12.2', 'Eaglercraft 1.12.2')" class="launch-btn orange">
|
||
[LAUNCH_1.12.2_CLIENT]
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Popular Custom Clients -->
|
||
<div class="client-category">
|
||
<h3 class="category-title">/// ENHANCED CLIENTS</h3>
|
||
<div class="clients-grid">
|
||
<div class="client-card">
|
||
<h3 class="client-name">PixelClient</h3>
|
||
<div class="client-version">v2.1 - CUSTOM</div>
|
||
<p class="client-description">A popular custom client with unique features and optimizations. Advanced mod support, enhanced performance, and exclusive gameplay enhancements for competitive players.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://pixelclient.xyz/', 'PixelClient')" class="launch-btn purple">
|
||
[LAUNCH_PIXELCLIENT]
|
||
</a>
|
||
</div>
|
||
<div class="client-card">
|
||
<h3 class="client-name">AstraClient</h3>
|
||
<div class="client-version">v1.4 - PERFORMANCE</div>
|
||
<p class="client-description">A performance-focused client with a sleek interface and essential features. Optimized for competitive gameplay with advanced rendering and network optimizations.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://astraclient.com/', 'AstraClient')" class="launch-btn dark-purple">
|
||
[LAUNCH_ASTRACLIENT]
|
||
</a>
|
||
</div>
|
||
<div class="client-card">
|
||
<h3 class="client-name">StarLike Launcher</h3>
|
||
<div class="client-version">v3.0 - WASM</div>
|
||
<p class="client-description">A modern launcher designed for quick and easy access to Eaglercraft. WebAssembly-powered for maximum speed and compatibility across all modern browsers.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://starlike.zumbiepig.dev/wasm.html', 'StarLike Launcher')" class="launch-btn yellow">
|
||
[LAUNCH_STARLIKE]
|
||
</a>
|
||
</div>
|
||
<div class="client-card">
|
||
<h3 class="client-name">FlamingClient</h3>
|
||
<div class="client-version">v1.8 - MODDED</div>
|
||
<p class="client-description">Feature-rich client with extensive mod support and customization options. Includes built-in shaders, texture pack support, and advanced GUI customization tools.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://flamingclient.pages.dev/', 'FlamingClient')" class="launch-btn red">
|
||
[LAUNCH_FLAMINGCLIENT]
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Community Clients -->
|
||
<div class="client-category">
|
||
<h3 class="category-title">/// COMMUNITY CLIENTS</h3>
|
||
<div class="clients-grid">
|
||
<div class="client-card">
|
||
<h3 class="client-name">EaglercraftX</h3>
|
||
<div class="client-version">v1.20 - EXPERIMENTAL</div>
|
||
<p class="client-description">Experimental client supporting newer Minecraft versions. Features advanced rendering pipeline, modern game mechanics, and bleeding-edge compatibility features.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://eaglercraftx.com/', 'EaglercraftX')" class="launch-btn indigo">
|
||
[LAUNCH_EAGLERCRAFTX]
|
||
</a>
|
||
</div>
|
||
<div class="client-card">
|
||
<h3 class="client-name">UwUClient</h3>
|
||
<div class="client-version">v1.8.8 - ANIME</div>
|
||
<p class="client-description">Anime-themed client with unique visual customizations and kawaii aesthetics. Features custom UI elements, particle effects, and specialized resource pack integration.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://uwu-client.pages.dev/', 'UwUClient')" class="launch-btn pink">
|
||
[LAUNCH_UWUCLIENT]
|
||
</a>
|
||
</div>
|
||
<div class="client-card">
|
||
<h3 class="client-name">ZenithClient</h3>
|
||
<div class="client-version">v2.0 - PREMIUM</div>
|
||
<p class="client-description">Premium client with advanced features for serious players. Includes built-in macros, advanced statistics tracking, and professional-grade optimization tools.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://zenith-client.com/', 'ZenithClient')" class="launch-btn">
|
||
[LAUNCH_ZENITHCLIENT]
|
||
</a>
|
||
</div>
|
||
<div class="client-card">
|
||
<h3 class="client-name">EaglerForge</h3>
|
||
<div class="client-version">v1.8.8 - MODDING</div>
|
||
<p class="client-description">Modding-focused client with extensive API support for developers. Perfect for server owners and mod developers who need advanced customization capabilities.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://eaglerforge.github.io/', 'EaglerForge')" class="launch-btn green">
|
||
[LAUNCH_EAGLERFORGE]
|
||
</a>
|
||
</div>
|
||
<div class="client-card">
|
||
<h3 class="client-name">ShadowClient</h3>
|
||
<div class="client-version">v1.16 - STEALTH</div>
|
||
<p class="client-description">Lightweight stealth client designed for anonymous gameplay. Features advanced anti-detection systems and minimal resource footprint for maximum performance.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://shadow-client.dev/', 'ShadowClient')" class="launch-btn dark-purple">
|
||
[LAUNCH_SHADOWCLIENT]
|
||
</a>
|
||
</div>
|
||
<div class="client-card">
|
||
<h3 class="client-name">TechnoClient</h3>
|
||
<div class="client-version">v1.8.8 - HACKED</div>
|
||
<p class="client-description">Feature-packed hacked client with advanced automation tools. Includes combat assists, movement enhancements, and various utility modules for competitive advantage.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://techno-client.pages.dev/', 'TechnoClient')" class="launch-btn red">
|
||
[LAUNCH_TECHNOCLIENT]
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Specialized Clients -->
|
||
<div class="client-category">
|
||
<h3 class="category-title">/// SPECIALIZED CLIENTS</h3>
|
||
<div class="clients-grid">
|
||
<div class="client-card">
|
||
<h3 class="client-name">VoidClient</h3>
|
||
<div class="client-version">v1.8.8 - UTILITY</div>
|
||
<p class="client-description">Utility-focused client with essential tools for server management and gameplay enhancement. Perfect for moderators and advanced players who need specialized tools.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://void-client.net/', 'VoidClient')" class="launch-btn indigo">
|
||
[LAUNCH_VOIDCLIENT]
|
||
</a>
|
||
</div>
|
||
<div class="client-card">
|
||
<h3 class="client-name">HyperClient</h3>
|
||
<div class="client-version">v1.8.8 - SPEED</div>
|
||
<p class="client-description">Ultra-fast client optimized for maximum performance and minimal latency. Features aggressive optimization algorithms and streamlined networking protocols.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://hyper-client.io/', 'HyperClient')" class="launch-btn yellow">
|
||
[LAUNCH_HYPERCLIENT]
|
||
</a>
|
||
</div>
|
||
<div class="client-card">
|
||
<h3 class="client-name">QuantumClient</h3>
|
||
<div class="client-version">v1.19 - QUANTUM</div>
|
||
<p class="client-description">Next-generation client with quantum-inspired algorithms and advanced AI-assisted gameplay features. Represents the cutting edge of Eaglercraft technology.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://quantum-client.tech/', 'QuantumClient')" class="launch-btn">
|
||
[LAUNCH_QUANTUMCLIENT]
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- Servers Page -->
|
||
<section id="servers" class="page-content hidden">
|
||
<h2 class="section-title">>>> SERVER DIRECTORY</h2>
|
||
|
||
<div class="search-container">
|
||
<input type="text" id="searchInput" placeholder="$ search --query [server_name|gamemode|features]">
|
||
<span class="search-icon">⚡</span>
|
||
</div>
|
||
|
||
<div class="filter-tabs">
|
||
<button class="filter-tab active" data-filter="all">ALL</button>
|
||
<button class="filter-tab" data-filter="survival">SURVIVAL</button>
|
||
<button class="filter-tab" data-filter="pvp">PVP</button>
|
||
<button class="filter-tab" data-filter="creative">CREATIVE</button>
|
||
<button class="filter-tab" data-filter="minigames">MINIGAMES</button>
|
||
<button class="filter-tab" data-filter="skyblock">SKYBLOCK</button>
|
||
</div>
|
||
|
||
<div class="stats-section">
|
||
<div class="global-stats">
|
||
<div class="global-stat">
|
||
<div class="global-stat-value" id="totalServers">150+</div>
|
||
<div class="global-stat-label">Active Nodes</div>
|
||
</div>
|
||
<div class="global-stat">
|
||
<div class="global-stat-value" id="totalPlayers">15.0K+</div>
|
||
<div class="global-stat-label">Connected Users</div>
|
||
</div>
|
||
<div class="global-stat">
|
||
<div class="global-stat-value" id="totalGamemodes">25+</div>
|
||
<div class="global-stat-label">Game Protocols</div>
|
||
</div>
|
||
<div class="global-stat">
|
||
<div class="global-stat-value" id="totalClients">20+</div>
|
||
<div class="global-stat-label">Client Variants</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div id="serversContainer">
|
||
<div class="servers-grid" id="serversGrid"></div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- Resources Page -->
|
||
<section id="resources" class="page-content hidden">
|
||
<h2 class="section-title">>>> MODS & RESOURCES</h2>
|
||
<div class="resources-grid">
|
||
<div class="resource-card">
|
||
<h3 class="client-name">Eaglercraft Mods</h3>
|
||
<p class="client-description">Enhance your gameplay with community-created mods. Browse through performance optimizations, visual enhancements, and gameplay modifications for various client versions.</p>
|
||
<div class="resource-links">
|
||
<a href="javascript:void(0)" onclick="openIframe('https://eaglerrinth.github.io', 'Eaglercraft Mods')" class="resource-link">
|
||
[BROWSE_MODS]
|
||
</a>
|
||
</div>
|
||
</div>
|
||
<div class="resource-card">
|
||
<h3 class="client-name">Resource Packs</h3>
|
||
<p class="client-description">Customize your game's look and feel with resource packs. From realistic textures to stylized art styles, find the perfect visual theme for your gameplay experience.</p>
|
||
<div class="resource-links">
|
||
<a href="javascript:void(0)" onclick="openIframe('https://modrinth.com/resourcepacks?v=1.8.8&v=1.12.2', 'Modrinth Resource Packs')" class="resource-link">
|
||
[MODRINTH_PACKS]
|
||
</a>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://www.planetminecraft.com/resources/texture_packs/', 'Planet Minecraft Packs')" class="resource-link">
|
||
[PLANET_MINECRAFT]
|
||
</a>
|
||
</div>
|
||
</div>
|
||
<div class="resource-card">
|
||
<h3 class="client-name">Shader Packs</h3>
|
||
<p class="client-description">Transform your visual experience with advanced shader packs. Add realistic lighting, water effects, and atmospheric enhancements to supported clients.</p>
|
||
<div class="resource-links">
|
||
<a href="javascript:void(0)" onclick="openIframe('https://shaders.eaglercraft.com/', 'Shader Library')" class="resource-link">
|
||
[SHADER_LIBRARY]
|
||
</a>
|
||
</div>
|
||
</div>
|
||
<div class="resource-card">
|
||
<h3 class="client-name">Development Tools</h3>
|
||
<p class="client-description">Tools and resources for developers creating Eaglercraft clients, mods, and servers. Documentation, APIs, and development environments.</p>
|
||
<div class="resource-links">
|
||
<a href="javascript:void(0)" onclick="openIframe('https://github.com/LAX1DUDE/eaglercraft', 'Eaglercraft GitHub')" class="resource-link">
|
||
[GITHUB_REPO]
|
||
</a>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://eaglercraft.dev/docs', 'Developer Docs')" class="resource-link">
|
||
[DEV_DOCS]
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- Discord Page -->
|
||
<section id="discord" class="page-content hidden">
|
||
<h2 class="section-title">>>> COMMUNITY HUB</h2>
|
||
<div class="discord-section">
|
||
<h3 class="client-name">Join the Network</h3>
|
||
<p class="client-description">Connect with the Eaglercraft community on Discord. Get support, share creations, participate in events, and stay updated with the latest developments in the Eaglercraft ecosystem.</p>
|
||
<a href="javascript:void(0)" onclick="openIframe('https://discord.gg/QSzVeNMzHD', 'Discord Community')" class="discord-btn">
|
||
[JOIN_DISCORD_SERVER]
|
||
</a>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- Settings Page -->
|
||
<section id="settings" class="page-content hidden">
|
||
<h2 class="section-title">>>> USER PREFERENCES / CONFIG</h2>
|
||
<p class="subtitle" style="text-align: center; margin-bottom: 40px;">// Adjust the display and performance parameters of the Eaglercraft Central Hub.</p>
|
||
|
||
<div class="settings-grid" id="settingsGrid">
|
||
<!-- Settings cards will be generated here by JavaScript -->
|
||
</div>
|
||
<div class="error" id="settingsStatus" style="display:none; margin-top: 40px; border-color: rgba(0, 255, 255, 0.3); color: var(--text-primary); background: rgba(0, 255, 255, 0.1);">
|
||
<p id="settingsMessage">CONFIG_STATUS: READY</p>
|
||
</div>
|
||
</section>
|
||
|
||
<footer>
|
||
<p>// EAGLERCRAFT_CENTRAL_v4.0.1 | LAST_UPDATE: 2025.09.24</p>
|
||
<p>// DISCLAIMER: NOT_AFFILIATED_WITH(MOJANG_STUDIOS || MICROSOFT)</p>
|
||
<p>// FOR_EDUCATIONAL_PURPOSES_ONLY</p>
|
||
</footer>
|
||
</div>
|
||
|
||
<script>
|
||
// Iframe Modal Functions
|
||
function openIframe(url, title) {
|
||
const modal = document.getElementById('iframeModal');
|
||
const iframe = document.getElementById('iframeContent');
|
||
const iframeTitle = document.getElementById('iframeTitle');
|
||
const iframeUrl = document.getElementById('iframeUrl');
|
||
const loading = document.getElementById('iframeLoading');
|
||
|
||
// Set title and URL
|
||
iframeTitle.textContent = title.toUpperCase();
|
||
iframeUrl.textContent = url;
|
||
|
||
// Show modal
|
||
modal.classList.add('active');
|
||
|
||
// Show loading
|
||
loading.style.display = 'block';
|
||
iframe.style.display = 'none';
|
||
|
||
// Load iframe
|
||
iframe.src = url;
|
||
|
||
// Hide loading when iframe loads
|
||
iframe.onload = function() {
|
||
loading.style.display = 'none';
|
||
iframe.style.display = 'block';
|
||
};
|
||
|
||
// Add techy notification
|
||
showTechyNotification(`>>> ESTABLISHING_IFRAME_CONNECTION: ${title}`, 'info');
|
||
|
||
// Prevent body scroll
|
||
document.body.style.overflow = 'hidden';
|
||
}
|
||
|
||
function toggleFullscreen() {
|
||
const container = document.getElementById('iframeContainer');
|
||
const fullscreenBtn = document.getElementById('fullscreenBtn');
|
||
|
||
if (container.classList.contains('fullscreen')) {
|
||
container.classList.remove('fullscreen');
|
||
fullscreenBtn.textContent = '⛶';
|
||
showTechyNotification('>>> FULLSCREEN_MODE: DISABLED', 'info');
|
||
} else {
|
||
container.classList.add('fullscreen');
|
||
fullscreenBtn.textContent = '⛶';
|
||
showTechyNotification('>>> FULLSCREEN_MODE: ENABLED', 'success');
|
||
}
|
||
}
|
||
|
||
function closeIframe() {
|
||
const modal = document.getElementById('iframeModal');
|
||
const iframe = document.getElementById('iframeContent');
|
||
const container = document.getElementById('iframeContainer');
|
||
|
||
// Remove fullscreen if active
|
||
container.classList.remove('fullscreen');
|
||
|
||
// Hide modal
|
||
modal.classList.remove('active');
|
||
|
||
// Clear iframe src to stop any media/scripts
|
||
iframe.src = 'about:blank';
|
||
|
||
// Restore body scroll
|
||
document.body.style.overflow = '';
|
||
|
||
showTechyNotification('>>> IFRAME_CONNECTION_TERMINATED', 'success');
|
||
}
|
||
|
||
// Close modal when clicking outside
|
||
document.getElementById('iframeModal').addEventListener('click', function(e) {
|
||
if (e.target === this) {
|
||
closeIframe();
|
||
}
|
||
});
|
||
|
||
// Close with Escape key
|
||
document.addEventListener('keydown', function(e) {
|
||
if (e.key === 'Escape') {
|
||
const modal = document.getElementById('iframeModal');
|
||
if (modal.classList.contains('active')) {
|
||
closeIframe();
|
||
}
|
||
}
|
||
});
|
||
|
||
// Enhanced server data with techy formatting
|
||
const serverData = [
|
||
{
|
||
rank: 1,
|
||
name: "ArchMC",
|
||
address: "wss://arch.lol/",
|
||
players: "800-1200",
|
||
maxPlayers: "2000",
|
||
version: "1.8-1.20",
|
||
status: "online",
|
||
description: "Primary multi-protocol server node featuring advanced gamemode integration: Survival, PvP, Creative, SkyBlock, and Minigames. Equipped with custom plugin architecture and automated event systems.",
|
||
tags: ["survival", "pvp", "creative", "skyblock", "minigames"],
|
||
gamemode: "Multi-Protocol",
|
||
uptime: "99.5%"
|
||
},
|
||
{
|
||
rank: 2,
|
||
name: "VoidsentMC",
|
||
address: "wss://voidsentmc.com/",
|
||
players: "400-600",
|
||
maxPlayers: "1000",
|
||
version: "1.8-1.19",
|
||
status: "online",
|
||
description: "Combat-optimized server infrastructure specializing in Crystal PvP, KitPvP, and competitive tournament systems. Advanced skill-based matchmaking algorithms.",
|
||
tags: ["pvp", "crystal-pvp", "kitpvp"],
|
||
gamemode: "Combat-Proto",
|
||
uptime: "98.9%"
|
||
},
|
||
{
|
||
rank: 3,
|
||
name: "RagePvP",
|
||
address: "wss://ragepvp.org/",
|
||
players: "300-500",
|
||
maxPlayers: "800",
|
||
version: "1.8",
|
||
status: "online",
|
||
description: "Hardcore combat server with enhanced PvP mechanics engine. Features real-time leaderboard tracking and advanced combat statistics.",
|
||
tags: ["pvp", "hardcore", "competitive"],
|
||
gamemode: "Hardcore-PvP",
|
||
uptime: "97.8%"
|
||
},
|
||
{
|
||
rank: 4,
|
||
name: "TuffNET",
|
||
address: "wss://tuffnet.net/",
|
||
players: "250-400",
|
||
maxPlayers: "600",
|
||
version: "1.8-1.20",
|
||
status: "online",
|
||
description: "Community-driven server cluster with distributed gamemode architecture. Real-time sync between Survival, SkyBlock, and Creative instances.",
|
||
tags: ["survival", "skyblock", "creative", "community"],
|
||
gamemode: "Distributed-SMP",
|
||
uptime: "99.1%"
|
||
},
|
||
{
|
||
rank: 5,
|
||
name: "GG SMP",
|
||
address: "wss://ggsmp.net/",
|
||
players: "200-350",
|
||
maxPlayers: "500",
|
||
version: "1.17+",
|
||
status: "online",
|
||
description: "Advanced SMP protocol with integrated Towny framework, custom enchantment systems, and MMO-style progression algorithms.",
|
||
tags: ["survival", "towny", "smp", "mmo"],
|
||
gamemode: "SMP-Advanced",
|
||
uptime: "98.5%"
|
||
},
|
||
{
|
||
rank: 6,
|
||
name: "EagleCraft Hub",
|
||
address: "wss://eaglehub.net/",
|
||
players: "180-300",
|
||
maxPlayers: "450",
|
||
version: "1.8-1.19",
|
||
status: "online",
|
||
description: "Central hub server with dynamic gamemode routing. Hosts Bedwars, Skywars, and other competitive minigame protocols.",
|
||
tags: ["minigames", "bedwars", "skywars", "hub"],
|
||
gamemode: "Hub-Protocol",
|
||
uptime: "99.2%"
|
||
},
|
||
{
|
||
rank: 7,
|
||
name: "CrystalPvP Pro",
|
||
address: "wss://crystalpvp.pro/",
|
||
players: "150-250",
|
||
maxPlayers: "400",
|
||
version: "1.12-1.19",
|
||
status: "online",
|
||
description: "Specialized Crystal PvP engine with advanced combat mechanics and ELO-based competitive ranking system.",
|
||
tags: ["pvp", "crystal-pvp", "competitive"],
|
||
gamemode: "Crystal-Combat",
|
||
uptime: "98.3%"
|
||
},
|
||
{
|
||
rank: 8,
|
||
name: "SkyBlock Elite",
|
||
address: "wss://skyblock-elite.com/",
|
||
players: "120-200",
|
||
maxPlayers: "350",
|
||
version: "1.8-1.20",
|
||
status: "online",
|
||
description: "Premium SkyBlock instance with procedural island generation, advanced economy algorithms, and dynamic challenge systems.",
|
||
tags: ["skyblock", "economy", "challenges"],
|
||
gamemode: "SkyBlock-Pro",
|
||
uptime: "97.9%"
|
||
},
|
||
{
|
||
rank: 9,
|
||
name: "Creative Builders",
|
||
address: "wss://creative-builders.net/",
|
||
players: "100-180",
|
||
maxPlayers: "300",
|
||
version: "1.8-1.20",
|
||
status: "online",
|
||
description: "Creative-focused server with advanced plot management system, WorldEdit integration, and automated building competitions.",
|
||
tags: ["creative", "building", "plots", "worldedit"],
|
||
gamemode: "Creative-Build",
|
||
uptime: "99.7%"
|
||
},
|
||
{
|
||
rank: 10,
|
||
name: "Anarchy Realm",
|
||
address: "wss://anarchy-realm.org/",
|
||
players: "80-150",
|
||
maxPlayers: "250",
|
||
version: "1.12-1.19",
|
||
status: "online",
|
||
description: "No-rules anarchy protocol with unrestricted gameplay parameters. Maximum freedom, minimal server intervention.",
|
||
tags: ["anarchy", "no-rules", "hardcore"],
|
||
gamemode: "Anarchy-Proto",
|
||
uptime: "96.8%"
|
||
},
|
||
{
|
||
rank: 11,
|
||
name: "Prison Break",
|
||
address: "wss://prison-break.net/",
|
||
players: "70-120",
|
||
maxPlayers: "200",
|
||
version: "1.8-1.19",
|
||
status: "online",
|
||
description: "Prison-themed progression system with rank-based mining algorithms and integrated economy protocols.",
|
||
tags: ["prison", "economy", "ranking"],
|
||
gamemode: "Prison-System",
|
||
uptime: "98.1%"
|
||
},
|
||
{
|
||
rank: 12,
|
||
name: "Faction Wars",
|
||
address: "wss://faction-wars.com/",
|
||
players: "60-100",
|
||
maxPlayers: "180",
|
||
version: "1.8-1.16",
|
||
status: "online",
|
||
description: "Faction-based warfare protocol with territorial claim systems, raid mechanics, and strategic combat algorithms.",
|
||
tags: ["factions", "pvp", "raids", "warfare"],
|
||
gamemode: "Faction-War",
|
||
uptime: "97.5%"
|
||
}
|
||
];
|
||
|
||
let currentFilter = 'all';
|
||
let searchQuery = '';
|
||
let matrixInterval;
|
||
const matrixCanvas = document.getElementById('matrix-canvas');
|
||
|
||
// --- Mock Server Status Checker ---
|
||
function checkServerStatus(server) {
|
||
return new Promise(resolve => {
|
||
const latency = Math.floor(Math.random() * 800) + 200;
|
||
const status = Math.random() < 0.9 ? 'online' : 'offline';
|
||
const latencyClass = latency < 400 ? 'low' : 'high';
|
||
|
||
setTimeout(() => {
|
||
resolve({
|
||
status: status,
|
||
latency: status === 'online' ? `${latency}ms` : 'N/A',
|
||
latencyClass: status === 'online' ? latencyClass : 'offline'
|
||
});
|
||
}, latency * 0.5);
|
||
});
|
||
}
|
||
|
||
// --- Settings Management ---
|
||
const DEFAULT_SETTINGS = {
|
||
matrix_bg_enabled: true,
|
||
theme_mode: 'dark-cyber'
|
||
};
|
||
|
||
let currentSettings = {};
|
||
|
||
function loadSettings() {
|
||
try {
|
||
const storedSettings = localStorage.getItem('eaglercraft_settings');
|
||
if (storedSettings) {
|
||
currentSettings = { ...DEFAULT_SETTINGS, ...JSON.parse(storedSettings) };
|
||
} else {
|
||
currentSettings = DEFAULT_SETTINGS;
|
||
}
|
||
} catch (e) {
|
||
console.error("Error loading settings from localStorage:", e);
|
||
currentSettings = DEFAULT_SETTINGS;
|
||
}
|
||
}
|
||
|
||
function saveSetting(key, value) {
|
||
currentSettings[key] = value;
|
||
try {
|
||
localStorage.setItem('eaglercraft_settings', JSON.stringify(currentSettings));
|
||
showTechyNotification(`>>> CONFIG_UPDATE: ${key.toUpperCase()}_SET_TO_${value}`, 'success');
|
||
} catch (e) {
|
||
showTechyNotification(`>>> ERROR: FAILED_TO_SAVE_CONFIG`, 'error');
|
||
console.error("Error saving settings to localStorage:", e);
|
||
}
|
||
applySettings();
|
||
}
|
||
|
||
function applySettings() {
|
||
if (currentSettings.matrix_bg_enabled && matrixCanvas) {
|
||
matrixCanvas.style.display = 'block';
|
||
if (!matrixInterval) {
|
||
initMatrixRain();
|
||
}
|
||
document.body.style.setProperty('--primary-bg', '#0a0a0f');
|
||
} else if (matrixCanvas) {
|
||
matrixCanvas.style.display = 'none';
|
||
if (matrixInterval) {
|
||
clearInterval(matrixInterval);
|
||
matrixInterval = null;
|
||
}
|
||
document.body.style.setProperty('--primary-bg', '#111118');
|
||
}
|
||
}
|
||
|
||
// Full Matrix Rain Effect
|
||
function initMatrixRain() {
|
||
const canvas = document.getElementById('matrix-canvas');
|
||
if (!canvas) return;
|
||
|
||
const ctx = canvas.getContext('2d');
|
||
|
||
canvas.width = window.innerWidth;
|
||
canvas.height = window.innerHeight;
|
||
|
||
const matrixChars = 'アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワン0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ$+-*/=%"&_(){}?[]|\\<>';
|
||
const fontSize = 10;
|
||
const columns = Math.floor(canvas.width / fontSize);
|
||
|
||
const drops = [];
|
||
for (let i = 0; i < columns; i++) {
|
||
drops[i] = Math.random() * -100;
|
||
}
|
||
|
||
function draw() {
|
||
ctx.fillStyle = 'rgba(10, 10, 15, 0.05)';
|
||
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
||
|
||
ctx.font = fontSize + 'px JetBrains Mono, monospace';
|
||
|
||
for (let i = 0; i < drops.length; i++) {
|
||
const char = matrixChars[Math.floor(Math.random() * matrixChars.length)];
|
||
|
||
const gradient = ctx.createLinearGradient(0, drops[i] * fontSize, 0, (drops[i] + 1) * fontSize);
|
||
gradient.addColorStop(0, '#00ff41');
|
||
gradient.addColorStop(0.1, '#00ff41');
|
||
gradient.addColorStop(0.9, '#008f11');
|
||
gradient.addColorStop(1, 'rgba(0, 143, 17, 0)');
|
||
|
||
ctx.fillStyle = gradient;
|
||
ctx.fillText(char, i * fontSize, drops[i] * fontSize);
|
||
|
||
if (Math.random() > 0.98) {
|
||
ctx.fillStyle = '#00ffff';
|
||
ctx.fillText(char, i * fontSize, drops[i] * fontSize);
|
||
}
|
||
|
||
if (drops[i] * fontSize > canvas.height && Math.random() > 0.975) {
|
||
drops[i] = 0;
|
||
}
|
||
drops[i]++;
|
||
}
|
||
}
|
||
|
||
if (matrixInterval) {
|
||
clearInterval(matrixInterval);
|
||
}
|
||
|
||
matrixInterval = setInterval(draw, 50);
|
||
|
||
window.addEventListener('resize', () => {
|
||
canvas.width = window.innerWidth;
|
||
canvas.height = window.innerHeight;
|
||
});
|
||
}
|
||
|
||
function init() {
|
||
loadSettings();
|
||
applySettings();
|
||
setupEventListeners();
|
||
setupHashRouting();
|
||
updateGlobalStats();
|
||
startTechyEffects();
|
||
addMatrixInteractions();
|
||
handleHashChange();
|
||
}
|
||
|
||
function setupHashRouting() {
|
||
window.addEventListener('hashchange', handleHashChange);
|
||
window.addEventListener('popstate', handleHashChange);
|
||
|
||
document.querySelectorAll('.nav-btn').forEach(btn => {
|
||
btn.addEventListener('click', function(e) {
|
||
e.preventDefault();
|
||
const pageId = this.getAttribute('data-page');
|
||
navigateToPage(pageId);
|
||
showNavigationLoading();
|
||
|
||
this.style.transform = 'scale(0.95)';
|
||
setTimeout(() => {
|
||
this.style.transform = '';
|
||
}, 150);
|
||
});
|
||
});
|
||
}
|
||
|
||
function showNavigationLoading() {
|
||
const breadcrumb = document.getElementById('breadcrumb');
|
||
if (breadcrumb) {
|
||
breadcrumb.style.background = 'linear-gradient(45deg, var(--accent-color), var(--accent-secondary))';
|
||
breadcrumb.style.color = 'var(--primary-bg)';
|
||
|
||
setTimeout(() => {
|
||
breadcrumb.style.background = '';
|
||
breadcrumb.style.color = '';
|
||
}, 300);
|
||
}
|
||
}
|
||
|
||
function startTechyEffects() {
|
||
setInterval(() => {
|
||
const cards = document.querySelectorAll('.server-card, .client-card');
|
||
cards.forEach(card => {
|
||
if (Math.random() > 0.95) {
|
||
card.style.boxShadow = '0 0 30px rgba(0, 255, 255, 0.3), inset 0 0 30px rgba(0, 255, 255, 0.1)';
|
||
setTimeout(() => {
|
||
card.style.boxShadow = '';
|
||
}, 2000);
|
||
}
|
||
});
|
||
}, 3000);
|
||
}
|
||
|
||
function showPage(pageId) {
|
||
const validPages = ['clients', 'servers', 'resources', 'discord', 'settings'];
|
||
if (!validPages.includes(pageId)) {
|
||
pageId = 'clients';
|
||
}
|
||
|
||
document.querySelectorAll('.page-content').forEach(section => {
|
||
section.classList.add('hidden');
|
||
});
|
||
|
||
const activePage = document.getElementById(pageId);
|
||
if (activePage) {
|
||
activePage.classList.remove('hidden');
|
||
|
||
if (pageId === 'servers') {
|
||
renderServers();
|
||
} else if (pageId === 'settings') {
|
||
renderSettings();
|
||
}
|
||
}
|
||
|
||
document.querySelectorAll('.nav-btn').forEach(btn => {
|
||
btn.classList.remove('active');
|
||
});
|
||
|
||
const activeBtn = document.querySelector(`.nav-btn[data-page="${pageId}"]`);
|
||
if (activeBtn) {
|
||
activeBtn.classList.add('active');
|
||
}
|
||
|
||
updateBreadcrumb(pageId);
|
||
|
||
const pageTitles = {
|
||
'clients': 'Eaglercraft Central - Clients',
|
||
'servers': 'Eaglercraft Central - Servers',
|
||
'resources': 'Eaglercraft Central - Resources',
|
||
'discord': 'Eaglercraft Central - Community',
|
||
'settings': 'Eaglercraft Central - Config'
|
||
};
|
||
document.title = pageTitles[pageId] || 'Eaglercraft Central - Ultimate Hub 2025';
|
||
}
|
||
|
||
function updateBreadcrumb(pageId) {
|
||
const breadcrumbPaths = {
|
||
'clients': 'ROOT/CLIENTS',
|
||
'servers': 'ROOT/SERVERS',
|
||
'resources': 'ROOT/RESOURCES',
|
||
'discord': 'ROOT/COMMUNITY',
|
||
'settings': 'ROOT/CONFIG'
|
||
};
|
||
|
||
const currentPathElement = document.getElementById('currentPath');
|
||
if (currentPathElement) {
|
||
currentPathElement.textContent = breadcrumbPaths[pageId] || 'ROOT/CLIENTS';
|
||
|
||
currentPathElement.style.textShadow = '0 0 10px var(--accent-color)';
|
||
setTimeout(() => {
|
||
currentPathElement.style.textShadow = '';
|
||
}, 500);
|
||
}
|
||
}
|
||
|
||
function getCurrentPageFromHash() {
|
||
const hash = window.location.hash;
|
||
if (hash.startsWith('#/')) {
|
||
return hash.substring(2);
|
||
}
|
||
return 'clients';
|
||
}
|
||
|
||
function navigateToPage(pageId) {
|
||
window.location.hash = '#/' + pageId;
|
||
}
|
||
|
||
function handleHashChange() {
|
||
const pageId = getCurrentPageFromHash();
|
||
showPage(pageId);
|
||
|
||
console.log(`>>> NAVIGATED TO: ${pageId.toUpperCase()}_PROTOCOL`);
|
||
|
||
document.body.style.transform = 'scale(0.99)';
|
||
document.body.style.opacity = '0.9';
|
||
setTimeout(() => {
|
||
document.body.style.transform = 'scale(1)';
|
||
document.body.style.opacity = '1';
|
||
}, 150);
|
||
}
|
||
|
||
function setupEventListeners() {
|
||
const searchInput = document.getElementById('searchInput');
|
||
if (searchInput) {
|
||
searchInput.addEventListener('input', function(e) {
|
||
searchQuery = e.target.value.toLowerCase();
|
||
|
||
if (searchQuery) {
|
||
searchInput.style.borderColor = 'var(--accent-color)';
|
||
searchInput.style.boxShadow = '0 0 20px rgba(0, 255, 255, 0.2)';
|
||
} else {
|
||
searchInput.style.borderColor = 'var(--border-color)';
|
||
searchInput.style.boxShadow = 'none';
|
||
}
|
||
|
||
renderServers();
|
||
});
|
||
}
|
||
|
||
document.querySelectorAll('.filter-tab').forEach(tab => {
|
||
tab.addEventListener('click', function() {
|
||
document.querySelectorAll('.filter-tab').forEach(t => t.classList.remove('active'));
|
||
this.classList.add('active');
|
||
currentFilter = this.dataset.filter;
|
||
|
||
this.style.transform = 'scale(0.95)';
|
||
setTimeout(() => {
|
||
this.style.transform = '';
|
||
}, 150);
|
||
|
||
renderServers();
|
||
});
|
||
});
|
||
}
|
||
|
||
function filterServers() {
|
||
return serverData.filter(server => {
|
||
const matchesFilter = currentFilter === 'all' ||
|
||
server.tags.includes(currentFilter) ||
|
||
server.gamemode.toLowerCase().includes(currentFilter);
|
||
|
||
const matchesSearch = searchQuery === '' ||
|
||
server.name.toLowerCase().includes(searchQuery) ||
|
||
server.description.toLowerCase().includes(searchQuery) ||
|
||
server.tags.some(tag => tag.includes(searchQuery)) ||
|
||
server.gamemode.toLowerCase().includes(searchQuery);
|
||
|
||
return matchesFilter && matchesSearch;
|
||
});
|
||
}
|
||
|
||
function renderServers() {
|
||
const filteredServers = filterServers();
|
||
const serversGrid = document.getElementById('serversGrid');
|
||
|
||
if (!serversGrid) return;
|
||
|
||
if (filteredServers.length === 0) {
|
||
serversGrid.innerHTML = `
|
||
<div class="error">
|
||
<h3>>>> NO SERVERS FOUND IN DATABASE</h3>
|
||
<p>>>> ADJUST SEARCH PARAMETERS OR FILTER SELECTION</p>
|
||
<p>>>> ERROR_CODE: 0x404_NO_NODES</p>
|
||
</div>
|
||
`;
|
||
return;
|
||
}
|
||
|
||
serversGrid.innerHTML = '';
|
||
filteredServers.forEach((server, index) => {
|
||
setTimeout(() => {
|
||
const serverCard = createServerCard(server);
|
||
serversGrid.appendChild(serverCard);
|
||
}, index * 100);
|
||
});
|
||
}
|
||
|
||
function createServerCard(server) {
|
||
const cardElement = document.createElement('div');
|
||
cardElement.className = 'server-card';
|
||
cardElement.style.opacity = '0';
|
||
cardElement.style.transform = 'translateY(30px)';
|
||
|
||
cardElement.innerHTML = `
|
||
<div class="server-rank">#${server.rank}</div>
|
||
<div class="server-name" id="server-name-${server.rank}">
|
||
<span class="status-indicator loading" id="status-ind-${server.rank}"></span>
|
||
${server.name}
|
||
</div>
|
||
|
||
<div class="server-address">
|
||
${server.address}
|
||
</div>
|
||
|
||
<div class="server-stats">
|
||
<div class="stat">
|
||
<div class="stat-value" id="player-count-${server.rank}">${server.players}</div>
|
||
<div class="stat-label">Active Users</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="stat-value">${server.version}</div>
|
||
<div class="stat-label">Protocol Ver</div>
|
||
</div>
|
||
<div class="stat">
|
||
<div class="stat-value latency-display loading" id="latency-${server.rank}">PING...</div>
|
||
<div class="stat-label">Latency</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="server-description">
|
||
${server.description}
|
||
</div>
|
||
|
||
<div class="server-tags">
|
||
${server.tags.map(tag => `<span class="tag">${tag.toUpperCase()}</span>`).join('')}
|
||
</div>
|
||
|
||
<button class="connect-btn" onclick="copyAddress('${server.address}')">
|
||
[COPY_ADDRESS]
|
||
</button>
|
||
`;
|
||
|
||
setTimeout(() => {
|
||
cardElement.style.transition = 'all 0.6s ease';
|
||
cardElement.style.opacity = '1';
|
||
cardElement.style.transform = 'translateY(0)';
|
||
}, 50);
|
||
|
||
updateServerStatus(server.rank, server);
|
||
|
||
return cardElement;
|
||
}
|
||
|
||
function updateServerStatus(rank, server) {
|
||
const statusInd = document.getElementById(`status-ind-${rank}`);
|
||
const latencyEl = document.getElementById(`latency-${rank}`);
|
||
const playerCountEl = document.getElementById(`player-count-${rank}`);
|
||
const serverNameEl = document.getElementById(`server-name-${rank}`);
|
||
|
||
if (statusInd) {
|
||
statusInd.className = 'status-indicator loading';
|
||
}
|
||
if (latencyEl) {
|
||
latencyEl.textContent = 'PING...';
|
||
latencyEl.className = 'stat-value latency-display loading';
|
||
}
|
||
|
||
checkServerStatus(server).then(result => {
|
||
if (statusInd) {
|
||
statusInd.classList.remove('loading');
|
||
statusInd.classList.add(result.status);
|
||
}
|
||
|
||
if (latencyEl) {
|
||
latencyEl.classList.remove('loading');
|
||
latencyEl.classList.remove('high');
|
||
latencyEl.classList.remove('low');
|
||
latencyEl.classList.add(result.latencyClass);
|
||
latencyEl.textContent = result.latency;
|
||
}
|
||
|
||
if (playerCountEl && result.status === 'offline') {
|
||
playerCountEl.textContent = '0';
|
||
if (serverNameEl) serverNameEl.style.opacity = '0.7';
|
||
} else if (serverNameEl) {
|
||
serverNameEl.style.opacity = '1.0';
|
||
}
|
||
|
||
if (result.status === 'offline') {
|
||
showTechyNotification(`>>> OFFLINE_NODE_DETECTED: ${server.name}`, 'error');
|
||
}
|
||
});
|
||
}
|
||
|
||
function renderSettings() {
|
||
const settingsGrid = document.getElementById('settingsGrid');
|
||
if (!settingsGrid) return;
|
||
|
||
settingsGrid.innerHTML = '';
|
||
|
||
settingsGrid.appendChild(createSettingCard(
|
||
'Matrix Background',
|
||
'Toggle the continuous digital stream background effect. Disabling may improve client performance.',
|
||
'matrix_bg_enabled',
|
||
'toggle',
|
||
currentSettings.matrix_bg_enabled,
|
||
handleSettingChange
|
||
));
|
||
|
||
settingsGrid.appendChild(createSettingCard(
|
||
'Theme Protocol',
|
||
'Select the visual theme protocol (Dark Cyber, Light Mode). Requires SYSTEM_REBOOT to apply fully.',
|
||
'theme_mode',
|
||
'select',
|
||
currentSettings.theme_mode,
|
||
handleSettingChange
|
||
));
|
||
|
||
settingsGrid.appendChild(createSettingCard(
|
||
'Client Cache',
|
||
'Clear local client data and configurations stored in the browser (e.g., texture packs, keybinds).',
|
||
'clear_cache',
|
||
'button',
|
||
'CLEAR CONFIG CACHE',
|
||
handleCacheClear
|
||
));
|
||
|
||
const statusEl = document.getElementById('settingsMessage');
|
||
if (statusEl) {
|
||
statusEl.textContent = `CONFIG_STATUS: READY. ${Object.keys(currentSettings).length} CONFIGURATION_KEYS_LOADED.`;
|
||
document.getElementById('settingsStatus').style.display = 'block';
|
||
}
|
||
}
|
||
|
||
function createSettingCard(title, description, key, type, currentValue, handler) {
|
||
const card = document.createElement('div');
|
||
card.className = 'setting-card';
|
||
|
||
const content = document.createElement('div');
|
||
content.innerHTML = `<h3 class="setting-title">${title.toUpperCase()}</h3><p class="setting-description">${description}</p>`;
|
||
card.appendChild(content);
|
||
|
||
const controlWrapper = document.createElement('div');
|
||
|
||
if (type === 'toggle') {
|
||
controlWrapper.className = 'toggle-wrapper';
|
||
controlWrapper.innerHTML = `
|
||
<label class="toggle-switch">
|
||
<input type="checkbox" id="setting-${key}" ${currentValue ? 'checked' : ''}>
|
||
<span class="slider"></span>
|
||
</label>
|
||
`;
|
||
card.appendChild(controlWrapper);
|
||
card.querySelector(`#setting-${key}`).addEventListener('change', (e) => handler(key, e.target.checked));
|
||
} else if (type === 'select') {
|
||
controlWrapper.innerHTML = `
|
||
<select id="setting-${key}" class="nav-btn" style="width: 100%; border-color: var(--accent-secondary); background: var(--secondary-bg); color: var(--text-primary); margin: 0;">
|
||
<option value="dark-cyber" ${currentSettings.theme_mode === 'dark-cyber' ? 'selected' : ''}>DARK_CYBER</option>
|
||
<option value="light" ${currentSettings.theme_mode === 'light' ? 'selected' : ''}>LIGHT_MODE (UNSTABLE)</option>
|
||
</select>
|
||
`;
|
||
card.appendChild(controlWrapper);
|
||
card.querySelector(`#setting-${key}`).addEventListener('change', (e) => {
|
||
saveSetting(key, e.target.value);
|
||
showTechyNotification(`>>> THEME_PROTOCOL_CHANGE_REQUEST: ${e.target.value.toUpperCase()}. REBOOT_REQUIRED.`, 'info');
|
||
});
|
||
} else if (type === 'button') {
|
||
const button = document.createElement('button');
|
||
button.className = 'launch-btn red';
|
||
button.textContent = currentValue;
|
||
button.onclick = () => handler();
|
||
card.appendChild(button);
|
||
}
|
||
|
||
return card;
|
||
}
|
||
|
||
function handleSettingChange(key, value) {
|
||
saveSetting(key, value);
|
||
}
|
||
|
||
function handleCacheClear() {
|
||
const statusEl = document.getElementById('settingsMessage');
|
||
|
||
if (statusEl) statusEl.textContent = `CONFIG_STATUS: INITIATING_CACHE_WIPE...`;
|
||
|
||
setTimeout(() => {
|
||
localStorage.removeItem('eaglercraft_settings');
|
||
currentSettings = DEFAULT_SETTINGS;
|
||
applySettings();
|
||
renderSettings();
|
||
|
||
if (statusEl) statusEl.textContent = `CONFIG_STATUS: CACHE_WIPE_COMPLETE. SYSTEM_RESTART_RECOMMENDED.`;
|
||
showTechyNotification('>>> LOCAL_CONFIG_WIPED', 'success');
|
||
}, 1000);
|
||
}
|
||
|
||
function copyAddress(address) {
|
||
if (navigator.clipboard && window.isSecureContext) {
|
||
navigator.clipboard.writeText(address).then(() => {
|
||
showTechyNotification('>>> ADDRESS_COPIED_TO_CLIPBOARD', 'success');
|
||
}).catch(() => {
|
||
fallbackCopyTextToClipboard(address);
|
||
});
|
||
} else {
|
||
fallbackCopyTextToClipboard(address);
|
||
}
|
||
}
|
||
|
||
function fallbackCopyTextToClipboard(text) {
|
||
const textArea = document.createElement("textarea");
|
||
textArea.value = text;
|
||
textArea.style.position = "fixed";
|
||
textArea.style.left = "-999999px";
|
||
textArea.style.top = "-999999px";
|
||
document.body.appendChild(textArea);
|
||
textArea.focus();
|
||
textArea.select();
|
||
|
||
try {
|
||
document.execCommand('copy');
|
||
showTechyNotification('>>> ADDRESS_COPIED_TO_CLIPBOARD', 'success');
|
||
} catch (err) {
|
||
showTechyNotification('>>> ERROR: COPY_OPERATION_FAILED', 'error');
|
||
}
|
||
|
||
document.body.removeChild(textArea);
|
||
}
|
||
|
||
function showTechyNotification(message, type = 'info') {
|
||
const notification = document.createElement('div');
|
||
const bgColor = type === 'success' ? 'linear-gradient(45deg, #00ff88, #00d2ff)' :
|
||
type === 'error' ? 'linear-gradient(45deg, #ff4444, #ff8888)' :
|
||
'linear-gradient(45deg, var(--accent-color), var(--accent-secondary))';
|
||
|
||
notification.style.cssText = `
|
||
position: fixed;
|
||
top: 30px;
|
||
right: 30px;
|
||
background: ${bgColor};
|
||
color: var(--primary-bg);
|
||
padding: 20px 30px;
|
||
border-radius: 12px;
|
||
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
|
||
z-index: 10000;
|
||
font-weight: 600;
|
||
font-family: 'JetBrains Mono', monospace;
|
||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||
backdrop-filter: blur(10px);
|
||
transform: translateX(100%);
|
||
transition: transform 0.4s ease;
|
||
`;
|
||
|
||
notification.textContent = message;
|
||
document.body.appendChild(notification);
|
||
|
||
setTimeout(() => {
|
||
notification.style.transform = 'translateX(0)';
|
||
}, 100);
|
||
|
||
setTimeout(() => {
|
||
notification.style.transform = 'translateX(100%)';
|
||
setTimeout(() => notification.remove(), 400);
|
||
}, 3000);
|
||
}
|
||
|
||
function updateGlobalStats() {
|
||
const totalServers = serverData.length;
|
||
const totalPlayers = serverData.reduce((sum, server) => {
|
||
const playerRange = server.players.split('-');
|
||
const avgPlayers = Math.round((parseInt(playerRange[0]) + parseInt(playerRange[1])) / 2);
|
||
return sum + avgPlayers;
|
||
}, 0);
|
||
|
||
animateCounter('totalServers', totalServers, '+');
|
||
animateCounter('totalPlayers', Math.floor(totalPlayers / 1000) * 1000, 'K+', 1000);
|
||
animateCounter('totalGamemodes', 25, '+');
|
||
animateCounter('totalClients', 20, '+');
|
||
}
|
||
|
||
function animateCounter(elementId, targetValue, suffix = '', divisor = 1) {
|
||
const element = document.getElementById(elementId);
|
||
if (!element) return;
|
||
|
||
const startValue = 0;
|
||
const increment = Math.ceil(targetValue / 50);
|
||
let currentValue = startValue;
|
||
|
||
const timer = setInterval(() => {
|
||
currentValue += increment;
|
||
if (currentValue >= targetValue) {
|
||
currentValue = targetValue;
|
||
clearInterval(timer);
|
||
}
|
||
|
||
const displayValue = divisor > 1 ?
|
||
(currentValue / divisor).toFixed(1) :
|
||
currentValue;
|
||
|
||
element.textContent = displayValue + suffix;
|
||
}, 30);
|
||
}
|
||
|
||
function addMatrixInteractions() {
|
||
const cards = document.querySelectorAll('.server-card, .client-card');
|
||
cards.forEach(card => {
|
||
card.addEventListener('mouseenter', () => {
|
||
const name = card.querySelector('.server-name, .client-name');
|
||
if (name && !name.dataset.scrambling) {
|
||
scrambleText(name);
|
||
}
|
||
});
|
||
});
|
||
}
|
||
|
||
function scrambleText(element) {
|
||
const originalText = element.textContent;
|
||
const matrixChars = '010110100101';
|
||
let iteration = 0;
|
||
element.dataset.scrambling = 'true';
|
||
|
||
const interval = setInterval(() => {
|
||
element.textContent = originalText
|
||
.split('')
|
||
.map((char, index) => {
|
||
if (index < iteration) {
|
||
return originalText[index];
|
||
}
|
||
return matrixChars[Math.floor(Math.random() * matrixChars.length)];
|
||
})
|
||
.join('');
|
||
|
||
if (iteration >= originalText.length) {
|
||
clearInterval(interval);
|
||
element.textContent = originalText;
|
||
delete element.dataset.scrambling;
|
||
}
|
||
|
||
iteration += 1/3;
|
||
}, 30);
|
||
}
|
||
|
||
document.addEventListener('DOMContentLoaded', init);
|
||
</script>
|
||
</body>
|
||
</html>
|