A Simple NPC Plugin For PocketMine 5 !
💥 /hnpc : humannpc.command
💥 /rca : humannpc.rca
💡 Use /hnpc help : Show All Commands HNPC
The plugin only supports getting skins from players not supporting skin mobs
💥 Spawn NPC: /hnpc spawn (name)
💥 Get NPC ID: /hnpc id (Toggle mode, hit an NPC to get its ID)
💥 Delete NPC: /hnpc delete (Toggle mode, hit an NPC to remove it)
💥 List all NPCs: /hnpc npcs
💥 Teleport to NPC: /hnpc tp (id)
💥 Change Name: /hnpc edit (id) rename (name)
💥 Set Item in Hand: /hnpc edit (id) settool (Must hold the item in your hand)
I don't know why, but in the newer versions of Minecraft, when I use a skin on the server, it turns into the default skin. So I wanted to add this feature to help users quickly change the NPC appearance externally using a link.
💥 Update Skin via URL: /hnpc edit (id) setskin (url) (Must be a direct .png link)
Notice: Use {player} for the clicker's name
💥 Player Command (Using RCA): /hnpc edit (id) addcmd rca {player} (command)
Example:
/hnpc edit 1 addcmd rca {player} shop
💥 Console Command (System): /hnpc edit (id) addcmd (command)
Example:
/hnpc edit 1 addcmd give {player} diamond_sword 1
💥 View Assigned Commands: /hnpc edit (id) listcmd
💥 Remove a Command: /hnpc edit (id) removecmd (command)