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

    cuco

    Is there any difference to tombstone? Only Lockette-support?
     
  3. Offline

    Maxis010

    Basically yes, Lockette support has been added since the original author refused
     
  4. Offline

    Ratchet

    saw this in my log;
    Code:
    2011-07-10 21:14:59 [SEVERE] Could not pass event ENTITY_DEATH to Cenotaph
    java.lang.NoSuchMethodError: com.griefcraft.sql.PhysDB.registerProtection(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;III)V
        at com.MoofIT.Minecraft.Cenotaph.Cenotaph.activateLWC(Cenotaph.java:349)
        at com.MoofIT.Minecraft.Cenotaph.Cenotaph.access$12(Cenotaph.java:341)
        at com.MoofIT.Minecraft.Cenotaph.Cenotaph$eListener.onEntityDeath(Cenotaph.java:853)
        at org.bukkit.plugin.java.JavaPluginLoader$57.execute(JavaPluginLoader.java:642)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:436)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:561)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:856)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  5. Offline

    Zarius

    What version of LWC are you running? 3?
     
  6. Offline

    Ratchet

    3.30
     
  7. Offline

    Zarius

    Thought it might be - not sure if Cenotaph supports LWC 3 yet, see quote below:
     
  8. Offline

    Ratchet

    could you update against the latest LWC?

    thanks
     
  9. Offline

    mrgreaper

    any progress on lwc 3.3 support?
     
  10. Offline

    Southpaw018

    Ugh. I'm so sorry for the silence, everyone. Old laptop died. I'm on the new one now, and Eclipse is downloading as I type this. I'm hoping to have a build against Permissions 3, LWC3, and RB953 tonight or tomorrow. Look for a few rapid-fire updates.
     
    LlmDl likes this.
  11. Offline

    LlmDl

    Great news! What about timeouts on the lockette'd cenotaphs, or requiring players carry a sign to get it lockette'd?
     
  12. Offline

    Southpaw018

    I've swapped branches 1.6 and 1.7. 1.6 is now "additional highly requested features," including your two requests, and 1.7 is now economy integration. I'll get to the smaller but fun features faster now. :)

    Updated! :D

    Version 1.5.3
    *Re-enable compass integration (Thanks, @Zarius!)
    *Build against Craftbukkit RB953
    *Build against LWC 3.3
    *Build against Permissions 3

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

    mrgreaper

    Thank you just tested it today, as an admin (players not tested yet), Cb974, permissions 3, lwc 3.30. its working great :)
     
  14. Offline

    Southpaw018

    I haven't tested this build as much as I'd like, but I don't want to sit on the feature, either D:

    Updated!
    Version 1.5.4
    *Custom messages on signs (you will require a config file update)
    *Final 1.5 branch release

    @Drakia also added signs to Tombstone, and I used his cause-of-death detection code in Cenotaph. Credit and thanks for it go to him 100%.
     
  15. Offline

    undeadmach1ne

    hey i am just testing this out and the sign isnt using my config. i tried this

    Line1: "Here lies"
    Line2: "{name}"
    Line3: "who died from"
    Line4: "{reason}"

    and i still get

    (name)
    rip
    (time)
    (date)

    is there anything else i should do? ill continue to test it out...

    thanks for this plugin btw its a lifesaver, and also a random mission generator (when someone dies in a rough place we all have to band together to go retrieve the chest) =) tons of fun usually...
     
  16. Offline

    Southpaw018

    Happy you enjoy the plugin! :) Can you post your config file to pastie.org and then post the link here? (If you'd rather not publicly post it, can you email it to [email protected]?) I'll use it to test.
     
  17. Offline

    undeadmach1ne

    no problem.

    14:52:04 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-939-
    g766d933-b996jnks (MC: 1.7.3)
    14:52:04 [INFO] This server is also sporting some funky dev build of Bukkit!
     
  18. Offline

    Southpaw018

    Hey, everyone. There's a bug with RB1000. Free signs for everyone (yay?) Hold off until I can get it fixed in the next half day or so. :)
     
  19. Offline

    Southpaw018

    Update! 1.6.0 (yaaaaaay)
    *Updated for Craftbukkit RB1000
    *Fixed customizable signs
    *Added admin commands (/cenadmin list, /cenadmin find, /cenadmin remove, /cenadmin version)
     
  20. Offline

    undeadmach1ne

    custom signs are working for me now thanks! =) admin commands will be useful too i think.
     
  21. Offline

    Southpaw018

    Update!
    Version 1.6.1
    *Security options now apply to both Lockette and LWC (requires config.yml update)
    *New commands /centime and /cenadmin time show you how much time you've got left before security is removed or before it breaks

    (Ping: @LlmDl)
     
    LlmDl likes this.
  22. Offline

    LlmDl

    Haha! Amazing work Southpaw. My entire server thanks you!
     
  23. Offline

    1hacker

    @Southpaw018

    Feature request: 24-hour clock option for the {time} variable.

    Example:

    Code:
        timeformat: 24H
    
        Sign:
            Line1: "{name}"
            Line2: "Died at {time}"
            Line3: "{date}"
            Line4: "{reason}"
    
    Gives:

    Code:
       1hacker
    Died at 14:55
     2011-07-21
        a Fall
    
    Better yet: Options to set the date and time formats in config.yml

    Also: Custom messages for {reason}
     
  24. Offline

    Bitbott

    This is amazing! Thanks so much ^_^
     
  25. Offline

    Southpaw018

    @1hacker

    I can do the custom time and date formats. I don't think I want to open the can of worms that would be the custom death reason messages, though. Maybe sometime after I have a bunch of the other planned features hammered out. :)

    Happy you enjoy the plugin! :)

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

    Ratchet

    So recently allot of random blocks have been being locked. I think its the cenotaph plugin locked blocks around the chest when said person dies, and then glitches and doesint remove the block lock. (LWC) is the lock being deleted properly after the chest is removed?

    @Southpaw018
     
  27. Offline

    1hacker

    I can live with that. It's a great plugin already and time and date formatting is what I want most :)
     
  28. Offline

    Shooty

    My players can broke [private] on cenotaph chest, it's normal ? (But not on the normal [private] chest)
     
  29. Offline

    Fly007

    I dont know if I missing this or if it isnt part of the mod yet, but is there a way to have cento mod automatically make a chest for a players dropped items, instead of having them carry a chest and sign with them everywhere? I know it says you can set it up that way in the features, but im not seeing an option for it anywhere..
     
  30. Offline

    MaWe4585

    I have a slight conflict with the AdminCmd Plugin. There i'm able to use the command /vulcan which allowes a player to cause explosions.
    However, when the player gets himself killed it says that a chest is created, but when i get there next time there is no box and all items are lying on the ground.

    My guess is, that the chest is created slightly before the explosion and gets destroyed.

    Edit: i also had the problem, that there where i died where chests everywhere so that there was no place for a new chest. My items are gone now, can't find a box or anything else :(
     
  31. Offline

    vobilli

    Is there any way you could send me the 953 version?
     

Share This Page