Medieval Survival Setup · Guides
NPCs and Holograms
Adding an NPC that opens a menu, and the text hologram above it.
1 min read · Updated
NPCs are made with Citizens and the text above them with FancyHolograms. The NPCs at spawn open menus, so a new one works the same way.
Add an NPC that opens a menu
Create it
Stand where it should be and run:
/npc create &fGuide
Give it a skin
/npc skin <player name>
Make it open a menu
Make clicking it run a command as the player, for example the jade shop:
/npc command add -p jadeshop
Hide the name and keep it in place
The holograms show the names, so the NPC's own name is hidden:
/npc name
/npc lookclose
Add a hologram above it
/hologram create guide_hologram
/hologram edit guide_hologram setline 1 &fGuide
/hologram edit guide_hologram addline &7Click to open the jade shop
Stand above the NPC and use /hologram edit guide_hologram movehere to put it in place. The spawn holograms use the setup's texture characters (the banners above NPCs), so copy a line from plugins/FancyHolograms/holograms.yml if you want the same look.
