Releases: MaboroshiKobo/PartyAnimals
2.1.0
2.0.0
New Features
- The simple entity list in each pinata template has been removed in favor of pinata variants.
- Configure entity types, display names, sizes (scale), and raw NBT data for every variant.
- Added hooks for ModelEngine and BetterModel.
- You can now assign a custom model ID to any pinata variant.
- Pinata reflexes can now trigger specific animations on your custom models.
- Reworked pinata movement options:
ACTIVE: Wanders, looks at players, and flees when hit.PASSIVE: Wanders and looks at players, but doesn't attempt to flee.STATIONARY: Stays in place but turns to look at nearby players.
Breaking Changes
It is highly recommended to regenerate your config files. Here are the notable changes:
- The old
entityTypeslist has been removed. These must be manually redefined under the newvariantssection. - The separate lists for
rewardsandcommandshave been merged into a single list calledactions.- Ensure
rewardsandcommandsin your config files have been renamed toactions.
- Ensure
- Renamed several placeholders for clarity:
<pinata>-><pinata_name><entity_type>-><pinata_type><health>-><pinata_health><max-health>-><pinata_max_health>
1.5.3
Additions
- Added
<entity_type>placeholder support for reward commands. - Added
RAINBOWcolor for boss bars to cycle colors automatically. - Added a
NONEoption for the hit cooldown display setting to hide notifications.
Changes & Improvements
- Updated
/pa vote sendto accept an optional service name argument. - Improved the Blink reflex teleportation logic to reliably find safe standing spots.
- Removed
/pa vote testcommand as it was redundant. - Updated dependencies.
1.5.2
1.5.1
1.5.0
This update brings a new feature: Daily Vote Limits. You can now cap how many rewards a player can receive per day which would then allow you to have additional vote sites set up as 'backups' or 'alternatives'.
NEW! Daily Vote Limits
You can now control exactly how many times a player can be rewarded for voting within a single day.
- Set a hard limit (default is
5). Any votes received after this limit is reached will be logged but will not grant rewards. - The system calculates the limit based on the server's local time (which resets at midnight).
- You can define specific actions to run when a player hits the limit, such as sending them a warning message or playing a sound.
Other Changes
- Adjusted the default settings to provide a better out-of-the-box experience.
- Pinata module is now enabled by default (it's the main feature, after all!).
- Vote reminders & community goal settings are now disabled by default.
1.4.1
This is a quick patch to clean up some code inconsistencies and standardize formatting before things get messy.
New Stuff
You can now control the vertical launch height of the Shockwave reflex. Previously, the upward velocity was hardcoded, but now you can adjust the verticalBoost setting in your config to determine exactly how high players get thrown.
Changes & Improvements
- Standardized all placeholder tags across the plugin. I replaced inconsistent tags like
{player}or<player-name>with a uniform<player>and<uuid>format to match MiniMessage standards. - Removed the bundled SQLite driver. I recently learned that Paper includes this by default.
1.4.0
This update brings pinatas to life! They can now 'defend' themselves, and properly run away from players.
NEW! Reflexes (Escape Mechanisms)
Pinatas are no longer just punching bags... they now have reflexes to help them survive longer! When hit, a pinata has a chance to trigger one of six new defensive moves:
- Shockwave knocks nearby players away.
- Morph temporarily turns the pinata into a baby (or resizes it).
- Blink randomly teleports the pinata to a nearby location.
- Leap launches the pinata high into the air.
- Sugar Rush gives the pinata a burst of speed.
- Dazzle blinds the attacker with potion effects.
Each reflex is highly configurable; you can define custom sound effects, particle effects, and even run commands whenever they trigger.
Improved Movement
You can now control exactly how your pinata moves. I added a new movement type that makes the pinata actively run away from players and that has been set as the default.
- The
FLEEsetting makes the pinata stand still when idle, but run away when players get close (new default). - The
ROAMsetting makes the pinata wander around randomly (previous behavior). - The
BOTHsetting combines them: wanders when idle, runs for its life when chased. - The
NONEsetting makes the pinata act like a statue.
Fixes & Improvements
- Fixed potential compatibility issues with certain mobs thus allowing more entity types to work as the pinata.
- Fixed an issue where some messages would not parse the pinata's name and location.
Your config.yml and pinata templates should automatically update with these new settings the next time you restart the server. However, it is highly recommended to take a backup just to be safe.
1.3.0
- The
/pa reloadcommand now fully reloads the database connection; no more restarting the whole server just to do so. - The vote reminder message now checks when a player last voted before nagging them.
- Fixed an issue that prevented the plugin from working correctly on MariaDB database types.
- Fixed an issue where
/pa pinata killallwas not killing pinatas in countdown.