# New Features
- 1.20 Support
- New Action System (more info later)
- Anonymous statistic collection with bStats *The data I collect can be seen [here](https://bstats.org/plugin/bukkit/CustomNPCs/18898)*
- Sound effects when interacting in menus
- New Injection events
- Changed the way text input is collected
- New Experimental API *Docs can be found [here](https://foxikle.dev/plugins/CustomNPCs/docs/index.html)*
---
# Bug Fixes
- Fixed `/npc reload` not working as intended
- Fixed NPC names displaying 'nothing' instead of 'CLICK' when first creating/editing an NPC
- Fixed numerous errors due to internal issues
- Fixed being able to remove 'display' items out of menus
- Fixed actions duplicating when editing them from the actions menu.
---
# Important Notices:
- **This release requires you to use Paper as your server jar.** Most of you are already, but this is here as a warning.
- **A note about bStats:**
I use the data collected to improve the plugin as much as I can. That being said, if you would like to opt out of anonymous telemetry data collection, please do so by changing `enabled: true` (default) to `enabled: false`. The config can be found in the `bStats` folder located in your plugins directory.
---
# Actions
The main new feature of this update is the new Action System. The action system is an expansion of the old command system. Your old `npcs.yml` file will be converted to the new system. That being said, I highly suggest you make a backup of your file before updating.
The action "types" are as follows:
- Run Command
- Nothing new, this acts the same as the old system. Legacy commands are converted to these.
- Send Message
- Sends the player a message. Self explanatory
- Display Title
- Displays a title for the player.
- Action Bar
- Sends the player an Action bar
- Toggle Following (Experiemental)
- Toggles the NPC following the player. Not perfect, but that's why its marked as experimental!
- Play Sound
- Plays a sound for the player at the player's location
- Teleport
- Teleports the player to the specified location
- Send to Bungeecord Server
- Sends the player to a BungeeCord server. Nothing happens if the server isn't connected to a BungeeCord network.
# Developers
Check the wiki within the next few days as I will be putting a detailed tutorial there.
As always, if you encounter any bug or issues, please report them [here](https://github.com/Foxikle/CustomNPCs/issues)
Thanks!
Foxikle
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }