[FUN/TP] Tomb 0.7 - Make people remember you after your death[1000] [Permissions][All Economy]

Discussion in 'Inactive/Unsupported Plugins' started by Dark_Balor, Apr 27, 2011.

  1. Offline


    Tomb - A sign that count your deaths and the last "thing" that killed you :
    Version : 0.7

    Tomb is a very little and light plugin that allow your user to set a tomb. A tomb is just a sign represent the TombStone where there is 3 things : The name of the player, the number of times he died and what was the last cause.

    Features :
    • Tomb can be use as teleporter to the location where the user die (only by the owner of the tomb)
    • Tomb are automatically named (look in section How to set a Tomb).
    • Only admin can create a tomb for an another user (using Permissions)
    • Tomb are automatically updated when you die
    • You can set more than 1 tomb but ... (look Know issues)
    • Only admin and owner of the tomb can destroy the tomb
    • Tomb are persistent upon server restart
    • Right click on the tomb teleport you to your death location (can be disabled in the config)
    • You can set the tomb to be your respawn point (can be disabled in the config)
    • all Economy with Register made by @Nijikokun
    • Permissions support
    Know issues:

    If you have more than 1 tomb, the sign is not updated ON THE CLIENT, on the server there is no problem. That mean, for other people near the Tomb the sign is not updated unless they reconnect, die or quit the zone.

    It don't happen if you just have 1 tomb.

    With other respawn plugin, if you activated the respawn on the Tomb it will override (or be overrided by) every other respawn plugin.

    Download Tomb


    Source Code

    How to set a Tomb (open)

    1) Create a new Sign with first line [Tomb] (if you are an admin, you can set the second line to the player name)

    2) Automatically the sign will take your name
    3) And when you die ... MAGIC

    tomb.admin -  mean you can set tomb for other (just set the second line of the sign to the name of the player) and you can destroy every tomb.
    tomb.create -  Allow the user to create tombs.
    tomb.free - Everything is free when using iConomy
    tomb.tp - Allow the user to use the deathTP, useful when in config allow-tp = false.
    Todo (open)

    1. iConomy support (for tomb and tp)
    2. Permissions node for tomb creation
    3. ideas ?

    Config file (open)

    #activate iConomy
    use-iConomy: true

    #price for creating a tomb
    creation-price: 10.0

    #price for tp to death location
    deathtp-price: 50.0

    #after tp, reset the loc to avoiding the use of the tomb as a waypoint
    reset-deathloc: true

    #Set the maximum of tombStone a player can have, 0=infinite
    maxTombStone: 0

    #Allow the users to use the deathTp (right click on the tomb)
    allow-tp: true

    #Use the tomb as respawn point
    use-tombAsSpawnPoint: true

    #To change the keyword used to detect that the sign is a tomb
    TombKeyword: '[Tomb]'

    #Cooldown in MINUTES before you can reTP to your death location.
    cooldownTp: 5.0

    #Number of death before destruction of every tomb of the player
    # without resetting the counter. If set to 2, every 2 deaths, the tombs are destroyed. (Sign is dropped) 0 = Disabled
    maxDeaths: 0

    #When a tomb is destroyed, the respawn point is reset.
    reset-respawn: false

    Locale File :
    locale.yml in the plugin folder represent the locale file it's generated while the first launch of the plugin (to be true when the first player having a tomb die). You can customize the death's text. Only limit : not more than 18 characters because it's the max for a sign's line.

    English Local File : locale.yml (open)

        - BOUM
        - TNT
        - Dynamite
        - Killed by %k
        - Zombie-Pig
        - Became Void
        - End of World
        - Unknown
        - Ksss BOUM
        - Creeper Lover
        - Skeleton Bow
        - Arrow in Head
        - Suffocated
        - Sand's breath
        - Sand worm
        - Cactus
        - Poked a Cactus
        - Hug a Cactus
        - Toasted
        - Burned
        - Fire! Fire!
        - Toasted
        - Burned
        - Fire! Fire!
        - In Nether
        - Ghast
        - BOUM
        - TNT
        - Dynamite
        - Splouched
        - Slime won
        - By Zeus
        - By Thor
        - Lighting
        - Eat by Wolf
        - Wolf meal
        - Wolf lunch
        - Swim in lava
        - Now obsidian
        - L4D
        - Braaaiiin
        - Zombie rules
        - Tried to fly
        - Love the ground
        - Spider venom
        - Arachnophobia
        - Has drowned
        - Love fishing
        - Drunk the sea

    FRENCH Local File : locale.yml (open)

        - BOUM
        - TNT
        - Dynamite
        - Explosé
        - Piégé
        - Tué par %k
        - %k le tueur
        - Zombie du Nether
        - Visite du néant
        - Visiteur du néant
        - A vu le vide
        - Voyageur du vide
        - A vu la Matrice
        - R.I.P.
        - Raison inconnue
        - Ksss BOUM
        - Calin de Creeper
        - Squelette
        - Flèche
        - Empalé
        - Etouffé
        - Respire le sable
        - Enseveli
        - Enterré vivant
        - Cactus
        - Piqué par Cactus
        - Calin de Cactus
        - Cramé
        - Brûlé vif
        - Incendié
        - Rôti
        - Grillé
        - Rissolé
        - Est un toast
        - Est à point
        - Est cuit
        - Est bien cuit
        - Cramé
        - Brûlé vif
        - Incendié
        - Rôti
        - Grillé
        - Rissolé
        - Est un toast
        - Est à point
        - Est cuit
        - Est bien cuit
        - Âme du Nether
        - Ghast
        - BOUM
        - TNT
        - Dynamite
        - Explosé
        - Piégé
        - Splouch
        - Câlin de Slime
        - Goûté de Slime
        - Courroux de Zeus
        - Colère de Thor
        - Eclair
        - Orage
        - Electrifié
        - Coupe d'enfer
        - Electricité
        - Benjamin Franklin
        - Mangé par un loup
        - Goûter de loup
        - Loup
        - Par les loups
        - Bain de lave
        - Obsidienne-isé
        - Bain chaud
        - Baignade au magma
        - L4D
        - Ceerveeeaux
        - Zombiefié
        - Saaaannng
        - Mangé
        - Dévoré
        - Ne vole pas
        - Aime le sol
        - Cassé les dents
        - Test de gravité
        - Newton
        - Venin d'araignée
        - Est arachnophobe
        - Arachnophobie
        - 8 pattes
        - Est un cocon
        - A bu la tasse
        - A respiré l'eau
        - A bu l'eau de mer
        - Est humide
        - Coulé

    GERMAN Local File : locale.yml (open)

        - BO00M
        - TNT
        - Dynamit
        - Getötet von %k
        - Zombie Schwein
        - Wurde unwichtig.
        - Ende der Welt
        - unbekannt
        - Creeper Liebender
        - Skeleton Bogen
        - Pfeil in Kopf
        - erstickt
        - Sand im Atem
        - Sand Wurm
        - Kaktus
        - Schlug Kaktus
        - Umarmte Kaktus
        - Toasted
        - Verbrannt
        - Feuer! Feuer!
        - Toasted
        - Verbrannt
        - Feuer! Feuer!
        - In der Hölle
        - Geist
        - BO00M
        - TNT
        - Dynamit
        - Geschleimt
        - Slime gewann
        - Von Zeus
        - Von Thor
        - Von einem Blitz
        - Vom Wolf gegessen
        - Wolfs Mahl
        - Wolfs Essen
        - Schwom in lava
        - Nun Obsidian
        - L4D
        - GEEEEHIRN
        - Zombie FTW
        - Flog zu hoch
        - Liebte den Boden
        - Spinnengift
        - Arachnophobie
        - Ist ertrunken
        - Liebte die Fische
        - Trank den See

    Credit :
    @lonelydime for his code of DeathTP+. Used to determine what killed you. (DeathListener)
    @[F(r)iend] for the concept : http://forums.bukkit.org/threads/graveyard-log-player-deaths-concept-image.12895/#post-212469
    @Sphax for the French Locale File.
    @Nijikokun for Register
    @an0x for German Locale File.

    Version 0.7
    • [FEATURE] reset-respawn in config (see config)
    • [FEATURE] maxDeaths in config : you can set a limit of deaths before destroying the tomb.
    • [OPTIMIZATION] If the player have already a tomb (or had one), and you are the admin when you adding a tomb for that player, you can type his name without needing to have the right case or the right number of letter : example : if you have a player Test that have already a tomb, just typing : tes in the second line of the sign will be enough.
    • [BUG FIX] With multiWorld, the plugin is now loader AFTER MultiVerse, to avoid some problem with tomb in world that aren't loaded
    Version 0.6.2

    • [minor CHANGE] To avoid collision with other eConomy plugins
    Version 0.6.1

    • [Possible BUG FIX] Of an update problem when more than 1 sign.
    Version 0.6

    • [FEATURE] Now work with all Economy Plugins (Bose, iConomy, Essentials)
    Old ChangeLog (open)

    Version 0.5.9
    • [OPTIMIZATION] When disabling the plugin.
    Version 0.5.8

    • [OPTIMIZATION] Some code optimization.
    Version 0.5.7

    • [OPTIMIZATION] Some code improvement (minor)
    • [LOG] Logger added to have more precise information about what happen.
    • [CHANGE] When you are an admin and add a tomb for a player, the player MUST be connected.
    • [BUG FIX] Rare NPE.
    Version 0.5.6

    • [BUG FIX] Corrected a rare NPE.
    • [OPTIMIZATION] Better "destruction" of the plugin when we disable it.
    Version 0.5.5

    • [OPTIMIZATION] Some optimization for the sign update when you die
    Version 0.5.4 (END OF SUPPORT OF iConomy 4.6.5)

    • [BUG FIX] Now the plugin detect when a Wolf killed you
    • [OPTIMIZATION] Some code optimization about permission and Tomb that are destroyed by something else then a Player.
    Version 0.5.3

    • [CHANGE] new version of iConomy : works with 5.0 for 4.6.5 use the OLD version of the plugin
    Version 0.5.2

    • [minor CHANGE] Added seconds to the death tp cooldown.
    Version 0.5.1

    • [STRING] Changed a string to avoid problem with girls xD
    • [OPTIMIZATION] Some minor code optimization to avoid some problem with creation of the tomb.
    Version 0.5 (MAJOR RELEASE)
    • [ISSUE] The only issue (Update issue) is now completely gone :D. You can have 5,10,etc ... tomb without any sync problem :)
    • [FEATURE] The [Tomb] text is now customizable you can change it by what you want in the config
    • [FEATURE] Added a cooldown for the death tp (see config file)
    • [FEATURE] Added the possibility to use the tomb as Respawn Point :)
    • [OPTIMIZATION] Some code optimization
    Version 0.4

    • [MAJOR BUX FIX] Tomb creation was buggy.
    Version 0.3.7

    • [OPTIMIZATION] Some code optimization when the sign is destroyed by something else that a player (or when the surface were it is is destroyed)
    • [BUG FIX] Rare NPE with setLine
    Version 0.3.6

    • [possible BUG FIX] When the server saving the sign, it was crashing.
    Version 0.3.5

    • [FEATURE] Possibility to set a max number of tombstone
    • [ADD] maxTombStone in the configFile
    Version 0.3.4 (unreleased)

    • [FEATURE] Allow tp
    • [PERM] allow tp
    • [ADD] Config param allow-tp
    Version 0.3.3 (unreleased)

    • [MAJOR BUG FIX] Correction of a bug in the save system. When deathlocation was null, it was throwing an Exception.
    Version 0.3.2

    • [BUG FIX] PvP glitch corrected. Now the %k is replaced by the killer's name.
    Version 0.3.1

    • [MAJOR BUG FIX] When something destroy the tomb it wasn't registered. Now it is. And when reloading the tomb (server restart) all tomb info was lost !
    Version 0.3

    • [FEATURE] iConomy support
    • [ADD] Config file
    • [PERM] tomb.free to have everything free when using iConomy
    Version 0.2

    • [FEATURE] Added a locale file automatically generated when you launch the plugin
    • [FEATURE] Auto-save when the server save his world
    • [PERM] Added new Permissions Node : tomb.create
    Version 0.1

    • [RELEASE] Public release
  2. Offline


    Nice gonna try it out now ill write back and see how it goes:p
  3. Offline


    Very nice! XD
  4. Offline


    Thanks :)

    Maybe I'll add support for iConomy depending on the demand ^^
  5. Offline


    can you make a language file? or an option to personalize messages?
    great plugin. My cemetery will now be useful! :p
  6. Offline


    THis is similar to DeathSigns bugood job :)
  7. Offline


    @geek85 : I'll do that in the next version :)
    @Tmidog69 : the big difference between my plugin and all other "TombStone" plugin is that YOU choose were to put your tomb instead of spawning a Sign were you die :)
    geek85 likes this.
  8. Offline


    i like the idea, but the possibility of tombs appearing on death points maybe?
  9. Offline


    This seems epic but you could create anther permission node for creating one for yourself.

    This way I can charge my players to buy these and ill make one for them.
    Please release that as a quick update then later work on iConomy support for use and creation.

    That aside, Epic plugin.
  10. Offline


    thanks a lot! :)

    I have noticed an error after several uses:

    13:51:22 [INFO] [Tomb] (version 0.1) Enabled
    13:51:22 [GRAVE] java.io.EOFException
    13:51:22 [GRAVE]        at java.i:confused:bjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2297)
    13:51:22 [GRAVE]        at java.i:confused:bjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2766)
    13:51:22 [GRAVE]        at java.i:confused:bjectInputStream.readStreamHeader(ObjectInputStream.java:797)
    13:51:22 [GRAVE]        at java.i:confused:bjectInputStream.<init>(ObjectInputStream.java:297)
    13:51:22 [GRAVE]        at be.Balor.Workers.SaveSystem.load(SaveSystem.java:83)
    13:51:22 [GRAVE]        at be.Balor.Workers.TombWorker.load(TombWorker.java:116)
    13:51:22 [GRAVE]        at be.Balor.bukkit.Tomb.TombPlugin.onEnable(TombPlugin.java:85)
    13:51:22 [GRAVE]        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    13:51:22 [GRAVE]        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
    13:51:22 [GRAVE]        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
    13:51:22 [GRAVE]        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    13:51:22 [GRAVE]        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    13:51:22 [GRAVE]        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    13:51:22 [GRAVE]        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    13:51:22 [GRAVE]        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    13:51:22 [GRAVE]        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    13:51:22 [GRAVE]        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    13:51:22 [INFO] [Tomb] Tombs loaded !
    13:51:22 [INFO] [Tomb] Successfully linked with Permissions.
    it is possible it was an interaction with other plugins, but it worked correctly before (as far as i remember).
    the bukkit version is 733 (no changes until i'd install plugin).
  11. Offline


    This doesn't work for me. I am the admin of my server and I set up a Tomb and it didn't post my name. I killed myself by drowning and the sign never changed. I tried it twice. I am using the latest build of both Bukkit and Minecraft.
  12. Offline


    [Tomb] on the sign must be with a capital letter for the "T"
    and if you have permission remember to give correct perms to you.
  13. Offline


    Does not seem to be updating the death signs..
  14. Offline


    I have the letter T capitalized. And I don't use permissions on my server, so I should be able to do this since I am an admin. However it doesn't work at all. Do I HAVE to use permissions? If so, I probaly won't use this plugin.
  15. Offline


    @EliteASH_11 : I'll see later, there is enough plugin that doing already this.

    @Dr_Herbalist : I'll add that in the 0.3 with node for creating tomb.
    But for iConomy I need ideas ... How do you want to use it in this plugin ? Pay for Tomb creation ? For tp ? how much ? other ideas ?

    @geek85 : wow ... It's look like file corruption ... It mean that you have to delete your save file ... and recreate the tombs. Normally it can't happen ...

    @Kinaesthic : need more detail :
    Did you set [Tomb] as first line ?
    If yes, after creating the tomb, is the second line your player's name ?
    Is there something in the log ?
    Did you set more than 1 tomb ?

    Version 0.2 OUT : look changelog :)

    Changed my mind :
    Permissions for tomb's creation added in 0.2 Please Redownload now :)

    @Haduke : Like @Kinaesthic : can you respond all the questions ?
    And to answer you : If permission is not found, it's free-for-all

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


    I got it to working now without using Permissions. Thanks for the help.
  17. Offline


    @Haduke : to be true : If no permission is detected
    Tomb creation is free-for-all.
    and the Tomb.admin is replaced by checking if the user is an OP :)
  18. Offline


    Thanks for the update.
    Can I suggest also that they can only TP back to their last death once, to stop them using it as a waypoint.

    And topic title version needs changing :p
  19. Offline


    Just once ? never thought about it, I'll change that :)

    just changed the title :p
  20. Offline


    thanks a lot for the locale file! i'll test in the moment! :)
  21. Offline


    I made a tomb for all the players on my server. And now the tombs don't work at all. I did everything according to the tutorial. It kind of sucks too because I made this nifty looking graveyard for the tombs. I killed myself in lava, went back to my sign and it only says
  22. Offline


    mmhh Strange.
    Can you send me your log ? without it I can't know if there were a problem with your server or my plugin.

    Version 0.3 is now out with the support of iConomy :D

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


    hum, seems the local file doesn't like special characters.
    i made this one (in french):
    - see attachement -
    the tomb should work, but nothing is changing on death. no counter, no sentence.

    more details:
    if I start the server with the original locale.yml or no file, it works properly. I die : 2 Death, Love the ground
    if I change the local.yml, restart the server and die, the counter and the sentence don't change: 2 Death, Love the Ground
    if I restart the server without the file and die : 3 Death, Burned
    so the plugin doesn't work with my local.yml.
    is the "=" sign a problem? or all the other signs (é,à,û,ê...)?

    Attached Files:

  24. Offline


    Did you delete the file tombs.dat ? like I said earlier ?

    Because your save file is corrupted, meaning that you must delete it and recreate the tombs.
    And for the locale file, it must be in UTF-8 else the special char don't works.


    Try with this file.
    On my local server it works.

    Attached Files:

  25. Offline


    it seems the plugin recreate the tombs.dat itself, but i'll do like you say.
    and i'll verify that the file is UTF8. That the point! stupid Windows and ANSI default behavior...

    WORKS LIKE A CHARM! (in 0.2) and with my personalized sentences!
    maybe i will download the 0.3 but I don't use iConomy...
  26. Offline


    I added some new thing like the config file.
    And some minor bug fix :) I recommend you to download it ^^

    For iConomy, If you don't have it all the iConomy functions will be deactivated :)
  27. Offline


    Just one glitch: in PvP, when a player die, the sentence is "tué par %k" (Kill by %k) instead of "Tué par geek85" (Kill by geek85)
    I'll download and test with 0.3. same problem with 0.3.
  28. Offline


    mmmh I'll see for 0.3.2 that not normal ...
    @geek85 : corrected in 0.3.2 =)
  29. Offline


    I remember in 0.1 it works correctly. i'll test with no local.yml and I'll post my results.

    Test results : same with no locale.yml file in the plugin directory. => "Killed by %k"
  30. Offline


    take 0.3.2 It's now working fine :)
    It was my bad, my function returned the bad string ^^''

Share This Page