{config?.brand_name ?? 'SCOPENET'} ยท Official Server & Launcher
{#if config} {#each config.blocks.filter((b) => b.enabled) as block (block.id)} {#if block.type === 'hero'}
{totalOnline} Players Online Now

{config.hero_title}

{config.hero_subtitle}

{#if primaryDownload}
{config.hero_cta_text} for {primaryDownload.label} ({formatBytes(primaryDownload.size)})
{:else if config.external_download_url}
{config.hero_cta_text} Download Latest Release
{:else} {/if} {#if config.server_ip} {/if}
{:else if block.type === 'download'}

{block.title || 'Get the Launcher'}

{block.subtitle || 'Custom modpack synchronisation, fast Java auto-updates, and HD skin wardrobe.'}

{#each config.hosted_downloads as d}
{#if d.platform === detectedOS} Your Operating System {/if}

{d.label}

{d.filename} ยท {formatBytes(d.size)}

Download
{:else} {#if config.external_download_url}

Download SCOPENET Launcher

Get the latest launcher package directly from our release repository.

Download from Repository
{:else}

No downloads currently configured. Check back soon!

{/if} {/each}
{:else if block.type === 'servers'}

{block.title || 'Live Game Servers'}

{block.subtitle || 'Connect to our high-performance Minecraft worlds.'}

{#if publicServers.length}
{#each publicServers as s}
{s.online ? `${s.players_online} / ${s.players_max} Online` : 'Offline'}
{#if s.mc_version} {s.mc_version} {/if}

{s.name}

{/each}
{:else}

No public servers listed yet.

{/if}
{:else if block.type === 'leaderboard'}

{block.title || 'Community Leaderboards'}

{block.subtitle || 'Top players and champions across our Minecraft network.'}

{#each [ { id: 'playtime_secs', label: 'Playtime', icon: Clock }, { id: 'global_level', label: 'Global Level', icon: Crown }, { id: 'player_kills', label: 'Player Kills', icon: Swords }, { id: 'mob_kills', label: 'Mob Kills', icon: Flame }, { id: 'blocks_broken', label: 'Blocks Mined', icon: Pickaxe }, ] as opt} {@const Icon = opt.icon} {/each}
{#if lbSort === 'global_level' && globalLevels.length}
Rank Player Global Level Total XP Title
{#each globalLevels.slice(0, 10) as row (row.uuid)}
#{row.rank} {row.username} Lvl {row.global_level} {row.global_xp.toLocaleString()} XP {row.title || 'โ€”'}
{/each}
{:else if leaderboard.length} {#if top3.length > 0}
{#if top3[1]}
๐Ÿฅˆ {top3[1].name} {lbSort === 'playtime_secs' ? formatTime(top3[1].playtime_secs) : formatNumber(top3[1][lbSort as keyof typeof top3[1]] as number)}
{/if} {#if top3[0]}
๐Ÿ‘‘ {top3[0].name} {lbSort === 'playtime_secs' ? formatTime(top3[0].playtime_secs) : formatNumber(top3[0][lbSort as keyof typeof top3[0]] as number)}
{/if} {#if top3[2]}
๐Ÿฅ‰ {top3[2].name} {lbSort === 'playtime_secs' ? formatTime(top3[2].playtime_secs) : formatNumber(top3[2][lbSort as keyof typeof top3[2]] as number)}
{/if}
{/if}
Rank Player Score Playtime Kills
{#each restLb as row, i (row.uuid)}
#{i + 4} {row.name} {lbSort === 'playtime_secs' ? formatTime(row.playtime_secs) : formatNumber(row[lbSort as keyof typeof row] as number)} {formatTime(row.playtime_secs)} {row.player_kills}
{/each}
{:else}

No leaderboard data recorded yet.

{/if} {#if publicGuilds.length > 0}

Top Guilds & Claimed Territories

Form parties, recruit allies, and protect your faction's chunks.

{#each publicGuilds as g}
{#if g.icon_url} {:else}
{/if}
{g.name} [{g.tag}]
{g.member_count} members {g.claims_count} chunks
{/each}
{/if}
{:else if block.type === 'stats'}

{block.title || 'Network Highlights'}

{block.subtitle || 'Live statistics computed across all connected servers.'}

{formatNumber(totalPlayers)} Total Players
{formatTime(totalPlaytime)} Time Explored
{publicServers.length} Connected Servers
{instances.length} Modpack Instances
{:else if block.type === 'instances'} {#if instances.length}

{block.title || 'Available Instances'}

{block.subtitle || 'Optimized modpacks ready to play through our custom launcher.'}

{#each instances as inst}
{inst.mc_version} {inst.loader}

{inst.name}

{inst.description || 'Pre-configured instance with automated mod updates.'}

{/each}
{/if} {:else if block.type === 'news'} {#if news.length}

{block.title || 'Latest News'}

{block.subtitle || 'Community events, server updates, and patch notes.'}

{#each news as item}
{#if item.tag}{item.tag}{/if}

{item.title}

{item.body}

{#if item.date}{item.date}{/if}
{/each}
{/if} {:else if block.type === 'faq'}

{block.title || 'Frequently Asked Questions'}

{block.subtitle || 'Got questions? We have answers.'}

{#each config.faqs as faq} {@const isOpen = !!openFaq[faq.id]}
{#if isOpen}

{faq.answer}

{/if}
{/each}
{/if} {/each} {/if}