[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

    Drakia

    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!


    =============
    Description
    =============
    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

    =============
    Features
    =============
    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

    =============
    KNOWN BUGS
    =============
    None?

    =============
    Config
    =============
    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:
    {name}
    Killed By
    {cause}
    {time}

    =============
    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

    =============
    Commands
    =============
    /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.

    =============
    FAQ
    =============
    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

    =============
    Changes
    =============
    [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

    MadManMarkAu

    Not sure if this is a omsconfiguration on my end, but I'm using the latest Tombstone plugin with b670jnks. This is my config:

    Code:
    lwcEnable: true
    lwcRemove: true
    lwcPublic: false
    lwcTimeout: 60
    tombSign: true
    removeTime: 60
    tombRemove: true
    playerMessage: true
    saveTombList: true
    destroyQuickLoot: true
    noDestroy: false
    
    The tombstones aren't removed from the world after the 60 seconds. Neither is the LWC protection removed. We normally have timeouts of 3600s (1 hour) but we changed to 60 seconds and reloaded the plugin to test.
     
  3. Offline

    Drakia

    The timeout is checked in ~30 second (600 tick) intervals so as to not cause lag. This means it can have an error of upto 30 seconds on a fast server, or more on a slow one.
     
  4. Offline

    jjjnmk

    Quickloot doesn't seem to work consistently.;
    Sometimes I can die and use it right away
    Sometimes I have to relog >.<
     
  5. Offline

    HadrienM

    Hello,

    is it normal, if i have a chest ans a sign in my inventory, i dies and when i get all back, i've 2 chests and 2 sings. It duplicates itself.

    Soryy for my English :p
     
  6. Offline

    Drakia

    Yes because you have the tombstone.freesign and tombstone.freechest permissions.
     
  7. Offline

    MadManMarkAu

    You're absolutely right. I waited the extra 30 seconds and the tombstone removed itself. Sorry for the false alarm. :)
     
  8. Offline

    Drakia

    @MadManMarkAu I figured the slight delay was worth not having to go through the tombstone list every few seconds. I didn't expect too many servers to have 60 second tombstones :p
     
  9. Offline

    MadManMarkAu

    We don't. Ours is set to an hour, but I set it to 60 seconds for testing before marking the plugin as fully working in our server documentation. ^^;
     
  10. Offline

    VoidingNixx

    Been using this on CB #670. I have to say, this plugin is very nice. It works fully (which I wish I could say for a lot of other ones) and is a very nice addition to any server.

    Thanks for the plugin Drakia, and very nice job!
     
  11. Offline

    tkmr

    Thanks for the plugin, just a small request, and I didn't see this in the permissions list: Some way to turn off /back.
     
  12. Offline

    Drakia

    Back is not part of this plugin.
     
  13. Offline

    krizz02

    figured i'd throw this up here for you Drakia, see if it's something on my end or if it's something more pertinent to you. noticed a large server.log file and saw errors from Tombstone.

    2011-04-13 23:35:30 [SEVERE] Could not pass event PLAYER_INTERACT to Tombstone
    java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Chest
    at net.TheDgtl.Tombstone.Tombstone$pListener.onPlayerInteract(Tombstone.java:490)
    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)
     
  14. Offline

    Drakia

    @krizz02 You're not running the latest version. And what version of CB are you using?
     
  15. Offline

    krizz02

    damn, you're kidding. i only just recently started using Tombstone too. I try to check the plugin pages every few days, could have sworn it hasn't changed. That was on 670, I literally JUST updated to 677. I'll keep an eye on the log. Sorry to bother you with it.
     
  16. Offline

    Kainzo

    I'm getting reports that players are dying and sometimes the chest dupes their items. Very odd. Any others having this issue?
    677 / latest
     
  17. Offline

    JDD

    Download link not working atm boss.

    Link is now working again thank you.

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

    Frosth

    Small "bug" report:
    I've just downloaded the plugin, so it is up to date.
    I'm using the freesign permission.

    When destroying the sign, it repops with no markings on it, and when the destroy timeout comes up, it will drop a sign.
    I tested it again without destroying the sign, and it did pop a sign as well at the timeout.

    It's not game breaking, a sign every timeout, but I thought you might be interested.
     
  19. Offline

    Dreadreaver

    but it sucks big time, plz just add a option to the config so you can just toggle globaly wether freechest can consume an existing chest or not. some of my moderators are having like 100 chests already and its getting really annoying
     
  20. Offline

    Drakia

    @Frosth The only time the sign should re-appear is if you have "NoDestroy" set to true. The no text is an MC bug. As for it dropping a sign I'll fix that in the next release.
    @Dreadreaver To me, free means free, this being my plugin means that definition is what I use.
     
  21. Offline

    Frosth

    Yup, I had NoDestroy, forgot to mention it. Also freesign.
    I didn't know about the sign bug, but the actual duplicate is one.

    Thanks for the quick answer, good luck and keep up the good work :)
     
  22. Offline

    RobotGymnast

    Can you get yourself supported in CraftBukkitUpToDate?
     
  23. Offline

    Drakia

    @RobotGymnast I got myself removed from CraftBukkitUpToDate, I dislike his method of checking for updates, and none of my plugins will ever be supported by that plugin.
     
  24. Offline

    RobotGymnast

    @Drakia Alright, thanks for the info.
     
  25. Offline

    Drakia

    [Version 1.2.4]
    - Fixed sign drop bug when destroying with timeout.

    And in regards to CBUTD:
    [​IMG]
    The 14th is the day they were removed. That plugin was downloading a full copy of my plugins every time it hit my server, which was ~6000 times a day.
     
  26. Offline

    Kainzo

    @Drakia -
    BUG REPORT:
    Someone dying near another person's chest and it setting the chest 'In that area".
    If a user dies by someone's already LWC'd chest - the contents of the LWC'd chest spills into the tombstone chest - and the player can freely take items.

    Feedback:
    Awesome plugin - loving it!
     
  27. Offline

    Drakia

    @Kainzo Am I working on a fix for a bug you haven't actually reported? No. Also, the only possible fix without doing a bunch of searches would be check around the chest location for another chest, and bail on tombstone creation if one exists.
     
  28. Offline

    Kainzo

    Apologies - I wasn't trying to come off as presumptuous. Just alerting you of an exploit / hole in security here :) Also its rather early and after re-reading my post I can see how it came off bad.

    (Edited)
     
  29. Offline

    Drakia

    @Kainzo
    [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))
     
  30. Offline

    Kainzo

    @Drakia - you are a beautiful man.

    Also - still 5mins for the tests or are they good to go?
     
  31. Offline

    Drakia

    Good to go, it took me 30 minutes cause of testing and moving code around to make sure large chests wouldn't interfere either ;)
     
Thread Status:
Not open for further replies.

Share This Page