Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.

Commit c0457bb

Browse files
Add clickable holograms tutorial
1 parent 4876af8 commit c0457bb

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

Writerside/fp.tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
<toc-element topic="FH-Commands.md"/>
2222
<toc-element topic="FH-API.md">
2323
</toc-element>
24+
<toc-element topic="FH-Tutorials.md">
25+
<toc-element topic="FH-clickable-holograms.md"/>
26+
</toc-element>
2427
</toc-element>
2528
<toc-element topic="Test.md">
2629
<toc-element topic="Test-Markdown.md">

Writerside/topics/FH-Tutorials.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Tutorials
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Clickable holograms
2+
3+
Interactions with holograms is not a feature of FancyHolograms yet, but there is a workaround for this.
4+
5+
1. Create your hologram with the text you want.
6+
2. Install [FancyNpcs](https://fancyplugins.de/FancyNpcs/download/)
7+
3. Create a new npc and set the type to "INTERACTION" (`/npc type (npc name) INTERACTION`)
8+
4. Remove the name tag of the npc (`/npc displayName (npc name) <empty>`)
9+
5. Position the npc to the same location as the hologram (press F3+B to see the hitbox)
10+
6. Modify the size of the hitbox to fit the hologram (`/npc attributes (npc name) (width/height) (size)`)
11+
7. Add an interaction action to the
12+
npc ([message, playerCommand, serverCommand](https://fancyplugins.de/docs/fn-commands.html#message))

0 commit comments

Comments
 (0)