Skip to content
Phoenix Nemo edited this page Jan 5, 2018 · 1 revision

NyaaPlayerCoser

NyaaPlayerCoser (NPC) plugin.

  • Spawn an entity as NPC, with many entity options.
  • Support Player entity with skins as NPC.
  • Players can spawn themselves as NPC as buy/sell signs of HEH.
  • Will not lost thousands of saved NPCs when crash like shopkeeper plugin.

Commands and Permissions

Command Permission Description
/npc spawn [TYPE] [DATA] npc.admin.spawn Spawn an entity as NPC. TYPE can be PLAYER or other entity names, when it's PLAYER, DATA set to player name as skin; when it's other entities, DATA passes as entitydata dataTag format. After spawn, return a short ID for identify.
/npc info [ID] npc.admin.info Show information about an NPC. If ID presents, show NPC info of specific ID. If ID not present and executor is pointing at an NPC, show information about pointed NPC.
/npc remove [ID] npc.admin.remove Remove NPC with ID, or if ID not present, remove the NPC pointed at.
/npc edit [NPC ID] add [1|2|3] npc.admin.edit Add a trade entry for NPC with ID, with item 1 2 3 hold in hand separately. Item 1 and 2 are trade in items, item 3 is result item. Item 1 and 3 are required items to save this entry. Return an ID for this trade entry when saved.
/npc edit [NPC ID] del [trade ID] npc.admin.edit Delete a trade entry with trade ID for NPC with ID.
/npcme spawn npc.player.spawn Spawn a player (an entity with same player skin) NPC. Right click on this NPC will be the same as right click on this player's HEH sell sign.
/npcme remove npc.player.remove Remove player's player NPC
/npcimport npc.admin.import Import Shopkeeper's save.yml and save to database.

Configuration

config.yml

  • language: Set plugin language
  • disabled_entities: An array of globally disabled entities
  • allow_playernpc: Whether to allow player spawn Player NPC of themselves

Clone this wiki locally