Update 'README.md'

This commit is contained in:
Leon Grünewald 2019-09-01 20:36:56 +02:00
parent b6fc9a86d3
commit 4fdcee0e9b

View file

@ -11,7 +11,7 @@ You can find the config inside `plugins/HeartContainersReloaded/config.yml`
```
# Set the default health
start_health: 20.0
# Set the maximum health a player can reach
# Set the absolute maximum health a player can reach
max_health: 30.0
# Configure the type of health that is going to be dropped
@ -27,7 +27,7 @@ health_config:
# is dropped or added to the max health of the player
health_value: 0.5
# When using DIRECT_VAMPIRE or DROP_VAMPIRE (vampire_multiplicator * killed enemy health)
# When using DIRECT_VAMPIRE or DROP_VAMPIRE (vampire_multiplicator * killed enemy maximum health)
# is dropped or added to the player.
vampire_multiplicator: 0.5
@ -42,4 +42,10 @@ health_config:
# vampire_multiplicator: 0.5
```
`health_type` can have following values:
- `DROP_VALUE` - Drop a heart container which gives value specified in `health_value`
- `DROP_VAMPIRE` - Drop a heart container which gives the value of (`vampire_multiplicator` * killed entity max health)
- `DIRECT_VALUE` - Directly adds the value specified in `health_value` to the players max health.
- `DIRECT_VAMPIRE` - Directly adds (`vampire_multiplicator` * killed entity max health) to the players max health.
All the entities can be found in the [Bukkit API Documentation](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html)