NPCs
This plugin will allow you to create NPCs and edit them very easily. No configuration required.
You can make any type of NPC, from humans till ocelots and from zombies till squids. Many options can be set to an NPC, for example wether an NPC will look towards nearby players, human’s skin, name, glowing, sitting, slime size, and many more. All of this can be applied to an NPC with one easy-to-use ingame menu.
If you want to edit an NPC, you have to shift and right-click it. Then when you type ‘/npc’, you will receive a click-style menu, with every possible setting, extremely easy to use. When you create an NPC, the menu will automatically appear.
Download:
You can find all versions of the plugin here.
Issues:
You can report any issues you find here.
Features:
- Drag-and-drop installation
- No configuration required
- Easy-to-use NPC menu
- Many NPC Options
- NPC Interaction system:
- Player Commands
- Console Commands
- Messages
- Delays
- Pauses
- Conditions
- Cooldowns
- Choices
- Goto’s
- bStats Metrics
- PlaceholderAPI integration (optional but recommended)
Planned Features:
- Walking (AI Goals unimplemented)
- Villager Trades
Actions:
NPC’s can be given certain actions to execute when someone clicks on them. It works somewhat like how Windows batch or Linux sh works.
Currently there are 8 types of actions:
Message - Sends a message.
Player Command - Makes the player run a command.
Console Command - Makes the console run a command.
Delay - Waits for x ticks and then continues.
Pause - Stops running Actions, so the player must click the NPC again.
Goto - Executes a certain action in the action list.
Choice - Makes the player choose. Each option has a Goto connected to it.
Condition - Requires the player to have something (Items, Levels, etc). It has 2 Goto's connected to it, one for when the condition failed, and one for when it is met.
Cooldown - Prevents the player from interacting with an npc for a specified amount of time.
You can use the PlaceholderAPI to add certain variables to the messages and commands. If you dont use that plugin, you can only use the following placeholders:
%player_name%
%player_uuid%
%player_world%
Commands:
This base command for the plugin is /npc. When doing this command while you have an NPC selected, you will be send the NPC Menu for that NPC. There you can edit all its options and settings through clickable texts.
If you dont have an NPC selected, it will give you some basic info about the plugin and how to create a new NPC. When creating a new NPC, you will automatically be send the NPC Menu.
To create a new NPC:
- Command: /npc create [entitytype]
- Permission: npc.create
Options:
These options will appear on the NPC Menu, only when they are supported by the NPC, e.g. a creeper cant have a certain horse color.
Remove:
- Permission: npc.remove
- Info: Removed the selected NPC.
Copy:
- Permission: npc.copy
- Info: Copies the selected NPC, leaving 2 identical NPC's.
Mount:
- Permission: npc.mount
- Info: Mount the selected NPC.
Move:
- Permission: npc.edit.move
- Info: Moved the selected NPC to your current location.
Deselect:
- Permission: npc.edit.deselect
- Info: Deselects your selected NPC, if you have one.
Name:
- Permission: npc.edit.name
- Info: Rename the selected NPC.
Look:
- Permission: npc.edit.look
- Info: Makes the selected NPC look towards nearby players.
Interact:
- Permission: npc.edit.interact
- Info: Makes the selected NPC interactable (false by default)
Glow:
- Permission: npc.edit.glow
- Info: Makes the selected NPC glow, like if it werehit by a spectral arrow.
Glow Color:
- Permission: npc.edit.glowcolor
- Info: Changes the color of the glowing effect.
Size:
- Permission: npc.edit.size
- Info: Sets the size of the selected NPC.
- Requirement: Only for (magma) slime.
Sitting:
- Permission: npc.edit.sitting
- Info: Makes the selected NPC sit.
- Requirement: Only for wolf and cats.
Charged:
- Permission: npc.edit.charged
- Info: Makes the selected NPC charged.
- Requirement: Only for creepers.
Angry:
- Permission: npc.edit.angry
- Info: Makes the selected NPC angry.
- Requirement: Only for wolfs.
Hanging:
- Permission: npc.edit.hanging
- Info: Makes the selected NPC hang upside down.
- Requirement: Only for bats.
Silent:
- Permission: npc.edit.silent
- Info: Makes the selected NPC quiet.
Saddle:
- Permission: npc.edit.saddle
- Info: Makes the selected NPC have a saddle on its back.
- Requirement: Only for pigs.
Pumpkin:
- Permission: npc.edit.pumpkin
- Info: Removes the pumpkin from a selected snowman NPC's head.
- Requirement: Only for snowman.
Skin:
- Permission: npc.edit.skin
- Info: Set the skin of the selected NPC.
Career:
- Permission: npc.edit.career
- Info: Sets the career of the selected NPC.
Cat Type:
- Permission: npc.edit.cattype
- Info: Sets the Cat Type of the selected NPC.
Llama Type:
- Permission: npc.edit.llamatype
- Info: Sets the Llama Type of the selected NPC.
- Requirement: Only for llama.
Horse Pattern:
- Permission: npc.edit.horsepattern
- Info: Sets the Horse Patternof the selected NPC.
- Requirement: Only for horses.
Horse Color:
- Permission: npc.edit.horsecolor
- Info: Sets the Horse Color of the selected NPC.
- Requirement: Only for horses.
Cat Type:
- Permission: npc.edit.cattype
- Info: Sets cat type of the selected NPC.
- Requirement: Only for cats(ocelot).
Helmet:
- Permission: npc.edit.helmet
- Info: Makes the selected NPC wear the item in your hand.
- Requirement: Only for humans.
Chestplate:
- Permission: npc.edit.chestplate
- Info: Makes the selected NPC wear the item in your hand.
- Requirement: Only for humans.
Leggings:
- Permission: npc.edit.leggings
- Info: Makes the selected NPC wear the item in your hand.
- Requirement: Only for humans.
Boots:
- Permission: npc.edit.boots
- Info: Makes the selected NPC wear the item in your hand.
- Requirement: Only for humans.
Hand:
- Permission: npc.edit.hand
- Info: Makes the selected NPC holdthe item in your hand.
- Requirement: Only for humans.
OffHand:
- Permission: npc.edit.OffHand
- Info: Makes the selected NPC hold the item in your hand.
- Requirement: Only for humans.
MC1.10 Only:
Zombie Type:
- Permission: npc.edit.zombietype
- Info: Sets the selected NPC's Zombie Type.
- Requirement: Only for zombies.
Skeleton Type:
- Permission: npc.edit.skeletontype
- Info: Sets the selected NPC's Skeleton Type.
- Requirement: Only for skeletons.
Horse Type:
- Permission: npc.edit.horsetype
- Info: Sets the selected NPC's Horse Type.
- Requirement: Only for horses.