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

    I can add that feature. Honestly, won't be for a while, but I will add it eventually :)

    Check the character encoding settings in your IDE - if you're in the US on Windows, it may default to Windows-1252/ANSI or worse, US-ASCII. CP1252 technically includes the characters you've listed (ASCII doesn't), but UTF-8 is always, always the safer option.

    In Eclipse, look at Preferences -> General -> Workspace -> Text file encoding.

    Let me know if that doesn't fix it. I'd be interested in helping you debug so I can ensure none of my plugins will have the same issues.

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

    rudedoggx

    Is it possible to disable this plugin in certain WorldGuard regions?
     
  4. Offline

    Southpaw018

    Not yet. This feature is planned.
     
    rudedoggx likes this.
  5. Offline

    Don Redhorse

    if it would be that easy... :'( https://bukkit.atlassian.net/browse/BUKKIT-1466

    if you have a solution let me know... I will remove a character in my default messages but translation into foreign languages makes this almost impossible if there is no easy solution out... except of course using properties or similar for it..
     
  6. Offline

    TheRealIceGuru

    Can you make this use simplechestlock?
     
  7. Offline

    mindystorm

    The chest wont spawn with non op players
     
  8. Offline

    senne97

    the chest some times doesn't gow awy even when empty ore over time
     
  9. Offline

    Raven2222

    I may be completely blind, but I'm not seeing any config or admin commands to change the free chest option.

    I see your list of commands and such, it doesn't tell me how to use them!
     
  10. Offline

    elysianhero

    Raven2222, you can do this by enabling permissions. If you already know how to use permissions, just add the cenotaph.freechest node. If you don't know what permissions are, or how to use them, check out PermissionsEx. It's my personal favorite.

    Southpaw018, thanks for continuing to support this mod -- it's still the best dead man's chest mod around!
     
  11. Offline

    Raven2222

    I'm running McMyAdmin, so I've added cenotaph.freechest (I also tried cenotaph.*) to my permissions set. It still isn't giving me a free chest, or allowing me to do /cenadmin commands.

    Do I need to be running this in-game permissions plugin? It seems a bit short-sighted if I have to.
    (I was expecting to see a global switch in the config file so that I can enable it for all players, without having to diddle with permissions).

    Edit: I forgot to OP myself. I can use /cenadmin now, still no free chests however.
     
  12. Offline

    IsaiahRobichaud

    Think he means like "Player was burned to death" "Player fell to their death"

    Features I want (Great Job if they're alreadymin or being worked on!)
    1) What Zarius said signs with death msgs (right click for items then delet sign and take items also protect the signs from being destroyed!)
    2) Starting players have certain amount if lives and when lost all lives have set area for players to spawn at and disallow all commands from player and give commands to buy more lives with commands somthey can only chat
    Walk and buy commands for lives. (obviously economy support) and when lives are bought they respawn and
    Have their items if nobody Took them. Maybe also have a configurable gift to give after lives bought

    (FACTIONS SUPPORT cuz factions can have you spawn at home/faction home instead
    Of selected areas) - sorry for bad english and if this is too complicated :(
    Thanks for reading this. And super thanks if you add this!
     
  13. Offline

    TrueHelp

    Can we remove the "op" only permissions.... currently I find that permissions dont work. I want my mods to have free cenotaphs, so I put cenotaph.freechest in and they still drop their crap when they die.
     
  14. Offline

    Inscrutable

    Hey Southpaw, this plugin works a treat on CB RB3.0 with PEx 19.2. A few players invented an amusing game of jumping off a cliff and trying to quickloot their last Cenotaph as they fall, hopefully hitting the water this time. :rolleyes:
    A great many fatalities ensued, and a great time was had by all. No lag, no problems, no worries. Great stuff! Thanks!
    (PS: the non-op players involved have the free sign and chest perms, and they work correctly.)
     
  15. Offline

    TrueHelp

    Here's an idea, what about linking it with Dynamic Maps, I allow users to see the dynamic map of the server, if you could incorporate it with Dynamic Maps (because no one carries compasses :p ) that would be awesome!
     
  16. Offline

    Sketaful

    I agree with this. I like to save the signs when players die with a short description on what killed them. A layer on dynmap showing all these signs would be a fun thing.
     
  17. Offline

    yozee

    i would love the dynmap support, as well as an update to 1.2.5!:)
     
  18. Offline

    Achielleus

    Does this plugin still works with the current 1.2.5-R4 bukkit build?
     
  19. Offline

    LlmDl

    Yes, it works great.
     
  20. Offline

    johnney5

    I’m guessing this isn’t the place for the post but just to be informative there seems to be some sort of conflict between your plug-in and a plug-in called “Tribu.” The console doesn’t spit out any errors that I could find but Im also a bit of a noob at this sort of thing so please forgive my vagueness.
     
  21. Offline

    LlmDl

    Your post is vague, you didn't actually get around to telling us which part conflicts and how you know it is.
     
  22. Offline

    HunterTTP

    This plugin is amazing. The only problem I am having is that when a cenotaph is empty, it does not disappear until I reload my server. Everything else is great :) Thanks,

    HunterTTP

    PureFactions.com
     
  23. Offline

    HunterTTP

    Fantastic Plugin! Although, it seems to generate endless warnings in my server saying "[WARNING] Task of 'Cenotaph' generated an exception" over and over and over again.

    HunterTTP

    PureFactions.com
     
  24. Offline

    slipcor Retired Staff

    is the author still alive?

    some things:

    1) this plugin is working so intensively well on our server, I would never want to miss it!

    2) could EXP saving be added or did I miss HOW to do it?

    3) I am using CB1.2.5-R5.0 and bPerms latest, no permission issues even though MultiGroup setup, everything is just plain PERFECT :) (different groups based on priviledges have different ways of accessing CenoTaph, based on perms, working FINE!!!!)
     
  25. Offline

    Don Redhorse

    honestly don't know... mung3r is updating / refactoring deathtpplus atm.. perhaps an alternative
     
  26. Offline

    slipcor Retired Staff

    :/ it's working so well except those things ... I'll wait for 1.3 reactions :D
     
  27. Offline

    Yeavon

    update to 1.3.1 please ^^
     
  28. Offline

    Don Redhorse

    read the last messages... developer is awol
     
  29. Offline

    hidan98

    HOw do you make it that you dont have to carry a chest
     
  30. Offline

    Don Redhorse

    Permissions , if the plugin still works read the last messages.
     
  31. Offline

    Eloston

    I'm running craftbukkit 1.3.1-R1.0.
    For some reason, somehow the players on my server created cenotaphs in a way that on every startup, the cenotaph plugin crashes with this error:
    Code:
    [WARNING] Task of 'Cenotaph' generated an exception
    java.lang.IllegalStateException
            at java.util.concurrent.ConcurrentLinkedQueue$Itr.remove(Unknown Source)
     
            at com.MoofIT.Minecraft.Cenotaph.Cenotaph$TombThread.run(Cenotaph.java:1
    607)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:126)
            at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:512)
            at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
            at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    This is the contents of the tomblist db:
    Code:
    world,-454,64,299:world,-455,64,299:world,-454,65,299:LoLuigi:1:1344737611:false
    world,110,96,-421:world,109,96,-421:world,110,97,-421:LoLuigi:1:1344738814:false
    world,-503,63,379::world,-503,64,379:CABowser:1:1344738824:false
    world,-454,64,296:world,-455,64,296:world,-454,65,296:LoLuigi:1:1344739642:false
    world,-488,61,96::world,-488,62,96:coolas1:2:1344739970:false
    world,-449,64,296:world,-450,64,296:world,-449,65,296:LoLuigi:1:1344740356:false
    world,-325,61,113::world,-325,62,113:coolas1:1:1344740452:false
    world,-455,59,116::world,-455,60,116:coolas1:1:1344740872:false
    
    Also, there are empty cenotaphs that don't dissapear, even though I configured cenotaph to delete them after they are emtpy.

    Does anyone have a fix?
     

Share This Page