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
- Fixed "/npc glowingColor (npc) (color)" not working as intended
- Added support for 1.20.4 🎉
- Added interaction cooldown (cooldown between player interactions with the npc)
- Added teleport command (teleports the npc to specific coordinates)
- 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
Added support for 1.02.2
- 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 support for 1.20.1
This version of the plugin supports both 1.20 and 1.20.1
- 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
- Added skin mirroring (/npc skin (npc))
- Potential fix for npcs disappearing
- Refactoring and some API changes
- 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
Changes
- Fixed NPCs not saving correctly
- Fix config loading
- Folia support (NpcPlugin-1.1.1-folia.jar)
Folia support
Please make backups when using this plugin with Folia. There might accure bugs. In the future there will be two jar files, one for Paper and one for Folia. You can not use the Folia version on a Paper server.
- Switched to 1.19.4
- Add better tab completion
- You can mute the outdated version notifications (see config.yml)
- Removed the 'injected player' message
- NPCs will now be saved every 15 minutes
- Fixed some bugs
Changelog
- Fixed a problem with using a proxy server
- Added
<empty>
placeholder for the display name -> it will make the name tag completely invisible - Added better tab completion support
- and more small fixes
Important
This will most likely the last version for 1.19.3. The next version will be for 1.19.4.
Please report any bugs you find (discrod: Oliver#6538)
Added the turnToPlayer feature (/npc turnToPlayer <name> <true|false>)
Added /npc list
Added MiniMessage support
You now need to use MiniMessage to make colored display names.
The old color system is no longer supported ("&a", "&3" ..).
Resources about how MiniMessage works:
https://docs.adventure.kyori.net/minimessage/format.html
https://webui.adventure.kyori.net/
Server and player commands
The subcommand "/npc command <npc name> <command>" has been replaced by two new subcommands:
- /npc serverCommand <npc name> <command>
- /npc playerCommand <npc name> <command>
The serverCommand will be executed by the console (as if you typed a command in the console). You can also include the {player}
placeholder there.
Example: /npc serverCommand testNpc say Hello, {player}!
If I now interact with the testNpc, it will show "[Server] Hello, OliverHD!".
The playerCommand will be executed by the player (as if the player executed the command).
Example: /npc playerCommand testNpc warp pvp
If I now interact with the testNpc, I will get teleported to the pvp warp.