DeathCraft 2
DeathCraft
DeathCraft is a plugin to make dying fun!
Not really. Dying always sucks - But DeathCraft will make it more fun for everyone else.
Features
- Unlimited, customized death messages for every type of death, or per item!
- Differentiates between PVE and PVP deaths!
- Option to use true account names, or display names (/nick, etc)
- Player optional ignoring of either type of death (PVE or PVP) messages
- Head drops! Fully configurable drops of player and mob heads!
- Permission based configurable 'Death Chests' that will store items upon an untimely demise - or be the prize of the PVP victor!
- /kill and /suicide, as well as the option to override these commands from other plugins to continue the DC Experience
- Permission based configurable 'Keep Xp on death
Installation
- 1) Download
- 2) Put deathcraft.jar in your /plugins folder
- 3) /reload your server, or restart.
- 4) ???
- 5) DEATH!
Known Conflicts
- CreeperHeal You must disable chests in one of the two plugins, or you will end with a looping chest creation.
Commands, Configuration & Permissions
Please see the new Commands, Configuration & Permissions Page!
Bug Reporting and Suggestions
If you find a bug, or have a suggestion, PLEASE open a ticket! I can't fix what I don't know is broken, and I can't add what I don't know is wanted. :)
ToDo
- Togglable allowance of locked chests for popular protection plugins (LWC, Locket)
- Allow Keep item on death permissions, completely bypassing Chests
Tutorials
Portuguese:
@batbat01
Fixed this in 1.9 - uploading it now :)
@sharqman
The main page explains all of those in the 'Configuration Options' section.
I'm trying to add a custom death message for Lightning damage but I keep getting the message that Lightning is not a valid damage type. So far all others are working.
Is there a page that explains all of the options in the config?
@Xeliaa
Hm. I'll have to look into this ... I changed how the permissions worked in the most recent (1.7) version - it's possible that I made a mistake. Once a new version is released (within a week or so), give it another try. I'll post if I find anything specific.
@Gomati
Looks like Pex changed how display names worked at some point while I was out - It SHOULD sitll function if you disable 'UseDisplayName' in the config - a quick fix until a new version rolls out.
@JLLBEE
You cannot specify which permission FILE to use - you can change the actual permission that it checks for - this is found in the config.yml .. Generally this isn't needed, however someone wanted to NOT add any new permission, but still have it work with their current packs.
Hi, you marked this project as GPLv3, which means that you're supposed to provide the source.
Can you post a link to the source (GitHub or otherwise)? I'm pretty interested in seeing it. I tried to search with Google, but to no avail.
This comment is not related to my duties as a Bukkit PR Handler and should not be interpreted in any official capacity or carrying any actual weight of enforcement. (In other words, please ignore the purple name.)
ok so when you update factions plus to the best version this plugin gliches with it if you could make it ignore factions or something it would work better thanks ;D
ive been trying to get this to work, in my Groupmanager ive tried to place deathcraft.chest.large.free in the g:groupmanager_default: permissions: - groupmanager.notify.self - deathchest.chest.large.free that didnt work so i used ingame command to add permissions to a group added it to Default and that didnt work either... i have Essentials and its group mananger i feel as im missing something Everything else works in it like the messaging but not the chests cant seem to get that going.. ( MCPC+/Bukkit 1.4.7 )
In an earlier post, you mention that you could specify which Permissions file to use. How would i go about doing this? Everything works great as long as you are opped in the game but not for members. I'm using bPermissions, DeathCraft, LWC & uHome Plugins. All works Correctly except DC. Just need to knoe the Context on hoe to specfy the Permission file, i think that may be the issue. thanks JLLBEE
still no reply? Are you still developing this Plugin?
DeathCraft 1.7 doesn't seem to work with PermissionsEx 1.19.5
When I disable it, DeathCraft works fine but I rather disable DC before I disable PEX.
:CraftBukkit version 2754: no permissions were set in PEX permissions.yml for any groups or players
So here's the console printout:
2013-04-23 20:53:02 [SEVERE] Could not pass event PlayerDeathEvent to deathcraft v1.7 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 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.v1_5_R2.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:339) at net.minecraft.server.v1_5_R2.EntityPlayer.die(EntityPlayer.java:282) at net.minecraft.server.v1_5_R2.EntityLiving.damageEntity(EntityLiving.java:750) at net.minecraft.server.v1_5_R2.EntityHuman.damageEntity(EntityHuman.java:684) at net.minecraft.server.v1_5_R2.EntityPlayer.damageEntity(EntityPlayer.java:347) at net.minecraft.server.v1_5_R2.EntityLiving.a(EntityLiving.java:978) at net.minecraft.server.v1_5_R2.EntityHuman.a(EntityHuman.java:1295) at net.minecraft.server.v1_5_R2.Entity.a(Entity.java:772) at net.minecraft.server.v1_5_R2.EntityLiving.a(EntityLiving.java:243) at net.minecraft.server.v1_5_R2.EntityPlayer.b(EntityPlayer.java:452) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:425) at net.minecraft.server.v1_5_R2.Packet10Flying.handle(SourceFile:136) at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -5 at java.lang.String.substring(String.java:1949) at java.lang.String.substring(String.java:1916) at com.ivalicemud.deathcraft.Deathcraft.DisplayName(Deathcraft.java:773) at com.ivalicemud.deathcraft.Listeners.DeathMessage(Listeners.java:421) at com.ivalicemud.deathcraft.Listeners.onPlayerDeath(Listeners.java:137) 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:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 24 more
@ChaosForcer
Indeed it does.
Does this plugin works if you get killed by exploding creeper ?
@CrystalxNeth
Should be, yes. 1.7 is available for download now.
@raum
ok so basically it will be fixed in the next updatE?
@CrystalxNeth
Check out the post I just gave to Adutude .. The fix should be uploaded by the end of the weekend, but it gives a quick fix on it.
@Adutude
Okay - Regarding the error on death-
It was trying to return the display name from PEx ... the only reason it should be erroring out is if the pex data is null .. which shouldn't ever happen if you have Pex installed, as if you don't, it should quit out long before that. What version of PermissionsEx did you have running so that I can try to track that down?
The unable to find a suitable chest location - That's my bad. It's still checking for "DestroyBlock.
#" - In 1.5, I changed that to chest.DestroyBlock.
# ... For a quick fix, you can move the DestroyBlock section in the config to it's own section:[code]DestroyBlock: '0': 'true #Air -Death Chests will overwrite these blocks - Use block ID number'[/code]
In 1.6, which I'm working on right now, this problem will be fixed.
For some reason when I enable the death chest feature and give a group the perms, it just doesn't work like its supposed to, the player dies and his stuff doesn't go in a chest.
@Adutude
Been out of touch for a bit - sorry. :)
I'll look into this .. I've only recently updated to 1.5 myself, so I haven't had much chance to play with things.