NPC icon

NPC -----

MineCraft NPC for 1.18.2 servers only



Hello!

This plugin allows a user to create a custom NPCs. NPCs by default will clone a user's skin upon creation if a skin name is not applied. Players can supply entity names to mask it's skin and apply to an NPC. The NPC's location is then saved in a data.yml file to be reused after a server is shut down. The NPC will also display a message when the player clicks on the NPC. Each spawned NPC can have their own custom message. The messages are changeable within the given data.yml.


For any issues or requests please add them here:
https://github.com/GothamsJoker/Npc/issues

Please refer to version history to find the correct version for your spigot server! This plugin at this time is not backwards compatible. You must download the correct plugin version per your spigot server version! Refer to below for correct versions:

The current version will only work on 1.18.2 servers.
Versions:

  • Update version 2.0 use for spigot 1.16.1.
  • Update version 3.0 revisited use for spigot 1.16.4
  • Update version 4.0 use for spigot 1.17.1.
  • Update version 5.0 use for spigot 1.18
  • Update version 6.0 use for spigot 1.18.1
  • Update version 6.1 use for spigot 1.18.2

example: /createnpc zombie ZOMBIE will create an npc with the name zombie nd have a zombie skin.

example: /destroynpc. The command will destroy target NPC and remove the information from the data.yml

Todo:
Add admin in game user menu for NPC editing
Add NPC custom commands
Have one version to support all spigot versions.

This plugin is ever growing!

Suggestions are more than welcome also please feel free to reach out if issues arise. Also feel free to leave a review so I can know how well the plugin is running on your server!

I will be re submitting older versions to support the upgrades and minor bug fixes.

Update section:

  • Update 4.0 NPC fix/1.17.1 support : NPC head/body will rotate tracking a player when a player is within radius to the NPC, custom messages, various bugs.
  • Update 6.0 NPC add 1.18.1 support. /createnpc will now accept player names or entity names to mask their skin. Play with the names you enter to get different skins! Also there is a tab completer allowing your NPCs to mirror mine craft entities saving you time from guessing entity names!!!
  • Update 7.0 NPC add 1.18.2 support. /createnpc will now accept a NPC name and then a skin name! Play with the names you enter to get different skins! Also there is a tab completer allowing your NPCs to mirror mine craft entities saving you time from guessing entity names!!!

Thank you,

GothamsJoker

Installation:

Download jar per your spigot version.
Place jar in plugin folder for your server.
Upon server load data.yml will be created and stored in your server plugin directory under a new folder named: NpcMain.

Usage:
In game admin must enter /createnpc to create a NPC. NPC will mirror the current player skin you are wearing. The NPC can also accept entity names and mirror their skins. The NPC will spawn at your location.

Name your NPC:
1. Change the name in the data.yml

2. Enter the name after the /createnpc command

BE AWARE! Minecraft only allows a 16 character limit per naming, Attempts to exceed the 16 characters when naming an NPC will result in the plugin telling the user the string is too long. If the data.yml name contains a name over 16 characters issues may arise. In simple, stay under the limit.

Set up NPC:
Navigate to data.yml and change the text area for (message: changeme)
Reload server to see instant changes.

Delete NPC:

Two options:
1. Use in game command /destroynpc npcname

2. Navigate to data.yml and delete the NPC fields for the NPC you wish to delete.
Field example to delete:
'1':
x: -157
y: 64
z: -118
p: 15.899899
yaw: 153.44925
world: world
name: Tom
text: ewogICJ0aW1lc3RhbXAiIDogMTYzODY4OTI2OTI2OSwKICAicHJvZml=
signature: V27ZEnsBjrzYDm+0lctbZJKDOwVsrKQbaleVhzt775D45JPf17lsWw1rDFV8Eq/Aqu5A6x0=
message: changeme

NPC example with command:
[​IMG]

Destroying an NPC:
[​IMG]
Resource Information
Author:
----------
Total Downloads: 220,659
First Release: Jul 5, 2020
Last Update: Mar 26, 2022
Category: ---------------
All-Time Rating:
10 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings