Turrets Tutorial: Holograms

Information Hologram

This hologram will be showed to the player when looking at the turret. You can use the same variables as HERE including %owner%, %level%, %health_bar%, %ammo% and %health_percentage% The health bar variable will display the current health status of the turret. You can change health bar properties in the config.

An additional line will be added to the hologram when it doesn't have ammo or the turret is disabled. This additional line can be modified in the messages.yml file.

hologram:
- "&8[&6Burst Turret&8]"
- "&7Owner: &a%owner%"
- "&7Level: &a%level%"
- "&7Damage: &a%min_damage%&7-&a%max_damage%"
- "&7Health: &e%current_health%&8/&e%max_health%"

Hit Hologram

This hologram will appear when an entity is shoot by the turret. Remember these properties are used just for this turret, meaning every turret can have different holograms.

hit_hologram:
- "&c-%value% &8[&7%owner%&8]"

or

hit_hologram:
- "&a+%value%&4❤  &8[&7%owner%&8]"

Hit Hologram Critical Hit

This hologram is the same as the one before, but will appear when the turret makes a critical hit.

hit_hologram_critical_hit:
- "&e&lCRITICAL!"
- "&c-%value% &8[&7%owner%&8]"

Last updated