Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
BetterMob - Modern, Improved, and Faster Updates
BetterMob 1.1.6.2
A bug-fix and performance release on top of 1.1.6.1. Recommended for everyone, it closes three injection and permission problems.
Security
- A mob renamed with a name tag can no longer inject extra mechanic lines into skills:
<caster.name>has skill syntax characters ({ } [ ] ; = " ' \ -and control characters) removed before it is used in skill parameters command{}now passes<caster.name>and<target.name>as a single harmless token (letters, digits,_and.), so a name cannot change command arguments or trigger PlaceholderAPI expansion- Players who lose the
bettermob.debugpermission stop receiving debug chat output right away instead of at the next login
Fixed
- Plugin failed to enable with
NoClassDefFoundError: org/bstats/bukkit/Metrics: bStats is now packed into the jar and relocated PreventRenamingchecks the hand that is actually used when a player interacts with a mob- An invalid
rinlookAtTargetfalls back to the default radius, an unparsable~onTimerinterval falls back to 20 ticks - Delayed skill steps still run when their mob died in the meantime
- Nested skill damage restores the previous "applying damage" flag
- A mechanic's
cd=cooldown only starts when the line actually has a target /bettermob spawnlimits the amount and rejects invalid numbers- Invisibility is cleared on
/bettermob reloadwhen the option was removed from the mob
Performance
- Parsed conditions and their parameters, block type lists and the condition lines of radius targeters are cached instead of being parsed on every run
- The obstructing block (ray trace) is only looked up when a
blocktypecondition needs it - Skill triggers are indexed by type, so a damage or shoot event only visits its own triggers
- Reflection for
@ModelPart,bodyrotationandmountmodelis cached - Boss bars only send health and title when they changed and only look at nearby players
- Cooldowns use record keys, expired cooldowns are purged only when the map has doubled, faction members from the config are cached, and radius targeters compute each distance once
Platforms
Paper
1.21–26.3
Dependencies
Paper
- BetterModel Optional
- ModelEngine Optional
- PlaceholderAPI Optional