NPCs Fabric 1.2.0
Curse Maven Snippet
What's new
Added
Import from FancyNpcs and Citizens:
/npc import <fancynpcs|citizens> [file] [--dry-run] [--rename], with permissionnpc.command.admin.- It reads
plugins/FancyNpcs/npcs.ymlorplugins/Citizens/saves.yml, or a file you copy intoconfig/npcsfabric/import/. - From FancyNpcs it takes skins, equipment, glowing, attributes and every action list.
- From Citizens it takes skins, equipment, look close and glowing; the Commands trait becomes actions, and the hologram lines become a linked hologram.
--dry-runonly shows what would happen. Existing NPCs are never overwritten: a taken name is skipped, or imported asguide_2with--rename.- At the end you get a summary of what was imported and skipped, and of anything that couldn't be taken over.
- It reads
send_to_serveraction:/npc action <npc> <trigger> add send_to_server <server>sends the player to another server of a Velocity or BungeeCord network. The proxy must allow the BungeeCord plugin channel (Velocity:bungee-plugin-message-channel = true).Skins from files:
/npc skin <npc> file:<name> [--slim]usesconfig/npcsfabric/skins/<name>.png(64x64 or 64x32), uploaded once through MineSkin (needsmineskinApiKey).More options for
/npc list,nearbyandcreate:/npc list [--type <type>] [--sort name|type|distance|created]/npc nearby [--radius <blocks>] [--type <type>] [--sort ...]/npc create <name> [--type <type>] [--position <x y z>] [--world <world>], which also works from the console.
The old forms still work.
Permissions per action type: adding or setting an action now also needs
npc.command.action.<type>, ornpc.command.action.*for all of them.- Without a permissions mod nothing changes.
- With LuckPerms, everyone with
npc.commandcan add the harmless types. console_command,player_command_as_opandsend_to_serverneed their node set explicitly, even for ops. On a LuckPerms server, give your adminsnpc.command.action.*after updating.
This mod has no additional files

