Display Type

Configure the default display type.

In Vitalo, there are two different display types. Look and static. Players can choose between the two with the display type command. You can disable players changing their display type by toggling can-change-display-type in the config.

Here is what a typical config would look like:

config.yml
can-change-display-type: true # if true, players can change the display type with /vitalo display <type>
default-display-type: look # static, look or none. Static means the health is always there and look means the health is only there when you look at the entity. Players are able to change this themselves.
look:
  size: 3 # the amount to multiply the entities hitboxes by
  max-distance: 50 # how many blocks away an entity can be before it shows their health
  max-entities: 10 # the maximum amount of entities that can have their health shown at once (per person)
  • can-change-display-type: Whether or not to allow players to change their display type.

  • default-display-type: The default display type for a player who has not changed theirs.

  • look:

    • size: The amount to increase an entities hitbox by, only used on look display.

    • max-distance: The max distance an entities health will be shown at.

    • max-entities: The max amount of entities that can be shown at once on a player's screen. (-1 for infinity)

Look

Look is a raytrace based system, where Vitalo only shows the health above an entity when it is being looked at by a player. You can configure the max distance and also the size of the entity's hitboxes through the configuration section found in the generated config as shown above.

Static

Static is a more simplified system, where it shows all entities health at all times. Switch between the two with the default-display-type config value.

None

If you wish to by default show no health over an entities head, then choose the "none" option.

Last updated