Bukkit events · MythicMobs · Skript
On Paper you can also use plain Bukkit events instead of a listener: crux.server.bukkit.CruxEvents.Join · Key · Choice · Text · Close (getPlayer · getId).
With MythicMobs installed, these mechanics are registered automatically (use 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}With Skript installed, these syntaxes are registered (Skript 2.10+, Java 21):
crux toast "Quest" with text "Find the old well" to player
crux hud "Gold: %{gold::%uuid of player%}%" with id "gold" to player
crux subtitle "The golem awakens" to all players
crux floating text "-12" at location of victim to attacker
crux telegraph circle at location of event-entity with radius 5 for 1500 to all players
crux model "boss_golem" on event-entity
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
crux track "quest_1_done" for playerModel files: the Animation Studio in the launcher's Crux IDE converts Blockbench (.bbmodel — including ModelEngine · ItemsAdder models) to Crux model json. Pass that json and png to registerAsset.
BetonQuest and RPG plugin integration
- BetonQuest 3.x: set conversation_IO: crux in the package config and NPC conversations open in the Crux dialog (Citizens NPC conversations too, through BetonQuest). Non-Crux players keep the BetonQuest default.
- RPG integration (module rpg, launcher Crux plugin tab → Convenience & economy → RPG): damage numbers and mob HP bars work on any server; with AuraSkills or MMOCore you also get a mana / stamina HUD (plus a skill bar for MMOCore) and /crux stats opens a stats window (/stats too when no other plugin uses it — AuraSkills has its own /stats).
- Model folder: model json and png files in plugins/Crux/models are registered automatically under their file name. The Animation Studio Send to server button copies there and reloads a running server.
- Server element inspector (Crux settings → Screens): lists the HUD elements, models and more this server sent, with labels above mobs that carry a model — for checking while developing.
CRUX