You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
goflishMC edited this page Aug 19, 2023
·
2 revisions
Animations are used to create simple text or color animations in holograms. The animation will endlessly cycle through an ordered list of strings at a fixed time interval.
Note: placeholders do not work inside animations.
Options
Option
Value Type
Description
interval-seconds
number
How long each frame should be visible for, in seconds.
animation-frames
list
The list of strings to display in a cycle.
Example Animation
interval-seconds: 0.5
animation-frames:
- "This is an example."
- "This line will change every 0.5 seconds..."
- "because it's an animation."
Creating a New Animation
Open the folder /plugins/HolographicDisplays/animations/.
Copy and rename the file of an existing animation (recommended) or create a new file and manually add the options.
Change the options of the animation.
Save the file and reload the plugin with /hd reload.
Add the animation with {animation: }. Example: /hd addline hologram {animation: example.yml}.