DeathTpPlus
DeathTpPlus
DeathTpPlus announces a death with a random message based on the death cause and allows you to teleport to the point of death It can also create a TombStone at the place you died to let you save your inventory (aka DeadMansChest).You can also create a tomb sign which can be used as respawn point and as a place of information of how often you died and what your last death cause was.
IMPORTANT NOTE: Due to some issues with yaml you can get the following error: unacceptable character '?' " in the log, The fix is to remove the รค atm from the default messages and if you have custom messages to remove any of them using special characters. Sorry about that!
How does it work?
Take a look at how it works.. Videos
Also take a look at this picture to know what I'm talking about in the config file and on these pages
Based on the original plugin from lonelydime. Integrates a fork of furt from cenotaph and tomb from dark_balor.
PLEASE NOTE: Mung3r is taken over from here, he did already help me a lot and is willing to keep this plugin updated. THANKS a lot
Supports
- SuperPerms (Note: Permissions have changed from < 3.0 for the deathtp commands!)
- Vault for all economies!
- LWC (for Chest and Sign Protection of Tombstones)
- Lockette (for Chest and Sign Protection of Tombstones)
- DynMap (for displaying Tombs, TombStones and Last Deathlocations on your map)
- Metrics for more information about it
- CraftIRC is back
DeathTP
- Use /deathtp to teleport back to where you died.
- Optional: Charge a player an item to teleport (must be in the player's hand).
- Optional: Vault support for economies
DeathNotify
- Customizable messages for every kind of death.
- Supports multiple messages per kind of death, chosen randomly when someone dies.
- Custom colors per message.
- PvP messages that show the attacker as well as what they killed with. Item names have been cleaned up to look pretty.
- Optional: Show deathsigns where someone died and how they died.
TombStone
- Create a TombStone where you die and save your inventory.
- Highly Configurable via Permissions
- More Info on the TombStone Page
Tomb
- Create a Tomb Sign which holds the following information: The name of the player, the number of times he died and what was the last cause.
- Can be used as respawn point after death
- There can be more than one Tomb
- You can configure if the respawn point is based upon the world the player is in or across worlds
- More Info on the Tomb Page
Other stuff
- Streaks (Show a custom message when someone has killed a custom set of people or died a custom amount of times.)
- DeathLogs (Show the total number of times somebody died)
- MultiKills (Well... you know.... quake style... no sound though :-) )
- More Info on the DeathTpPlus Page
Don't want one of the features? No worries! Just disable it in the config file and it'll be like that feature isn't in the plugin at all! The file IOs aren't called and neither are the methods used for those features. Worried about performance? Don't be!
Install
- Upload the DeathTpPlus.jar file into your plugins directory.
- Start your server or do a reload
- Configure the config.yml file in your plugins/DeathTpPlus/
- Change the deathmessages and tombmessages to your liking, if you have some good ones post them here!
- Give the permissions to use certain commands or features
- Restart your server or do a reload to read changed config
Further Information like permissions, configuration and commands
Bugs
Todo
- Upcoming Features
- MAJOR Internal Reworking (that is really necessary)
- Updates to RB of CB
FAQ
- Q: Colors are not working correctly in messages, what is wrong?
A: If you are using Essentials Chat turn that off, otherwise you need to live with it or ask Essentials Teams why that happens. - Q: What does "expected <block end>, but found Scalar" in my log messages mean?
A: Probably you forgot to use \" or ' to get a " - Q: I see a killed by X message but I did use /suicide from essentials or similar.
A: This is a bug of the other plugin not setting the death cause correctly. Nothing I can do. Sorry. - Q: If I die in a cave or in nether and use /deathtp I will teleport back to the place I died but on top of the world
A: Change teleportToHighestBlock: true to false but read the comments first in the config. - Q: Could you support RegionPlugin XYZ?
A: Not until a general API similar to Vault for economics comes out. I will support region plugins I use myself. - Q: Can I help you?
A: Sure, you can try the most recent dev-build... should be in sync with the github issues!!!
Thanks
Actual Art is from JanTTuX, prior Art was from Wassilij.
Some silverfish deathmessages from boytheo
Some deathmessages from mog1255
Some coding help from dark_balor
Donators:
- CoRnMail
Changelog
- 3.9.16.2320
official 1.3.1 release, no changes to 3.9.16.2262
- 3.9.16.2262
changed new commands to dtptop and dtpreport with aliases for report and top
fixed a ClassCastException, top works in console now
- 3.9.15.2262
fix for EventException caused by ConcurrentModificationException
- 3.9.14.2262
fix for Failed to edit death log: java.lang.Exception: Failed to rename death log.
- 3.9.13.2262 (pulled)
npe fix during start
class cast fix
- 3.9.12.2262
added CraftIRC back again
"top" and "report" command
sounds for spout clients
periodic saving of death log files
fixed issue with logging death twice
fixed issue #80 where broadcast would show in world2 if you set it only to broadcast in world
lot of internal stuff
More changes can be found here.
Latest dev build I think its backwards. :p
Disabled in "Flat", if I die I do not see the message...But everyone else does.
In enabled worlds it works fine.
@chrisk123999
yes, it will save it with every newly created tombstone, offloading this will need some time though as there is threading to consider, can't promise anything.
thanks about the debug log.
Also, it seems that saving the tombstonelog is in the main thread and causes a slight hiccup of "lag" in-game. I'm using this on a large scale server (over 100+ players). I'll go get the debug log for the anvil.
@chrisk123999
could you enable debug log and post it when you get killed? I have no idea if bukkit already has the information which is necessary to figure it out... will take a look though.
Currently being killed via an Anvil shows the unknown death messages. Possible to fix?
@DonRedhorse
Will give it a try soon. :)
just pushed a new dev-build which has fixed code for the messages not showing in specific worlds if showing only in death world or not in specific world was enabled.
could it be that essentials allows you to keep the exp you earned? I did just drop the plugin in, haven't configured anything really atm...
@DonRedhorse
just pushed a new dev build which has added debug code... I couldn't find anything directly wrong with the logic directly.. will also try to test it this evening myself.
@LiLChris06
thanks for the nice log, will look into it... looks like a logic issue (again... sigh)
@Zenka2
could you enable debug mode? and try it again.. I haven't setup my server yet again.. so I can not really test anything big..
will look into the tomb messages part.. did you do any changes to them?
2012-12-07 09:39:27 [INFO] [DeathTpPlus] Enabling DeathTpPlus v4.0.0.2488
2012-12-07 09:39:27 [INFO] [DeathTpPlus] allow-wordtravel is: yes
2012-12-07 09:39:27 [INFO] [DeathTpPlus] Keeping Experience on Quickloot is: true
2012-12-07 09:39:27 [INFO] [DeathTpPlus] Keep in mind it only works if people are quicklooting their TombStone!
2012-12-07 09:39:27 [INFO] [DeathTpPlus] Configuration v.4.0 loaded.
2012-12-07 09:39:27 [INFO] [DeathTpPlus] Config is up to date
2012-12-07 09:39:28 [WARNING] [DeathTpPlus] You are running a testbuild for CB: 2488
2012-12-07 09:39:28 [WARNING] [DeathTpPlus] You are running an dev-build. Be sure you know what you are doing!
2012-12-07 09:39:28 [WARNING] [DeathTpPlus] Please report any bugs via issues or tickets!
2012-12-07 09:39:28 [INFO] [DeathTpPlus] 5 messages loaded for killstreak
2012-12-07 09:39:28 [INFO] [DeathTpPlus] 5 messages loaded for deathstreak
2012-12-07 09:39:28 [INFO] [DeathTpPlus] 0 messages loaded for multikill
2012-12-07 09:39:28 [INFO] [DeathTpPlus] 6 sounds loaded for killstreaks
2012-12-07 09:39:28 [INFO] [DeathTpPlus] 9 sounds loaded for multikill
2012-12-07 09:39:28 [INFO] [DeathTpPlus] Loading death messages...
2012-12-07 09:39:28 [INFO] [DeathTpPlus] 248 death message(s) loaded
2012-12-07 09:39:28 [INFO] [DeathTpPlus] Deathmessages v.4.0 loaded.
2012-12-07 09:39:28 [INFO] [DeathTpPlus] Deathmessages are up to date
2012-12-07 09:39:28 [INFO] [DeathTpPlus] Loading tomb messages..
2012-12-07 09:39:28 [INFO] [DeathTpPlus] 0 tomb message(s) loaded
2012-12-07 09:39:28 [INFO] [DeathTpPlus] Tombmessages v.null loaded.
2012-12-07 09:39:28 [SEVERE] Error occurred while enabling DeathTpPlus v4.0.0.2488 (Is it up to date?)
java.lang.NullPointerException
at org.simiancage.DeathTpPlus.tomb.TombMessages.updateNecessary(TombMessages.java:979)
at org.simiancage.DeathTpPlus.tomb.TombMessages.setupTombMessages(TombMessages.java:847)
at org.simiancage.DeathTpPlus.DeathTpPlus.onEnable(DeathTpPlus.java:259)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252)
at net.minecraft.server.MinecraftServer.j(MinecraftServer.java:320)
at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:299)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:258)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:147)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:398)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
2012-12-07 09:39:28 [INFO] Server permissions file permissions.yml is empty, ignoring it 2012-12-07 09:39:28 [INFO] Done (6.070s)! For help, type "help" or "?"
But with a clean install, it worked fine. Glad to be able to have deathtpplus again :)
Small issue, although I have 'keep experience' on:
//# Keep experience when quicklooting (Default is dropped / partial experience, see below)
keepExperienceOnQuickLoot: true
# Keep FULL experience instead of dropped.
keepFullExperience: true
I do not regain any xp when I quickloot. Might this be a permissions issue? or something else.
No error on clean installation, tomb messages did populate. :)
But still no death messages when I enabled 2 different settings.
disableDeathNotifyInSpecifiedWorlds: true
showDeathNotifyInDeathWorldOnly: true
If I enable either of those or combined no messages will show up.
http://pastie.org/5492350
@DonRedhorse
Oh my fault, I knew I forgot to upload them after work. :o
Trying the new dev build in a moment, I will let ya know and post logs this time.
ok.. fixed some stuff concerning messages, could people with issues try the dev build and enable debug log?
http://ci.bighatchet.com/job/DeathTpPlus/
@LiLChris06
you don't have the log perhaps?
@DonRedhorse
Nope, gave me an error and the tombmessages.yml stayed empty.
But it does create the file itself.
@Zenka2
ok... first issue found is checking version numbers... 3.9 is newer than 4.0... oh well...
need to check also the handling of the default values.. atm the WITCH for example doesn't has any messages in the log at least.
Otherwise, could you also upload the other files... will perhaps need to add more debug code to it..
@LiLChris06
let me look into that... you can get the new stuff if you enable automatic updating.. it will only create new message blocks IIRC..
@DonRedhorse
Sure. here it is: http:zephyrus.student.utwente.nl/host/server.log
If there is anything else I can do to help. just ask. It's the least I can do.
Only problem I have is from a fresh installation or upgrade the tombmessages file doesn't get updated or created.
Causing the plugin itself not to load up correctly.
My work around was changing the version number inside the yml and its working fine.
If i can have the 4.0 yml files that would be great. :D
Also...
In any combination, those 2 disable it for all worlds.
@Zenka2
could you enable debug logging and post the log file?
@Hangar
mainly the messages, but mung3r did also a lot of internal reworking and I also added a switch for worldguard support to make it optional.