This plugin allows you to create NPCs which execute any command you assign to them.

I enjoy making all of my plugins for free, but I need your help to keep them for free.
Depends on NPCLib and PacketListenerAPI
If you want to modify the name and skin of player NPCs, you will need NickNamer aswell.
Commands
- /cmdnpc create <name> [type] [command] - Creates a NPC with the specified name. Optionally you can specifiy the NPC-type (PLAYER, ZOMBIE, SLIME) and the executed command. (cmdnpc.create)
- /cmdnpc modify <action> [value(s)] - Allows you to modify the NPC settings (cmdnpc.modify)
- NAME - Changes the NPC name
- SKIN - Changes the NPC skin for players (independent of the name)
- COMMAND
- list - Lists all configured commands
- add - Adds a command
- remove - Removes a command
- TYPE - Changes the command type
- PLAYER - Will be executed by the player who clicked the NPC
- CONSOLE - Will be executed by the console CAUTION: This can execute ANY command, including /op or /ban
- NPC - Will be executed by the clicked NPC (Commands like /say will have the name of the NPC) CAUTION: Just as the CONSOLE command, any command will be executed
- DELAY - Changes the time players have to wait before they can interact with the NPC again
- MESSAGE - Changes the specified message
- ACTIVATION - Message sent when players interact with the NPC too fast
- CYCLE - Enable/Disable command cycle. (Command will cycle through all available commands)
- /cmdnpc remove - Removes a NPC (cmdnpc.remove)
Command selectors
- @i - gets replaced with the player who interacted
- @p - get replaced with the closest player to the NPC
Config
#If enabled, skins will be saved locally which allows you to use skins a player doesn't have anymore
saveSkinsLocal: true
#If the plugin should use Bungeecord (enables /server command for NPCs)
bungeecord: false
Links
Thanks to some of my Supporters:
SlZOd2EkUm9kI1J3YW1GeUooVWtXa2QzZFdGPk4rSmFWelV3WVZoYWJHUiNSbk5hVnpVdytHMDVlVnAzUCswa0okUk1NMEp6WkZka2NHSnBPRDBrSiRSalIzZypXakpzZFZ7VituWmlWekZvWW0xJCsxVkYrVzFrYlZaNVl6SnNkbUpxTUcqa2JWWjVZekpzZG1KcFYrMGtSMlYwSlE9PQ==
Please leave a rating if you like this resource.
Donations to support me or this resource are also very much appreciated.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta