Sueta
HE

HealthScaleAPI

1.0

You can show the HealthScale from your Players.

·Plugin

With help from this API you can show the HealthScale from your Players.

1.png

2.png

3.png

API Use:

- Import this API in your Plugin. (Like Spigot or BungeeCord API)

- Then you Need to write HealthScaleAPI.getHealthScaleFromPlayer(PLAYER);

API Example:

@EventHandler
public void onDeath(PlayerDeathEvent e) {
Player killer = e.getEntity().getKiller();
Player Player = e.getEntity();

Player.sendMessage("Life from " + killer.getName() + " = [" + HealthScaleAPI.getHealthScaleFromPlayer(killer) + "]");

}

Similar projects

Plugin →