Installation
What hAnimationsWorks needs, which jar to use, and how to get the first animation playing.
Requirements
| Server | Paper 1.21+ for the modern jar; Spigot or Paper 1.20.1+ for the legacy jar |
| Java | 25 on modern Paper; 17 on the legacy jar |
| Model engine | BetterModel or MythicMobs — one is required, or nothing can play |
An animation is a model. hAnimationsWorks does not draw models itself; it asks an installed engine for one and plays it. With no engine installed the plugin loads and reports the problem, but every play is refused.
An animation folder with no animations in it is not an error. The plugin loads normally and simply has nothing to play. This is deliberate — it lets you set up the folder layout before the models exist.
Which jar do I use?
The plugin ships three builds. Drop in one — not several. Two jars sharing a plugin name is a duplicate-plugin error, and which one loads depends on file order.
| Jar | For | Java |
|---|---|---|
hAnimationsWorks-Paper-Modern |
Paper 1.21+ | 25 |
hAnimationsWorks-Paper |
Paper 1.20.1 | 17 |
hAnimationsWorks-Spigot |
Spigot 1.20.1+ | 17 |
The three differ in exactly two things: which server API they compile against, and which entry point they use to register /hanimationsworks. Nothing else — the animation engine, config format and GUI are identical across all three.
Pick by your server. If you are not sure, Paper 1.21 or newer wants Paper-Modern.
Install
- Stop the server.
- Put the jar in
plugins/. - Put BetterModel (recommended) or MythicMobs in
plugins/alongside it. - Start the server.
On first boot the plugin writes its config tree to plugins/hAnimationsWorks/:
plugins/hAnimationsWorks/
├── config.yml settings that are not about one animation
├── gui.yml menu layout and appearance
├── messages.yml every message the plugin sends
├── preferences.yml per-player choices (written by the plugin)
└── events/
├── join/config.yml
├── death/config.yml
└── ...one folder per eventCheck it loaded
In the console, on a healthy boot you see:
[hAnimationsWorks] Model providers: bettermodel (available), mythicmobs (available)
[hAnimationsWorks] Loaded 4 animations across 5 triggers.
[hAnimationsWorks] Registered /hanim through Paper's command lifecycle.Three things worth reading there:
- Which providers are available. If a provider you installed is not listed as available, it will not be asked for models.
- How many animations loaded. Zero means every event folder is empty — expected before you write any.
- How it registered the command. On a modern Paper server this should say command lifecycle. If you see a warning about Brigadier being unavailable, the plugin fell back to its legacy command and tab completion will be limited — see Troubleshooting.
First animation
Open events/join/config.yml. Every entry under animations: becomes an id that /hanim and other plugins can reference by name:
animations:
bubble_animation:
mm-id: bubble_anim_join
duration: 76mm-id is the model name as your model engine knows it — a MythicMobs internal name or a BetterModel model id. duration is in ticks; 76 ticks is about 3.8 seconds.
Then in game:
/hanim picker— opens the menu- Pick an animation for Join
- Rejoin, or ask someone else to join
An animation with no permissions: list is visible to everyone, so if the menu is empty, check that you actually put an entry under animations: and that its mm-id exists in your model engine.
duration is in ticks — 20 ticks is one second. A value of 0 or below is rejected at load, because a zero-length animation would freeze the player for no visible reason.
Next
- Configuration — every setting
- Commands — preview and test without waiting for an event
- Troubleshooting — when nothing plays