-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4876af8
commit c0457bb
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Tutorials |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Clickable holograms | ||
|
||
Interactions with holograms is not a feature of FancyHolograms yet, but there is a workaround for this. | ||
|
||
1. Create your hologram with the text you want. | ||
2. Install [FancyNpcs](https://fancyplugins.de/FancyNpcs/download/) | ||
3. Create a new npc and set the type to "INTERACTION" (`/npc type (npc name) INTERACTION`) | ||
4. Remove the name tag of the npc (`/npc displayName (npc name) <empty>`) | ||
5. Position the npc to the same location as the hologram (press F3+B to see the hitbox) | ||
6. Modify the size of the hitbox to fit the hologram (`/npc attributes (npc name) (width/height) (size)`) | ||
7. Add an interaction action to the | ||
npc ([message, playerCommand, serverCommand](https://fancyplugins.de/docs/fn-commands.html#message)) |