GravesPlus
See my Plugin in action!
Version: v1.3
Don't you feel angry if a creeper blows you up after you've been mining for 2 hours in a huge cave?
Well, GravesPlus makes you keep all of your stuff!
A grave with a sign will be generated at your deathpoint, but that's not everything...
Beneath your grave will be a chest with your inventory stuff, which you lost on death, so be fast and don't let the others rob your grave!
Features:
- Grave-generation beneath your deathpoint with all your stuff
- There will be your name on a sign with the note "R.i.P"
- Configurable chat-message for all players
- ChatColor-Support
- Permission-Support
To-Do list:
- Waiting for your suggestions!
Permisssions:
- gravesPlus.generate - generates a grave, if the dead player has this permission
Changelog:
- v1.3: Updated/Compiled with CraftBukkit 1.4.7
- v0.2: Added WorldGuard-Support
- v0.1: Already implemented a lot functions!
Known bugs:
- None at this time!
I'm waiting for your suggestions and ready to implement them as fast as I can! :)
Please donate if you like my work! :)
Already did it? The grave only gets generated if the player has the permission to build there.
You should make some tie into worldguard. Because if you have a pvp arena it will make a bunch of graves
@zan6387
You're doing something wrong with the config. I tested it and it's working well^^
@zan6387
Just add the "gravesPlus.generate" permission to the groups for you want the graves to get generated
Really simple :)
wow awesome plugin... how can i code it so the people at Builder+ rank hase the perm's
I feel that if they die in lava, the chest should not spawn, since stuff will be incinerated in lava anyway, also, the config.yml does not allow the change of the message, any time a reload is ordered then it changes back to the old one.
@zizitt
You're right, but the errors says, that the block couldn't get casted to a sign So he had the permission, but maybe the server was lagging and because the gravel beneath the sign fell down the sign popped out etc.
@Nookyava
Nothing spectacular? :D I'd just be hard to get to the chest, but you could open it anyways if you know the location where you died in the lava^^
@jazzman170
have you give your group gravesPlus.generate permission node? You need that node for the chest to be generated.
What happens if they die in lava?
Compiled it with 1.4.7, tested and it's working well, without any error messages. Your error could happen, if you're server was lagging and in the same moment as the player died a gravel/sand block fell at this location and the plugin tried to cast to a chest and add the items, which shouldn't/couldn't happen that fast..
Please try this version and keep giving me feedback :)
Hey, I thought I would let you know that your plugin has seemingly stopped working on my server. A player died and this error came up in console:
2012-12-19 18:46:59 [SEVERE] Could not pass event PlayerDeathEvent to GravesPlus v0.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:335) at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:253) at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:730) at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:605) at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:306) at net.minecraft.server.EntityMonster.m(EntityMonster.java:88) at net.minecraft.server.PathfinderGoalMeleeAttack.e(PathfinderGoalMeleeAttack.java:83) at net.minecraft.server.PathfinderGoalSelector.a(PathfinderGoalSelector.java:104) at net.minecraft.server.EntityLiving.bl(EntityLiving.java:1422) at net.minecraft.server.EntityLiving.c(EntityLiving.java:1224) at net.minecraft.server.EntityMonster.c(EntityMonster.java:20) at net.minecraft.server.EntityZombie.c(EntityZombie.java:108) at net.minecraft.server.EntityLiving.j_(EntityLiving.java:508) at net.minecraft.server.EntityMonster.j_(EntityMonster.java:24) at net.minecraft.server.EntityZombie.j_(EntityZombie.java:121) at net.minecraft.server.World.entityJoinedWorld(World.java:1333) at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:546) at net.minecraft.server.World.playerJoinedWorld(World.java:1315) at net.minecraft.server.World.tickEntities(World.java:1193) at net.minecraft.server.WorldServer.tickEntities(WorldServer.java:444) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:577) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign at me.Ahmet094.GravesPlus.GravesPlusListener.GrabGenerieren(GravesPlusListener.java:66) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339) ... 28 more
Now there are no more errors shown, but the plugin does not seem to work. Whenever I die I do not leave a grave. Permissions are set up fine. Any idea what it could be?
Sry, can't help you It works for everyone else too. Just make sure you put the jar-file in the right folder, reloaded etc. etc.
This plugin doesnt seem to work for me at all. No errors, no problems, just simply doesnt leave a chest upon death and doesnt mention any global message about that player dieing. Any suggestions?
I'll do that in the next days. ATM we're moving to another place and there's a lot I've got to do..
Wait, so no protection, or Just no option to turn it off?
@Ahmet094
Cool, as i do not want protection ;-)
@RasCas Sorry, I won't add it. It's too much work and I'm included in many different projects atm.
@Ahmet094
Please make it optional, it's so much fun to be a tomb raider ;-)
Yes, that's what I want to do^^
If a player tries to open someone elses chest, they'll get a message and won't be able to open it.