Graves icon

Graves -----

The definitive death chest plugin.




I can't remember everything done in this update, there was too many little changes, as I worked on it sporadically.

Among many bug fixes, some of the things i remember are, an obituary book recapping the death, safer teleportation detection, added support for MultiPaper, fallback keep inventory for Graves that can't find a location, fixed Oraxen Graves breaking to explosives or when created on a fence/wall, fixed a desync bug that should improve the performance, added a new timeout message in the config, added PlayerNPC support for a corpses, added intial code for importing data from other death chest plugins, added intial code for a graveyard system.
----------, Aug 15, 2022

Fixed miscellaneous bugs, config options have been moved into separate files in a sub config directory, database moved into a sub data directory, Graves will auto regenerate a config file for outdated versions. Fixed graves.teleport permission, fixed compass teleportation, added /graves dump command, added /graves debug {level} command.
----------, May 10, 2022

This update is mainly bug fixes, such as fixed Oraxen support, fixed FurnitureEngine support, fixed exact storage mode losing items if grave could not be created, fixed graves not spawning in scaffolding or powered snow, fixed graves not spawning over the void within the build limit, fixed graves spawning in other worlds if a player died over the void without touching a block in that world, fixed normal armor stands spawning when a hologram is meant to spawn. Added an the ablity to make grave tokens glow, added custom model data support to grave tokens, added the ability to use variables in the ignore section.
----------, Feb 28, 2022

This update fixes a few bugs relating to Graves not spawning in water, Oraxen causing errors and the FurnitureEngine integration being out of date.
----------, Dec 12, 2021

This version fixes a large amount of small miscalculations bugs. Support for other plugins has also been improved, FurnitureEngine support has also been added.
----------, Nov 5, 2021

Fixed a good few bugs relating to many different things, added Oraxen, ChestSort and ItemBridge support, Graves also comes with a model which will be automatically added into ItemsAdder or Oraxen if they are detected.
----------, Oct 18, 2021

Fixed a few miscellaneous bugs, Added FurnitureLib and ItemsAdder support, you can now use furniture from either of these plugins as Graves, this can create some quite unique and fancy looking Graves. Added a new storage mode option, by default it is set to compact. Compact mode will stack everything in the players inventory and fit it into the smallest inventory size, exact mode will create an inventory the same size as the players, and put items into the grave in the same position they were in the inventory. This means when you auto-loot a grave in exact mode, all items will be restored to their original positions.
----------, Oct 12, 2021

Fixed an error that prevents holograms from working on some server builds, fixed a few miscellaneous bugs. Added a level to the debug option and added more debug code for all reasons a grave can fail creation, this should help admins debug why a grave is not being created on their server. Most likely it's cancelled by a third party plugin, they should be able to figure out which one now.
----------, Oct 8, 2021

Fixed bug that Graves only had vanilla dropped experience even when configured to drop a custom rate, fixed protection and experience not working when set under a permission group, fixed WorldGuard graves-create flag not ignoring can-build setting, fixed Graves overriding tile entities such as chests, spawners, signs, furnaces, fixed third party plugins allowing you to modify armor stands. Improved code for finding a spawn location for graves. Added a distance you can use the virtual grave function. Changed some default settings so it's more understandable.
----------, Oct 4, 2021

This is the first build of the rewrite, it should be a lot more stable than older versions, this version has lots more features such as WorldEdit schematic support, WorldGuard region support, tracking compass, improved GUI menus, smart void and lava detection, 1.7.10 - 1.17 support, 1.17 world height support, This version also stores data in SQLite instead of a YAML file, the config has been completely rewritten to provide support for different options per entity and permission groups. The amount of changes and new features to list are too vast to list.
----------, Oct 1, 2021

This build is the last build before the 4.0 rewrite, The rewrite is pretty much complete now and I should be publishing it soon after this build, I am publishing this build in-case for some reason people want to use the legacy version, this build only fixes the Asynchronous Chunk getEntities call, this version of the plugin is no longer supported and I recommended using 4.0 once available.
----------, Oct 1, 2021

Fixed walkOver not working, fixed grave tokens sometimes not being found in players inventories, fixed elytras not being equipped on auto loot. Fixed console spam relating to hologram cleanup.
----------, Aug 28, 2020


This update fixes a few things such as the ignore feature not working, half doors spawning if a player dies in one, commented out config options not being indented correctly. placeVoid not working as expected, players without the autoloot permission being able to loot graves when walking over them. Spectators being able to loot graves, Netherite armor not being auto equiped and hopefully a fix for the error relating to auto grave cleanup.

Thanks MrEngMan for the pull requests to fix graves dropping heads from certain explosions and players in spectator mode being able to loot graves by walking over them.

I also added a protectUnlink feature which should soft unlink graves from players after the protection timer runs out.
----------, Aug 27, 2020

YOU NEED TO RESET YOUR CONFIG

Let me start off by saying sorry for the lack of updates, I have been quite busy with other things. This version was written over many months and I have forgotten many of the bug fixes but there is a lot of them. Some of the fixes I can remember are graves overriding nether portals, and graves spawning on the roof of the nether. Many other bugs have been fixed I just lost track.

This version has had a massive refactor and the config file has basically been rewritten. Most options have been renamed to be more consistent. Things have been moved into their own sections for faster and easier editing. This does mean you will have to reset your config for this update but you should be able to configure it again much faster.

I want to get this plugin to a state were it is feature complete with no bugs, and all I need to do is update it to newer versions. Hopefully we get there soon.

I also added a simple API, you can modify nearly everything about how graves are created using the GraveCreateEvent.
----------, Jul 30, 2020

Fixed a bug that allowed players to destroy graves using water buckets.

Fixed a null error which stopped graves from spawning.
----------, Mar 27, 2020

This update should fix the null error relating to Waterlogged blocks.
----------, Mar 26, 2020

First off, I would like to apologize for the lack of updates and replies. I have been quite busy and I do this completely for free as a hobby, if you want to support me you are welcome to donate, although this is not required at all! Now onto the update log.

I have fixed many bugs in this update which I didn't log. There are some key changes I did however.

Fixed teleporting to graves.

Fixed grave protection.

Fixed random console errors.

Fixed graves that are placed in flowing water blocks being replaced with source water blocks on loot.

Fixed infinite zombies spawning when autolooting a grave with a full inventory.

Fixed graves spawning in WorldGuard regions were players can't build when graveOnlyCanBuild is set to true.

Hopefully fixed graves spawning on nether roof.

There has been other bug fixes, if you have previously had problems this build may fix it even if it's not listed here. If it still persists make sure to remind me and provide information.

Added permission to set how many death chests players should have, this can be used with graves.amount.{amount}.

Added options to enable/disable graves spawning on death due to PvP, PvE and Environmental casues.
Code (YAML):
 graveCreatePvP : true
  graveCreatePvE
: true
  graveCreateEnvironmental
: true
You can add these new settings to the config or reset it if you are having problems.
----------, Mar 24, 2020

Added the ability to use textures for graveHeadSkin. By default the plugin will use a grave texture now, not a chest. The plugin is called Graves after all. I changed the colors of the plugin from gold to gray to match the new grave. If you want this new look it would be best to reset your config. Or you can keep using the old one fine!

Fixed players being able to shift click an item into the Graves GUI and losing it.

Fixed zombies spawning even when set to false.
----------, Feb 17, 2020

This update fixes a lot of small and big bugs, I don't really have an update log as I did not keep track. But if you had problems with older builds this may fix it.

A few bugs that have been fixed are related to grave tokens, errors in console and items not dropping in disabled worlds. I should have probably written down the bug fixes for this version!

I added an option to disable the plugin searching for broken holograms. Some people have reported armor stands being deleted but I can not reproduce this in the latest version. So you can just disable it with graveAutoCleanup if it is causing problems.
----------, Feb 16, 2020

This update fixes a lot of small and big bugs, I don't really have an update log as I did not keep track. But if you had problems with older builds this may fix it.

A few bugs that have been fixed are related to grave tokens, errors in console and items not dropping in disabled worlds. I should have probably written down the bug fixes for this version!

I added an option to disable the plugin searching for broken holograms. Some people have reported armor stands being deleted but I can not reproduce this in the latest version. So you can just disable it with graveAutoCleanup if it is causing problems.
----------, Feb 16, 2020

This update mainly fixes bugs and improves performance by only updating graves in chunks if they are loaded, it will also do this asynchronicity.

Fixed bug with grave token not working.

Fixed numerous other small bugs.

Added graves.protection permission, this permission is given by default, if you only want certain players to create protected graves then you would want to negate it for the default group and add it back to players/groups.

Added graves.teleport.{amount} permission, this allows you to configure the price for grave teleporting per group or player, it will always choose the highest amount, so if inheriting you would want to negate the permission also.
----------, Feb 9, 2020

Added teleport safety checking, you can disable this with graveTeleportUnsafe. If graveTeleportTop is set and a grave can't find a location to place it will teleport the player to the highest point.

Fixed grave tokens removing items.

Fixed an error with graves that spawn above the height limit.

Added the option to put graves that spawn in lava at the top, this option is placeLavaTop, you will need to remove LAVA from the graveReplace list for this to work.

Code (YAML):
 placeLavaTop : true
  graveTeleportUnsafe
: false
  graveTeleportTop
: true
  graveTeleportTopMessage
: "&8[&6Graves&8] &fGrave was in an unsafe location, you have been teleported nearby."
  graveTeleportFailedMessage
: "&8[&6Graves&8] &fTeleport failed! Teleport location is unsafe!"
You can now use the $money placeholder in the graveTeleportMessage message.
----------, Feb 5, 2020

Added new options to spawn zombies when a player loots a grave. This is quite customizable. You can change the name and the health of the zombie, you can even put the grave owners head on the zombie! You can change the zombie type to any mob.

This update also fixes a few small bugs.

Main config changes this update are:
Code (YAML):
 graveZombieOwner : false
  graveZombieOther
: true
  graveZombieOnlyBreak
: false
  graveZombieExplode
: false
  graveZombieType
: ZOMBIE
  graveZombieOwnerHead
: true
  graveZombieHealth
: 20
  graveZombiePickup
: false
  graveZombieDrops
: false
  graveZombieName
: "$owner's Zombie"
You can reset your config or add these options yourself.
----------, Feb 3, 2020

Rewrote experience handling, you can now configure how much of the players experience you want to store with percentages. You can also show the level and not the exp points. You can use $level or $xp for either one.

Add the the option to only allow players to create graves in places they can build. This will stop graves being created in regions, towns, factions that they can't normally build in. This option is disabled by default.

Fixed bugs relating to waterlogged blocks. If the graveBlock can be waterlogged and it's created in water it will be waterlogged, if it's created outside it won' be waterlogged.

The main config changes this update are:
Code (YAML):
 expStorePercent : 0.8
  expLevelRound
: true

  graveOnlyCanBuild
: false
  buildDeniedMessage
: "&8[&6Graves&8] &fA grave was not created because you can't build there!"
It is recommend to reset your config or copy these new options into your config to get the new features.
----------, Jan 31, 2020

Rewrote experience handling, you can now configure how much of the players experience you want to store with percentages. You can also show the level and not the exp points. You can use $level or $xp for either one.

Add the the option to only allow players to create graves in places they can build. This will stop graves being created in regions, towns, factions that they can't normally build in. This option is disabled by default.

Fixed bugs relating to waterlogged blocks. If the graveBlock can be waterlogged and it's created in water it will be waterlogged, if it's created outside it won' be waterlogged.

The main config changes this update are:
Code (YAML):
 expStorePercent : 0.8
  expLevelRound
: true

  graveOnlyCanBuild
: false
  buildDeniedMessage
: "&8[&6Graves&8] &fA grave was not created because you can't build there!"
It is recommend to reset your config or copy these new options into your config to get the new features.
----------, Jan 31, 2020

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.
----------, Jan 30, 2020

Added grave tokens, this allows players to craft grave tokens that are redeemed on death. If the player does not have a token with graveToken enabled items will drop normally. You can spawn in tokens with /graves givetoken {player} {amount}. You can change the crafting recipe for this item, you can also change the name and lore. It is fully customizable!

Added an option to configure how many graves a player can have using
graveMax. by default this is 18.

Fixed a exploit allowing players to get lots of experience. Graves only save the experience that would have dropped normally now.

Graves will now spawn if a player falls into the void in the end. You can disable this with placeVoid.

Broken holograms should now be automatically cleaned up.

The main config changes this update were:
Code (YAML):
 graveToken : false # Do players need to have grave tokens in their inventory when they die to create a grave.
  graveTokenItem
: SUNFLOWER # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
  graveTokenName
: "&6Grave Token" # Grave token name.
  graveTokenLore
: # Grave token lore.
    - "&7Keep this in your inventory and"
    - "&7when you die a grave will be"
    - "&7created!"
  graveTokenRecipeEnabled
: true # Can players craft grave tokens.
  graveTokenNoTokenMessage
: "&8[&6Graves&8] &fA grave was not created because you didn't have a &6$name&f!"
  graveTokenRecipe
: # Grave token recipe, use AIR for an empty square.
    - "GOLD_INGOT GOLD_INGOT GOLD_INGOT"
    - "GOLD_INGOT EMERALD GOLD_INGOT"
    - "GOLD_INGOT GOLD_INGOT GOLD_INGOT"

  graveMax
: 18 # The max amount of graves a player can have.
  graveMaxMessage
: "&8[&6Graves&8] &fA grave was not created, you have too many graves!"

  placeVoid
: true # If the player died in the void, should it place a grave in the air.
 
You can add these to the config yourself or you can reset the config to get all the latest features.
----------, Jan 27, 2020

This update fixes a few bugs, it fixes bugs that would dupe items that have things like soulbound from other plugins.

Added economy support so you can make teleporting to grave cost money. This requires vault but if you don't plan to use this feature you don't need it.

Graves do not spawn in worlds with keep inventory. You can override this in the config with ignoreKeepInventory.

Added back the ability to get experience from breaking a grave.

Fixed holograms glitching out from creeper explosions.

There has been many other bug fixes and additions not recorded here.

The main config changes where:
Code (YAML):
 worlds :
   - world
    - world_nether
    - world_the_end
    - ALL

  graveTeleportCost
: 5

  notEnoughMoneyMessage
: "&8[&6Graves&8] &fYou don't have enough money! You need $6$money&f!"

  ignoreKeepInventory
: false
You can apply these settings to the config yourself or you can reset the config to get all the newest features.
----------, Jan 26, 2020

This version adds a lot more to the grave protection. You can now configure protection to last a certain amount of time after the player dies. You can also allow the player to change the protection on their graves in the grave GUI. You can add $protect to a hologram to show if the grave is protected or not.

It is recommend to reset your config for this update to access all of the new features. The main config options that were added or changed this update are
Code (YAML):
 graveProtected : false # Enable the grave protection feature.
  graveProtectedMessage
: "&8[&6Graves&8] &fThis grave is protected!"
  graveProtectedSound
: BLOCK_CHEST_LOCKED # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
  graveProtectedKillerOpen
: true # Can the killer open the killed players grave, this will bypass graveProtected.
  graveProtectedProtectedMessage
: "&c&lProtected"
  graveProtectedUnprotectedMessage
: "&a&lUnprotected"
  graveProtectedChange
: true # Can the player change if their grave is protected by right clicking it in the graves GUI.
  graveProtectedChangeSound
: ENTITY_DONKEY_CHEST # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
  graveProtectedTime
: 300 # Seconds, 300 = 5 minutes. Set to 0 to always stay protected.
I also changed how the plugin handles holograms slightly so you should no longer get errors on graves with old holograms.
----------, Jan 24, 2020

Fixed players not being able to open their own graves after relogging with protection settings. This also fixes graves not showing up in the GUI after relogging.

Fixed players not being able to open mob graves with protection enabled.

Fixed support for other plugins that modify drops.
----------, Jan 23, 2020

Fixed graves not de-spawning after being looted due to an experience problem.

Fixed a problem with the placeGround option which made it so graves would be placed at the bottom of the map.

Added a permission to allow admins to negate experience being stored for players or groups.
----------, Jan 21, 2020

This is a very large update, it is highly recommended you reset the config for this update. This update rewrites the way experience is stored. Solving experience duplicating. It will also show the levels in the messages instead of the experience amount. It looks much cleaner.

Added a GUI for players to see their graves. Admins can also view other players graves's and teleport to them anyway even if graveTeleport is false.

You can define what blocks you don't want graves to spawn in. Such as lava, this will not find a place to place the grave, it will drop items normally. This is if you think graves being created by players dieing in lava is cheating.

Added an option to place graves on the ground when a player dies in the air. This will stop floating graves.

There is many more things that I did not document here. It is best to reset the config completely as there have been many changes.
----------, Jan 20, 2020

Fixed a few more console errors this update. Also added a delay to loading saved chests on server startup. This should fix chests not loading correctly in worlds managed by plugins like Multiverse.

Added the ability to change the time graves stay alive for players with a permission.
If you wanted a player to have a 5 minute grave you would give them the permission.
Code (Text):
graves.time.300
----------, Jan 18, 2020

This update should hopefully fix a ConcurrentModificationException error that would sometimes console.
----------, Jan 17, 2020

Fixed a few bugs this update, among them a few null errors that would spam console.

Added autoloot support, shift-right click a grave and it will apply the armor and put all the items into your inventory.

Added the ability to open graves by clicking on their hologram. This makes opening them from above more reliable.

To enable opening a grave from a hologram you need to add
Code (YAML):
 hologramOpen : true
under settings beside the other hologram options. You can also reset your config file to get this option.
----------, Jan 16, 2020

Fixed experience being doubled by plugins like Essentials.
----------, Jan 14, 2020

Fixed NullPointerException.

Fixed graves for entities other than players.

Added a cleanup command. This will remove all hologram entities in loaded chunks that the plugin created. This is useful if there was an error that broke it. Or you want to uninstall the plugin.
----------, Jan 14, 2020

Fixed NullPointerException.

Fixed graves for entities other than players.

Added a cleanup command. This will remove all hologram entities in loaded chunks that the plugin created. This is useful if there was an error that broke it. Or you want to uninstall the plugin.
----------, Jan 14, 2020

This is a pretty big update, it implements a hologram system that show up above graves.

Mode it so if graveBlock is set to PLAYER_HEAD, it will place the head in the direction the player was facing.

Fixed a few bugs such as on restart the timer being reset.

Fixed incorrect items dropping when breaking a grave.

You will want to reset the config for this update to use the hologram feature. You can also add it yourself.
Code (YAML):
 hologram : true
  hologramLines
:
   - "&6$entity's &fGrave"
    - "&6$itemCount &fItems &f/ &6$xp&fxp"
    - "&6$time &fleft"
----------, Jan 14, 2020

Fixed graves not being fully removed when their timer expires.
----------, Jan 13, 2020

Fixed players being able to loot experience multiple times.

Fixed giving incorrect experience.

Fixed players being able to interact with destroyed graves.
----------, Jan 12, 2020

Fix NoSuchElementException error in console.

Fix graves breaking in cases where a PLAYER_HEAD was placed underwater.
----------, Jan 12, 2020

Resource Information
Author:
----------
Total Downloads: 917,346
First Release: Jan 11, 2020
Last Update: Aug 15, 2022
Category: ---------------
All-Time Rating:
126 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings