Cenotaph
Cenotaph - A Dead Man's Chest plugin
Version: 3.0.1
Plugin Dependencies
Lockette (Optional) OR LWC (Optional)
Cenotaph is a fork of the most excellent Tombstone by Drakia. 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
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.
Detailed Feature List
- 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 (3.0): Major plugin and messaging cleanup
3.1: Economy integration, Towny integration
3.2: 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
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 - asd
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
/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
/ceninfo <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 <player> - List all cenotaphs belonging to <player>
/cenadmin find <player> <index> - Show details on <player>'s cenotaph <index>
/cenadmin remove <player> <index> - Destroys <player>'s cenotaph <index> and drops its contents on the ground
/cenadmin info <player> <index>
/cenadmin version - Show current version of Cenotaph and check for a new version
Changelog
[Version 3.0.1]
- Add option to disable Dynmap
- Fix error on shutdown when Dynmap is not loaded/enabled
- A few minor improvements in speed/efficiency
- When used without an index number, the find and info commands now default to the last (most recent) cenotaph instead of giving an error message
- More cleanup in the command handler
- Permission update: .cenotaphtime and .admin.time are now .cenotaphinfo and .admin.info. The old permissions will continue to work.
[Version 3.0]
- Major code refactoring (you can't see it, but trust me, it's awesome)
- Total messaging overhaul. Messages are clearer, simpler, and better formatted
- centime is now ceninfo (centime will continue to work)
- Admin commands now match on partial or similar player names instead of requiring full case-sensitive name
- Dynmap integration
[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
[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
(See README for full changelog)
Please Come of update 1.4.7 R-1.0
@CorneliousJD
Same Issue doesn't seem to do much besides hog disk space
Great plugin, version 2.1.2 works flawlessly with Tekkit 3.1.2 using PermissionsEx :)
Having seen 3.0.1 on a friends server is their any chance of a version including the messaging overhaul etc that is compatible with Tekkit Classic (CB 1.2.5-R4)?
Does not work properly in Bukkit dev builds for 1.4.6/ Cenotaph destroys itself too quickly and errors in console.
Is anyone able to run the Java 6 build of Cenotaph on Java 6? It seems it's still compiled towards Java 7:
2012-12-09 10:42:45 [SEVERE] Could not load 'plugins/Cenotaph.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/MoofIT/Minecraft/Cenotaph/Cenotaph : Unsupported major.minor version 51.0
Wrong upload? :) Although the two 3.0.1 versions do differ according to diff.
Just to add, I'm getting the same problem as WingedSpear, ThubLives, and MerlinHansen.
Running bukkit beta release for 1.4.2, R 0.2. Using the 3.0.1 Java 6 version of your plugin. Java version on my computer is Apple Java SE 6 (64-bit) version 1.6.0_31-b04-415. Operating system is Mac OS X.6.8.
I would love to be able to:
Is there any way to configure this already, or a possibility of it being added?
Thanks, and I love this plugin!
I have been having the same problem with the J6 version in both 3.0 and 3.0.1 as WingedSpear and ThubLives. My log looks the same as theirs. I'm running Mandriva Linux on my server and here is the java -version output:
java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
Let me know if there is anything else I can provide.
@SurceBeats
I keep getting these exceptions too, each time with a different task #, and when i do a /reload on the server (McMyAdmin) it goes away, for a while, then it comes back.
17:15:10 CONSOLE: [WARNING] [Cenotaph] Task #56 for Cenotaph v3.0.1 generated an exception
What means that? :S
Hi, I found a bug. Cenotaph chests will destroy cacti.
Sorry, everyone. For some reason, DevBukkit hasn't been sending me updates for this thread.
@Neo_Vortex
That's weird. My best guess is that another plugin or some other event on your server blew up one of the chests. Cenotaph thinks it's still there, and there's your null pointer. I'll put in a check to handle that error more gracefully. It should go away once the missing cenotaph breaks. Else, you can stop the server and remove the offending cenotaph from the save file.
@WingedSpear
That's odd, guys, you should definitely NOT be getting that error with the JRE6 version. Let me take a look at it this evening. Stand by, please!
I'm getting the same error as WingedSpear with the Java 6 version of 3.0.1: http:pastie.org/5046468
I'm using the OpenJDK implementation provided with Fedora 16. Here's the output of "java -version":
java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.3) (fedora-67.1.11.3.fc16-i386) OpenJDK Server VM (build 20.0-b12, mixed mode)
http://pastie.org/5023130
too bad i wanted to use this plugin, i tested the normal one and java 6 versions...both the same error
Well i tested the TombStone plugin, its working fine in my server, too bad it dont have translation support but it work perfect.
Running 3.0 (only noticed 3.0.1 just then) and getting the following spam in my server log. Happened randomly out of the blue and a server restart doesn't help.
http://pastie.org/private/9d3y2wutrpef1zyrbopz3w
I updated to 3.0.1 and restarted the server and the error remained (same line numbers). Any suggestions? Am running 1.2.5 with MCPC patches.
@Southpaw018
Very big Thanks for this short but usefull Update! :)
Update! I wanted to actually push 3.1, but I'm leaving town for a long weekend tomorrow, and I wanted to post a few quick changes and fixes. The full list is above, but most importantly:
[Version 3.0.1]
@lenivets09
Sorry! Thanks for the report. This will be fixed in the next release. Cenotaph is trying to stop Dynmap, and since you're not running Dynmap.... D:
Getting error on Server stop. Stoping by /stop
Thanks for the quick response! In that case, I will keep free chest and free sign on for now as I eagerly await the release of the new features. Thanks again.