[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


    @Gemannihilator PermissionsBukkit is retarded. Check with "permissions dump {username}" that the Tombstone permissions are actually being set.
  3. Weird, when I try any of the PermissionsBukkit commands it says they don't exist :L
  4. Offline


    Probably something on your end then. They work fine for me (Tombstone + PermissionsBukkit). Did you run your configs through a YAML parser?
  5. No not before.
    I just ran the permissions config through one and I got:

    ERROR: while scanning for the next token found character '\t' that cannot start any token in "<unicode string>", line 35, column 1: ^
  6. Offline


    Do not use tabs in YML files
  7. Woo! That got the tombstone things working, thanks! Oddly still no permissions commands, but meh, the thing I wanted fixed was, so screw it :D
  8. Offline


    Is this working good with LWC 3.41?

  9. Offline


    Oh jebus. They changed their API around again?
  10. Offline


    God dammit, when will LWC learn API changes should be major version changes :/
  11. Offline


    Could you add some way to prevent the sign being destroyed (and not the chest) but have another setting to destroy the sign if the chest is punched? It seems a bit silly to ask my players to carry around a sign all the time just for a fun death message, but I do want them to have to carry around chests. I don't want them getting free signs when they die, but I do want them to be able to retrieve the chests they dropped.
  12. Offline


    Is there any way to set up the free sign and free chest options without using permissions?
  13. Offline


  14. Offline


    Any chance that this will be updated, when you have the spare time to code it, in the future? What with permissions being inactive for some time now, that plugin is bound to fail at some point in time as Minecraft and Bukkit evolves.
  15. Offline


  16. Offline


    Any word on whether this works with 1185 or not?
  17. Offline


    Works fine with 1185
  18. Code:
    lwcRemove: true
    tombRemove: true
    lwcTimeout: 600
    noDestroy: false
    logEvents: false
    lwcEnable: true
    playerMessage: true
    destroyQuickLoot: true
    noInterfere: true
    lwcPublic: false
    tombSign: true
    removeTime: 1200
    saveTombList: true
    skipBuildCheck: true

    Why can other players still loot my chest when i die? we tested this.
    Friend gets message that its protected but still he can loot it. Why is this? i got LWC
  19. Offline


    If it says the chest is protected yet others can still access it it may be an LWC issue. I will look into it tonight.
  20. dont worry, it is not YOUR plugins fault. Its in lockette / lwc. Tried with both <- chests wont get protected but doors will
  21. Offline


    Probably something to do with the 1.8 update. Hopefully they release a new version soon :)
  22. Found bug:
    If player doesnt carry 1 or 2 chests with him when he dies, the items are duplicated :3
    No error in console or anywhere but this happened twice :D. Removed this pluging = no longer duplicates
  23. Offline


    I am not getting this error.
  24. Offline


    Real quick, do I HAVE to use SuperPerm? If I don't do _anything_ regarding permissions (we don't use permission plugins on our server) will regular players still be able to use this (I hope).

    Also, tombSign:true doesn't seem to be working. Do players have to carry a Sign with them too, or does it MAKE one? There are no signs seen with my name on our around a chest when I test this. Everything else works great.

    Can you add an option to let me, let them, just CREATE a sign and a chest when they die rather than -have- to have one on them? That would be much appreciated. My players are not smart and very forgetful.
  25. Offline


    Link is down?
  26. Offline


    Server is moving, as stated in my signature. Downloads are offline for ~12 hours.
  27. Offline


    Hey great plugin kind of works like modloader's deathchest but I do have one request, could you please make a setting so you can let everyone have a free chest and sign because its a bit of a pain dicking around with permissions just so it works how I would like it to.
  28. Offline


    This option will not be expanded past permissions. With SuperPerms built in there is no need.
  29. Offline


    Well thanks for at least replying, guess I gotta find some good tutorial on how to set up permissions cause I just can't seem to get it to work.
  30. Offline


    Would there be a way to implement a command that removed LWC protection from your tombstones? For instance, you and a friend are together and one of you dies, there's no way for the other person to get your stuff and take it back to you. As far as I know, you have to be next to a chest to remove LWC permissions from within LWC.
  31. Offline


    No. LWC is meant to protect until YOU get to your chest.
Thread Status:
Not open for further replies.

Share This Page