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

    Southpaw018

    First: thank you, thank you, for your help debugging this. I can't reproduce this bug on my server.

    Okay, that's correct (I really need to finish the hour/minute/second display for centime). Now, what happens if you set it to 30 seconds? What happens on a new cenotaph with the setting at 30 seconds? What does it say after it's supposed to be removed?
     
  3. Offline

    LlmDl

    On an older version I tried setting it to 60 seconds, it didn't unlock. I'm going to wait out the 8 hours on this cenotaph and get back to you, I don't recall what the /centime command had told me in previous tests.
     
  4. Offline

    Southpaw018

    Okay. Please let me know. :)
     
  5. Offline

    LlmDl

    It's past the 8 hours now and the protection was not removed. When I type /cenlist I have no cenotaphs and the quickloot sign is not letting me quickloot the chest.
     
  6. Offline

    Southpaw018

    Okay. I can't work on it right now, but that is a definite hint. Please stand by.
     
  7. Offline

    Xander0311

    Thanks for the update! I don't use any permissions on my server, but I'll make sure to start using them to get this working. :) Thank you again!
     
  8. Offline

    Shooty

  9. Offline

    Southpaw018

    Multiworld should already be working. What's broken?
     
  10. Offline

    Shooty

    No i say disable cenotaph on certain world ?
     
  11. Offline

    Southpaw018

    COMING SOON: 1.6.7
    • Final 1.6 release
    • Update LWC API
    • Add option to require players to carry extra sign for Lockette
    • Add option to disable in specific worlds
    • Fix a few message bugs
    • Fix Lockette not deactivating properly
    This is going to be a few days. I'm having a really hard time tracking down the Lockette securityTimeout bug.
     
    Xander0311, gameswereus and LlmDl like this.
  12. Offline

    gameswereus

    Thanks for the update on the upcoming update!
     
  13. Any chance of making this compatible with the Dynmap API? Would be great to be able to see every chest on the map :)
     
  14. Offline

    BulletSix

    hiya :)
    you will have many whispered "thank you"s for this on my server, methinks

    before that i need to set it up properly and that is a bit problematic for me atm ...
    where can i specify, without a permission plugin to give out free chests?

    sorry, if this has been answered already, i may be very well "optically challenged) ;)
     
  15. Offline

    Shooty

  16. Offline

    furt

    Ive done a pull request on github with my modifications to the source feel free to merge ^^
    If anyone wants to test my updated version http://dl.dropbox.com/u/17392489/Cenotaph.jar
    It uses bukkit permissions, I havent tested lwc or lockettte yet tho.
     
  17. Offline

    Kiwz

    I've done some testing, and it seems like my lockette sign is NOT disappearing if there has been a server restart.
    And for ALL other worlds other than the default, after a server restart, every cenotaph's is gone (chests with sign are still there)
    Is this only happening to me or is it a bug?
    Code:
    Core:
        #Print messages to terminal if true (debug)
        logEvents: false
    
        #Place a sign on the cenotaph if true
        cenotaphSign: true
    
        #Prevent non-Op players from destroying cenotaphs if true (destroyQuickLoot overrides)
        noDestroy: true
    
        #Show status messages to the player if true
        playerMessage: true
    
        #Save Cenotaph listing between server reloads if true
        saveCenotaphList: true
    
        #Stop Cenotaph creation next to existing chests if true
        noInterfere: true
    
        #Check for new versions on startup
        versionCheck: false
    
        #Cenotaph normally checks to make sure it isn't trying to create a chest in the void.
        #If you handle or modify the void with another plugin, you can disable that check here.
        #This option should be true for most servers.
        voidCheck: true
    
        #If you are not locking your chests with Lockette or LWC but still want them to be
        #protected against Creeper explosions, or you want your chests to be protected even
        #after they are unlocked, enable this.
        creeperProtection: false
    
        #Each line may be one of any custom text OR:
        #{name} for player name
        #{date} for day of death
        #{time} for time of death (server time)
        #{reason} for cause of death
        #REMEMBER: LINES ARE LIMITED TO 15 CHARACTERS, AND DON'T FORGET THE QUOTES!
        Sign:
            Line1: "{name}"
            Line2: "{reason}"
            Line3: "{date}"
            Line4: "{time}"
    
            #For formatting, see http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html
            dateFormat: "dd.MM.yyyy"
            timeFormat: "HH:mm"
    
    Removal:
        #Destroy cenotaph on player quickloot if true
        destroyQuickLoot: true
    
        #Remove cenotaph after removeTime seconds if true
        cenotaphRemove: true
        removeTime: 3600
    
        #Immediately remove cenotaph once it is empty, overriding all other timeout options
        #WARNING: THIS IS A PROCESSOR-INTENSIVE OPTION
        removeWhenEmpty: false
    
        #Never remove a cenotaph unless it is empty
        #WARNING: THIS IS A PROCESSOR-INTENSIVE OPTION
        keepUntilEmpty: false
    
    Security:
        LocketteEnable: true
        lwcEnable: false
    
        #Remove security after securityTimeout seconds
        securityRemove: false
        securityTimeout: 3600
    
        #Set LWC protection to Public instead of removing it after the timeout
        lwcPublic: false
    
    #Remember, your character limit for the below message plus whatever else is on the line is 15 characters.
    DeathMessages:
        Monster:
            Zombie: "a Zombie"
            Skeleton: "a Skeleton"
            Spider: "a Spider"
            Wolf: "a Wolf"
            Creeper: "a Creeper"
            Slime: "a Slime"
            Ghast: "a Ghast"
            PigZombie: "a Pig Zombie"
            Giant: "a Giant"
            Other: "a Monster"
        World:
            Cactus: "a Cactus"
            Suffocation: "Suffocation"
            Fall: "a Fall"
            Fire: "a Fire"
            Burning: "Burning"
            Lava: "Lava"
            Drowning: "Drowning"
            Lightning: "Lightning"
        Explosion:
            Misc: "an Explosion"
            TNT: "a TNT Explosion"
        Misc:
            Dispenser: "a Dispenser"
            Void: "the Void"
            Other: "Unknown"
    
    configVer: 12
    Here is my plugin list:
    [ AutoHelp] [ bChat] [ BigBrother] [ BorderGuard ] [ bPermissions ] [ Cenotaph ] [ CFBanner] [ ChestShop] [ CommandBook ] [ CustomLog ] [ dynmap] [ FalseBookBlock ] [ FalseBookCart ] [ FalseBookChat ] [ FalseBookCore ] [ FalseBookExtra ] [ FalseBookIC ] [ FoundDiamonds ] [ Help] [ iConomy ] [ IgnoreLogger] [ Lockette] [ MCStats3 ] [ RemoteToolkitPlugin ] [ MinecraftViewer] [ MrFixit ] [ Multiverse-Core] [ Multiverse-Portals] [ NoCheat ] [ nSpleef] [ OpenInv ] [ Orebfuscator ] [ Runecraft] [ ServerMonitor ] [ VanishNoPickup ] [ WorldEdit] [ WorldGuard ]
     
  18. Offline

    LlmDl

    @Southpaw018

    I'm sure you're in the middle of finals or something equally time-consuming. Can you give a shout to let us know you're still planning to update this?
     
  19. Offline

    Tanite

    @Southpaw018

    Looks like Drakia has (finally) gotten himself banned, so you may be getting some more traffic over here with people trying to see if this is an updated, working alternative.
     
  20. Offline

    Rsccman

    banned for what and why?
     
  21. Offline

    Don Redhorse

    well if you guys are lucky I will also have a version up end of the week or next week... but it will be integrated into DeathTpPlus.
     
  22. Offline

    LlmDl

    I'm not really looking for that sort of feature, any chance of making it into two seperate but complimentary plugins?

    I just want players to drop a death chest that locks with lockette and can unlock itself after a given time (something cenotaph still doesn't do for me.)
     
  23. Offline

    Don Redhorse

    not really sorry.. mainly because I'm doing a full refactoring of the deattpplus plugin and wanted to add that function to it... you can disable all the deathtpplus original features though..

    and I also guess that @Southpaw018 will update his plugin again when he has time... there is also a fork from it on github from @furt he posted several posts up from here
     
  24. Depending on how you do it it could still take RAM for features not even enabled. This is why i like to have it in a seperate plugin like this. If needed, i migh even fork this one to just have a running alternative to Tombstone for the time beeing.
    I do not want to offend you ;) It is just that i do not want nor need any of the DeathTP+ features. I simply need a plugin to put free chests with a sign on it and having a quick-loot option!
     
    LlmDl likes this.
  25. Offline

    Don Redhorse

    not offended at all.. if you fork it take a look at the fork of furt.. not the original one..

    I will hopefully make a push into my repository soon.. you can also take a look at the code and I REALLY welcome any feedback on how to make it better.. I know the code is quite...hmm... ugly... but it is getting better.. I already cut out around 200 lines of code. (from the original plugin).
     
    Lathanael likes this.
  26. Offline

    Nathan C

    *Sigh*...

    Well the last remaining death chest plugin was Tombstone and the author was banned. Not sure what is going on over there, but now the link is remove/broken too..
     
  27. Offline

    h0us3cat

    hes banned for insulting people.
    warnings did not help...
    hard way is the only option.
     
  28. Offline

    Nathan C

    Excellent!

    Works great! :)
     
  29. Offline

    Liger_XT5

    Cenotaph works well on CB MC 1.9pre5, but there is a bug with enchants. If the player dies, his items are saved, but enchanted items loose their enchants.
    I know most plugin authors don't support non-RB CB, but it's a future thought to keep in mind and might look into when CB releases a RB 1.9
     
  30. Offline

    Don Redhorse

  31. Offline

    Liger_XT5

    Thought I'd add to my previous post, a couple post above, that in later builds of 1.9pre5, death chests don't seem to work in the nether.
     

Share This Page