NPCs
A detailed guide concerning SkyFaction's NPC integrations.
SkyFactions hooks into multiple NPC Plugins to allow for per-island NPCs. This plugin hooks into:
- ZNPCsPlus
- FancyNPCs
We will not be supporting Citizens for the forseeable future, due to its limitations.
Furthermore, Citizens has a reputation for being laggy, whereas ZNPCsPlus and FancyNPCs are packet based, causing far less lag.
Tip
Don't see the NPC plugin you have? Join our Discord and ask for an integration!
Configuring NPC Integrations
This is the default NPCs section in the config.yml
file.
The comments explain the functionality of each config.
Want more configuration? Ask in our Discord.
Actions
The actions configuration allows you to configure what the plugin will do when the NPCs are interacted with. See the below table for the possible actions.
Info
All the actions support PlaceholderAPI parsing, color parsing.
You can additionally use the placholder %player_name%
to fetch the name of the player who interacted with the NPC.
Action | Description |
---|---|
[console] %command% | Run a command as the console. Do not include a / at the start! |
[player] <command> | Run a command as the played who interacted with the NPC. |
[message] <message> | Send a message to the player who interacted with the NPC. |
[givepermission] <permission.node> | Give the player a permission node. Requires Vault to function. |
[removepermission] <permission.node>] | Remove a permission from player. Requires Vault to function. |