Skip to content

Holograms

Asintoto edited this page Jun 21, 2024 · 2 revisions

Holograms

Here you will find how to use Basic's holograms system


You can create a hologram as following:

Hologram holo = new Hologram(location, "Hello", "How are you?");
// This will create a hologram with the first line saying "Hello" and the second line saying "How are you?". ("location" is a Bukkit Location)
// You can put how many lines as you want in the class constructor

Holograms come with Getters and Setters so you can customize them as you want, and integrate them in you plugin in all the ways possible

Note: You can access a lot of hologram related method by using Basic.getHologramManager() and all its methods.

Clone this wiki locally