Troubleshooting
Why an animation is not playing — the gates that can refuse a play, and how to find out which one did.
Nothing plays
Work down this list. Each step rules out one cause.
1. Is the animation loaded?
/hanim listZero animations means every event folder is empty. Add an entry under animations: in the relevant events/<event>/config.yml, then /hanim reload.
2. Does the player have it chosen?
An animation only plays if the player chose it, or a defaults: entry assigned it. Open /hanim picker and check.
3. Does the model exist?
mm-id must be a model your engine actually knows. A typo or a model you deleted gives an id that no provider can resolve.
/hanim editor makes this visible: an unresolvable animation gets a red barrier icon rather than a normal one.
4. Is an engine installed and available?
On boot, the console reports:
[hAnimationsWorks] Model providers: bettermodel (available), mythicmobs (available)A provider you installed but do not see listed as available cannot resolve models.
5. Is the world suppressing it?
Two independent deny lists:
disabled-worldsinconfig.yml— suppresses everything- the animation's own
worlds:list — suppresses that animation
6. Is the player animating already?
A player who is already in an animation is refused a second one. This is deliberate — stacking would leave two freezes and two cameras fighting over the same spectator target. /hanim test during your own animation is refused for this reason.
7. Is it on cooldown?
cooldown-ms (default 3000) blocks a repeat play for the same player. A player who rejoins quickly, or whose teleport fires two events, gets one animation rather than two.
Turn on debug logging
This is the fastest way to find the exact gate that refused:
debug: trueIn config.yml, then /hanim reload — or restart.
[trace] t=25 age=20 START Dabbzz join-Sparkle camera=true duration=60t
[trace] t=26 age=21 CAMERA-attach Dabbzz spectator target setWhen a play is refused, the console names the gate:
| Message | Meaning |
|---|---|
REFUSE-offline |
The player quit between the event and the play |
REFUSE-active |
Already animating |
REFUSE-world |
The animation is disabled in this world |
REFUSE-perm |
The player lacks a permission the animation lists — the message names it |
REFUSE-cooldown |
Too soon after the last play |
debug: true logs per player per animation. Turn it off in production.
"moved too quickly!" in the console
The vanilla movement anti-cheat is rejecting a position the plugin wrote.
A respawn moves the player on the server while the client is still catching up. Anything that writes a position or rotation in that window is compared against a position the server has already left, which the anti-cheat rejects — for a player who never moved.
Raise post-respawn-grace-ticks in config.yml. The default 20 (one second) is usually enough; raise it further on a laggy server.
The player is stuck / invisible after an animation
Normally everything is handed back when the animation ends: camera removed, freeze lifted, player revealed.
If a player is stuck, /hanim reload finishes every animation in flight and releases everything. This is also why a reload must not skip that step — a reload that left them frozen would need a manual fix per stuck player.
Tab completion does nothing
The command registers through Paper's lifecycle API on Paper 1.21+, which gives full Brigadier subcommand and argument completion.
If the console says Brigadier is unavailable, the plugin fell back to its legacy Bukkit command and tab completion is limited. You are likely on an older server than the modern jar supports — check that you installed Paper-Modern for Paper 1.21+.
An animation plays the wrong version
An id can be defined under several events — the same visual may exist for join, death and respawn, each with different mm-id and duration.
/hanim play <animation> <trigger> names the trigger explicitly. /hanim test takes no trigger, so it plays the first one in a fixed order and names it in its reply.
Changing provider-priority had no effect
That setting needs a restart, not /hanim reload. The engine keeps the provider set it was built with, because that set decides what a running animation can be released through.
Still stuck
Post the output of:
- The boot lines from
[hAnimationsWorks]in the console /hanim list- The relevant
events/<event>/config.yml - Anything between
DEBUG:and the error in the console, withdebug: trueon
That is usually enough to name the cause.