CustomNPCs
A powerful, configurable NPC plugin for Paper servers.
Looking for contributors!
If you're interested in contributing to the project, please reach out! I'm looking for help maintaining the project <3
✨ Features
🎨 Appearance
- Names longer than 16 characters — break vanilla's character limit
- MiniMessage color support — gradients, rainbow names, hex colors, and more
- Fully customizable skins — use any player skin or custom texture
- Armor & item display — equip NPCs with any gear you can imagine
- Multiline Holograms — Create NPCs with as many hologram lines as you'd like
⚡ Interaction Actions
Trigger actions when players interact with an NPC:
| Action | Description |
|---|---|
| Send Message | Send a custom chat message to the player |
| Display Title | Show a title/subtitle on screen |
| Action Bar | Display text in the action bar |
| Play Sound | Play any in-game sound |
| Run Command | Execute a command as the player or console |
| BungeeCord / Velocity | Send the player to another server |
| Teleport | Teleport the player anywhere |
| Give / Remove XP | Modify player experience |
| Give / Remove Potion Effect | Apply or clear potion effects |
| Follow Preset Path | Walk in a pre-recorded path |
Each action has a configurable delay and cooldown!
🧠 Behavior
- Look at players — NPCs track nearby players naturally
- Configurable idle direction — set a default look direction when not tracking
- Flexible persistence — choose between session-only NPCs (cleared on restart) or fully persistent NPCs that survive restarts
- Conditional Actions — Execute specific actions under certain circumstances
🌍 Translations
CustomNPCs supports multiple languages! If you speak a language other than English and want to contribute, join the translation effort on Crowdin:
Don't see your language listed? Send @foxikle a DM on Discord or open a ticket in the support server to request it.
🛠️ Developer API
Integrate CustomNPCs into your own plugins with the provided API.
| Resource | Link |
|---|---|
| GitHub Wiki | github.com/Foxikle/CustomNPCs/wiki |
| Plugin Wiki | docs.foxikle.dev |
| Javadocs | Javadoc (1.8.0) |
📊 Statistics
🐛 Support & Bug Reports
Encounter a bug or need help? Here's where to go:
- Discord — Fastest way to get support
- GitHub Issues — For confirmed bugs and feature requests
❤️ Support the Project
If CustomNPCs has been useful to you, consider supporting development!
Patreon · PayPal · GitHub Sponsors
CustomNPCs is open source. Contributions, translations, and feedback are always welcome.
How to Install CustomNPCs (Plugin)
CustomNPCs by Foxikle is verified for Paper across Minecraft versions 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21 (latest release: 1.8.2, file size: 607 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21) and platform (Paper).
- Make sure you have the compatible loader or environment installed for Paper.
- Move the downloaded CustomNPCs file into your Minecraft
.minecraft/pluginsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 34 | ||||
| 2mo ago | 17 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
|
R
1.5
|
2mo ago | 1 | |||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
|
R
1.3
|
2mo ago | 1 |
- Fixed flipped codec mapping causing NPCs pitch and yaw to be flipped
- Fixed removing items from an NPC breaking the config
- Fixed issues with Mineskin initialization preventing downloading Skins from URLs
- Fixed NPCs spawning at 0,0,0 if their pose was set to SITTING and their location was far away
- Fixed default settings corruption causing new npcs created to be clones of other NPCs
- Fixed the wrong config key being the default for the storage section
- Fixed the storage provider never being initialized on the very first launch of the plugin
- Fixed the default config being 1 behind the latest, which fixed the aforementioned bug
TY to Katsumii for reporting these <3
Cheers!
\~ Foxikle
- New storage options:
- Local Storage (Default): Stores data in a file on the server.
- MySQL: Stores data in a SQL Database (Good if you already have one)
- MongoDB: Stores data in a MongoDB document (Ideal)
- Conditional Injection (Api only for now): Ensure certain conditions are met prior to spawning the NPC
- Support for PluginUpdater
- Removed support for very old NPC file versions (<1.6- no known users of the plugin this old)
- new command to import data into a storage provider:
/npc movedata <conflict-resolution> - new config fixer to fix NPCs with 0 hologram lines
- added support for empty hologram lines with %empty%
- the update checker now runs once per hour instead of only on startup
# Fixes
- Fixed being able to make NPCs have 0 config lines
# Api Changes
- Removed deprecated methods NPCApi#initialize
,NPC#setPostion,NPC#setLegacyActionsSettings#direction,LegacyAction - Reworked action serialization, [read the wiki for details](https://docs.foxikle.dev/docs/api/Writing-Custom-Actions).
- Moved some action condition classes around, most notably Condition#SelectionMode
is nowSelector - Settings now has a builder
- Equipment now uses null
for empty slots, notAIR`. Setting a slot to air will now set it to null. - CustomNPCs is now in maven central! You no longer need to (and shouldn't) https://repo.foxikle.dev. It will be taken down soon.
## IMPORTANT NOTE: Any preset walking paths created before this release are sadly incompatible, and need to be re-recorded. This was because of some glaring issues with storage efficiency that I needed to address. I am sorry for the inconvenience if that effected you. According to my analytics, there are no current uses of the action, though.
Cheers!
Foxikle <3
- 26.1 and 26.2 support
- Added the new FollowPresetPath Action!
- This action allows an NPC to follow a pre-recorded path. It has an option to enable "looping", which will make it teleport to the beginning of the path and start again automatically. It is planned to have the action start on NPC load, as to not need a player interaction to start it.
- Upgrade adventure to version 5
- Reworked the commands to use vanilla Brig
- Removed support for 1.20-1.20.4**
- This is due to obfuscation changes which make maintaining these versions more burdensome than they are worth. Very few users use this version, so I felt it was the correct decision for the long term longevity of the project.
- Fixed a couple of misc bugs
- NPCs can have now empty hologram lines with
%empty% - Added a tip to inform players they can Sneak + Click NPCs to open the edit dialog
- NPCs can no longer have 0 hologram lines.
- Added a config fixer to recover NPCs who have 0 config lines, as that prevented the NPC from loading. (/npc fixconfig lines)
- Fixed the NPC skin not being updated when changed on versions 1.21.9-26.2
- Full Changelog**: https://github.com/Foxikle/CustomNPCs/compare/v1.7.9...v1.7.10
If you have experience speaking a language other than English and are willing to donate your time to improve the plugin, please consider becoming a translator. You can reach out to @foxikle on Discord for more details. In exchange for helping me with the project, you get access to preview builds and exclusive development content.
Cheers <3
- 26.1 support
- Added the new FollowPresetPath Action!
- This action allows an NPC to follow a pre-recorded path. It has an option to enable "looping", which will make it teleport to the beginning of the path and start again automatically. It is planned to have the action start on NPC load, as to not need a player interaction to start it.
- Upgrade adventure to version 5
- Reworked the commands to use vanilla Brig
- Removed support for 1.20-1.20.4**
- This is due to obfuscation changes which make maintaining these versions more burdensome than they are worth. Very few users use this version, so I felt it was the correct decision for the long term longevity of the project.
- Fixed a couple of misc bugs
- 1.21.11 support
- Fixed some typos
- Updated German and Russian translations
- Added the Modrinth link to the update message.
- This update adds support for 1.21.9
- Updated a few dependencies
- 1.21.5 - 1.21.8 support
- NPC Poses
- There are 6 possible poses: Standing, Sitting, Crouching, Swimming, Dying, and Sleeping.
- NPC Nudging
- Nudging is way to move NPCs a little bit at a time to precisely position them. Crouching while scrolling increases the move increment from .05 blocks per slot to .25 blocks per slot scrolled over.
- Native Multi-line Holograms
- Your existing names are automatically converted to the new system
- The Ability to flip NPCs upside down
- This option is accessed in the extra settings menu (Top right comparator)
- The ability to add cooldowns to actions
- The configuration of them is very similar to configuring delay. There is no message for an action being on cooldown.
# Bug Fixes
- Fixed the UUID being visible with a teamless approach, which is much more tolerant to other plugins
- Fixed being able to supply textual input to multiple actions at once
- Fixed the sleeping percentage not being respected if it was changed after the server started
- Fixed Elytras not being able to be equiped in the chest slot
- Fixed problems with clicking items in the equipment menu
- Changed the default NPC name to "An unnamed NPC"
- NPC nametags follow a lot smoother
- NPCs no longer have a visible armor stand riding them in spectator mode
- NPCs now ignore spectators and do not look at them
- Fixed importing skins from URLS
- Fixed some issues with the commands library
- Fixed errors with menus on latest paper versions
- Fixed some issues with dependency downloading at runtime (Thanks paper!)
# Developer Changes
- The NPC#moveTo(Location) was renamed to NPC#teleport(Location) as moveTo is reserved for other movement related features coming later :)
- The Settings class now has a method to import a player's skin directly from a player object
- NPCs no longer have "names", but rather an array of "lines". The get/set name methods are now deprecated and just affect the top line.
- Poses can be changed in the settings object
- Added a "facing" system, to be more consistent with how NPC yaw and pitch are handled.
- Custom actions should call the
Action#activateCooldown(UUID)in therperformmethod.

- Fixed the plugin not enabling on 1.21.8
- Added cooldowns to actions, defaulting to 0.
- Fixes errors with menus on latest paper versions
- Other misc repo fixes
There are no visible changes this release.