[TP/CHAT] DeathTpPlus v1.86 - DeathNotify + DeathTP + Streaks + DeathLog [740]

Discussion in 'Inactive/Unsupported Plugins' started by lonelydime, Jan 31, 2011.

  1. Offline

    lonelydime

    DeathTpPlus

    Version: v1.86

    Features:

    Works with Permissions 2.5+ or GroupManager!

    DeathTP
    • Use /deathtp to teleport back to where you died.
    • Optional: Charge a player an item to teleport (must be in the player's hand).
    • Optional iConomy support.
    DeathNotify
    • Customizable messages for every kind of death.
    • Supports multiple messages per kind of death, chosen randomly when someone dies.
    • Custom colors per message.
    • PvP messages that show the attacker as well as what they killed with. Item names have been cleaned up to look pretty.
    • Optional: Show tombstones where someone died and how they died.
    • Optional CraftIRC support
    Streaks
    • Show a custom message when someone has killed a custom set of people or died a custom amount of times.
    • Custom colors per streak message.
    DeathLogs
    • /deaths - shows the total number of times you've died.
    • /deaths <username> - shows how many times <username> has died.
    • /deaths <username> <method> - shows how many times <username> has died by fall, lava, creeper, etc. <method> can also be a user name.
    • /kills - shows the total number of times you've killed someone (another player).
    • /kills <username> - shows how many times <username> has killed anyone.
    • /kills <username> <username2> - shows how many times<username> has killed <username2>.
    Don't want one of the features? No worries! Just disable it in the config file and it'll be like that feature isn't in the plugin at all! The file IOs aren't called and neither are the methods used for those features. Worried about performance? Don't be!

    Quick Links:
    Install:
    • Upload the DeathTpPlus.jar file into your plugins directory.
    • Upload the config.yml file to plugins/DeathTpPlus/
    • If you do not upload config.yml, the server will create it for you, but you must populate it.
    Permissions:

    Code:
    deathtpplus.deathtp - this is for the /deathtp command
    deathtpplus.streak - this is for the /streak command
    deathtpplus.deaths - this is for the /deaths command
    deathtpplus.kills - this is for the /kills command
    
    Todo:
    • Implement banning on death for a specific amount of time.
    • Add option for admin only destruction of RIP signs.
    • Waiting for bukkit to add owner methods to wolves to add wolves to pvp messages.
    • Make death signs show on the next available air block.
    Changelog:
    Version 1.86
    • Added support for lightning
    • Added support for iConomy 5
    Version 1.85
    • Fixed the nagging warning so iConomy works properly again.
    • Added support for wolves.
    Show Spoiler

    Version 1.84
    • Replaced depreciated methods to work with CB602.
    Version 1.83
    • Allow the config.yml to use & instead of §
    Version 1.82
    • Added VOID type damage.
    Version 1.81
    • Removed debug code.
    • Changed teleport to find the next highest AIR block for save deathtp'ing
    • Removed /suicide since it's worthless.
    Version 1.8
    • Fixed slime death detection.
    • Added deathlog.txt, keeps a record of how many times a player dies or kills and how they died/who they killed. (Can be turned off or on in the config)
    • Added a message for iConomy users to let the user know how much deathtp just cost them.
    • Fixed turning deathnotify off didn't really turn it off.
    Version 1.77
    • CraftIRC support (tested against beta 2.0)
    Version 1.76
    • iConomy support (tested against iConomy 4.4)
    Version 1.75
    • Fixed the suffocation handle.
    Version 1.74
    • Converted to onCommand from playerCommand.
    Version 1.73
    • Added optional support for GroupManager
    Version 1.72
    • Updated the damage hook to work with newer versions of bukkit.
    • Got rid of the stupidly long constructor.
    Version 1.71
    • Removed reference to com.bukkit* and replaced with com.lonelydime*
    • Added additional death notify message for bare fists only (in response to the reddit post), "a bare fist" didn't make much sense.
    Version 1.7
    • Fixed renaming of file creating/looking in wrong folder. (Note, you still have to populate config.yml)
    • Added tombstone signs with death messages.
    Version 1.6
    • Added permissions support
    • Plugin initialization now prints in server.log
    Version 1.5
    • Removed properties file in favor of config.yml.
    • Removed the need for killstreak.txt, deathstreak.txt and deathtpplus.properties.
    • Removed Properties.java from the package.
    • Numerous performance enhancements.
    • Added support for multiple messages.
    • Added support for custom colors per message.
    • Changed item names to prettier names for PvP kills.
    • Disabled file IO if the plugin feature is disabled in the config file (performance).
    Version 1.4
    • Fixed instances of Ghasts, Pig Zombies and Suffocate triggers not firing.
    • Added /streak and /streak <player> to check killing streaks.
    • Added an optional charge for teleporting (item has to be in user's hand to teleport. The item code is set up in the properties file).
    Version 1.3
    • Added Killing/Death sprees.
    • Converted large amounts of strings to hashmaps (performance)
    • Rearranged file loads to /reload will reload the config files.
    Version 1.2
    • Added ability to turn off /deathtp command or deathnotify messages via properties file.
    Version 1.1
    • Added properties file to customize the text displayed when someone dies.
    • Added types of death instead of just showing someone died.
    Version 1.0
    • Public Release

    Example config.yml (Borrowed from @Etalyx)
    Show Spoiler

    # ----- Standard plugin features
    # Show the death messages on the server
    show-deathnotify: 'true'

    # Allow players to access the deathtp command
    allow-deathtp: 'true'

    # Show kill or death streaks read in from killstreak.txt and deathstreak.txt
    show-streaks: 'true'

    # Item ID of the item you must have in your hand to teleport. Will remove 1 of these when the command is given. Leave 0 for free teleports.
    charge-item: 0

    # Show sign tombstones upon death
    show-sign: 'false'

    # iConomy
    deathtp-cost: 10

    # CraftIRC
    deathtp-tag: 'all'

    #Deathlogs
    allow-deathlog: 'true'

    # ----- Death Messages

    # Must contain at least 1 line. If there are more, it will appear randomly when a person dies.
    # %n for player who died
    # %a name of player who attacked in pvp deaths
    # %i for item a player was using to kill someone else
    #
    # Colors
    #
    # §0 Black
    # §1 Navy
    # §2 Green
    # §3 Blue
    # §4 Red
    # §5 Purple
    # §6 Gold
    # §7 LightGray
    # §8 Gray
    # §9 DarkPurple
    # §a LightGreen
    # §b LightBlue
    # §c Rose
    # §d LightPurple
    # §e Yellow
    # §f White

    fall:
    - '§4%n tripped and fell...down a cliff.'
    - '§4%n leapt before looking.'
    - '§4%n forgot to bring a parachute!'
    - '§4%n learned to fly...briefly...'
    - '§4%n felt the full effect of gravity.'
    - '§4%n just experienced physics in action.'
    - '§4%n fell to his death.'
    - '§4%n forgot to look out below!'
    - '§4%n got a little too close to the edge!'
    - '§4%n, gravity is calling your name!'
    - '§4%n faceplanted into the ground!'
    - '§4%n yells, "Geronimo!"....*thud*'
    - '§4What goes up must come down, right %n?'

    drowning:
    - '§4%n has drowned.'
    - '§4%n has become one with the ocean!'
    - '§4%n sunk to the bottom of the ocean.'
    - '§4%n went diving but forgot the diving gear!'
    - '§4%n needs swimming lessons.'
    - '§4%n''s lungs have been replaced with H20.'
    - '§4%n forgot to come up for air!'
    - '§4%n is swimming with the fishes!'
    - '§4%n had a surfing accident!'
    - '§4%n tried to walk on water.'
    - '§4%n set a record for holding breath underwater.'

    fire:
    - '§4%n burned to death.'
    - '§4%n has been set on fire!'
    - '§4%n is toast! Literally...'
    - '§4%n just got barbequed!'
    - '§4%n forgot to stop, drop, and roll!'
    - '§4%n is extra-crispy!'
    - '§4%n spontaneously combusted!'
    - '§4%n put his hands in the toaster!'
    - '§4%n just got burned!'

    fire_tick:
    - '§4%n burned to death.'
    - '§4%n has been set on fire!'
    - '§4%n is toast! Literally...'
    - '§4%n just got barbequed!'
    - '§4%n forgot to stop, drop, and roll!'
    - '§4%n likes it extra-crispy!'
    - '§4%n spontaneously combusted!'
    - '§4%n put his hands in the toaster!'
    - '§4%n just got burned!'

    lava:
    - '§4%n became obsidian.'
    - '§4%n was caught in an active volanic eruption!'
    - '§4%n tried to swim in a pool of lava.'
    - '§4%n was killed by a lava eruption!'
    - '§4%n was forged into obsidian by molten lava.'
    - '§4%n took a dip in the wrong kind of pool!'
    - '§4%n found out how to encase himself in carbonite.'
    - '§4%n, the floor is lava! The floor is lava!'

    creeper:
    - '§4%n was creeper bombed!'
    - '§4A creeper exploded on %n!'
    - '§4A creeper snuck up on %n!'
    - '§4A creeper tried to make love with %n...mmm.'
    - '§4%n just got the KiSSssss of death!'
    - '§4%n tried to hug a creeper!'
    - '§4%n is frowning like a creeper now!'

    skeleton:
    - '§4A skeleton shot %n to death!'
    - '§4A%n was on the wrong end of the bow. '
    - '§4A%n has a skeleton in the closet...'
    - '§4%n, strafe the arrows! Strafe the arrows!'
    - '§4A skeleton just got a headshot on %n!'

    spider:
    - '§4%n is all webbed up.'
    - '§4%n got trampled by arachnids!'
    - '§4%n got jumped by a spidah!'
    - '§4Spiders just climbed all over %n!'
    - '§4%n forgot spiders could climb!'

    zombie:
    - '§4%n was punched to death by zombies!'
    - '§4%n was bitten by a zombie!'
    - '§4%n fell to the hunger of the horde!'
    - '§4%n Hasn''t played enough L4D2!'
    - '§4%n couldn''t run faster than the zombie!'

    pvp:
    - '§4%a killed %n using a(n) %i!'
    - '§4%a slays %n with a %i!'
    - '§4%a hunts %n down with a %i!'
    - '§4%n was killed by a %i wielding %a!'
    - '§4%a leaves %n a bloody mess!'
    - '§4%a uses a %i to end %n''s life!'
    - '§4%n collapses due to %i attacks from %a!'
    - '§4%n is now a bloody mess thanks to %a''s %i!'
    - '§4%a beats %n with a %i!'
    - '§4%n was killed by %a''s %i attack!'
    - '§4%a defeats %n with a %i attack!'
    - '§4%a raises a %i and puts and end to %n''s life!'
    - '§4%a took out %n with a %i!'
    - '§4%n was victimised by %a''s %i!'
    - '§4%n was eliminated by %a''s %i!'
    - '§4%a executes %n with a %i!'
    - '§4%a finishes %n with a %i!'
    - '§4%a''s %i has claimed %n as another victim!'
    - '§4%n lost a savage duel to %a!'
    - '§4%a has beaten %n to a pulp!'
    - '§4%a pwns %n in a vicious duel!'
    - '§4Score %a 1 - %n 0!'
    - '§4%a has defeated %n in battle!'
    - '§4%n has been slain by %a!'
    - '§4%a emerges victorious in a duel with %n!'
    - '§4%n has been pwned by %a!'
    - '§4%n was killed by %a!'
    - '§4%n was dominated by %a!'
    - '§4%n was fragged by %a!'
    - '§4%n needs more practice and was killed by %a!'
    - '§4%n was beheaded by %a!'

    pvp-fists:
    - '§4%a pummeled %n to death'
    - '§4%a crusted %n with their bare hands'

    block_explosion:
    - '§4Careful %n, TNT goes boom!'
    - '§4%n was last seen playing with dynamite.'
    - '§4%n exploded into a million pieces!'
    - '§4%n cut the wrong wire!'
    - '§4%n has left his (bloody) mark on the world.'
    - '§4%n was attempting to exterminate gophers with dynamite!'
    - '§4%n was playing landmine hopscotch!'
    - '§4%n stuck his head in a microwave!'

    contact:
    - '§4%n got a little too close to a cactus!'
    - '§4%n tried to hug a cactus!'
    - '§4%n needs to be more careful around cactuses!'
    - '§4%n feels the wrath of cactusjack!'
    - '§4%n learns the results of rubbing a cactus!'
    - '§4%n died from cactus injuries!'
    - '§4%n poked himself with a cactus...and died.'
    - '§4%n ran into some pointy green stuff that wasn''t grass.'
    - '§4%n was distracted by a tumbleweed and died by cactus.'

    ghast:
    - '§4%n was blown to bits by a ghast.'
    - '§4 Those aren''t babies you hear, %n!'
    - '§4%n was killed by a ghostly hadouken!'
    - '§4%n just got exploded by a fireball!'
    - '§4%n got too comfy in the Nether!'

    slime:
    - '§4A slime found %n. The slime won.'
    - '§4%n just was playing with slime. The slime ain''t happy.'

    suffocation:
    - '§4%n suffocated.'
    - '§4%n was looking up while digging!'
    - '§4%n choked to death on earth!'
    - '§4%n choked on a ham sandwich'

    pigzombie:
    - '§4%n lost a fight against a zombie pig.'
    - '§4%n, touching a zombie pig is never a good idea.'
    - '§4%n, looked at a pigzombie the wrong way.'

    void:
    - '§4%n fell into The Void, never to be heard from again.'

    wolf:
    - '&4%n became a wolf''s lunch.'

    lightning:
    - '&4%n was struck down by Zeus'' bolt.'

    unknown:
    - '§4%n died from unknown causes.'
    - '§4%n has imploded into nothingness'
    - '§4%n has been vaporized'
    - '§4%n died from explosive diarrhea'
    - '§4%n was killed by Chuck Norris'
    - '§4%n was running with scissors...now he runs no more'
    - '§4%n was hit by a falling piano'
    - '§4%n was assasinated by a shuriken headshot from the shadow'
    - '§4%n was barrel rolling...and died'
    - '§4%n was killed by Cthulhu'
    - '§4%n forgot to wear his spacesuit'
    - '§4%n choked on a ham sandwich'
    - '§4%n died at the hands of ninja assassins'
    # ----- Streaks

    # format <#of kills> <text to display> %n = player getting the message (in this case, the one on a killstreak).

    killstreak:
    - '5:§2[%n] 5 enemies killed! You''re thinning the numbers!'
    - '10:§2[%n] 10 killed! Rampage!'
    - '15:§2[%n] 15 kills! Dominating all kinds of mobs!'
    - '20:§2[%n] 20 kills! Here is your gift card for a killing spree!'
    - '25:§2[%n] So many kills in a row! God Like!'

    # format <#of kills> <text to display> %n = player getting the message (in this case, the one on a deathstreak).

    deathstreak:
    - '5:§b%n has died, like 5 times.'
    - '10:§b%n, craft a sword or something.'
    - '15:§b%n is dead more than alive.'
    - '20:§b%n is just pathetic.'
    - '30:§b%n is clearly playing Minecraft to see what it says when he dies.'

    Reporting Bugs

    If you are reporting a bug, please help me help you. Paste in your config.yml file (in code tags please) and any errors in your console. Also the version of DeathTpPlus you are running (Only the newest version is supported) and your craftbukkit version. Thank you!
     
    Feew, TheDeejay, harakiwi and 3 others like this.
  2. Offline

    lonelydime

    That error leads me to believe something is wrong with your config, the yaml loader isn't able to parse it for some reason. Can you paste in your config.yml file or PM it to me? I'll take a look at it and see if I see anything crazy.
     
  3. Offline

    poopiepants

    Hello,

    I am getting the following error om startup.
    I am running the latest version of bukkit downloaded last night.
    Thanks for the support.

    SEVERE: null (Is it up to date?)
    java.lang.NullPointerException
    at org.bukkit.util.config.ConfigurationNode.getProperty(ConfigurationNod
    e.java:33)
    at org.bukkit.util.config.ConfigurationNode.getList(ConfigurationNode.ja
    va:219)
    at org.bukkit.util.config.ConfigurationNode.getStringList(ConfigurationN
    ode.java:242)
    at com.lonelydime.DeathTpPlus.DeathTpPlus.onEnable(DeathTpPlus.java:78)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:430)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:175)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:74)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-18 10:37:23 [INFO] Done! For help, type "help" or "?"
     
  4. Offline

    lonelydime

    What's your config.yml look like, is it blank?
     
  5. Offline

    Daveyo


    Ohhhhh, yeah using heroicdeath just because i saw it first and have it configured. Should probably just consolidate to this addon, but let me test it now to see if this works. Thanks a lot for man!
     
  6. Offline

    Etalyx

    There probably is something crazy because I like to customize it :D

    Show Spoiler
    # ----- Standard plugin features

    # Show the death messages on the server
    show-deathnotify: 'true'

    # Allow players to access the deathtp command
    allow-deathtp: 'false'

    # Show kill or death streaks read in from killstreak.txt and deathstreak.txt
    show-streaks: 'true'

    # Item ID of the item you must have in your hand to teleport. Will remove 1 of these when the command is given. Leave 0 for free teleports.
    charge-item: 0

    # Show death messages in the server.log file
    show-log-output: 'true'

    #Show sign tombstones upon death
    show-sign: 'false'

    # ----- Death Messages

    # Must contain at least 1 line. If there are more, it will appear randomly when a person dies.
    # %n for player who died
    # %a name of player who attacked in pvp deaths
    # %i for item a player was using to kill someone else
    #
    # Colors
    #
    # §0 Black
    # §1 Navy
    # §2 Green
    # §3 Blue
    # §4 Red
    # §5 Purple
    # §6 Gold
    # §7 LightGray
    # §8 Gray
    # §9 DarkPurple
    # §a LightGreen
    # §b LightBlue
    # §c Rose
    # §d LightPurple
    # §e Yellow
    # §f White

    fall:
    - '§4%n has fallen to their death.'
    - '§4%n leaped before looking.'
    - '§4%n forgot to look out below.'
    - '§4%n got a little too close to the edge.'
    - '§4%n, gravity is calling your name'
    - '§4%n faceplanted the earth.'
    - '§4%n yells, "Geronimo!"....*thud*'

    drowning:
    - '§4%n forgot to come up for air.'
    - '§4%n is swimming with the fishes.'
    - '§4%n had a surfing accident.'
    - '§4%n tried to walk on water.'
    - '§4%n set a record for holding breath underwater.'
    - '§4%n has drowned.'

    fire:
    - '§4%n just got barbequed!'
    - '§4%n burned to death!'
    - '§4%n forgot to stop, drop, and roll!'
    - '§4%n is extra-crispy!'
    - '§4%n spontaneously combusted!'
    - '§4%n put his hands in the toaster!'
    - '§4%n just got burned!'

    fire_tick:
    - '§4%n just got barbequed!'
    - '§4%n burned to death!'
    - '§4%n forgot to stop, drop, and roll!'
    - '§4%n is extra-crispy!'
    - '§4%n spontaneously combusted!'
    - '§4%n put his hands in the toaster!'
    - '§4%n just got burned!'

    lava:
    - '§4%n was forged into obsidian by molten lava.'
    - '§4%n took a dip in a heated pool.'
    - '§4%n, the floor is lava! The floor is lava!'

    creeper:
    - '§4%n was creeper bombed.'
    - '§4%n heard the KiSSsssss of death.'
    - '§4%n tried to hug a creeper.'
    - '§4%n just found out why Creepers frown.'

    skeleton:
    - '§4A skeleton shot %n to death!'
    - '§4A%n was on the wrong end of the bow. '
    - '§4A%n has a skeleton in the closet...'

    spider:
    - '§4%n is all webbed up.'
    - '§4%n got trampled by arachnids!'
    - '§4%n got jumped by a spidah!'

    zombie:
    - '§4%n was punched to death by zombies!'
    - '§4%n was bitten by a zombie!'
    - '§4%n fell to the hunger of the horde!'

    pvp:
    - '§4%a killed %n using a(n) %i!'
    - '§4%n needs more practice and was killed by %a!'
    - '§4%n was beheaded by %a!'
    - '§4%n is about to be teabagged by %a!'


    block_explosion:
    - '§4Careful %n, TnT goes boom.'
    - '§4%n cut the wrong wire!'
    - '§4%n has left his (bloody) mark on the world.'
    - '§4%n was attempting to exterminate gophers with dynamite.'
    - '§4%n is done playing landmine hopscotch.'
    - '§4%n stuck his head in a microwave.'

    contact:
    - '§4%n got a little too close to a cactus.'
    - '§4%n poked himself with a cactus...and died.'
    - '§4%n ran into some pointy green stuff that wasn't grass.'
    - '§4%n was distracted by a tumbleweed and died by cactus.'

    ghast:
    - '§4%n was blown to bits by a ghast!'
    - '§4 Those aren't babies you hear, %n!'
    - '§4%n was killed by a ghostly hadouken! '

    slime:
    - '§4A rare slime found %n! The slime won.'

    suffocation:
    - '§4%n was looking up while digging!'
    - '§4%n choked to death on earth!'
    - '§4%n choked on a ham sandwich'

    pigzombie:
    - '§4%n lost a fight against a zombie pig.'
    - '§4%n, touching a zombie pig is never a good idea.'

    unknown:
    - '§4%n died from unknown causes.'
    - '§4%n died from explosive diarrhea.'
    - '§4%n was killed by Chuck Norris!'
    - '§4%n was running with scissors...now he runs no more!'
    - '§4%n was hit by a falling piano.'
    - '§4%n was barrel rolling...and died.'
    - '§4%n was killed by Cthulhu'
    - '§4%n was hit by an orbital cannon'

    # ----- Streaks

    # format <#of kills> <text to display> %n = player getting the message (in this case, the one on a killstreak).

    killstreak:
    - '5:§2[%n] -5 enemies killed! You're thinning the numbers!'
    - '10:§2[%n] -10 killed! Rampage!'
    - '15:§2[%n] -15 kills! Dominating all kinds of mobs!'
    - '20:§2[%n] -20 kills! Here is your gift card for a killing spree!'
    - '25:§2[%n] -So many kills in a row! God Like!'

    # format <#of kills> <text to display> %n = player getting the message (in this case, the one on a deathstreak).

    deathstreak:
    - '5:§b%n has died, like 5 times.'
    - '10:§b%n, craft a sword or something.'
    - '15:§b%n is dead more than alive.'
    - '20:§b%n is just pathetic.'
    - '30:§b%n is clearly playing Minecraft to see what it says when he dies.'
     
  7. Offline

    poopiepants

    doh! had a 0 kb config file.
    Thanks
     
  8. Offline

    lonelydime

    @Etalyx It's your config file. You can't have single 's in your text, example:
    Code:
    - '§4 Those aren't babies you hear, %n!'
    You need to escape them, by doubling them up. This will work:
    Code:
    - '§4 Those aren''t babies you hear, %n!'
    Note: that's 2 ' not 1 "

    After making that change I can get your config to load :)
     
  9. Offline

    FailWStyle

    Okay, first off the version I downloaded from your link on the first page seems to link to an older version (Or at least one without the tombstone functionality) And second I appear to be having the same problem as Etalyx, and I've even gone through and replaced the necessary apostrophes.

    It looks like this.
    spoiler
    Hopefully you can get a bead on what's going wrong.

    EDIT:Scratch that, turns out I was missing an apostrophe, but I'd still like to know if the tombstones can work
     
  10. Offline

    lonelydime

    It looks like the have the same issue as streaks, death notify must be on to allow for tombstones. I'll have to look into it and release a bug fix version
     
  11. Offline

    Etalyx

    I think this fixed it :D. I saw it initialize on server restart. Was difficult to find all the characters that I needed to change though. Thanks for the help.
     
  12. Offline

    Juze

    I'll just leave this here.

    EDIT: Fixed a few errors, there still may be one error.

    Code:
    fall:
     - '§4%n has fallen to their death.'
     - '§4%n leaped before looking.'
     - '§4%n forgot to bring a parachute'
     - '§4%n learns to fly ... briefly ...'
     - '§4%n feels the full effects of gravity'
     - '§4%n feels the impact of physics in action'
     - '§4%n fell to their death'
     - '§4%n forgot to look out below'
     - '§4%n got a little too close to the edge'
     - '§4%n, gravity is calling your name'
     - '§4%n faceplanted into the ground'
     - '§4%n yells, "Geronimo!"....*thud*'
     - '§4What goes up must come down, right %n?'
    
    drowning:
     - '§4%n has drowned.'
     - '§4%n has become one with the ocean'
     - '§4%n sinks to the bottom of the ocean'
     - '§4%n went diving but forgot the diving gear, opps'
     - '§4%n needs swimming lessons'
     - '§4%n''s lungs have been replaced with H20'
     - '§4%n forgot to come up for air'
     - '§4%n is swimming with the fishes'
     - '§4%n had a surfing accident'
     - '§4%n tried to walk on water'
     - '§4%n set a record for holding breath underwater...permanently'
    
    fire:
     - '§4%n burned to death.'
     - '§4%n has been set on fire'
     - '§4%n is toast! Literally...'
     - '§4%n just got barbequed'
     - '§4%n forgot to stop, drop, and roll'
     - '§4%n likes it extra-crispy'
     - '§4%n spontaneously combusted'
     - '§4%n put his hands in the toaster'
    
    fire_tick:
     - '§4%n burned to death.'
     - '§4%n has been set on fire'
     - '§4%n is toast! Literally...'
     - '§4%n just got barbequed'
     - '§4%n forgot to stop, drop, and roll'
     - '§4%n likes it extra-crispy'
     - '§4%n spontaneously combusted'
     - '§4%n put his hands in the toaster'
    
    lava:
     - '§4%n became obsidian.'
     - '§4%n was caught in an active volanic eruption'
     - '§4%n tried to swim in a pool of lava'
     - '§4%n was killed by a lava eruption'
     - '§4%n was forged into obsidian by molten lava'
     - '§4%n took a dip in the wrong kind of pool'
     - '§4%n found out how to encase himself in carbonite'
    
    creeper:
     - '§4%n was creeper bombed'
     - '§4Creeper has exploded in the face of %n'
     - '§4Creeper snuck up on %n'
     - '§4A creeper tried to make love with %n... and failed epicly'
     - '§4%n heard the kissssss of death'
     - '§4%n tried to hug a creeper'
    
    skeleton:
     - '§4A skeleton shot %n to death.'
    
    spider:
     - '§4%n was overtaken by the spiders.'
    
    zombie:
     - '§4%n was punched to death by zombies.'
    
    pvp:
     - '§4%a killed %n using a(n) %i.'
     - '§4%a slays %n with a %i'
     - '§4%a hunts %n down with a %i'
     - '§4%n was killed by a %i wielding %a'
     - '§4%a leaves %n a bloody mess'
     - '§4%a uses a %i to end %n''s life'
     - '§4%n collapses due to %i attacks from %a'
     - '§4%n is now a bloody mess thanks to %a''s %i'
     - '§4%a beats %n with a %i'
     - '§4%n was killed by %a's %i attack'
     - '§4%a defeats %n with a %i attack'
     - '§4%a raises a %i and puts and end to %n's life'
     - '§4%a took out %n with a %i'
     - '§4%n was victimised by %a's %i'
     - '§4%n was eliminated by %a's %i'
     - '§4%a executes %n with a %i'
     - '§4%a finishes %n with a %i'
     - '§4%a''s %i has claimed %n as another victim'
     - '§4%n lost a savage duel to %a'
     - '§4%a has beaten %n to a pulp'
     - '§4%a pwns %n in a vicious duel'
     - '§4Score %a 1 - %n 0'
     - '§4%a has defeated %n in battle'
     - '§4%n has been slain by %a'
     - '§4%a emerges victorious in a duel with %n'
     - '§4%n has been pwned by %a'
     - '§4%n was killed by %a'
     - '§4%n was dominated by %a'
     - '§4%n was fragged by %a'
     - '§4%n needs more practice and was killed by %a'
     - '§4%n was beheaded by %a'
    
    pvp-fists:
     - '§4%a pummeled %n to death'
     - '§4%a crusted %n with their bare hands'
    
    block_explosion:
    - '§4Careful %n, TNT goes boom.'
    - '§4%n was last seen playing with dynamite'
    - '§4%n exploded into a million pieces'
    - '§4%n cut the wrong wire'
    - '§4%n has left his (bloody) mark on the world'
    - '§4%n was attempting to exterminate gophers with dynamite'
    - '§4%n was playing landmine hopscotch'
    - '§4%n stuck his head in a microwave'
    
    contact:
    - '§4%n got a little too close to a cactus.'
    - '§4%n joins a contest for "hellraiser" lookalikes'
    - '§4%n tried to hug a cactus'
    - '§4%n needs to be more careful around cactuses'
    - '§4%n feels the wrath of cactusjack!'
    - '§4%n learns the results of rubbing a cactus'
    - '§4%n died from cactus injuries'
    - '§4%n poked himself with a cactus...and died'
    - '§4%n ran into some pointy green stuff that wasn't grass.'
    - '§4%n was distracted by a tumbleweed and died by cactus'
    
    ghast:
    - '§4%n was blown to bits by a ghast.'
    
    slime:
    - '§4A rare slime found %n. The slime won.'
    
    suffocation:
    - '§4%n suffocated.'
    
    pigzombie:
    - '§4%n lost the fight against a zombie pig.'
    
    unknown:
     - '§4%n died from unknown causes.'
     - '§4%n has imploded into nothingness'
     - '§4%n has been vaporized'
     - '§4%n died from explosive diarrhea'
     - '§4%n was killed by Chuck Norris'
     - '§4%n was running with scissors...now he runs no more'
     - '§4%n was hit by a falling piano'
     - '§4%n was assasinated by a shuriken headshot from the shadow'
     - '§4%n was barrel rolling...and died'
     - '§4%n was killed by Cthulhu'
     - '§4%n forgot to wear his spacesuit'
     - '§4%n choked on a ham sandwich'
     - '§4%n died at the hands of ninja assassins'
     
  13. Offline

    lonelydime

    Thanks for sharing your config :)
    --- merged: Feb 19, 2011 10:04 PM ---
    If anyone is having problems with this plugin after updating craftbukkit, know that I cannot do anything about it until bukkit finishes updating the damage hooks.

    I will update the plugin once there is a working version of the damage hooks. Don't update craftbukkit if you can help it until the new release.
     
  14. Offline

    tiwar

    Hi,
    Does deathtp cycle thru the these different messages,or is this just for reference?
    regards
    Tiwar
     
  15. Offline

    Juze

    Fixed a few errors in config, I still get this though:

    Code:
    Caused by: while parsing a block collection
    in "<reader>", line 116, column 2:
         - '?4%a killed %n using a(n) %i.'
         ^
     
  16. Offline

    lonelydime

    I grabs a random message from the type of death in the config.

    Why is there a ? before the color? I think the editor you're using an editor that isn't UTF-8. Try using wordpad instead of notepad.
     
  17. Offline

    Stephen92

    doesn't seem to work for anyone but my admins/moderators. i have everything in permissions the way it should be.
     
  18. Offline

    lonelydime

    What doesn't work, there's 3 different things this plugin does. Deathtp, notifications and streaks.
     
  19. Offline

    Stephen92

    --- merged: Feb 20, 2011 4:18 PM ---
    the deathtp its the only one I have setup for people to use that are vip and up.
     
  20. Offline

    Juze

    It is UTF-8 and set to UTF-8 from settings. Notepad++. It's just the console changing that weird å-kind of letter to a question mark.

    Also, death messages don't work and I'm the only one able to use /deathtp as admin with global permissions.
     
  21. Offline

    Tarkington

    Just thought you should be aware. My users love seeing the tombstones of their comrades decorating the countryside XD

    CB: 428

    Code:
    2011-02-20 12:06:39 [INFO] [DeathTpPlus] 5 Kill Streaks loaded.
    2011-02-20 12:06:39 [INFO] [DeathTpPlus] 4 Death Streaks loaded.
    2011-02-20 12:06:39 [SEVERE] Feb 20, 2011 12:06:39 PM org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: ENTITY_DAMAGEDBY_BLOCK (Is it up to date?)
    java.lang.NoSuchFieldError: ENTITY_DAMAGEDBY_BLOCK
            at com.bukkit.lonelydime.DeathTpPlus.DeathTpPlus.onEnable(DeathTpPlus.java:118)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:140)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:74)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:179)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:166)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:118)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:217)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
    2011-02-20 12:06:39 [INFO] Done! For help, type "help" or "?"
     
  22. Offline

    lonelydime

    Yea, for everyone having problems with newer builds of craftbukkit: They have updated the damage hooks so I will have to update the plugin accordingly. This probably won't be done until tomorrow
     
  23. Offline

    enkryptor

    a feature request — iConomy support (paid teleportation)
     
  24. Offline

    Quadratomic

    Slight bug... Suffocation doesn't seem to post any message into chat.
     
  25. Offline

    dubca7

    I see people have been posting the new bugs, with 440 I get this warning telling me to nag you :p
    Code:
    [WARNING] Using the stupidly long constructor com.lonelydime.DeathTpPlus.DeathTpPlus(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of DeathTpPlus to remove it! (Nothing is broken, we just like to keep code clean.)
    And the same error that is already posted :)
    Code:
    [SEVERE] ENTITY_DAMAGEDBY_BLOCK (Is it up to date?)
    java.lang.NoSuchFieldError: ENTITY_DAMAGEDBY_BLOCK
            at com.lonelydime.DeathTpPlus.DeathTpPlus.onEnable(DeathTpPlus.java:119)
    
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:140)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:74)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:178)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:165)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:117)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:217)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  26. Offline

    bizzybusk

    this doesnt work for me..
    getting the same error as dubca7...
     
  27. Offline

    Etalyx

    I get this when I load the plugin:

    [INFO] [DeathTpPlus] 6 Kill Streaks loaded.
    [INFO] [DeathTpPlus] 6 Death Streaks loaded.
    [INFO] [DeathTpPlus] version 1.71 by lonelydime is enabled!

    But I never see any streaks nor does /streaks reveal anything to me. What might I be doing wrong?
     
  28. Offline

    Daman

    +1 to the same errors posted earlier, running on the latest releases of craftbukkit(which broke some things.) Will be glad when this plugin is once again compatible!
     
  29. Offline

    lonelydime

    That error will be fixed, updated the file download. I know about the warning message new bukkit throws when you load your server, I'll fix it later. I'm sick and just wanted to get you guys a working version before I lay back down and sleep.
     
  30. Offline

    Cool12309

    In 1.72, I get an error about an invalid character. I'll look at it, but I don't know what it is...

    Code:
    [SEVERE] Could not load plugins\DeathTpPlus.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:85)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:53)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:178)
        at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:165)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:117)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:217)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:77)
        ... 8 more
    Caused by: unacceptable character #FFFD special characters are not allowed
    in "<reader>", position 861
        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:68)
        at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)
        at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:117)
        at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:106)
        at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:964)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:237)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:200)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:104)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:73)
        at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:178)
        at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:41)
        at com.lonelydime.DeathTpPlus.DeathTpPlus.<init>(DeathTpPlus.java:32)
        ... 13 more
    config.yml:

    Code:
    # ----- Standard plugin features
     
    # Show the death messages on the server
    
    show-deathnotify: 'true'
     
    # Allow players to access the deathtp command
    
    allow-deathtp: 'false'
     
    # Show kill or death streaks read in from killstreak.txt and deathstreak.txt
    
    show-streaks: 'false'
     
    # Item ID of the item you must have in your hand to teleport.  Will remove 1 of these when the command is given.  Leave 0 for free teleports.
    
    charge-item: 0
     
    # Show death messages in the server.log file
    
    show-log-output: 'true'
     
    #Show sign tombstones upon death
    
    show-sign: 'true'
      
    # ----- Death Message Format
    
    # Must contain at least 1 line.  If there are more, it will appear randomly when a person dies.
    
    # %n for player who died
    
    # %a name of player who attacked in pvp deaths
    
    # %i for item a player was using to kill someone else
     
    # ----- Colors
    #
    # §0     Black
    
    # §1     Navy
    
    # §2     Green
    
    # §3     Blue
    
    # §4     Red
    
    # §5     Purple
    
    # §6     Gold
    
    # §7     LightGray
    
    # §8     Gray
    
    # §9     DarkPurple
    
    # §a     LightGreen
    
    # §b     LightBlue
    
    # §c     Rose
    
    # §d     LightPurple
    
    # §e     Yellow
    
    # §f     White
    
    # ----- Death Messages
     
    fall:
     - '§4%n has fallen to their death.'
    
     - '§4%n plummited to their death.'
     
    drowning:
     - '§4%n has drowned.'
     
    fire:
     - '§4%n burned to death.'
     
    fire_tick:
     - '§4%n burned to death.'
     
    lava:
     - '§4%n became obsidian.'
     
    creeper:
     - '§4%n was creeper bombed'
     
    skeleton:
     - '§4A skeleton shot %n to death.'
     
    spider:
     - '§4%n was overtaken by the spiders.'
     
    zombie:
     - '§4%n was punched to death by zombies.'
     
    pvp:
     - '§4%a killed %n using a(n) %i.'
    
    pvp-fists:
    
     - '§4%a pummeled %n to death'
    
     - '§4%a crusted %n with their bare hands'
     
    block_explosion:
     - '§4Careful %n, TNT goes boom.'
     
    contact:
     - '§4%n got a little too close to a cactus.'
     
    ghast:
     - '§4%n was blown to bits by a ghast.'
     
    slime:
     - '§4A rare slime found %n.  They didnt win.'
     
    suffocation:
     - '§4%n suffocated.'
     
    pigzombie:
     - '§4%n lost the fight against a zombie pig.'
     
    unknown:
     - '§4%n died from unknown causes.'
      
    # ----- Streaks
     
    # <#of kills> <text to display> %n = Player
    killstreak:
     - '20000:§2[%n] is a hacker for getting 20,000 kills in a row!'
    # <#of kills> <text to display> %n = Player
    
    deathstreak:
    
     - '20000:§b[%n] is a hacker for getting 20,000 deaths in a row!'
     
  31. Offline

    Latros

    Does this work with Minecraft 1.3?
     

Share This Page