A competitive India-based 1.9+ FFA Minecraft PvP network where everything runs on XP — no coins, no pay-to-win. Every player starts at 0 XP, staff included. Grind it, level up, risk it, and prove it.
We build the whole stack in-house — websites, Discord bots (moderation + AI), Cloudflare Workers, D1 databases, and Paper plugins.
🎮 AstralyxXP — the XP & Levels system
The heart of the network. A full-stack gamification platform that rewards grinding instead of wallets.
- Discord slash commands:
/daily,/balance,/leaderboard,/coinflip,/slots,/transfer, and staff/setxp/addxp/removexp. - 50 levels — level 1 = 100 XP, thresholds rise as you climb. Every player starts at 0, staff included.
- Daily streaks — claim
/dailyevery 24h; consecutive streaks grow the reward. - XP minigames that fire when chat activity spikes (10+ messages/minute):
- 🌧️ Raining XP — XP falls in chat, first to claim it wins.
- ✨ Guess the answer — trivia for XP.
- 💸 Fallen XP — dropped XP to grab.
- 🪜 Ladders — climb-the-message-ladder event.
- 🦆 Luck Duck — pure-luck payout.
- Staff hierarchy — role-ID-based grants/strips, nobody excluded from zero.
- In-game commands for linked (Discord-synced) and unlinked (Minecraft-only) players:
/xp,/balance,/daily,/coinflip,/slots,/transfer,/leaderboard. - Account linking:
/xp link+/linkaccount(private flow) and/xp bind <discordId>(manual, overrides linkaccount). - Unlinked grinding — Minecraft-only XP that never syncs to Discord.
- Smart merge — link later and the higher of your Minecraft/Discord XP wins (
/api/mergekeepsmax).
- GitHub Actions auto-deploys to Cloudflare on every push to
main. - Makefile + npm scripts (
make dev,make deploy,make test,make plugin…) — 21/21 unit checks green.
🕸️ AstralyxPvP-site — the official website
Cloudflare Pages site at www.astralyxpvp.int.yt, a full multi-page platform:
- Home (
index.html) — landing page with JSON-LD GameServer + FAQ structured data, SEO-verified (Google, Bing). - Live leaderboard (
leaderboard.html) + Hall of Fame — real ELO standings. - AstralyxAI chat (
astralyxai.html) — website chat assistant powered by Google Gemini, protected by Cloudflare Turnstile. - Store / vote / apply / rules / support / contact / terms / privacy — the full network front-end.
- Cloudflare Functions (
functions/):chat.js— HMAC-SHA256 session-token ("VIP pass") auth so only verified humans hit the AI; Turnstile fallback, optional audio transcription.news-api.js,annoucments.js— D1-backed web announcements.forum-api.js,discord-callback.js— forums + Discord OAuth.audio.js— media routing.
- Deployed with
wrangler.jsonc, D1 bound asDB.
🛡️ Laxmi — DesiBot, the moderation engine
A full custom AutoMod + welcome + ticket bot for the AstralyxPvP Discord (Cloudflare Worker + KV). Built by IndianCoder3.
- Layer 1 — regex + curated word list covering English, Hindi and Hinglish (incl. leetspeak "f u c k" and zero-width char bypasses).
- Raid detection — identical messages from 3+ users in 10s = raid.
- Layer 2 — Gemini AI classification (
gemini-3.5-flash-lite) for the borderline stuff (subtle ads, staff impersonation, NSFW, hate) with structured JSON + confidence.
- Delete message → Dyno
/warn→ logs infractions in KV → timeout/mute → kick → ban → unban — with escalation on repeat offenses. - Full moderation toolkit:
/warn,/mute,/unmute,/kick,/ban,/unban, plus staff/ignore-add/ignore-remove/ignore-user. - Smart exemptions — staff never auto-banned; link-posting exempts ≠ swear-word exempts; ignored channels/users; role-based.
- Infraction history per user (KV-backed), punishment DMs explaining why + how to appeal.
- Welcome system — auto role selector for notification roles (announcements/giveaways/tournaments/polls).
- Ticket system — "Open Support Ticket" button → forum thread flow → staff alerts.
- Alert staff — sends @-mention alerts to staff channels for violations.
- Gateway (
gateway.js) — a separate Node.js (Render) gateway that reads ALL messages and forwards them to the Worker via bearer secret.
🤖 AstralyxAI — the AI companion
Cloudflare Worker with native Gemini Tool Calling (gemini-2.5-flash), fully integrated with the network.
/chat <message>— talk to the AI companion (supports context memory per channel, deferred responses)./lb [gamemode]— ELO leaderboards for Sword FFA, Mace FFA, Netherite Pot FFA./elostats <player>— a player's ELO across all gamemodes./mconline— live Minecraft server status./reset— clear conversation memory./aiban/aiunban— staff-restrict individual users from the AI.
- Live leaderboards, player ELO stats, server online status — fetched straight from the API and fed into the model's tool calls, so the AI answers with real numbers, not guesses.
- Staff hierarchy — full 17-rank role hierarchy guards what the AI can do.
- Another deploy of this code powers the website AstralyxAI chat (Gemini + Turnstile).
💬 AstralyxForums — community forums
A modern React + Vite forum platform:
- Auth — Discord OAuth login (
discord-callback), email verification flow. - Pages — Categories → Subcategories → Threads → Thread detail + User profiles.
- Moderation UI — staff modals, report modal, ignore-list modal, shadow-edit/delete via
canModerateRole()role-rank checks. - Rich posts — Markdown rendering (
marked), markdown toolbar, share modal, avatar canvas. - Turnstile — bot-protected forms.
- Backed by the
forum-apiCloudflare Worker (D1) atforum-api.chessmrbeaston.workers.dev.
🔎 AstralyxAssistant — the fast automod worker
The lightweight sibling of Laxmi — a single-file Cloudflare Worker that:
- Normalizes text (Unicode NFD + leetspeak + zero-width char stripping).
- Flags banned English/Hindi/Hinglish words, Discord invite spam, and staff impersonation.
- Raid detection (identical messages, 3+ users, 10s window).
- Gemini layer-2 classifier for borderline content.
- Deletes messages + triggers Dyno
/warn, logs rich embeds to a mod channel, respects ignored channels and staff exemptions. - Ships with
gateway.js(Render-side Discord gateway forwarding to the worker) and a wrangler config.
📰 AstralyxNews — news & updates
The network's news announcements. (Currently seeding the repo with license + initial content.)
📶 astralyx-status — the status page
Live service health dashboard (German-locale boilerplate, dark red #1a0a0a PvP theme):
- Monitors 5 services live: Discord Mod Bot, Discord AI Bot, Website, Minecraft Server, and Minecraft Server API.
- Polls the
uptime-worker.chessmrbeaston.workers.devAPI, shows per-service up/down, latency, next-check countdown, and a history section.
🌐 astralyxpvp.github.io — legacy site
The original GitHub Pages site — iframe shell + CNAME + assets, superseded by the Cloudflare Pages site above. Kept for history and the discord well-known verification file.
🏠 .github
Org profile + community health files — this page.
© NebulaGames 2026. Not affiliated with Mojang.
