Installation
Requirements, the hooks to choose first, and verifying the install.
Requirements
| Requirement | Detail |
|---|---|
| Server | Paper 1.21 or newer (api-version: 1.21) |
| Java | Whatever your Paper build requires |
| Folia | Supported (the plugin declares folia-supported: true) |
| Region plugin | One of the supported claim or skyblock plugins, see Integrations |
| Economy | Vault or PlayerPoints, if you charge for NPCs |
Everything else the plugin needs (the database driver, the YAML parser, the JSON client) is downloaded by Paper's library loader on first start. You do not shade or install anything.
Install
- Drop the jar into
plugins/and start the server once. The plugin writesconfig.yml,items.ymland alanguages/folder, then disables nothing: it is usable straight away. - Set
hooks.region-hookto the plugin that owns your islands or claims. This is the single most important option: without it the plugin does not know where a player's NPC belongs. - Set
hooks.money-hooktoVaultorPlayerPointsifsettings.priceis above zero. - Set
hooks.interaction-hookto the NPC plugin you want to draw the character, or leave it empty to use the built-in packet NPC. - Reload with
/uxmhelpernpc reload.
License key
license-key in config.yml is read at startup. Fill it in before you take the server public.
Choosing how the NPC appears
interaction-hook decides what the player actually sees:
| Value | What draws the NPC |
|---|---|
| (empty) | The built-in packet NPC. Nothing else to install |
Citizens | A Citizens NPC |
FancyNpcs | A FancyNpcs NPC |
ZNPCsPlus | A ZNPCsPlus NPC |
ModelSystem | A model from ModelEngine, BetterModel or ItemsAdder, chosen in model-settings |
The hologram above the NPC is always the plugin's own; hologram.enabled turns it off.
Was this page helpful?