Skip to content

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.

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

  1. Stop the server.
  2. Put the jar in plugins/.
  3. Put BetterModel (recommended) or MythicMobs in plugins/ alongside it.
  4. 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 event

Check 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:

yaml
animations:
    bubble_animation:
        mm-id: bubble_anim_join
        duration: 76

mm-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:

  1. /hanim picker — opens the menu
  2. Pick an animation for Join
  3. 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.

Next