As of plugin · server mod 1.4.0 · client 0.3.25
External server link (Crux API)
Binds a non-relay server (VPS · hosting) to the owner's Crux account. The launcher issues an 8-character code; /crux link <code> in the server console stores an id · secret in link.json.
POST /v1/server/pair {code, loader, plugin}→{id, secret}POST /v1/server/pollAuthorization: CruxServer <id>:<secret>— sends status (players · TPS) and command results, receives queued commands. next = seconds to the next poll (30, or 3 while the launcher remote window is open)- Command types: crux (/crux … — returns the output text) · console · notice · config_get · config_set (replace Crux config.json and reload) · status
- Server-list publishing reuses the direct-domain room (server_key = link id). poll keeps it alive with the player count, and the plugin temporarily appends the MOTD ownership code.
Cosmetics-off policy (crux_cosmetics)
Only servers approved for the 'cosmetics off' certification receive an Ed25519 token signed by the Crux API. The plugin writes {"t":"token"} into the display name of team crux_cosmetics; the Crux client checks signature · expiry · the address it joined, then stops rendering those slots for everyone.
payload = {"v":1, "a":["sub.play.cruxlauncher.com", "play.example.com"], "s":["wings","halo"], "e":1791000000}- Slots: wings · halo · trail · body · object. Tokens last 2 days — refreshed on open · heartbeat (cosmetics-policy.txt) for launcher-hosted servers, and on every poll for linked servers.
- Moving a token to another server folder or address fails the address check; self-made tokens fail the signature check.
PlaceholderAPI (Paper · Spigot · Purpur · Folia)
Registered automatically when PlaceholderAPI is installed.
| Placeholder | Value |
|---|---|
%crux_money% | Crux wallet money |
%crux_group% | Permission group |
%crux_prefix% · %crux_suffix% | Group prefix · suffix (colors applied) |
%crux_title% | Equipped title |
%crux_playtime% | Play time (1h 20m, AFK excluded) |
%crux_playtime_minutes% | Play time (minutes) |
%crux_daily_streak% | Daily streak |
%crux_afk% | true · false |
Model items (Animation Studio → other plugins)
The Animation Studio in the launcher's Crux IDE converts Blockbench models and builds a resource pack (crux-models.zip). They are 1.21.4+ item models, so any plugin can use them with one item string.
minecraft:paper[minecraft:item_model="crux:<모델>"]— paste into MagicSpells · ProSkillAPI · MythicMobs item fields/crux model give <player> <model>·/crux model spawn <model>(item_display, tag crux_model) —crux.model- Item models are static (rest pose). Animated Crux cosmetics are Crux-client only.
Test server · stream chat
/crux testserver create · upload— leaves an @crux-launcher marker in the console; the launcher's 'Test server' tab takes over (copy · upload happen outside the server folder).- Test rooms have test = 1 · allow (names): hidden from lists and certifications, and the Crux relay checks names at login.
- The stream chat HUD is client-side (crux_client.json streamChat*) — independent of the server.
For server owners, see the Plugin guide.
CRUX