Skip to content

VPVersus.yml

Soreth edited this page Aug 30, 2020 · 2 revisions

Here you can create death message for VanillaPlus, edit Damage amount and re-spawn type.

This is inside VPVersus.yml

DAMAGE_MODIFIER

Here you can configure damage modifier.

Node is damage type and value is percent of initial value. Note, if you set to 0, you still take damage but without losing life, if you set to -1 it will cancel the damage. You can use ALL as damage to apply to all kind of damages.

Example
DAMAGE_MODIFIER:
 FALL: 10000 # Now you can't fall.
 FALLING_BLOCK: -1 # Now you head is stronger than anvil

DEATH_BUILDER

Here are the additionals fields for the death message builder. They depend on the type you set here.

BASE

The base type is the first version of the death message builder, you can add the following fields here.


IPVP_DEFAULT_MESSAGE this is the default message for ipvp death.

PVE_DEFAULT_MESSAGE this is the default message for pve death.

PVP_DEFAULT_MESSAGE this is the default message for pvp death.

OFFLINE_DEATH_MESSAGE this is the message for offline death. Note, can't die offline without plugin.


The followings fields can be configured here.

Nb : the messages nodes can be followed by '_MESSAGE' ( eg : ENTITY_ATTACK_MESSAGE ) but here it's optionnal ( ENTITY_ATTACK is also valid ).

PVP

Here you can configure message from pvp death.

Each node is damage cause, basically, only ENTITY_ATTACK, THORNS, WITHER, FIRE_TICK, MAGIC and PROJECTILE are used in vanilla. Value are message path. sender as [tag] for killer placeholder and receiver as [tag] for killed placeholder.

IPVP

Here you can configure message from ipvp death.

Each node is damage cause or entity type. Since WITHER is damage cause and entity type, we use WITHER_BOSS for wither boss. sender as [tag] for killer placeholder and receiver as [tag] for killed placeholder.

PVE

Here you can configure message from pve death.

Each node is damage cause or entity type followed by '_MESSAGE' ( eg : ENTITY_ATTACK_MESSAGE ). Since WITHER is damage cause and entity type, we use WITHER_BOSS for wither boss. receiver as [tag] for killed placeholder.

CUSTOM_PVP

Here you can configure message from custom pvp death. Basically this is not used without specific plugin.

Each node is custom type with path of message as value. sender as [tag] for killer placeholder and receiver as [tag] for killed placeholder.

CUSTOM_IPVP

Here you can configure message from custom ipvp death.

Each node is custom type with path of message as value. sender as [tag] for killer placeholder and receiver as [tag] for killed placeholder.

CUSTOM_PVE

Here you can configure message from custom pve death.

Each node is custom type with path of message as value. receiver as [tag] for killed placeholder.