Gravestone
Constructs an inscribed gravestone, with a buried inventory chest, wherever a player dies.
Features
- Generates a gravestone at the location of a player's death.
- The gravestone will generate an inscription displaying the player's name, date of death and game session time.
- A "Treasure Chest" will generate beneath the grave containing the deceased player's inventory and armor items.
- Gravestone elements will only replace "natural" blocks such as dirt, sand, grass, gravel, netherrack, etc. This may be turned off in config.yml.
- Acts as a useful indicator, especially in SMP games, where players may gain better knowledge of exploration attempts and history within the game.
- Configurable options, Permissions and WorldGuard support.
Change Log | Configs | Permissions | Media
Configs
Use config.yml to apply custom settings to available Gravestone options.
Option | Default | Description |
---|---|---|
enable-white-list | false | Use this to activate the white-list.txt. Once active, only usernames listed here will be granted gravestones upon death. |
only-build-grave-on-natural-material | true | Grave sections will only render-replace "natural" materials such as dirt, sand, grass, gravel, netherrack, etc. Set to false to allow grave blocks to replace any material. |
enable-fancy-grave | true | Enables a "fancy grave" which adds dirt and roses around gravestone. Setting this to false will generate a "basic" grave consisting of only a gravestone with sign. |
create-buried-inventory-chest | true | Enables the creation of the buried inventory "treasure chest". Set this to false if you don't want this feature. |
display-date-time-of-death | true | Displays the date and time of a player's death. |
fancy-grave-material | dirt | Material used around a fancy grave. |
allow-unlimited-graves-per-player | true | Default is true to allow for unlimited graves per player. When set to false, a player's prior grave will disappear and the area's original contents will be restored. If the player's grave block has been altered after construction then the prior grave blocks will not be reset. This avoids the potential for griefing. |
grave-stone-material | smooth stairs | Used to set material used for gravestone. |
enable-grave-lightning-effect | true | Lightning effect upon grave when player dies. Set to false to turn off. |
enable-fancy-grave-side-decor | true | Turns on the side decor for a fancy grave. |
fancy-grave-side-decor | red rose | Sets the decor used for the side decor of a fancy grave. |
only-build-grave-if-player-has-inventory | true | Only build grave if player has an inventory. Set to false to turn off. |
allow-grave-in-normal-world | true | Enables grave creation in the overworld. |
allow-grave-in-nether | true | Enables grave creation in the Nether. |
allow-grave-in-end | true | Enables grave creation in the End. |
white-list.txt
Use white-list.txt to limit grave creation to certain players. Note: Set enable-white-list: true in config.yml to enable the white list.
black-list.txt
Use black-list.txt to deny grave creation for certain players.
Permissions
permissions: gravestone.*: description: Permissions for Gravestone. children: gravestone.grave: true gravestone.gravestone: true gravestone.gravestone.info: true gravestone.grave: default: true description: Player permission for construction of a grave. gravestone.gravestone: default: true description: The default gravestone command. gravestone.gravestone.info: default: true description: Provides info about the Gravestone plugin.
"Fancy" Grave
"Fancy" Grave with Buried Treasure Chest
"Basic" Grave
Change Log | Configs | Permissions | Media
Also check out my Prayer Plugin
and Minecraft Pocket Reference!
Add a configuration option to turn off the age text. Also add two configuration options for date and time, not just one. Also, make it despawn after a certain amount of time, like 10 minutes. Make that a config too.
1.0.8 is up now...
Will be submitting 1.0.9 soon. Thanks.
@NanotronPrime
While adding some new cool features to 1.0.9 I noticed a case where parts of a grave may still build with WorldGuard. I'll fix this for 1.0.9. Also adding the ability to limit one-grave-per-user.
So, to the point related to WorldGuard support. I just tested it using the approach listed at the following site and a grave did not spawn for the user not granted permissions for that given WorldGuard region.
http://wiki.sk89q.com/wiki/WorldGuard/Regions/Tutorial
If anyone has any further detail, beyond just saying that it isn't working, then I'd appreciate it. Otherwise, it seems to be working as intended per my test. Thanks.
By the way, I tested it against WorldGuard 5.9.
@tofof
Good call fellows. I will add support for "podzol" to 1.0.8.
Thanks for the feedback regarding WorldGuard. It did work once upon a time. Something likely changed but I'll definitely take a look.
Here is the specific code which handles the Worldguard condition:
if(getWorldGuard(plugin) != null && !getWorldGuard(plugin).canBuild(player, block)) { return false; }
Either way, like I said, I'll check it out. Thanks guys.
this doesn't respect towny either, the graves can be used to grief protected areas.
how does the worldguard support work as when i die in at spawn which i have protected the grave is still created
Perfect mod however I cannot use it simply because it can create blocks inside a GriefPrevention claim and also inside Worldguard regions. If it was simply something for in the wild then it would be perfect!
Cool plugin, please can you make the signs have some colored text on them, just a little bit so the players can have proof that it is a real grave and not fake, possibly having something like @ in red(&4@)(looks like a rose with minecraft font). Thanks :)
Now does this spam my server with graves or can you have them removed once a player grabs the loof from a treasure chest or clicks on the grave?
@NanotronPrime @quadshield
I'm with Quadshield - podzol would be an excellent choice for the 'fresh earth' look since it doesn't get covered by grass and would stand out in every biome but megataiga. Unlike soulsand it's not 'special' in use, and besides it turns into dirt unless you harvest with silk touch. Unlike mycelium, flowers can grow on it and it doesn't spread on its own. Unlike farmland it doesn't revert over time (or when touched).
I expect this is because the material isn't explicitly in the bukkit material definitions and we can't provide the data value (please patch this!) to modify dirt (0) to grassless dirt (1) or podzol (2). :(
That it uses the bukkit definitinos, by the way, is why 'soil' works but 'farmland' doesn't.
It would be lovely if it was possible to have it not create gravestones in worldguard regions where the player do not have build permission, since they cannot dig up the chest anyway. It also causes a mess in my mob-arena.
It is possible to add a config to disable a custom world like a game world. I dont want gravestone to spawn when a player die in my Fun Game world i just want on my survival map. Thx
is there an option to have the grave chest locked for a defined time?
Love Plugin 10 out of 10
i allso did a Plugin review on it aswell
https://www.youtube.com/watch?v=3jk40zzOL70 https://www.youtube.com/watch?v=3jk40zzOL70 https://www.youtube.com/watch?v=3jk40zzOL70
i have an issue. i have a pvp arena on my server and when a player dies its makes a grave. they can get there stuff because the area is protected.
is there a way i can fix this sone it dont create graves in a pvp arena?
Well done this plugin is very usefull and very fancy :) It helps me a lot on my server "OhMineGod" thank you very much. One question still: Would it be possible to have a :"per-world permission" not only nether and End but the world we want. This way, for an arena map in a normal world you can disable it and don't get graves everywhere This kind of property would be perfect. Also, do you think it's possible to set a sort of grave clear so people only have one grave at a time. For explanation, i use Clearlag and your plugin is perfect for players who looses there stuff before the clear happen. With your plugin they get a chance to get the stuff back. But i d'like them to have only one chance for exemple: You die once, you get a grave if you die trying to get your stuff back then the old grave disappear with the stuff in, in benefit of a new one empty. Anyway The plugin is very nice like this .Thx for the good work I hope i'm understandable
I like this plugin, wonder if the 3rd line could be changed. The time doesnt always fit
Call me stupid... but i don't get the permissions. normally i my permissions are as follow:
User: permissions: - essentials.*
with this "-" line... tried to do it with - Gravestone.* but the people still don't have the permissions for it.
If i try to insert the following text into permissions of each group, the pex has an error: gravestone.grave: true gravestone.gravestone: true gravestone.gravestone.info: true
please help