🥚 a server to host aether
A simple Node.js web server that exposes environment variables as JSON.
- Install dependencies:
npm install- Create a
.envfile from the example:
cp .env.example .env- Edit
.envand set your environment variables:
DISCORD_LINK=https://discord.gg/your-invite-link
Start the server:
npm startThe server will run on port 3000 (or the PORT environment variable if set).
GET /- Returns all configured environment variables as JSON (simple format)GET /metadata- Returns environment variables with full metadata (description, rules, defaults, etc.)GET /validate- Validates all environment variables against their rulesGET /health- Health check endpoint
All environment variables include Laravel-style validation rules:
| Variable | Description | Rules | Default |
|---|---|---|---|
DISCORD_LINK |
Your Discord Server Invite Code | nullable|string | "" |
EMAIL |
Your support email | nullable|string | "" |
HOSTING_NAME |
Your hosting name (required for forced MOTD) | required|string | "aether" |
ENABLE_FORCED_MOTD |
Enable Forced MOTD feature | required|boolean | "0" |
OPTIMIZE_SERVER |
Enable server optimization (ADMIN ONLY) | required|boolean | "0" |
ENABLE_RULES |
Enable built-in rules (ADMIN ONLY) | required|boolean | "0" |
MCJARS_API_KEY |
Your MCJars API Key (ADMIN ONLY) | nullable|string|size:64 | "" |
AETHER_VERSION |
Aether version (DO NOT MODIFY) | required|string | "2.1.0" |
DISABLE_UPDATES |
Disable update checker (NOT RECOMMENDED) | required|boolean | "0" |
The server uses Laravel-style validation rules:
required- Field must have a valuenullable- Field can be empty or nullstring- Field must be a stringboolean- Field must be a boolean (0, 1, true, or false)size:X- Field must be exactly X characters long