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

    captainawesome7

    @Southpaw018 I thought he just stopped adding features to his plugins?

    Okay screw it, @Drakia I just checked Tombstone it says b818, so why did you make your own version @Southpaw018

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

    Southpaw018

    @captainawesome7, not only did he stop adding features, he refused to add features his users wanted in the first place. Did you notice his FAQ?
    I don't use LWC and I don't want to use LWC. I use Lockette, so I added support for it. In addition, there are many more features (such as block reversion) that I think could really make the plugin shine, and additional open bugs (void checks) that require fixes.

    Once again, all credit to @Drakia for his incredibly hard work on the plugin. I'm just picking up where he chose to leave off.
     
    Digi likes this.
  4. Offline

    captainawesome7

    @Southpaw018 Thats the point, he never left off...
     
  5. Offline

    Southpaw018

    He said that he is not adding any more requested features, nor will he add any support for additional plugins, nor will he offer further support.

    That's "leaving off" by my definition, and I decided to fork his plugin when he made that post, not before. If you disagree or you don't want what I add to the plugin, you don't have to use it.
     
  6. Offline

    Dreadreaver

    @captainawesome7
    I know that you had some plugin copycat problems with your plugin recently but don't get the wrong idea.
    Drakia published his source on GitHub under the GPL so everyone is free to fork it and use it as a base for plugins - whether or not Drakia is still developing his plugin.
    This is a perfectly fine plugin submission as @Southpaw018 even added other features like Lockette.
     
  7. Offline

    Southpaw018

    Thanks, @Dreadreaver. I'm not not not (I promise!) trying to step on anyone's toes. :)
     
  8. Offline

    Shooty

    @Southpaw018 Hey your plugin look amazing :D ! But i have a question, can you add iConomy Support ? Like this plugin : http://forums.bukkit.org/threads/me...ntory-when-you-die-iconomy-support-798.11109/

    For exemple, players buy lives, and if he haven't life, him inventory just go on the ground and no in a chest :) !
    But, if you would like add this feature i have few suggestion :
    Can players don't loose their life if they are in a PVP zone or in a special world (a configurable.txt) and desactivate this feature in certain world (or just a zone if you can) (for exemple i wouldn't like players had theys inventory back in a PVP zone) And for VOID zone (for exemple for a SKYLAND MAP) , just give link to this plugin : http://forums.bukkit.org/threads/fix-itemvoid-v1-1-restores-removes-items-after-death-818.19659/ and sure, they don't loose their life ;).

    (Sorry for bad english i'm french) Thanks !
     
  9. Offline

    Dreadreaver

    @Southpaw018
    You're welcome. As long as Drakia himself doesn't ask for a removal I don't see any problems.
     
  10. Offline

    Southpaw018

    Merci pour la contribution, mon ami :) Je ferai ces choses finalement (et pardonnes ma francais, s'il te plait :D).

    I really like those suggestions, and I'll implement them one at a time in the 1.6 branch. First, I'll implement life buying, and then your more complex suggestions.
     
  11. Offline

    Zarius

    Howdy - great work, look forward to seeing new features added to this great plugin. Would be really nice to get the compass working with /tombfind - have you seen this plugin (Azimuth - allows for changing the compass to spawn, home or last death)?

    Would also like to see configurable signs as I'd like to have the reason for the death written on the sign too.
     
  12. Offline

    Shooty


    Oh cool :D
     
  13. Offline

    Drakia

    I have no problems with this plugin, but there are two things I want to make clear.
    1) My plugin is not dead, it is not abandoned, I am just tired of having to deal with users. It is still updated, and there are still new features being added, but only features I want, not feature requests (It is, after all, my plugin).
    @Dreadreaver
    2) Just because source is posted on GitHub does NOT mean that you can release a fork of it, that is completely dependent on the license. This project is fine to fork, as the source is GPL, but something such as Stargate, which is not licensed under the GPL is not able to be released as a fork.
     
    BlackPandemic likes this.
  14. Offline

    Zarius

    I can attest to Tombstone being updated and working fine with CB818 (and 820 :)) and will be watching both of these threads carefully to see which one I prefer to use. Either way I thank Drakia muchly for the work in creating Tombstone :)

    @Southpaw018
    Just a question regard the lockette support: does this have a timeout feature too? I use LWC only for the tombstones and only protect chests for an hour (after that I consider them to be free for all :D).
     
  15. Offline

    Southpaw018

    I have that feature planned for the 1.5 branch :D
    1.4: initial bugfixes and features
    1.5: security generalization (timer can apply to either)
    1.6: economy
     
  16. Offline

    Shooty

    Can you add automatically destroy the chest after inventory has backup :D?
     
  17. Offline

    Southpaw018

    Désolé, je ne comprends "backup"...

    Sorry, I don't understand what you mean by "backup." Could you rephrase? :)
     
  18. Offline

    LlmDl

    Lockette support! Thank you!
     
  19. Offline

    Shooty

    When your inventory is back in your inventory (lol)
     
  20. Offline

    Southpaw018

    Hmm. Yes, I suppose I can add an optional check to destroy the cenotaph when it is empty. I'll put that in after I get some other things done, though. :)

    Happy to help!

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

    LlmDl

    Is it possible to add an option in the config so that lockette only locks the chest if the player has the signs in their inventory?
     
  22. Offline

    Shooty

    It's alreay possible
     
    LlmDl likes this.
  23. Offline

    Southpaw018

    1.4.1 is up with a fix for cenotaph creation in the Void and a built in update check.
     
  24. Offline

    Zarius

    Hmm... I actually like players not having to worry about losing stuff in the void (though would be better if the chest was created at y=1 or something just near where they fell out) - could this be an option?
     
  25. Offline

    LlmDl

    From what I can tell it isn't possible to make a player require a sign in their inventory for the lockette private sign to be added. Can someone correct me if I'm wrong?
     
  26. Offline

    Southpaw018

    Yes, I'll add that for 1.7. It might be a bit before I get to that point, though.

    It isn't. I'll also add this feature in 1.7.
     
    LlmDl likes this.
  27. Offline

    Zarius

    Look forward to checking out 1.7 - still using Tombstone for now. If I see death messages on signs & a working compass with tombfind I'll be jumping ships :D
     
  28. Offline

    Southpaw018

    Death messages on signs?
     
  29. Offline

    Zarius

    Customised message with the ability to show cause of death on the sign :)
     
  30. Offline

    Southpaw018

    I can do that, but it's enough work to warrant another point release. 1.8 it is.
     

Share This Page