[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

    Drakia

    @Vinsssounet
    And you're running what version of LWC? There's a reason I ask for more than just the error, I ask for the server log, it tells me exactly what versions of what plugins you're running.
     
  3. Offline

    Vinsssounet

    Oh I am very sorry, this is totally my bad ; I'm using LWC At version: v3.11

    So, I guess here's the reason.
     
  4. Offline

    Mr.Squeak

    For some reason my Tombstones won't self destruct, here is my config file. I'm using bukkit build 1000 with tombstone 1.3.5 but cannot figure out the problem... i am also using the most up to date lwc plugin.
    lwcRemove: false
    tombRemove: true
    lwcTimeout: 3600
    noDestroy: true
    logEvents: false
    lwcEnable: true
    playerMessage: true
    destroyQuickLoot: false
    noInterfere: true
    lwcPublic: false
    tombSign: true
    removeTime: 18000
    saveTombList: true
     
  5. Offline

    Drakia

    @andrewkm It is a new feature, chests won't spawn where people don't have build rights to (It does a blockPlaceEvent, and if the event is cancelled the chest is not placed) I can add an option to bypass this in the next version.
     
    andrewkm likes this.
  6. Offline

    andrewkm

    Much appreciated.
     
  7. Offline

    Locx

    @Drakia
    Thanks for helping me with the stargates. So i was hopeing you could help me with this one as well. lol. When a players tombstone is unprotected by lwc after X amount of time, It still is protected and can't be taken by an players other than the tombstones owner. Please help
     
  8. Offline

    Olick

    Hi,
    I have a problem with the plugin Tombstone. When the player dies, his objects doesn't spawn in the chest and the LWC protection doesn't work. I have LWC on my server

    Here's my configuration

    /whlwcRemove: false
    tombRemove: false
    lwcTimeout: 3600
    noDestroy: false
    logEvents: false
    lwcEnable: true
    playerMessage: true
    destroyQuickLoot: false
    noInterfere: true
    lwcPublic: false
    tombSign: true
    removeTime: 18000
    saveTombList: true

    Is there something wrong ?
     
  9. Offline

    Drakia

    @Locx I will be looking into the LWC issues, the API for that plugin went to shit with the newer version :/
    @Olick Yes, it would seem there is. I however can't help you unless you provide the requested information.
     
  10. Offline

    Locx

  11. Offline

    Olick

    I want objects to spawn into the chest, not outside, and that the chest locks itself as intended. That's what I meant in my previous post.

    I have Bukkit 945, And the plugin LWC
     
  12. Offline

    Drakia

    You aren't providing me ANY of the information I need, please go and re-read the first post, it says quite clearly that I need your logs, and the output of "version".
     
  13. Offline

    §Vishus§

    Excellent plugin, never had a problem with it, but a quick question:

    Would it be possible to make a quickloot plugin using the same process as tombstone? Ex. User places a sign on top of a chest, rt clicks and toggles between loot all from chest and drop all into chest?

    I've been looking for a plugin that does this and am no plugin dev myself, but it seems your plugin is very close to what I want, only if they could be created via command and excluded from deletion on pickup.

    Thanks for your response in advance.
     
  14. Offline

    Derek Rhode

    ITs great however its useless for me because i want chests to remain with their items unless they are empty. Would you be able to code it optionally in the config so chests emptied by anyone that found it will cause the chest to disappear?
     
  15. Offline

    Drakia

    No
     
  16. Offline

    Derek Rhode

    why not? :(
     
  17. Offline

    Drakia

    Because it's not a feature I am interested in coding.
     
  18. Offline

    §Vishus§

    doesnt it already do that? Delete the chest on loot right?
    What about the quick loot plugin I was asking about: think its doable/already done that you know of?
     
  19. Offline

    Drakia

    It has given me an idea for a plugin, but it's low on my priority list. Working 50+ hours a week doesn't give me much sleeping time, let alone coding time.
     
    ray landers likes this.
  20. Offline

    ray landers

    thanks for this plugin.
    i first saw it a few months ago when i died on someone elses server, and liked it so much i set up a server of my own just because i wanted to have this when i play solo.

    and now i am wondering just what i would have to put up with if i opened up a server to the public.
    so i am considering opening it up, but so far i am not going to.

    i have added a few other plugins besides this one and am getting things to work together.
    i am having good success and enjoy the trouble shooting aspect of it all.

    so thank you for inspiring me to get more deeply involved than i was already.

    oh look, its summer outside.
    when did that happen?
     
  21. Offline

    Drakia

    Just a heads up, 1.3.6 is uploaded with the 'skipBuildCheck' option (Defaults to false, set it to true to allow spawning a chest anywhere).

    [Version 1.3.6]
    - Added 'skipBuildCheck' option

    Coming up next will (Hopefully) be LWC fixes.
     
    andrewkm likes this.
  22. Offline

    andrewkm

    Awesome thank you :D
     
  23. Offline

    Drakia

    @Odai @Locx I can't duplicate the LWC behaviour you are seeing. When a chest is removed after the timeout LWC is removed successfully. The same when the player destroys the chest. What versions of everything are you running? (Tombstone, LWC, and CraftBukkit).
     
  24. Offline

    Odai

    i found out it was still a problem from LWC itself, found a better working version in the comments there
     
  25. Offline

    Drakia

    Good to hear :)
     
  26. Offline

    Locx

    @Drakia i actually realised that i had an older version of tombstone. 1.3.6 worked fine for me.
     
  27. Offline

    Moromillas

    I actually get quite a lot of stuttering when in the vicinity of my chest. Has anyone else encountered this? Have I configured it incorrectly?
     
  28. Offline

    Drakia

    Tombstone doesn't do anything in the onmove event, so this isn't a Tombstone issue.
     
  29. Offline

    Moromillas

    Oh? You're sure? Maybe you're using something in an OnUpdate or on an interval, or maybe something from an event that fires quite a lot. I'll load the server with just this plugin and see if I can replicate it some more.

    Edit: So yeah, I tried with just Tombstone. Then I remembered that I had it config'd to use permissions 3, silly me.
    Loaded Permissions 3.1.6, Tombstone 1.3.6, and sure enough the stuttering is back.
    I thought it might be Permissions 3, so I tried with just Tombstone and a chest in my inventory, same thing.

    I donno, maybe a client side mod? The stuttering seemed less severe when less chunks were loaded, maybe it's chunk related.

    Oh, funny story, while I was dicking around and dieing a lot, I just happened to lose all my items somehow HAHAHAhahah... ah crap, why am I laughing :(
     
  30. Offline

    BlackPandemic

    Pro-tip, don't test with a full inventory.
     
  31. Using SuperPerms (BukkitPermissions 1.1) only the permissions listed as Default in the original post seem to work.

    Version output:
    12:29:03 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-
    g4ed23b1-b1060jnks (MC: 1.7.3)
    12:29:03 [INFO] This server is also sporting some funky dev build of Bukkit!

    Here is the config.yml for bukkitpermissions
    Show Spoiler

    users:
    Gemannihilator:
    permissions:
    groups:
    - user
    Mushtool
    permissions:
    groups:
    - user
    groups:
    default:
    permissions:
    permissions.build: false
    admin:
    permissions:
    permissions.*: true
    inheritance:
    - user
    user:
    permissions:
    permissions.build: true
    tombstone.use: true
    tombstone.large: true
    tombstone.freesign: true
    tombstone.quickloot: true
    tombstone.cmd.tomblist: true
    tombstone.cmd.tombfind: true
    tombstone.cmd.tombreset: true
    inheritance:
    - default
    messages:
    build: '&cYou do not have permission to build here.'

    And the Tombstone config:
    Show Spoiler

    lwcRemove: false
    tombRemove: false
    lwcTimeout: 3600
    noDestroy: false
    logEvents: false
    lwcEnable: true
    playerMessage: true
    destroyQuickLoot: false
    noInterfere: true
    lwcPublic: false
    tombSign: true
    removeTime: 18000
    saveTombList: true
    skipBuildCheck: false
     
Thread Status:
Not open for further replies.

Share This Page