STYGION Documentation Search the docs

The server list: pack, Keystone and recommended mods

What your server tells a launcher before anybody joins: the modpack, its Keystone version, its resource pack and the client mods and presets you recommend.

Keystone 0.5.2 Updated 7 min read
On this page 7 parts
  1. What it can say
  2. Recommending client mods and presets
  3. What the launcher does with it
  4. When a game cannot join
  5. Settings (config/keystone/announce.toml)
  6. How many you lose
  7. What it does not cover

The module announce ("Server list") adds a small block to the server list ping. A launcher that understands it — the STYGION Launcher does — reads it before a player joins. Everything in it is public: anybody who pings the server can read it. So it holds ids and version numbers — and, unless you switch it off, the address of your resource pack, which every joining player is sent anyway — and never a path on your server, a file or anything private.

What it can say

#
  • The modpack (announce.pack): a link or project id on Modrinth or CurseForge. Keystone works out the version from your mods/ folder, or you pin it. Set it with /keystone announce pack <link> or on the Server list screen of the editor.
  • Which Keystone runs here (announce.offer-client, on by default): only the version number, like 0.2.4. The launcher then offers players Keystone's client half in exactly that version — the two halves are built together. Off, and with nothing else set, the ping is a plain Minecraft ping.
  • Client mods and settings presets you recommend (announce.recommend): see below.
  • Your resource pack (announce.resource-pack, on by default): the resource-pack address and resource-pack-sha1 from server.properties — the address every joining player is sent anyway. Only an https address with its SHA-1 is announced. The launcher downloads it ahead through the same checks as any address from a stranger, verifies the hash and switches it on in the player's instance, so the join does not stop to download it.
  • Java, memory and a published manifest of every mod a player needs — see Every setting.

Recommending client mods and presets

#

One line per recommendation, in the announce.recommend list (the Server list screen writes the line for you):

Code
modrinth:AANobbMI@mc1.21.1-0.6.0 | en: Smoother frames | cs: Plynulejší obraz
modrinth:sodium-extra>=0.6.0 | required | en: The HUD needs it
curseforge:238222@5101366 | en: Shows what a block is
modrinth:AANobbMI or curseforge:394468 | en: The same mod on either portal
preset:stygion-quality | en: How the world was meant to look
  • modrinth:<project> or curseforge:<project id>, then @<version> for exactly one version (a Modrinth version id or number, a CurseForge file id), >=<version> for that one or newer (Modrinth, numbered versions), or nothing for the newest one that fits the player's game and loader.
  • <one> or <the other> names the same mod on both portals; the launcher takes it from the one its player prefers (Modrinth first unless they chose CurseForge).
  • preset:<id> for a launcher settings preset — one that comes with the pack, or one from the preset catalogue.
  • | required tells the player the server needs it. It is information: nobody is stopped at the door because of it.
  • | en: … and | cs: … are your reason, at most 120 characters each.

At most 12 lines travel; what does not fit in the ping is left out, and /keystone announce says which and why. Keystone itself needs no line.

What the launcher does with it

#

Before a join — from its Play button, a website link or its server list — and after a game in which the player joined a server from Minecraft's own multiplayer menu, the launcher lists what the instance does not have yet: each with your reason, the version and its size. The player ticks what they want.

  • Mods come only from Modrinth or CurseForge, looked up by the id in the ping, for exactly the player's game and loader, and checked against the portal's own hash. No mod is ever downloaded from your server or from an address it names. The one address taken from the ping is your resource pack's — https only, never a local or private address, bounded in size, kept only when its SHA-1 matches.
  • An older version than the player has is never ticked. The launcher says so, keeps theirs, and installs the older one only if the player ticks it explicitly. Withdrawn releases (not listed on Modrinth) are never offered, nor Keystone older than the launcher's safe minimum.
  • Presets apply only what the launcher's preset format allows (game options from an allowlist, the garbage collector and a heap within the player's own memory) — never JVM arguments from a server — with a preview and a way back.
  • What it adds stays through pack updates. Players can turn the offer off for one server or for all of them.

When a game cannot join

#

Somebody who joins with plain Minecraft, another Minecraft version or a different set of mods is normally shown only the loader's line — "Incompatible client! Please use NeoForge 21.1.262" — which says nothing a new player can act on. Keystone replaces that line with one that does:

Code
This server plays the modpack STYGION: Aeronautics 1.2.1.
Your game runs without NeoForge 21.1.262, so it can't join yet.
Get the pack here, then join with it:
https://www.curseforge.com/projects/1234567

It tells three cases apart:

Case What the game is What they read
No NeoForge vanilla, Fabric, anything that is not NeoForge which pack, that NeoForge is missing, where to get the pack
Other Minecraft another Minecraft version (refused before it even says its name) which pack and which Minecraft version the server runs
Other mods NeoForge with other mods or other versions of them which pack, up to three mods that differ, where to get the right version

The line replaces a refusal; it never adds one. A game NeoForge lets in still joins: a server whose mods all work without a client side (Keystone alone, for example) admits a vanilla game, and that game simply plays.

The link comes from pack (the same setting the server list uses): a CurseForge pack goes to its page on CurseForge, a Modrinth pack to its page on Modrinth. Nothing is said until a pack, a link or your own text is set — a server that never set a pack keeps the loader's line.

Language. In the game's own language when the server has a language file for it; otherwise English, with the server's default language (language.default) under it. A game of another Minecraft version is refused before it says its language, so it always reads English plus the default. The message is plain text and colours, so a game without any mods reads it too.

Settings (config/keystone/announce.toml)

#
Setting Default What it does
wrong-client.enabled true Replace the loader's line. Off: the loader's line, refusals still counted.
wrong-client.link empty Your own link instead of the pack's page (your website, a guide).
wrong-client.name empty The pack's name as players know it. Empty: the name on the portal (a CurseForge pack needs curseforge-key for that).
wrong-client.text empty Your own message instead of Keystone's lines. Colours and [en]…[cs]… parts work; {pack} {version} {link} {game} {loader} {mods} {why} are filled in, \n is a new line; a line whose blank has nothing to fill (no pack, no link) is left out. Keep it to five short lines.
wrong-client.list-mods true Name up to three mods that differ.
wrong-client.second-language true Add the server's default language under the English.
wrong-client.keep-days 30 How long the count is kept (advanced).

Keystone's own lines are announce.wrong-client.* in the language files — change them in the editor's Languages screen or in config/keystone/lang/<language>.properties.

How many you lose

#

Every refusal is counted: when, why, the account name the game gave and the mods that differed. No IP address is read or kept. A game that retries within 30 seconds counts once; past 120 an hour (a scanner), or 6 an hour for one name, the rest are only counted in memory. You see it

  • in the server log: [announce] turned away Newcomer: mods (differs: create, sable), told where to get the pack,
  • in the editor: Server list → Games that could not join (last 24 hours, last 30 days, by case, the latest twenty) and What they read (the message for each case, as it is now),
  • in the API: GET /v1/announce/turned-away (scope server.read).

The rows live in keystone/keystone.db, table announce_turned_away, and are deleted after keep-days.

A NeoForge game would normally show NeoForge's own table of network channels ("Channel name / Reason") and not the server's words at all; while Keystone has something to say, that table is not sent, so the game shows the message above, which names the mods that differ.

What it does not cover

#

A NeoForge game whose channels match but whose registries differ is refused by the game itself, on its own side — the server never sees that refusal, so the game shows NeoForge's own screen. That is rare with a pack from a launcher; it happens with a hand-assembled mods folder.

Did this page help?

Opens the feedback panel with this page attached. It lands in the same queue as everything else.