[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


    Updates! Be warned however, the compass commands are useless at the moment, as 1.4 has no working compass.
    [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.2.1]
    - Made /tombfind a bit more useful, will give a NESW direction.

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



    I can't seem to make this work using EssentialsGroupManager, would you mind looking into it?

    CB670 and Essentials 2.1

    I have these settings for the group but it's not creating a chest or sign for them. It works fine for me as I have all permissions.

        - tombstone.quickloot
        - tombstone.freechest
        - tombstone.freesign
        - tombstone.lwc
        - tombstone.sign
        - tombstone.use
        - tombstone.large
    No error messages


    I already fixed it, your plugin looks for the /plugins/GroupManager directory, Essentials uses /plugins/EssentialsGroupManager when GroupManager already exists (I installed Essentials over top of GroupManager). I removed GroupManager and Essentials automatically renamed it's directory and all is well.
  4. Offline


    "My plugin" looks for no such thing, it hooks into "Permissions" and whatever permissions plugin registers that name is what looks for folders. Running both GroupManager and EssentialsGroupManager was your problem.
  5. Offline


    I wasn't running both, GroupManager.jar was remove when I installed EssentialsGroupManager but I forgot to remove the GroupManager directory, Tombstone started working once I deleted the GroupManager directory so I'm happy.
  6. Offline

    Kevin Rizzo

    Just wanted to express my thanks for this plugin Drakia, it's great.
  7. Offline


    1.2 is finally working great for me, thx Drakia, keep up the good work!

    buuuut plz add a option like it only gives a freeChest/Sign when the user has none, this would be my only request
  8. Offline

    Don Redhorse

    hmm the tombstone works... but I don't get chest... error message is always there is no room for a chest.

    cb670 and a lot of plugins.

    any idea how to troubleshoot it? Known Interference with another plugin?
  9. Offline


    where are you dying
    Any time there is an empty space where I stand it drops for me so long as I would be able to place a block there myself, if I'm on a ladder or have a torch on the same block as me I can't get a chest, experiment and see if you can get a chest in an open field, up a mountain etc
  10. Offline

    Don Redhorse

    hmm rubbing up on a cactus to get killed... so there is space enough..
  11. Offline


    Well I just tried it and it works just fine, destroyed the cactus to place itself
  12. Offline


    It won't destroy a cactus, if you are "inside" the cactus when you die, then it won't place one. The best way to test is jumping off things.
  13. Offline


    Any chance we can get some way to integrate a way to disable the tombstone when using tommytonys War plugin?
  14. Offline


    As I've told other people who are trying to get me to take every other plugin into account, I already hook into two plugins, LWC and Permissions, I'm not adding any more, as then I need to push an update anytime the author of that plugin changes things. With a plugin like what you're asking for, it has no API, which means I'd be hooking into functions that I have no way of knowing if they'll be there in the next version.
  15. Offline


    I posted in both threads at the same time and both of you replied back within minutes, I'm sure you two could get together and come up with a working API for each other to integrate.


    Edit: I don't want to sound like an ass, I'm sure you're busy and coding is the last thing you want to be doing but you have a great plugin and I appreciate the work you do. So thank you!
  16. Offline


  17. Offline


    I care to disagree, I pushed up against the cactus then it forced the chest to spawn in the empty space, the cactus broke because one of the neighbouring blocks was filled which breaks Cacti
  18. Offline


    @Masix010 Let me rephrase that, it won't REPLACE a cactus.

    [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

    Fixes the issue @Sleaker was running into
  19. Offline


    Can /tombfind possibly give a right/left ahead/behind up/down distance direction as well as the compass nsew direction. Underground is bad.. +not having a compass that actually points anywhere useful doesn't help

    Guess I need to look for a compass plugin that actually points north.. instead of official spawn location.
  20. Offline


    Not unless you feel like coding it yourself, it was a bitch and a half just to get NSEW working in the first place (To match up with CommandBook /compass command).
    There is no way to make the compass item point somewhere.
  21. Offline


    Ive seen so many plugins that were able to change where the compass points, one example is MyHome by tKelly. Maybe you should check out the source on how to implement this but honesty I dont give a damn about this feature so do it or not, I dont care just wanted to tell you ;)
  22. Offline


    The compass is broken as of 1.4.
  23. Offline


    ah okay alright, thx for the info ;)

    and did you see that?:
  24. Offline

    Don Redhorse

    well cactus is easy to do, falling of cliffs requires longer... I will check again but I think it could be another plugin causing it.. worlguard / essentials / chest plugins have to check.. thats why I asked if there are any known issues..
  25. Offline


    /tombfind will error with NPEs if you pass in bad arguments
    I had a player do /tombfind playername - and console spit NPEs about the commadn argument. Plugin still functioned after that, just looks like it needs garbage collection for bad input from users.
  26. Offline


    @Sleaker Will post an update. I should have checked what happened with non-integers. Give me 5 minutes.

    [Version 1.2.3]
    - Fixed a bug in /tombfind with invalid input
  27. Offline


    Yea I don't care about the compass actually pointing either. Just a worded direction would work for me. I don't need it though.
  28. Offline


    I have been getting this each time someone tries to quickloot:
    2011-04-11 22:09:34 [SEVERE] Could not pass event PLAYER_INTERACT to Tombstone
        at net.TheDgtl.Tombstone.Tombstone$pListener.onPlayerInteract(Tombstone.java:374)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:252)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:208)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    I have a feeling it may be a conflict with MultiInv but I am no code monkey, I don't know if my theory is correct.
  29. Offline


    Not being able to keep your plugins updated is a user-error. PEBKAC. Unfixable on my end.
    You're ATLEAST 6 versions behind.
  30. Offline


    My bad, I feel rather silly, reverted back to an older version we had on the old server once users started saying it was not working. Just did a fresh wipe so still sorting out the kinks. Thanks for fixing my sillyness. I thank you guys for your work!

    EDIT: Yep that fixed it... when we updated to 670 that must of done it.
  31. Offline


    Heh- I havn't actually ever heard anyone else say PEBKAC in forever. :)
Thread Status:
Not open for further replies.

Share This Page