1 minute estimated read time

Global holograms

Below is an example of how to create a global hologram.
Global holograms should be used when you want to display data / text that will be the same for all of your players on your server.

Use the VitalHologramService bean to create and delete your holograms.

vitalHologramService.createGlobalHologram(
    myLocation,
  () -> new VitalHologram.Line("Line 1"),
  () -> new VitalHologram.Line("Line 2"),
  () -> new VitalHologram.Line("Line 3")
);

To update your global hologram, simply use the update() method.

Found an issue?

Help us improve the documentation by reporting typos, missing information, or anything confusing.

Don't worry, we will auto-fill most of the annoying fields.

Create GitHub issue

This site and the Vital framework were built with ❤️ by Mike Neumann