Inactive [SEC/MISC] Cenotaph 2.1.2 - A Dead Man's Chest plugin [1.2.5-R1.0/2149]

Discussion in 'Inactive/Unsupported Plugins' started by Southpaw018, Jun 5, 2011.

  1. Offline

    Southpaw018

    Cenotaph - A Dead Man's Chest plugin
    Version: 2.1.2

    Plugin Dependencies
    Lockette (Optional) OR LWC (Optional)

    Cenotaph is a fork of the most excellent Tombstone by Drakia. As he has stopped development, I decided to take it up and add some features I wanted (and that some users on the forums have requested).

    Download, Source, and Bug Reports/Feature Suggestions
    Download: http://www.moofit.com/minecraft/Cenotaph.jar
    Github: http://github.com/Southpaw018/Cenotaph

    What's a Cenotaph?
    A Cenotaph is a monument to a dead person who is either buried elsewhere or whose body is not available for burial. If you think about it, it exactly fits the situation - there's no body, since you've respawned ;)

    Features:
    When your players die, depending on how you have things set up, their items will be placed in a Dead Man's Chest for safekeeping. You can require that your players carry around chests and signs of their own at all times, or simply have the chests appear on death. You can also secure the chests with LWC3 or Lockette.

    More specifically:
    Show Spoiler

    • If the player is carrying a chest when they die, place that chest and fill it with as much of their inventory as possible
    • If the player is allowed, and is carrying two chests, a large chest will spawn to catch all of their inventory
    • Possible for specific groups/players to be given free chests with no need to carry one with them
    • Any items that won't fit in the chest will still drop to the ground!
    • Supports the Permissions plugin, will default to allowing everyone to use basic cenotaph if not available
    • Supports LWC for chest AND sign protection if it is installed
    • Supports Lockette for chest protection if it is installed
    • Configurable timeout for LWC unprotection
    • Configurable timeout for destruction of cenotaphs, works in unloaded chunks as well
    • Quickloot support, right click the sign on a cenotaph to loot all items in it (your chest only!)
    • Place a sign on top of the chest stating the players name and time of death
    • The ability to point your compass at your cenotaph
    • Customizable sign messages on the cenotaph
    • Admin commands for management


    Coming Soon

    See what's coming soon, report bugs, and add your own requests on the Github project!
    1.3: Initial public release, Lockette support
    1.4: General features and bug fixes, round 1
    1.5: Plugin organization
    1.6: Additional features
    2.0: Brought back from the dead after 5 months of inactivity, updated for Release
    2.1: Highly requested features
    2.2: Major cleanup, Towny integration
    2.3: Economy integration
    2.4: More feature requests

    Configuration
    See the default config file on Github for annotations and explanations.

    Config notes
    • If you are going to be giving your players a free chest/sign, but don't want them to be able to retrieve those as extra items, set the noDestroy option in the Cenotaph config file.
    • If you do set the noDestroy option, it is highly recommended that you set a timeout for Cenotaph removal, because even once LWC is disabled the chest is still not destroyable by any means other than quicklooting it or an admin with permissions breaking it.
    • With noDestroy enabled, if a player dies without a sign, then their chest will be indestructible until it is removed by Cenotaph itself.
    • It is not recommended to use the noDestroy option without the destroyQuickLoot option
    Permissions

    Show Spoiler
    cenotaph.use - Allow the player/group to use the cenotaph plugin
    cenotaph.freechest - Allow the player to get a chest whether they are carrying a chest or not
    cenotaph.large - Allow the player to spawn a large chest if carrying two chests and if one will fit
    cenotaph.lwc - Protect the placed chest if LWC is enabled
    cenotaph.lockette - Protect the placed chest if Lockette is enabled
    cenotaph.sign - Whether the player gets a sign on their cenotaph chest
    cenotaph.freesign - Allow the player to get a free sign whether they are carrying one or not.
    cenotaph.freelockettesign - Give the player an additional free sign for Lockette
    cenotaph.quickloot - Whether to allow a player/group to quickloot by right clicking the cenotaph sign.
    cenotaph.cmd.cenotaphlist - Allow this user to use /cenlist
    cenotaph.cmd.cenotaphfind - Allow this user to use /cenfind
    cenotaph.cmd.cenotaphtime - Allow this user to use /centime
    cenotaph.cmd.cenotaphreset - Allow this user to use /cenreset

    cenotaph.admin - Allow this user to physically destroy others' cenotaphs. Also a prerequisite for use of the other admin commands
    cenotaph.admin.list - Allow this user to see all cenotaphs
    cenotaph.admin.find - Allow this user to find any cenotaph
    cenotaph.admin.time - Allow this user to check the time left on any cenotaph
    cenotaph.admin.remove - Allow this user to destroy any cenotaph


    Credits
    @Drakia: Cenotaph was originally Tombstone, by Drakia (TheDgtl). Many thanks to him for his hard work on the original plugin.
    @Acru: Thanks to Acru, the developer of Lockette, as well. His help getting the Lockette integration working as I stumbled by way though picking up Java was invaluable. :)

    Commands
    Show Spoiler

    /cenlist - List all your cenotaphs
    /cenfind <index> - Gives you a direction from your current location to your cenotaph and sets your compass to point at it
    /centime <index> - Tells you how much time is left before the specified cenotaph has its protection remove or it breaks
    /cenreset - Reset compass to point to spawn

    /cenadmin list - List all players who have cenotaphs spawned
    /cenadmin list <playerCaseSensitive> - List all cenotaphs belonging to <player>
    /cenadmin find <playerCaseSensitive> <index> - Show details on <player>'s cenotaph <index>
    /cenadmin remove <playerCaseSensitive> <index> - Destroys <player>'s cenotaph <index> and drops its contents on the ground
    /cenadmin time <playerCaseSensitive> <index>
    /cenadmin version - Show current version of Cenotaph and check for a new version



    Changelog:
    Version 2.1.2
    *Optimized break override options (keepUntilEmpty and breakWhenEmpty)
    *Add death messages for beta 1.8 monsters (Finally...yikes. Sorry, everyone.)
    *Work around an error caused by missing or invalid deathMessage entries (Thanks, ffkhrocks)
    Version 2.1.1
    *Fix issue loading .db save files from pre-2.1 versions (Thanks, Inscrutable)
    Version 2.1
    *Added option for level-based time removal
    *Added requirement for Lockette sign to be carried in inventory (free sign permission available)
    *Added option to disable in specific worlds by name
    Show Spoiler

    Version 2.0
    *Updated listeners to new Bukkit API
    *Updated config to new Bukkit API
    *Removed support for Nijikokun's old Permissions plugin
    *Updated to latest LWC API
    *Added cenadmin reload command
    Version 1.6.6
    *Fixed NullPointerException when using defaults for deathMessages instead of the values in the config file
    *Added config check to /cenadmin version
    *Fixed bug with break messages always displaying at original timeout when quicklooted
    Version 1.6.5
    *Fixed a few additional bugs
    *Fixed conflict with Spout under CB1060
    Version 1.6.4
    *Add Bukkit Superperms
    *Remove deprecated Bukkit method getFace()
    *Merging some of Drakia's recent Tombstone fixes
    -Fix clearing of player's cenotaph list on quickloot
    -Fix LWC API error
    Version 1.6.3
    *Customizable death messages for signs
    *Customizable time and date formats for signs
    Version 1.6.2
    *Option to remove cenotaphs once they are empty, regardless of other settings
    *Option to keep cenotaphs UNTIL they are empty, regardless of other settings
    *Fixed bug allowing players to break into Lockette-protected cenotaphs
    Version 1.6.1
    *Security options now apply to both Lockette and LWC (requires config.yml update)
    *New command: /centime, /cenadmin time
    Version 1.6.0
    *Updated for Craftbukkit RB1000
    *Fixed customizable signs
    *Added admin commands
    Version 1.5.4
    *Customizable signs (Thanks to @Drakia for his death cause code)
    Version 1.5.3
    *Re-enable compass integration (Thanks, @Zarius!)
    *Build against Craftbukkit RB953
    *Build against LWC 3.3
    *Build against Permissions 3
    Version 1.5.2
    *Fix bug causing Cenotaph to throw an error on enable if the folder containing config.yml did not exist
    *Fix bug where the Void check was only working if the player died in the Void above the world and not below
    Version 1.5.1
    *Fix bug allowing a free sign if Lockette sign was broken off a chest
    Version 1.5.0
    *Fix config file handling - no more needless file overwrites
    *Gracefully handle missing or invalid config files by downloading a fresh commented copy
    *Create config file versioning system to avoid errors with updates
    Version 1.4.4
    *Added config version check
    *Final 1.4 release
    Version 1.4.3
    *Basic protection against creeper explosions, disabled by default
    Version 1.4.2
    *Option to disable the void check for servers that have other plugins to handle it
    *Minor code changes
    Version 1.4.1
    *Now checks for updates on server startup
    Version 1.4.0
    *Do not attempt to create chests in the Void
    Version 1.3.2
    *Configuration cleanup and changes, bug fixes for initial public release
    Version 1.3.1
    *Add Lockette support
    Version 1.3
    *Convert from Tombstone to Cenotaph
     
  2. Offline

    pwncake

    When will the cenotaph 1.2.3 support be there? I am getting version issues.
     
  3. Offline

    Tim Visee

    Please update it to Minecraft 1.2.3. If you are busy and you could send me the source I'll write a temporary patch. I already done this by some other plugins
    Thanks in advance, Tim Visée
     
  4. Offline

    Tanite

    http://dev.bukkit.org/server-mods/cenotaph/?comment=20

    Hi :D
     
  5. Offline

    Tanite

    Don Redhorse

    Well... I guess it's back to DeathTpPlus. I'm comin', daddy! (Oh, I liked your screenshot on the DBO page. It helps :) )
     
  6. Offline

    Don Redhorse

    thanks.. yeah I know... I made quite a mess
     
  7. Offline

    Southpaw018

    Heh. Sorry, guys. I was in California for 2 weeks for work. Stand by...

    Uh...guys? After an hour of testing with various options and in various scenarios, I'm getting no errors with 2.1.1 and the latest beta or dev builds. :/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  8. Offline

    Don Redhorse

    could be that it was a bug in bukkit... or still is.... I'm hunting like it seems for a bug in one of my plugins too, after I "fixed" one in deathtpplus (tomb part) which caused me 20 hours at least of tearing hairs out...
     
  9. Offline

    Southpaw018

    Okay, did a bit more looking. First CB 1.2.3 beta came out on 3/4. Second beta came out on 3/11.

    I appreciate the early 1.2 reports, but I can't exactly control errors caused by Bukkit betas or dev builds :/

    I know we're in a weird beta environment here. Tons and tons of plugins are broken, but Cenotaph should NOT have broken under 1.2. If you do still have errors with CB2060+ and MC 1.2.3, please let me know.

    Can I help, Don? :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  10. Offline

    Don Redhorse

    nah it looks like dwarfforge has an issue with just checking for stationary lava... I think bukkit is acting up if THAT is the problem... I will see tomorrow.. but thanks for offering...
     
  11. Offline

    Southpaw018

    I believe that plugin of yours is built against CB, yes? If that's the case, you may have to hold until the next RB hits. :/

    Always happy to help, my friend!
     
  12. It looks like the latest version introduced a lot of "bugs". Particular annoying is the teleport one where players are teleported into walls/blocks.
     
  13. Offline

    Don Redhorse

    which one cenotaph or deathtpplus... and if deathtpplus please post in the deathtpplus thread..
     
  14. Neither really. We just had several reports for AdminCmd and i have read some reports on other plugins using teleports that have (had) the problem too
     
  15. Offline

    Don Redhorse

    ah you meant cb... well... betas...
     
  16. Offline

    Southpaw018

    Hey, everyone. Currently holding for the first 1.2.4 beta Bukkit build.
     
    timirvin, Don Redhorse and LlmDl like this.
  17. Offline

    timirvin

    Thanks for the update Southpaw... Love your work, great job!

    -Tim
     
  18. Offline

    Southpaw018

    Yay! So glad you enjoy the plugin, timirvin :)

    Is anyone having any trouble with CB 1.2.4-R1.0/2126? Some quick testing shows all is well on my end, but my server is pretty small.
     
  19. Offline

    nlancaster

    Never mind.
     
  20. Offline

    Southpaw018

    Glad you got it worked out. :)
     
  21. Offline

    nlancaster

    I been thinking. maybe you should point out that the free chest and sign are a permission that needs to be given. Took me a little to figure that out.
     
  22. Offline

    ffkhrocks

    Yes actually, I've been waiting for it to happen again to post the error. The plugin will work fine for days and then randomly someone will die and instead of recieving a cenotaph their items are left on the ground and it simply drops a chest. The error that comes up is:

    2012-03-31 22:24:42 [SEVERE] Could not pass event PlayerDeathEvent to Cenotaph
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:316)
    at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:173)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:677)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:595)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:215)
    at net.minecraft.server.Explosion.a(Explosion.java:155)
    at net.minecraft.server.World.createExplosion(World.java:1535)
    at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:225)
    at net.minecraft.server.EntityCreeper.F_(EntityCreeper.java:79)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1265)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:106)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1247)
    at net.minecraft.server.World.tickEntities(World.java:1154)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:545)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
    at com.MoofIT.Minecraft.Cenotaph.Cenotaph$eListener.getCause(Cenotaph.java:1376)
    at com.MoofIT.Minecraft.Cenotaph.Cenotaph$eListener.createSign(Cenotaph.java:1295)
    at com.MoofIT.Minecraft.Cenotaph.Cenotaph$eListener.onEntityDeath(Cenotaph.java:1166)
    at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
    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:301)
    ... 18 more
     
  23. Offline

    jeanjaz

    I lease a game server from Multiplay.co.uk and I requested them to add this plugin to their menu system, Clanforge. This is what they replied:


    This is incompatible with Clanforge for two reasons- it tries to force you to us 'Bukkitcontrib' which I cannot do since I don't lease a 'public server.' The other reason is that it tries to add a file called server.config, of which we already have one Clanforge sets up to configure the server.

    Is it possible to modify this plugin so that we can use it on a Multiplay server? A plugin put in the Clanforge list will get LOTS of visibility. I donate to the plugins I use on a regular basis. :) Tombstone used to be my regular plugin, but I finally can't use it with this last update. (1.2.4)

    Thanks,

    ~ Jeanjaz

    PS- I'm not clever enough to use FTP to upload it. :(
     
  24. Offline

    Southpaw018

    Let me take a look!

    Erm. Are you sure you have the right plugin? Cenotaph does neither of those things...it doesn't hook Spout and it doesn't even look at the server.config file. Do you have a contact address for the Clanforge guys? I can speak with them on your behalf, if you'd like.
     
  25. Offline

    timirvin

    Running: craftbukkit-1.2.5-R1.0 (2149). Working very nicely, very small testing with latest TempleCraft, Residence, MobArena. Working great. If anything comes up I'll let you know.
     
    Southpaw018 and Inscrutable like this.
  26. Offline

    Southpaw018

    Thank you for testing! :)
     
  27. Offline

    Castiana

    Hi,

    Sorry about that, I've fixed the plugin in ClanForge for you. It no longer requires BukkitContrib/Spout. Let me know if theres anything else we can do!

    Cheers,
     
  28. Offline

    Southpaw018

    Thanks, Castiana. Is there anything I can do to help?
     
  29. Offline

    Southpaw018

    Cenotaph is not properly handling an error where one of the death causes (deathMessages in the config file) is missing or invalid. I'm currently testing an update that will work around this error. If you have death causes enabled on your sign, please let me know if you ever see ERROR on the sign - whatever killed you is the cause of the error.

    Stand by!

    Update!
    [Version 2.1.2]
    *Optimized break override options (ping: Don Redhorse)
    *Add death messages for beta 1.8 monsters (Finally...yikes. Sorry, everyone.)
    *Work around an error caused by missing or invalid deathMessage entries (Thanks, ffkhrocks)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  30. Offline

    iAutolycus

    Just wondering if there is a way or if your working on a way to make where if you die in pvp that the killer can loot the chest ?
     
  31. Offline

    Don Redhorse

    thanks for letting me know... will look into that.. btw: any problems with öäü in your death messages?
     

Share This Page