Particle System, Item Ignoring. Event Commands
This update adds a particle system that can be used with graveBlock and holograms, this can be used standalone or with them at the same time.
Added the ability to ignore items from being effected by the graves plugin, you can blacklist material types, items with certain names and items with certain lore. Item's blacklisted here will be ignored by the plugin completely and drop normally.
Added the ability to run commands when graves are opened, looted, created, broken and blown up. You can use a few placeholders here. Such as the person who triggered it and the owner of the grave.
Config changes this update:
Code (YAML):
graveCommandsOnlyPlayers
: true
# Should grave commands only execute on player graves. If false entity graves will execute commands.
# Run commands on grave actions, you can use the following placeholders.
# $entity, $owner, $x, $y, $z, $time.
graveLootCommands
:
#- "say $entity looted $owner's grave"
graveCreateCommands
:
#- "say $entity died at $xx $yy $zz, grave lasts for $time!"
graveOpenCommands
:
#- "say $entity is looting $owner's grave!"
graveBreakCommands
:
#- "say $entity broke $owner's grave!"
graveExplodeCommands
:
#- "say $entity exploded $owner's grave!"
graveItemIgnore
:
# Items that graves will ignore, these items will be handled normally.
#- BEDROCK # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
graveItemIgnoreName
:
# If an item has this exact name it will be handled normally.
#- "&4Admin Sword"
graveItemIgnoreLore
:
# If an item has this exact line of lore it will be handled normally.
#- "Soulbound"
graveItemIgnoreNameContains
:
# If an item contains this string in the name it will be handled normally.
#- "Super Pickaxe"
graveItemIgnoreLoreContains
:
# If an item contains this string in the lore it will be handled normally.
#- "Ignore Lore"
# Grave particle system.
graveParticle
: false
# Disabled by default.
#graveParticle: REDSTONE # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
graveParticleColor
: ORANGE
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Color.html
graveParticleCount
: 4
# Amount of particles.
graveParticleSize
: 4
# Size of particles.
graveParticleHeight
: 0
# Height of the particles.
It's best recommened to reset your config for all the new features in this update, you can also copy the new options into your config.