[Official] mcMMO - Original Author Returns!

Plugins [Official] mcMMO - Original Author Returns!

Version: 2.2.051
  • Fixed bug which caused trickshot-bounced arrows to have much longer potion durations than intended (Thanks flyncodes)
  • Fixed bug where using a stacked Chimaera Wing with warmup enabled would delete the entire stack instead of consuming only the use cost (Thanks UDPSendToFailed)
  • Fixed Daze (Archery) teleport causing players to snap back to their death/teleport location when hit simultaneously with a kill or world change
  • Default value for Glow_Lichen is now 1 instead of 5 (update experience.yml to get this change, or delete file and regenerate it)
  • Compatible with Tiny Takeover aka Minecraft 26.1.x (see notes)
  • Minimum supported Minecraft version raised to 1.20.5 (see notes)
  • Improved Spears damage detection (see notes)
  • Spear abilities can now trigger from off-hand attacks with the Spear
  • Further improved compatibility with Excellent Enchants (fixed more errors)
  • Fixed Spears command showing too many decimal places in some circumstances (Thanks Momshroom)
  • (Codebase) Updated Recipe API to use alternative methods (Thanks Warriorrrr)
  • (Codebase) Removed a bunch of unused code
  • (Codebase) Refactored code around evaluating Minecraft server version


NOTES:
There weren't any changes needed in mcMMO for the Tiny Takeover Minecraft update, so no issues there.
From 2.2.050 onwards, mcMMO will require Minecraft versions 1.20.5 or newer.
Every now and then I raise the minimum supported Minecraft version to reduce maintenance burden of supporting older versions.
mcMMO no longer monitors PlayerAnimationEvent, it turns out Spigot has a DamageType just for Spear damage, avoiding the need to track player arm swings.
I changed how mcMMO detects the game version slightly, now if it fails to determine the game version it will make the assumption you are on the minimum supported version and print an error, this is just a failsafe in case the version detection mechanism ever fails.
  • Combat abilities work with spear in off-hand again (see notes)
  • Sweet berry bushes now work with Herbalism (thanks dnocturne)
  • Fixed copper items not giving XP for Repair (thanks Remski01)
  • Fixed rare edge case where mcMMO could drop items with stack size set outside normal bounds
  • Fixed a bug where tamed wolves could cause errors on Folia (thanks Warriorrrr)
  • Improved compatibility with Excellent Enchants (fixed error spam from Flame Walker)
  • (Codebase) Fixed unit...
  • Fix bug where off-hand spears damage could be attributed to various combat skills and trigger their abilities

    NOTE:
    Sorry guys, noticed this right after pushing 2.2.046, for now melee combat skills won't trigger if you have a spear in your off-hand as a temporary work around to mcMMO being unable to differentiate between main hand and off hand damage.
    I'm working on a more robust solution to this issue, so stay tuned.
    What this means in laymen's terms is if you are using a sword main hand, and you have a spear off hand, mcMMO has temporarily disabled your main hand abilities from triggering to avoid issues where off hand spear damage benefits from it and triggers abilities belonging to other weapons.
  • Like
Reactions: berluscony
  • Fixed copper armor and tools not working with Repair or Salvage
  • Added support for the new copper tools and armor added in Minecraft 1.21.9
  • Added many missing buttons, trapdoors, doors, fence gates, etc to the ability/tool blacklists (see notes)
  • Added copper tools and armor to repair.vanilla.yml (see notes)
  • Added copper tools and armor to salvage.vanilla.yml (see notes)
  • Added copper tools and armor to fishing_treasures.yml (see notes)
  • Added Copper_Nugget to treasures.yml (see notes)
  • Added Copper_Nugget to experience.yml for Smelting XP
  • Added Copper_Golem to experience.yml for Combat XP
  • Fixed mcMMO custom potions not having their name set correctly (see notes)
  • Fixed ExploitFix.PreventArmorStandInteraction in experience.yml not being respected
  • Added ExploitFix.PreventMannequinInteraction to experience.yml to prevent mannequins from granting XP or other effects
  • Fixed bug where Armor Stands would get renamed to heart symbols upon breaking them (see notes)
  • Tweaked potions loaded msg during mcMMO startup to not include potions requiring newer game versions from being included in the total.

    NOTES:
    You don't need to update your experience.yml, that one updates automatically when you run mcMMO after an update.
    You will need to manually update the following files manually repair.vanilla.yml, salvage.vanilla.yml, treasures.yml, and fishing_treasures.yml files to get support for copper tools and armor.
    You can find the default config files in the defaults folder at plugins\mcMMO\defaults after running this mcMMO update at least once.
    You can use this default file to copy paste if you please
    OR if you haven't customized these config files, simply delete them to have mcMMO regenerate them with the new entries.
    mcMMO has an internal blacklist of blocks that abilities and tools won't activate or "ready" on, pretty much anything that is interactable should go on this list, and I performed an audit and there were quite a few missing entries, so I've added them in this update, what this means is you won't click on a button and have it ready your tool anymore, as it should have been doing.
    Mannequins are treated the same way armor stands are treated, the default behavior is mcMMO won't process on them unless you turn on the setting under ExploitFix in experience.yml, in addition to this their default XP is set to 0.0
    mcMMO had a setting 'ExploitFix.PreventArmorStandInteraction' to allow mcMMO to process abilities and XP on armor stands, but it was never hooked up! I fixed that mistake in this update.
    The fix for potion names will only apply to newly created potions.
    Armor stands that had already been renamed from the heart symbol bug will keep their names, but the bug shouldn't happen anymore
  • mcMMO now listens to BlockDropItemEvent at LOW priority instead of HIGHEST
  • Bonus drops from mcMMO now simply modify quantity in BlockDropItemEvent instead of spawning new ItemStacks.
  • Added McMMOModifyBlockDropItemEvent event, this event is called when mcMMO modifies the quantity of an ItemStack during a BlockDropItemEvent, it is modifiable and cancellable.
  • You can now define custom sounds to be played in sounds.yml (Thank you JeBobs, see notes)
  • Added a cap to how much Blast Mining PVP damage can do to other players

Notes:
The new sounds.yml config file allows you to override the sounds played by mcMMO.
Simply define the ID of the sound you want to play for each sound.
For example, add an entry for Sounds.TOOL_READY.CustomSoundId into sounds.yml to override the sound played when a tool is "readied".
If you are on older versions (1.18, 1.19, etc), instead of registering an ID, you specify the Sound enum.
Those who are on newer versions, can define the ID of any sound registered with Paper/Spigot, this allows you to even play custom sounds so long as they are loaded on the server.
Vanilla Minecraft sounds have IDs in this format "minecraft:ui.toast.challenge_complete", you can google what these keys are.
  • Fixed Berserk failing to crack blocks
  • Added 'Skills.Unarmed.Block_Cracker.Allow_Block_Cracker' to config.yml
  • Removed 'SmoothBrick_To_CrackedBrick', it has been replaced by `Allow_Block_Cracker`
  • Block Cracker can now crack deepslate bricks, deepslate tiles, polished blackstone bricks, and netherbricks
  • Optimizations for Hoppers & Alchemy (thanks Warriorrrr)
  • Fixed buckets being consumed by furnaces (thanks RunqRun)
  • Fixed Repair stripping unsafe enchantments from items (thanks Techirion)
  • Fixed IronGolem causing cast exceptions in rare cases (thanks Techirion)
  • Fixed hover component and action bar messages not working for 1.21.6 and 1.21.7
  • Fixed bug where entries of mctop could be duplicated when using FlatFile
  • Fixed bug where a party leader could leave a party and the party would be left without a party leader
  • Fixed a bug where EcoEnchants and similar plugins could cause an infinite loop within mcMMO during TreeFeller and other abilities
  • Added 'Happy_Ghast' to experience.yml for combat XP
  • Added 'Ghastling' to experience.yml for combat XP
  • Updated Japanese (ja_JP) translation (Thanks ryota-abe)
  • Updated Simplified Chinese (zh_CN) locale (Thanks GhostDC)
  • Added StackOverflow safeguards for abilities dealing damage in mcMMO
  • Improved compatibility with MythicMobs/ModelEngine
  • Improved compatibility with AdvancedEnchantments