-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Welcome to the NPC-System wiki!
The plugin automatically creates a folder in the plugin_data directory of your server. In there, you will find a config.yml.
This config.yml contains two lists: "enabled-customs" and "tags"
Enabled-Customs holds the Skin / Geometry Combinations that can be used / are loaded in the Plugin. Every Element of it has a name ( "name" ) and an option called "geometry-name"
Name is the name what the texture / geometry will be loaded and registered as. This is also relevant for the File Names The File Names of the Skin PNG and if set the Geometry must equal the "Name" Parameter + ( file extension ofc ) So if you have a NPC named "chest", the skin file for that would be named "chest_skin.png" and the geometry would be named "chest_geometry.json".
I might add an option to change those formats in the future or simply devide Skin and Geometry Files in two folders.
If you are using a geometry which does not have the default humanoid name, f.e. one made by BlockBench, you need to put the Geometry Model's Name in there to make it load, otherwise errors might occur.
The Tags array hold the tags that load when the plugin boots up. Every Tag has 3 Options:
The name is the internal name of the tag. It specifies the name you will need to use to retrieve that tag later on.
An simple on / off switch to decide whether to load a tag or not
The Tag as it should be shown InGame. You might want to use Color-Codes ( §1, §c.. ) here. If that's the case, please encode the file in UTF-8, otherwise unliked behaviour will occur!
If you have done everything correctly, there should be no errors and everything should boot up just fine