[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

    Dark_Balor

    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

    [​IMG]

    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)

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



    Permissions:
    Code:
    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.

    THE LOCALE FILE MUST BE IN UTF-8 !
    English Local File : locale.yml (open)

    Code:
    locale:
        block_explosion:
        - BOUM
        - TNT
        - Dynamite
        pvp:
        - Killed by %k
        pigzombie:
        - Zombie-Pig
        void:
        - Became Void
        - End of World
        unknown:
        - Unknown
        creeper:
        - Ksss BOUM
        - CREEEEPPPPERRR
        - Creeper Lover
        skeleton:
        - Skeleton Bow
        - Arrow in Head
        suffocation:
        - Suffocated
        - Sand's breath
        - Sand worm
        contact:
        - Cactus
        - Poked a Cactus
        - Hug a Cactus
        fire:
        - Toasted
        - Burned
        - Fire! Fire!
        fire_tick:
        - Toasted
        - Burned
        - Fire! Fire!
        ghast:
        - In Nether
        - Ghast
        entity_explosion:
        - BOUM
        - TNT
        - Dynamite
        slime:
        - Splouched
        - Slime won
        lighting:
        - By Zeus
        - By Thor
        - Lighting
        wolf:
        - Eat by Wolf
        - Wolf meal
        - Wolf lunch
        lava:
        - Swim in lava
        - Now obsidian
        zombie:
        - L4D
        - Braaaiiin
        - Zombie rules
        fall:
        - Tried to fly
        - Love the ground
        spider:
        - Spider venom
        - Arachnophobia
        drowning:
        - Has drowned
        - Love fishing
        - Drunk the sea
    
    

    FRENCH Local File : locale.yml (open)

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

    GERMAN Local File : locale.yml (open)

    Code:
    locale:
        block_explosion:
        - BO00M
        - TNT
        - Dynamit
        pvp:
        - Getötet von %k
        pigzombie:
        - Zombie Schwein
        void:
        - Wurde unwichtig.
        - Ende der Welt
        unknown:
        - unbekannt
        creeper:
        - SSSSSSSS BOOM
        - CREEEEPPPPERRR
        - Creeper Liebender
        skeleton:
        - Skeleton Bogen
        - Pfeil in Kopf
        suffocation:
        - erstickt
        - Sand im Atem
        - Sand Wurm
        contact:
        - Kaktus
        - Schlug Kaktus
        - Umarmte Kaktus
        fire:
        - Toasted
        - Verbrannt
        - Feuer! Feuer!
        fire_tick:
        - Toasted
        - Verbrannt
        - Feuer! Feuer!
        ghast:
        - In der Hölle
        - Geist
        entity_explosion:
        - BO00M
        - TNT
        - Dynamit
        slime:
        - Geschleimt
        - Slime gewann
        lighting:
        - Von Zeus
        - Von Thor
        - Von einem Blitz
        wolf:
        - Vom Wolf gegessen
        - Wolfs Mahl
        - Wolfs Essen
        lava:
        - Schwom in lava
        - Nun Obsidian
        zombie:
        - L4D
        - GEEEEHIRN
        - Zombie FTW
        fall:
        - Flog zu hoch
        - Liebte den Boden
        spider:
        - Spinnengift
        - Arachnophobie
        drowning:
        - 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.

    Changelog
    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

    Dark_Balor

    @Shoot:
    XD I'll change by : the player will xD (because it's why I thought about HE xD)

    -edit-
    Changed to : he/she will xD

    Version 0.5.1 OUT
     
  3. Offline

    Shoot

    Lololo, thanks :D
     
  4. Offline

    Dark_Balor

    Version 0.5.2 out
    no real change but a little "ergonomic" change.
     
  5. Offline

    Zeus5966

    Okay Dark, i downloaded the new version and it died -.- here is the log

    Code:
    [Lnet.minecraft.server.Statistic;@d08633
    146 recipes
    [Lnet.minecraft.server.Statistic;@d08633
    16 achievements
    16:59:59 [INFO] Starting minecraft server version Beta 1.5_02
    16:59:59 [INFO] Loading properties
    16:59:59 [INFO] Starting Minecraft server on *:25565
    16:59:59 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-
    gf53e007-b740jnks (MC: 1.5_02)
    16:59:59 [INFO] Preparing level "world"
    16:59:59 [INFO] Preparing start region
    17:00:00 [INFO] LWC     Loading shared objects
    17:00:00 [INFO] LWC     Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    17:00:00 [SEVERE] null initializing Towny v2.0.34 (Is it up to date?)
    java.lang.NullPointerException
            at ca.xshade.bukkit.towny.Towny.loadSettings(Towny.java:213)
            at ca.xshade.bukkit.towny.Towny.onLoad(Towny.java:220)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:88)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    17:00:00 [INFO] BukkitUpdater : Using Group Manager v1.0(alpha-5)
    17:00:00 [INFO] BukkitUpdater v0.3 is enabled!
    17:00:00 [INFO] BukkitUpdater : Checking for updates...
    17:00:01 [INFO] Loaded Essentials build 2.2.5 maintained by Zenexer, ementalo, A
    elux, Brettflan, KimKandor, snowleo and ceulemans.
    17:00:01 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 5 m
    inutes!
    17:00:01 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    17:00:01 [INFO] Fake Permissions version 2.5.1 is enabled!
    17:00:01 [INFO] Loaded EssentialsSpawn build 2.2.5 maintained by Zenexer, ementa
    lo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    17:00:01 [INFO] [iChat] Found Permissions (v2.5.1)
    17:00:01 [INFO] iChat (v2.2.3) enabled
    17:00:01 [INFO] [iConomy] Logging is currently disabled.
    17:00:01 [INFO] [iConomy] v5.0 (Eruanna) loaded.
    17:00:01 [INFO] [iConomy] Developed by: [Nijikokun]
    17:00:01 [INFO] [iConomy] hooked into Permissions.
    17:00:01 [INFO] [iWatch] iWatch version 0.5 is enabled!
    17:00:01 [INFO] [iWatch] Settings Loaded!
    17:00:01 [INFO] [Jail] Loaded 1 jail zones.
    17:00:01 [INFO] [Jail] Loaded 5 prisoners.
    17:00:01 [INFO] Log version 0.4: Loaded.
    17:00:01 [INFO] Log version 0.4: Events initialised successfully.
    17:00:04 [INFO] BukkitUpdater : Checking updates from repository in cache...
    17:00:06 [INFO] BukkitUpdater : Plugin 'EssentialsSpawn' isn't in loaded reposit
    ories
    17:00:06 [INFO] BukkitUpdater : Plugin 'iWatch' isn't in loaded repositories
    17:00:06 [INFO] BukkitUpdater : Plugin 'NoExplode' isn't in loaded repositories
    17:00:06 [INFO] BukkitUpdater : Plugin 'Tomb' isn't in loaded repositories
    17:00:06 [INFO] BukkitUpdater : Plugin 'Wanted' isn't in loaded repositories
    17:00:06 [INFO] BukkitUpdater : Done checking for updates.
    17:00:07 [INFO] Log version 0.4: Data loaded successfully.
    17:00:07 [INFO] Log version 0.4: Permission system detected.
    17:00:07 [INFO] LWC     Loaded 116 locale strings (0 overrides)
    17:00:07 [INFO] LWC     Using Nijikokun's permissions plugin for permissions
    17:00:07 [INFO] LWC     Loading SQLite
    17:00:07 [INFO] SQLite  Using: Native
    17:00:07 [INFO] LWC     At version: v2.31
    17:00:07 [INFO] [MotherNature] Using GroupManager version 1.0(alpha-5) for permi
    ssion handling
    17:00:07 [INFO] [MotherNature] Plugin enabled! (version 1.2)
    17:00:07 [INFO] NoExplode version 1.4 is enabled!
    17:00:07 [INFO] [Residence] Found Permissions Plugin!
    17:00:07 [SEVERE] com/nijiko/coelho/iConomy/iConomy loading Residence vv1.2.8 BE
    TA (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at com.bekvon.bukkit.residence.Residence.checkIConomy(Residence.java:753
    )
            at com.bekvon.bukkit.residence.Residence.onEnable(Residence.java:132)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:632)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 12 more
    17:00:07 [INFO] Stargate v.0.4.4 is enabled.
    17:00:07 [INFO] [Stargate] Loaded 1 gate layouts
    17:00:07 [INFO] [Stargate] {world} Loaded 6 stargates with 0 set as always-on
    17:00:07 [INFO] [Stargate] {nether} Loaded 1 stargates with 0 set as always-on
    17:00:07 [INFO] [Stargate] Found Permissions (v2.5.1)
    17:00:07 [INFO] [Stargate] Found iConomy (v5.0)
    17:00:07 [SEVERE] com/nijiko/coelho/iConomy/iConomy loading Stargate v0.4.4 (Is
    it up to date?)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at net.TheDgtl.Stargate.Stargate.onEnable(Stargate.java:119)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:632)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 11 more
    17:00:07 [INFO] [Tomb] (version 0.5.2) Enabled
    17:00:07 [INFO] [Tomb] Tombs loaded !
    17:00:07 [INFO] [Tomb] Successfully linked with Permissions.
    17:00:07 [SEVERE] Could not pass event PLUGIN_ENABLE to Tomb
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at be.Balor.Listeners.PluginListener.onPluginEnable(PluginListener.java:
    53)
            at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.j
    ava:408)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:633)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 13 more
    17:00:07 [SEVERE] PLAYER_COMMAND loading Towny v2.0.34 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_COMMAND
            at ca.xshade.bukkit.towny.Towny.registerEvents(Towny.java:229)
            at ca.xshade.bukkit.towny.Towny.onEnable(Towny.java:117)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:632)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    17:00:07 [INFO] VehicleZap v1.1.0 enabled.
    17:00:07 [SEVERE] Could not pass event PLUGIN_ENABLE to Tomb
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at be.Balor.Listeners.PluginListener.onPluginEnable(PluginListener.java:
    53)
            at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.j
    ava:408)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:633)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    17:00:07 [INFO] [Wanted] Permissions found, commencing load.
    17:00:07 [INFO] [Wanted] Found data file commencing load.
    17:00:07 [INFO] [Wanted] There are no reports.
    17:00:07 [INFO] [Wanted] version [1.0.0] enabled.
    17:00:07 [SEVERE] Could not pass event PLUGIN_ENABLE to Tomb
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at be.Balor.Listeners.PluginListener.onPluginEnable(PluginListener.java:
    53)
            at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.j
    ava:408)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:633)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    17:00:07 [INFO] WorldEdit 4.3 enabled.
    17:00:07 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
     for permissions.
    17:00:07 [SEVERE] Could not pass event PLUGIN_ENABLE to Tomb
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at be.Balor.Listeners.PluginListener.onPluginEnable(PluginListener.java:
    53)
            at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.j
    ava:408)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:633)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    17:00:07 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    17:00:07 [INFO] WorldGuard: (world) Single session is enforced.
    17:00:07 [INFO] WorldGuard: (world) TNT ignition is blocked.
    17:00:07 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    17:00:07 [INFO] WorldGuard: (world) Lava fire is blocked.
    17:00:07 [INFO] WorldGuard: (world) All fire spread is disabled.
    17:00:07 [INFO] WorldGuard: Loaded configuration for world 'world"
    17:00:07 [INFO] WorldGuard: (nether) Single session is enforced.
    17:00:07 [INFO] WorldGuard: (nether) TNT ignition is blocked.
    17:00:07 [INFO] WorldGuard: (nether) Lighters are PERMITTED.
    17:00:07 [INFO] WorldGuard: (nether) Lava fire is PERMITTED.
    17:00:07 [INFO] WorldGuard: (nether) Fire spread is UNRESTRICTED.
    17:00:07 [INFO] WorldGuard: Loaded configuration for world 'nether"
    17:00:07 [INFO] WorldGuard: 3 regions loaded for 'world'
    17:00:07 [INFO] WorldGuard 5.0-alpha9 enabled.
    17:00:07 [SEVERE] Could not pass event PLUGIN_ENABLE to Tomb
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at be.Balor.Listeners.PluginListener.onPluginEnable(PluginListener.java:
    53)
            at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.j
    ava:408)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:257)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:633)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    17:00:07 [INFO] Done (0.816s)! For help, type "help" or "?"
    >
     
  6. Offline

    Dark_Balor

    @Zeus5966
    Okaaay iConomy changed there API ...
    It's broke EVERY plugin that use the old 4.6.5 API.
    I recommend you to downgrade it to 4.6.5 because for the moment let us (Plugin developer) the time to update our plugins ...

    Okay there is now 2 VERSIONS of the plugin
    I'll not update the 0.5.2 in the future, then I recommend you to update your iConomy.
    For the user who aren't using iConomy there is no change.

    0.5.2 -> for iConomy 4.6.5
    0.5.3 -> for iConomy 5.0

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

    [F(r)iend]

  8. Offline

    Dark_Balor

    Yep I did ^^ but when I made the plugin, I didn't re-found your threads xD then couldn't credit you for the idea and informing you ^^
     
  9. Offline

    [F(r)iend]

    No worries :D. I'm just happy to have the plugin. Thanks so much :D
     
  10. Offline

    Raspberry

    FYI...

    You can't have spaces in your TombKeyword variable... they do not work.
     
  11. Offline

    Sphax

    If you are interested, I've translated the "locale.yml" file in french :
    Show Spoiler

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


    Encode it in UTF-8 :)
     
  12. Offline

    Dark_Balor

    @Raspberry : Can I see your config file ?
    @Sphax : thanks, added in the first post :)

    @all : New Version Out resolving a bug with the Wolf :)
    0.5.4 OUT

    NO MORE SUPPORT FOR iConomy 4.6.5 !
     
    Sphax likes this.
  13. Offline

    geek85

    I already have mine, but thanks! ;-)
     
  14. Offline

    Raspberry

    Code:
    #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: 2
    
    #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: '[Here Lies]'
    
    #Cooldown in MINUTES before you can reTP to your death location.
    cooldownTp: 5.0
    
    Great plugin.

    The players saw it in action last night (we made a graveyard) and they love it!

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

    Dark_Balor

    I'm happy to know it :)

    About your bug, I don't have it, I used the exact same keyword has you, and It worked ^^'
    Did you have some msg from the grave digger saying that it's not a good place for a Tomb ?
     
  16. Offline

    Raspberry

    Nope.. I put the same signs in the same place and just deleted the [Here Lies] and typed [Tomb] back into the configuration file. And "Deaths: 0" popped up on the signs...

    I will change it and try it again with [Here Lies]... perhaps it took ANOTHER server restart to work properly ;)
     
  17. Offline

    Dark_Balor

    you must restart every time you change the config file ^^
     
  18. Offline

    Sphax

    Cool ! Hope that will help some admin and players.

    To complete this wonderful plugin, the HeroicDeath is another great one (I've also translated/added messages in French for the config files) : They work together like a charm. :p
     
  19. Offline

    G1R Productions

    Hey i have a plugin called SpawnX and it seems to override this plugin. Could you somehow fix this or could you make it so 1 sign can cause every player to spawn at the sign unless they have a sign else where? I need this because I have a "Rule Room" In which i need new players to spawn and without SpawnX or something to force them to spawn in the location of the room they spawn randomly around it and not in it.
     
  20. Offline

    Dark_Balor

    It's normal that it's override every other respawn plugin. I coded it in that way.
    And It does what you ask, the plugin use the last created tomb as a respawn point (if activated in the config). If the player don't have a tomb it don't override anything.

    Then every new player will spawn in your rules room unless you create their tomb, or they.
     
  21. Offline

    G1R Productions

    I dont think you understand what im saying. Im saying that the SpawnX plugin overrides the Tomb plugin so even when someone owns a tomb and they are suspose to spawn on the tomb they are still sent to the spawn.
     
  22. Offline

    Dark_Balor

    Sorry I misunderstood, I looked at the spawnX code, I can't do anything for you, he used the highest (Monitor) priority for the respawn event (furthermore that's a bad idea ...), I can't do anything.

    Version 0.5.5 OUT

    Some minor optimization in the death cause detection and in the Sign Update (usefull when you have a lot of Tombs)

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

    Tyto26

    Sorry if i don't understand something, but, Where i find de Locale file (Locale.Yml). I look in the .jar file and don't see it. same thing for tomb folder ...
     
  24. Offline

    G1R Productions

    Could you make it possible so a admin can make a sign that causes all people to spawn on that sign unless they have their own sign else where? I would use this for new comers so they would spawn in the desired location.
     
  25. Offline

    [F(r)iend]

    This can be achieved through currently existing plugins like SpawnX, or EssentialsSpawn (part of the whole "Essentials" package). You can set the desired spawn location via the command /setspawn I believe. This resets the spawn for the default group, so all new players should spawn there.
     
  26. Offline

    G1R Productions

    I have those but they override this plugin making it so it doesnt work. So thats why i would like this one to be able to that aswell.
     
  27. Offline

    Dark_Balor

    Try with this SpawnX I changed the priority, my plugin will now override this one.
    http://dl.dropbox.com/u/1773950/SpawnX.jar
     
  28. Offline

    Timothy Pham

    how do you choose which spawn point to spawn from if you have more than 1 spawn point? how does this work if i have a bed somewhere else?
     
  29. Offline

    Dark_Balor

    It always use the last created tomb as a spawnPoint. And normally it's override every other respawn point
     
  30. Offline

    Timothy Pham

    ah ok thanks. i was wondering why even after i broke the sign i still spawned at my tombstone sign location instead of my bed.
     
  31. Offline

    Dark_Balor

    If you want I can add a new setting, when you destroy a Tomb, it destroy the respawn Point too.
     

Share This Page