CRUX
‹ Help

⌁ Server API made easy

Use Crux screens, HUD, mob models and telegraphs from Skript and MythicMobs without coding

For: RPG and minigame owners (developers: Crux Docs)

What you can do

No resource-pack or armor-stand tricks: the Crux client draws it directly, with less lag and fewer packets.

Notices · toasts · HUD linesCorner toasts, positioned HUD lines with colors and progress bars (auto-updating PlaceholderAPI values), cast bars and timers.
Dialogs · menus · text inputNPC lines with choices, button menus with item icons, text prompts; non-Crux players get clickable chat instead.
Key inputServer-defined keys report presses (skill hotkeys).
RPG visualsOverhead name/level/HP bars, damage numbers, boss telegraphs (circle, cone, line), skill effects, skill bar with cooldowns, subtitles, cutscene camera, region music, party frames, quest tracker, recommended HUD layout.
Large windows (stats · gear · shops)A slot grid with items, counts and tooltips, side text and buttons; it can stay open while you update it. Non-Crux players get clickable chat.
Server analyticsRecord steps such as quest stages and see joins, Crux share, returning players and step funnels in the launcher server window → Analytics tab (daily counts only, no personal identification).
Mob and NPC modelsModels made in Animation Studio are sent once and cached, then shown on mobs with idle, walk and attack motion (optionally hiding the original body; hitboxes unchanged).

Requirements

ServerThe Crux plugin (Paper family) or server mod. Not callable on proxies — use it on the backend servers.
PlayersShown only to players using the Crux client; older versions ignore features they do not know.
CostFree, no application or key.
Good to know
  • You can send windows and notices right on join (e.g. Skript on join) — Crux waits until it knows whether the player uses Crux (usually 1–2 s, at most 5 s), then shows the Crux screen or falls back to chat.
  • Imitating official Crux messages or asking for account or payment details violates the policy. Server windows show the server address and notices start with [Server].

Using it from Skript

With Skript (2.10+, server on Java 21+), crux syntax is registered automatically. Try it in the Crux IDE Scripts tab.

command /cruxtest:
    trigger:
        crux toast "Crux" with text "Hello" to player
        crux hud "Gold: 100" with id "gold" to player
        crux subtitle "The golem awakens" to player
        crux floating text "-12" at location of player to player
        crux telegraph circle at location of player with radius 4 for 1500 to player
        crux shake player with strength 0.5

on crux key:
    if event-string is "cast":
        make player execute command "/spell fireball"
on crux choice:
    send "you picked %event-string%" to player

# 서버 분석: 이 단계에 도달한 사람 수를 셈 (런처 서버 창 → 서버 API → 서버 분석)
crux track "quest_1_done" for player

Using it from MythicMobs

With a MythicMobs build that supports your server version, mechanics are registered automatically — put them in mob skills.

Skills:
- cruxmodel{model=boss_golem;replace=true;scale=1.2} @self ~onSpawn
- cruxstate{state=attack} @self ~onAttack
- cruxtelegraph{shape=circle;r=6;ms=1500;color=#ff3030} @selflocation
- cruxeffect{type=burst;r=3;color=#ffaa00;n=60} @selflocation
- cruxtext{text="<skill.var.damage>";color=#ffdd55} @target
- cruxbar{text="<caster.name> Lv.30"} @self ~onDamaged
- cruxshake{s=0.6;ticks=15} @PIR{r=20}
- cruxsubtitle{text="The golem awakens";ms=3000} @PIR{r=40}
Good to know
  • If MythicMobs fails to start on your server version, Crux logs it and skips the mechanics.

With BetonQuest and RPG plugins

BetonQuest 3.x (NPC conversations)Set conversation_IO: crux in the package config and NPC conversations open in the Crux dialog — Citizens NPCs too, through BetonQuest.
RPG integration (just switch it on)Launcher Crux plugin tab → Convenience & economy → RPG integration. Damage numbers and mob HP bars work anywhere; with AuraSkills or MMOCore you also get a mana / stamina HUD (MMOCore adds a skill bar) and /crux stats opens a stats window (/stats too unless another plugin, such as AuraSkills, already uses it).
Server element inspectorTurn it on in Crux settings → Screens to list the HUD elements and models this server sent, with labels above mobs that carry a model (for checking while you build).

Putting your model on a mob

  1. Make and convert a model in Animation Studio (Crux model json + png).
  2. Put the json and png in the server plugins/Crux/models folder and they are registered under their file name (Animation Studio "Send to server" copies there and reloads a running server). From plugin code, use registerAsset.
  3. Put it on a mob with cruxmodel in MythicMobs or crux model in Skript.
  4. Use entityModelAll to show it to everyone, including players who join later; it is removed when the mob dies.

Screen style (match your server's look)

WhereLauncher server window → Server API → Screen style (config.json "ui")

Choose how Crux dialogs, menus, text prompts, large windows, toasts, HUD and the skill bar look on your server. Saving updates online Crux players within 2 seconds.

PresetDefault (Crux black) · fantasy (parchment) · vanilla (Minecraft grey) · future (neon blue). Light presets automatically darken bright text colours (§f §7 §e …) so they stay readable.
Accent colour#RRGGBB — button highlight, selected slot, speaker name, progress bars.
LayoutLarge-window slot position (left · right · top · bottom), slot shape and size, button alignment, dialog position, choice layout (list · row · 2 columns), menu columns, button icon position, toast position, skill bar position, cooldown display, HUD background, typewriter dialog.
PreviewThe launcher draws a large window, dialog and HUD sample in the same colours as in game.
# Skript — 이 사람에게만 다른 스타일 ("" = 서버 기본으로)
crux style "fantasy grid=right accent=#C9A227" to player
crux style "" to player

// 플러그인 코드 (API 6)
CruxApi api = CruxApi.get();
api.defaultStyle(CruxStyle.parse("future accent=#2FB5D6"));        // 서버 전체 (config "ui" 위에)
api.style(player.getUniqueId(), CruxStyle.parse("vanilla grid=top")); // 이 사람만
api.dialog(player.getUniqueId(), dialog, CruxStyle.parse("fantasy dialog=top"));  // 이 창만
Good to know
  • Priority: per-screen style > per-player style > defaultStyle > config "ui" > Crux default. Older Crux clients ignore styles and show the default look.

Server API without code (features · items · chat)

WhereLauncher server window → Server API → Features · Items & chat (config.json "api" · "ui")

Pick everything in the launcher — no plugin or script needed. Saving reloads a running server within 2 seconds. {player} in commands is the player name; start a command with console: to run it as the console (use it for commands players have no permission for).

Join noticeA window with title, text and buttons that run commands. In “once” mode it shows again only when you change it.
Join toast · join soundA toast and a sound on join (server sound name or Minecraft sound id).
Server keys → commandsA key that runs a command (up to 12). Players can rebind it under Crux server in Controls.
Fixed waypointsSpawn, shops, dungeon entrances with a beam and an edge arrow. Leave the world empty for every world.
Music per worldLoops while the player is in that world (cross-fades, follows the music volume).
Friend outline · reportsCrux friends on the same server glow for each other (when both allow it). Player-info reports go to staff (crux.reports).
Item tooltipsRarity border and line (PDC crux:rarity, MMOItems tier, vanilla rarity), your own rarity colours, Shift to compare with equipped gear.
Chat tabsSplit messages into tabs with a regex (party, guild, trade); chat typed in a tab becomes a command (/p {msg}). An All tab is added first.
BetonQuest NPC lookA dialog style per NPC name (e.g. fantasy dialog=center choices=grid).
Server sounds folderDrop .ogg files into plugins/Crux/sounds and use them by name — no resource pack (downloaded once, then cached).
# Skript (API 8)
crux sound "boss_roar" to player
crux waypoint "오래된 우물" at location(10, 64, -30) with id "well" to player
crux highlight event-entity with color "#FFD24A" to player

// 플러그인 코드
api.tooltips(uuid, CruxRpg.Tooltips.of(true));
api.chatTabs(uuid, List.of(new CruxRpg.ChatTab("party", "파티", "^\[파티\]", "/p {msg}")));
api.areFriends(a, b).thenAccept(yes -> { if (yes) party.invite(a, b); });
Good to know
  • Tag an item with a rarity (Paper): meta.getPersistentDataContainer().set(new NamespacedKey("crux", "rarity"), PersistentDataType.STRING, "legendary") — or /give … [custom_data={PublicBukkitValues:{"crux:rarity":"legendary"}}]

For developers

Add the Crux-API jar as compileOnly, softdepend: [Crux] in plugin.yml, and call CruxApi.get(). Plain Bukkit events (CruxEvents.Join, Key, Choice, Text, WindowClick, Close) work too. The full function table and examples are in Crux Docs.

Proxies (Velocity · BungeeCord)

With the Crux plugin on your proxy you can send toasts and notices across the whole network. Command: /crux toast <name|*> [title |] <text> (permission crux.notice). Other proxy plugins can call CruxNetApi.get().toast, notify, toastAll and notifyAll — players without Crux get a chat line for the network-wide ones.

More