[UNSUPPORTED][MISC] Tombstone v1.3.6 - A deadmans chest plugin for Bukkit [1317]

Discussion in 'Inactive/Unsupported Plugins' started by Drakia, Feb 10, 2011.

Thread Status:
Not open for further replies.
  1. Offline


    Tombstone - A deadman's chest plugin
    Version: 1.3.6
    CraftBukkit: 1317
    This plugin support SuperPerms. Please do not ask about setting up SuperPerms in this topic, ask here: http://forums.bukkit.org/threads/permissions-faq.25080/

    Plugin Dependencies:
    Permissions (Optional)
    LWC (2 or 3) (Optional)

    If you want help, post the output of the "version" command, and make sure you're running atleast the version specified in the topic title.
    Please post your server log when asking for help with tombstones not spawning
    Do not bother asking for help if you killed the player using anything other than basic attacks. I do not guarantee support for any plugin-based attacks or deaths such as /kill!

    Save your players' inventory from disappearing when they die.
    I used Deadmans Chest in hMod and thought it was a great plugin, so I started my own version for Bukkit.

    Download: http://thedgtl.net/bukkit/Tombstone.jar
    Source: https://github.com/TheDgtl/Tombstone

    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 tombstone if not available
    Supports LWC for chest AND sign protection if it is installed
    Configurable timeout for LWC unprotection
    Configurable timeout for destruction of tombstones, works in unloaded chunks as well
    Quickloot support, right click the sign on a tombstone to loot all items in it (Your tombstone only!)
    Place a sign on top of the chest with a configurable template
    The ability to point your compass at your tombstones!
    Supports "SuperPerms"

    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, you can now set the noDestroy option in the Tombstone config file.
    If you do set the noDestroy option, it is highly recommended that you set a timeout for Tombstone removal, because even once LWC is disabled the chest is still not destroyable by any means other than quicklooting it.
    With noDestroy enabled, if a player dies without a sign, then their chest will be indestructible until it is removed by Tombstone itself.
    It is not recommended to use the noDestroy option without the destroyQuickLoot option


    lwcEnable - Whether to use LWC if available
    lwcRemove - Whether to remove LWC after a specific timeout
    lwcPublic - Set to true to set LWC protection to Public instead or removing
    lwcTimeout - How long to wait before disabling LWC on a tombstone (in Seconds)
    tombSign - Whether to place a sign on the tombstone
    removeTime - How long to wait before destroying a tombstone (in Seconds)
    tombRemove - Whether or not to destroy a tombstone after a timeout
    playerMessage - Whether or not to show messages to the player
    saveTombList - Whether to save a list of tombstones between server reloads
    destroyQuickLoot - Set to true to destroy the chest/sign on quickloot
    noDestroy - Set to true to disallow any player from destroying a tombstone (Other than quickloot)
    noInterfere - Set to true to stop tombstones from being created next to other chests (Items are dropped to ground instead)
    logEvents - Whether to print some "useful" information to the server terminal.
    skipBuildCheck - Set whether to skip the blockPlace check (True to bypass region protection) (Default false)

    Sign Template
    The sign template is stored in plugins/Tombstone/sign.tpl
    The following variables are able to be used in the sign template:
    {name} - The players name
    {cause} - The cause of their death, or their killers name if it was a player
    {date} - The date of their death
    {time} - The time of their death

    The sign template is 4 lines correlating to the 4 lines of the sign. The maximum length
    of a line is 15 characters. The default sign template is as follows:
    Killed By

    Permissions (Either via SuperPerms, or Permissions 2.x/3.x)
    tombstone.use - (Default) Allow the player/group to use the tombstone mod
    tombstone.freechest - Allow the player to get a chest whether they are carrying a chest or not
    tombstone.large - Allow the player to spawn a large chest if carrying two chests and if one will fit
    tombstone.lwc - (Default) Protect the placed chest if LWC is enabled
    tombstone.sign - (Default) Whether the player gets a sign on their tombstone chest
    tombstone.freesign - Allow the player to get a free sign whether they are carrying one or not.
    tombstone.quickloot - (Default) Whether to allow a player/group to quickloot by right clicking the tombstone sign.
    tombstone.admin - Allow this user to destroy other players tombstones.
    tombstone.cmd.tomblist - Allow this user to use /tomblist
    tombstone.cmd.tombfind - Allow this user to use /tombfind
    tombstone.cmd.tombreset - Allow this user to use /tombreset

    /tomblist - List all your tombstones
    /tombfind - Gives you a direction from your current location to your tombstone. Use with /compass (Sync'd to CommandBooks /compass)
    /tombreset - Doesn't do anything.

    Q) Can you add support for {PluginX}?
    A) No.

    Q) Player items are being duplicated, and I'm using SlowHealth, whatsup?
    A) http://forums.bukkit.org/threads/mi...ugin-for-bukkit-1000.3923/page-18#post-550275

    [Version 1.3.6]
    - Added 'skipBuildCheck' option
    [Version 1.3.5]
    - Fixed accidental clearing of /tomblist on quickloot
    - Added SuperPerms support
    - Do a build permission check so we don't spawn a chest in protected areas
    [Version 1.3.2]
    - Apparently LWC 3.30 had a change in API that wasn't documented, yay
    [Version 1.3.1]
    - Recompiled with LWC 3.30
    [Version 1.3.0]
    - Added sign template
    - Tombstone no longer created in void death
    - Re-enabled the compass for /tombfind
    More Changes (open)

    [Version 1.2.9]
    - Fixed free double chests
    - Made freechest/freesign default to isOp() without permissions
    [Version 1.2.8]
    - Added logEvent option for debug purposes.
    - Do a 3x3 check for a block to place chest.
    [Version 1.2.7]
    - Check properly if we're placing a big chest for interference
    [Version 1.2.6]
    - Fixed issue with name length
    [Version 1.2.5]
    - Option to bail on tombstone creation if it will interfere with another chest.
    - Check tombstone stuff more often (Every 100 ticks (5 seconds))
    [Version 1.2.4]
    - Fixed sign drop bug when destroying with timeout.
    [Version 1.2.3]
    - Fixed a bug in /tombfind with invalid input
    [Version 1.2.2]
    - Moved playerInteract to Highest priority since we remove a block.
    - Added check to make sure the tombstone is a chest before we doing anything.
    - Other general checks
    [Version 1.2.1]
    - Made /tombfind a bit more useful, will give a NESW direction.
    [Version 1.2.0]
    - Added compass commands.
    [Version 1.1.8]
    - Right-clicking a chest will quickloot/destroy if you have noDestroy/destroyQuickLoot enabled
    [Version 1.1.7]
    - Fixed quicklooting in RB670
    [Version 1.1.6]
    - Fixed some owner comparisons.
    [Version 1.1.5]
    - Moved setting "plugin" to onEnable
    - Moved setLine() outside of scheduler
    [Version 1.1.4]
    - Added more LWC checks
    [Version 1.1.3]
    - Added tombstone.admin
    [Version 1.1.2]
    - Fixed loading tombstone list after server restart
    - Check if player is online before sending tombstone messages
    [Version 1.1.1]
    - Updated to latest RB
    [Version 1.1.0] - Only updating for LWC2 from here on
    - Changed versioning scheme
    - Changed loading of permissions/LWC
    [Version 1.09]
    - Updated sign update code, should work better
    - Updated for LWC2, there is now an LWC1 build, and an LWC2 build
    [Version 1.08]
    - Configurable tombstone list storage
    - Allow LWC to be set to Public instead of disabled
    - Allow destroy on quickloot
    - Allow tombstones to be "invincible" besides quickloot
    [Version 1.07]
    - Fixed a bug in which protected chests could be destroyed.
    - Messages to players can be turned off.
    [Version 1.06]
    - Item-dupe fix broke plugin, fixed
    [Version 1.05]
    - Re-compiled for b522 to fix ItemStack.equals error
    [Version 1.04]
    - Small permissions handling update
    - Inform player if we run into a casting problem.
    [Version 1.03]
    - No longer treat GM as a special case, just load it as Permissions 2.0 like the author intended
    [Version 1.02]
    - Support Permissions 2.0/2.1
    - Support GroupManager
    [Version 1.01]
    - Fixed a Null Pointer Exception when chests are destroyed
    [Version 1.00]
    - Added ability to remove chests without needing LWC
    - LWC and remove thread are now a sync task
    - Right-click sign to quickloot. Permission added.
    - Better Permissions handling
    - LWC protects sign
    - Only create a large chest if needed
    - Deactivate LWC protection when sign or chest is destroyed
    [Version 0.06]
    - Implemented tombstone signs
    - Changed message if LWC is enabled to say how long before unprotect/destruction
    - lwcTime of 0 now indicates that LWC protection never expires
    [Version 0.05]
    - Added config file
    - Implemented chest removal
    - Configurable timeout
    - Toggle LWC usage via config
    [Version 0.04]
    - Added LWC timeout
    [Version 0.03]
    - Added LWC support
    - Made Permissions optional instead of required. Default without Permissions is allow all to use
    [Version 0.02]
    - Initial Public Release
    ray landers, Montag, harakiwi and 9 others like this.
  2. Offline


    @Drakia I really appreciate the hard work and dedication - that was a fast fix!

    Also - when that option is toggled - will their items pop if they are too close to a chest? or will it get shoved over a few blocks?
  3. Offline


    The items just drop to the ground. Having it move would require even more checks (More lag). If I had it do that, what would be the outcome if they die surrounded by chests?
  4. Offline


    I think you're right. It's rare a player would die exactly by other chests and in the event the failsafe would be to just pop the items.

    I think with the large possible exploit - its a small price to pay.

    lwcEnable: true
    destroyQuickLoot: true
    playerMessage: true
    lwcRemove: true
    lwcPublic: false
    tombRemove: true
    saveTombList: true
    removeTime: 3600
    tombSign: true
    noDestroy: false
    lwcTimeout: 800
    noInterfere: true (Defaults to true for the fix)
  5. Offline


    Running CraftBukkit 711 (and previous bukkit test builds compatible with 1.5) with MC1.5_02 server and **only 1 plugin Tombstone 1.2.5 ** with 3 players, the player with a 16 character username always crashes the server after death. Tombstone is created, however during respawn server crashes, user error on screen is...

    java io exception Received string length longer than maximum allowed (16 > 15)

    No other error messages in server log apart from "end of stream".

    No one can login until the server is restarted.

    I understand tombstone will probably need updating for the 1.5 build and recommended craftbukkit but I thought I would let you know about a bug I am encountering.

    Craftbukkit 711 (and previous bukkit test builds) and server 1.5_02 without tombstone plugin works fine for all users.

    Hopefully this is something that will be fixed with the update to be compatible with MC1.5 as I miss the Tombstone plugin already.


    lwcEnable: false
    destroyQuickLoot: true
    playerMessage: true
    lwcRemove: false
    lwcPublic: false
    tombRemove: true
    saveTombList: true
    removeTime: 18000
    tombSign: true
    noDestroy: false
    lwcTimeout: 3600
    noInterfere: true (also tried false)
  6. Offline


  7. Offline


    Thank you that fixed it. Bukkit as also been updated to 712 to fix a 15 chars sign length issue.
  8. Offline


    714 does not work all the time. No real console messages.
  9. Offline


    LWC does work with CB 709 SO this does work with it.
  10. Offline


    1.26 / 715
    It appears that double chest doesnt work with noInterfere: True

    is this suppose to happen? Cheers!
  11. Offline


    A large chest will only spawn if required (getDrops.size() > sChest.getSize())
  12. Offline


    Great plugin! Seems to be working ok so far with CB716 (haven't tried with LWC yet).

    I don't currently protect the chests as I like to keep them in the world for at least a week (perhaps more) so that people can later stumble over them. I would like to temporarily protect them though, for say an hour, so that if you die you can get back to your chest - after this I want the chest to stay but be freely available for anyone to loot. Is this possible?

    EDIT: Nevermind - re-read the config file and answered my own question. There's a "lwcTimeout" option :)
  13. Offline


    At the moment... A large chest isnt spawning - despite having a full inventory and the * command. It was working before the exploit chest fix with Interfere.
  14. Offline


    nm should have went to end of post. My issue with large chest been posted already.
  15. Offline


    Well... I'm seeing an issue with QuickLooting a double chest - in 1.27 - is there any reason why that might happen?

    Running 733.
  16. Offline


    What kind of issue? And is the double chest spawning fixed with 1.2.7?
  17. Offline


    What is the name/URL of the supported plugin for Sign protection ?
  18. Offline


    Maybe you fixed that, but on my version, death by tnt doesn't gives me a chest. Is it normal?
  19. Offline


    same problem here (with v1.2.7)
  20. Offline


    @Drakia - I tested Single chests and they work just fine. You are able to right click the sign and loot them. However, on doublechest tombstones - right clicking the sign to quick loot does nothing.

    The doublechest tombstone spawning is now resolved (by 1.27)
  21. Offline


    Unfortunately not on my server. Since updating to the new version only single tombstones are spawned, regardless of noInterfere set to true or false (permission "tombstone.large" enabled).

    bukkit v733, tombstone v1.2.7 (i redownloaded it one minute ago)
  22. Offline


    Interesting.. that's the first thing I set.. maybe another plugin is conflicting - I did update several plugins on the 733 move..
  23. Offline


    @Kainzo I just tested with a large chest with destroyQuickloot enabled and it worked fine. Is there any error in the console? The size of the chest has nothing to do with the sign/quicklooting other than it having to go through more items.
    @DerManuel A large chest is only spawned if needed, as I said.
    @snouz A chest is spawned, the TNT destroys it however. I am going to ignore you though, because you started your post with "Maybe you fixed that, but on my version"
  24. Offline


    @Drakia - Ill give you another report after more testing today. Busy at work and cannot.
  25. Offline


    @Drakia I know it's not rigorous, I'm just a user, I did not test it a second time, just experienced it. And yes, it's an old version (1.2.2) but I didn't find it on the changelog, so I just thought you'd like to know. But yes, didn't think about that. I thought it was strange since the explosion doesn't last, and then you die, and THEN a chest spawns.
  26. Offline



    Working fine for me in RB733 (have enabled temporary LWC protection - it's working great!). Would love to see the compass ability come back (ie. getting the compass to point to your chest) but understand if it's not possible.

    The first post is getting a bit long - perhaps put some of the older changelogs into a "spoiler" tag?
  27. Offline


    What is the name/URL of the supported plugin for Sign protection ?
  28. Offline


  29. Offline


    Oh, I thought you meant LWC and some other script (like lockette, uses signs to lock chest, no DB)
    Thanks for the clarification.
    Awesome plugin, adopted !
  30. Offline


    It also spawns a single chest with full inventory (otherwise it wouldn't be a problem):
    [Tombstone] Inventory stored in chest. x items wouldn't fit in chest.
  31. Offline


    I can confirm this.
    My players only get a small chest and rest drops to the ground.

    permissions set:

    Played around with it a bit.
    You get only 1 free chest not 2. If you die with 0 chests you have a small chest. if you die with 1 chest then you have a large one. So the problem is: freechest doesn'T check if the player is allowed to have a large chest and doesn't give the proper amount needed.
Thread Status:
Not open for further replies.

Share This Page