Changes
- Added invisible attribute for 1.19.4
- Fixed player npcs not spawning in 1.19.4
- Fixed duplicate npc names
- Add join delay
- Fixed armor stand interaction
API changes
- Added NpcManager#getNpcById
- Improve and extend api for npc interactions
- Include sources and javadocs in api
- Add swingArm flag to Npc#move
This version fixes various of issues that accrued in v2.0.8
- Removed debug message console spam
- Fixed not being able to modify playerCommands on new created npcs
- Equipment is not shown when npc is invisible
- Added a fix command (/npc fix (npc name)): run this command, if the npc is bugged and it will completely recreate the npc and might fix the issue
I'm sorry for these issues on the last version, I'll make sure that this won't happen again.
Additions
- You can now set multiple npc messages:
- /Npc message (npc name) add (message) - adds a new message
- /Npc message (npc name) set (index) (message) - sets a message at an index
- /Npc message (npc name) remove (index) - removes a message at an index
- /Npc message (npc name) clear - removes all messages
- Added support for legacy colors in the display name
- Added player sitting pose (/npc attribute <npc> pose sitting)
- Added the "/npc info (npc)" command
- You can disable the "on interaction cooldown" message in the config (disable_interaction_cooldown_message=true)
- Added config option to not register commands (helpful if you use FancyNpcs as library)
Fixes
- Fixed setting showInTab to false not applying right away
- Fixed npcs sometimes disappearing when teleporting from another world
Other
Added new documentation website: https://fancymcplugins.github.io/docs/
The docs will be included into the main website soon (https://fancyplugins.de/docs)
and soon the main website will be completely remade too.
Oliver
- Added collidable command
- Added support to execute the /npc command in console
- Fixed problems with skins
- Fixed fox attributes
- Fixed player attributes
- Fixed NpcSpawnEvent was not fired
- Fixed npcs (randomly) disappearing
Created link for donations: https://www.buymeacoffee.com/realoliver
- Fixed saving removed npcs
- Fixed display name disappearing after changing type
- Fixed npc interaction for 1.19.4
- Removed npc-attributes feature flag -> it's now a official feature
- Added cat, shulker, wolf, pig and slime attributes
All npc attributes: https://pastebin.com/EtDd0A8k
Changes
- Fixed right clicking npcs
- Fixed sending entity metadata even when the player doesn't know about the entity
- Added feature flag system
- Added npc-attributes feature flag
[!] Important: make sure your server has paper build #132 or higher.
(Once these changes are merged into Folia, right clicking will work with Folia too)
Feature Flags
We've introduced feature flags in FancyNpcs to enhance your experience. These flags allow us to carefully control when certain features are available to you. This means we can ensure smoother updates, test new features without disrupting your usage, and quickly address any issues taht might arise. You can simply enable new features by opening the featureFlags.yml file (plugins/FancyNpcs/featureFlags.yml) and changing 'false' to 'true'. Keep in mind that these features might be uncomplete and could potentially cause problems.
Npc attributes
This is a new feature to modify different attributes of the entity. Currently there are 27 different attributes spread over 18 entity types. The command to modify an attribute is: '/npc attribute (npc name) (attribute name) (value)'. This feature is under the feature flag 'npc-attributes' and is not 100% complete, many attributes are still missing.
List of all attributes:
All entites: on_fire
Ageable entities: baby
Player: pose
Sheep: wool_color, sheared
Villager: profession, type
Frog: variant
Horse: variant, markings
Parrot: variant
Axolotl: variant
Tropical Fish: pattern baseColor, patternColor
Fox: type, pose
Panda: gene, pose
Goat: horns
Allay: dancing
Camel: pose
Rabbit: variant
Piglin: dancing
- All entity types can now glow
- You can now edit all messages in lang.yml
- Added "/npc copy (npc) (new name)"
- Added option to remove npc message/serverCommand/playerCommand by setting the value to "none"
- The playerCommand can now execute non registered commands (fixes working with DeluxeCommands & DeluxeMenus)
- Many many bug fixes...
Known issue in this version:
- left clicking an npcs does not trigger message/playerCommand/serverCommand
Full Changelog: https://github.com/FancyMcPlugins/FancyNpcs/compare/v2.0.0...v2.0.1
FancyNpcs 2.0.0
In this major update, FancyNpcs introduces a revamped project structure, empowering the plugin to seamlessly support multiple Minecraft versions within a single jar file. Gone are the days of limited compatibility - now you can enjoy the benefits of FancyNpcs across various versions!
Full changelog:
-
Versatile Version Support: FancyNpcs 2.0.0 breaks free from its previous limitations by accommodating both newer and older Minecraft versions. The plugin now proudly supports the latest versions 1.19.4 and 1.20.1, ensuring compatibility and flexibility for your Minecraft server.
-
Added PlaceholderAPI support
-
Several fixes
-
Added example images and a new big title to the README
To update from a previous version, you need to do the following things:
- stop the server
- open plugins/FancyNpcs/npcs.yml
- capitalize the type values
type: player
to
type: PLAYER
Thank you for your continued support and feedback. We're excited to deliver these improvements and look forward to further enriching your Minecraft gameplay with future updates.
- Added permissions for each subcommand (
fancynpcs.npc.<subcommand>
) - Fixed npcs being invisible after changing the type
- Update to 1.20
Full Changelog: https://github.com/FancyMcPlugins/FancyNpcs/compare/v1.1.5...v1.2.0
- Added mob npcs (/npc type)
- Added support for URL skins (/npc skin (npc) (url to skin)
- Added npc message (will be sent to player when interacting)
- Added configurable autosave interval
Full Changelog: https://github.com/FancyMcPlugins/FancyNpcs/compare/v1.1.4...v1.1.5
- Add /fancynpcs command
- /fancynpcs version - shows the current verision
- /fancynpcs save - saves all npcs
- /fancynpcs reload - reloads all npcs from config
- Moved npcs to their own file (npcs.yml)
- Added some config options
turn_to_player_distance
default=5visibility_distance
default=20enable_autosave
default=true
- Fixed npcs not spawning with correct yaw and pitch
- Added some fancy colors to the messages
IMPORTANT
Before updating you need to rename the config.yml
to npcs.yml
to keep all the npcs.
- Renamed plugin from NpcPlugin to FancyNpcs
- Added more API stuff (see Documentation.md in Github)
- Permission changed to FancyNpcs.admin