Closed VoxPopuliZombiemold closed 11 years ago
Color & variables should work in the latest dev version now for books. %t should show cause of death. Looking to add date and time soon.
%t will generally show a cause of death but I'm thinking I might just take the actual death message and make a $deathmsg variable for it. Not sure how easy this is though as I don't listen to the playerdeathevent but rather the entitydeathevent.
You can probably case EntityDeathEvent to PlayerDeathEvent if needed.
I humbly request more support for dynamic variables like %p and such.
Currently, using %p for a written book's author doesn't work. Colors for written book's data like title and author don't work. Variables like %p don't work within pages of a written book.
I'd love to see other variables like %c for cause of death, %d/&i for current date/time.
One of my goals is to remake the features of the DeathCertificates plugin using Otherdrops (Link here: http://dev.bukkit.org/server-mods/death-certificate/)
It could also be used to make interesting item drops in pvp with names, and fun lore and such.