90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

CustomNPCs - 1.6.0

Changelog

New Features

  • NPCs can now override the default Interactable Hologram.
  • Indevidual NPCs can toggle having the Interactable Hologram, even if it is interactable.
  • The NPC's escaped name is shown to the player whilst changing it. (Toggleable via the NameReferenceMessages field in the config.yml!)
  • A new menu page to house the aforementioned items.
  • A button to delete the NPC from within the menu
  • A confirmation menu upon attempting to delete an NPC (Yes, even with the command. I may add a bypass flag in the future.)
  • A button to set the NPC's pitch and yaw, so called its Facing Direction
  • The /npc command now takes the RAW (unstylized) NPC name as an identifier. (ie. /npc edit foxikle's helper). This does support NPCs with spaces in their name.
    • Just a note about that, NPC UUIDs still work, they just are not supplied to the tab completion
  • A new command to teleport to an NPC. /npc goto <NPC>
    • Requires the customnpcs.commands.goto permission
  • A new command to move an NPC to you. /npc movehere <NPC>
    • Requires the customnpcs.commands.movehere permission
  • A new command to clone an NPC to your current location. /npc clone <NPC>
    • Requires the customnpcs.commands.clone permission
  • The Skin menu, the Action Customizer Menu, and the Condition Customizer Menu now all have click sounds
  • The config version is now 5
  • The NPC File version is now 1.6
  • Backing up config.yml if it is irreparably damaged
  • Importing your current armor to an NPC
  • New skin menu
    • Import skins from a player's name
    • Import skins from a URL
    • Use the Skin Catalogue (Nothing changed here, but its in the skin menu)
  • Added a tunnelvision option to npcs (Already an API feature)
    • A tunnelvisioned NPC does not look at nearby players
  • An improved wiki *Its still a work in progress, so it's URL is https://docs.foxikle.dev, while the old wiki remains at https://foxikle.dev/plugins/wiki/customnpcs. The Javadocs have been moved to https://jd.foxikle.dev!
  • A shiny new Menu System, written with WoodyMenus, Courtesy of @FlameyosSnowy
  • A shiny new rework of the event listeners, vastly improving performance! Courtesy of @FlameyosSnowy
  • The Teleport action now teleports players asynchronously, for more performance
  • Multi-version support! (For now, 1.20-1.20.4)
  • The plugin will now complain if an NPC's configuration is malformed/invalid, instead of refusing to enable.
  • NPCs now default to being resilient

Bug Fixes

  • Fixed an error whilst making an NPC interactable if it previously wasnt.
  • Fixed numerous issues with the ToggleFollowing action, ** WHICH IS NOW BROKEN, STAY TUNED FOR 1.7**
  • Fixed setting armor displaying a message indicating the wrong slot was set. (It wasn't!)
  • Fixed the plugin not enabling on 1.20 & 1.20.1, courtesy of @tomasalias
  • A boat load of small fixes, improvements, and optimizations
  • Fixed inconsistencies with the lore in the Equipment Menu
  • Fixed importing player armor mutating the player's armor. (Changing the display name and lore)
  • Fixed a serious issue whilst serializing actions under certain circumstances.
  • Fixed a bunch of issues relating to manually changing NPC Equipment
  • Removed several debug messages
  • Fixed NPC holograms sometimes not being removed properly

Developer changes

  • Removed the old NPCApi.NPC class
  • CustomNPCs now uses Lombok getters and setters
  • Deprecated the old constructor for Settings to accommodate the new settings options
  • Both the Settings and Equipment classes now have clone methods.
  • The Equipment object now has a method to import from an EntityEquipment object.
  • Action#getArgsCopy now returns a mutable list
  • ActionType now has a field determining if the action can have a delay
  • THE JAVADOCS HAVE BEEN MOVED TO https://jd.foxikle.dev/!!!

New Contributors

Full Changelog: https://github.com/Foxikle/CustomNPCs/compare/v1.5.2...v1.6

Acknowlegdments

A huge thank you goes out to Nutric! He has been instrumental to this update through his patronage on Patreon!

That's it! Here is a little peek at the future of CustomNPCS!

CustomNPCs Roadmap

1.7

  • Action system revamp (API Support!)
  • NPCs loading chunks
  • QOL features suggested by none other than Nutric!

1.8

  • NPC AI
  • Re-introduction of the 'toggle following' action
  • Different ai goals & pathfinders to apply
  • Potentially a PVP bot? (unlikley...)

Cheers!
~Foxikle <3

Files

customnpcs-1.6.jar(4.67 MiB) Primary Download

Project members

Foxikle

Lead Developer

fqmy1

Performance Analyst

Details

Licensed MIT
Published 2 years ago
Updated 2 months ago