[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

    Latros

    Your plugin might be conflicting with HeroChat in some way?

    http://i117.photobucket.com/albums/o49/latros/broken.png

    I was getting this HeroChat error with both plugins installed, I uninstalled ALL of my plugins 1 by 1 to figure out which might be causing the problems, and on deleting your plugin the HeroChat bug stopped happening.

    Thoughts?
     
  3. Offline

    lonelydime

    It looks like a permissions problem, possibly. I'll install herochat on my test server and see if I can't find out what the problem is. DeathTpPlus doesn't register PLAYER_CHAT so it makes me wonder.
     
  4. Offline

    Latros

    Thanks
     
  5. Offline

    Cool12309

    config.yml (open)

    # ----- 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 sign tombstones upon death
    show-sign: 'true'

    # 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.'

    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.'

    Error (open)

    [SEVERE] Could not load plugins\DeathTpPlus.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: while scanning a simple key
    in "<reader>", line 223, column 1:
    -'§4%n fell into The Void, never ...
    ^
    could not found expected ':'
    in "<reader>", line 225, column 1:
    unknown:
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
    at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
    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.composeNode(Composer.java:132)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    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:149)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:111)
    ... 8 more


    DeathTpPlus 1.82
    CraftBukkit 557

    SOLVED: The void message didn't have a space between - and 'MessageHere'
     
  6. Offline

    ViralNihility

    The only problem that I have with this plug-in is that the /kills and /death commands -- while working -- do not work properly. Independent of whether or not you get a kill or be killed, your statistics always remain at 0. Is there any way to fix this--perhaps it's on my end?

     
  7. Offline

    lonelydime

    Kills are only reported for PvP kills, not mob kills. If it's not reporting PvP kills let me know and I'll have to dig a little bit to find out what the problem is.
     
  8. Offline

    barghest

    I am getting so frustrated. I keep getting the "Caused by: unacceptable character #FFFD special characters are not allowed" error when the plugin loads. It always reports this error with the character # of the very first simoleon in the config.yml file. Even if it's in a # comment line, or in a quote. The online YAML parser site seems to be parsing it OK.

    Show Spoiler

    # 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: 265

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

    # iConomy
    deathtp-cost: 0

    # 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 is one with the earth.'
    - '§4%n did not live through the fall.'
    - '§4%n learned a valuable lesson about gravity.'
    - '§4%n cratered.'
    - '§4%n got ground up from the ground UP!'
    - '§4%n should''ve asked hardwire for his flymod.'

    drowning:
    - '§4%n has drowned.'
    - '§4%n went to a watery grave.'
    - '§4%n failed to breathe underwater.'
    - '§4%n couldn''t find the surface.'

    fire:
    - '§4%n burned to the ground.'
    - '§4%n was flammable.'
    - '§4%n forgot to jump in water.'

    fire_tick:
    - '§4%n burned to the ground.'
    - '§4%n was flammable.'
    - '§4%n forgot to jump in water.'

    lava:
    - '§4Don''t curse, %n - lava happens.'
    - '§4%n throws the keyboard. Lava strikes again.'
    - '§4Blue bucket good, orange bucket bad, %n.'

    creeper:
    - '§4%n got creepered.'
    - '§4%n got griefed by Notch''s exploding green wang.'
    - '§4%n heard the hiss, and that was it.'
    - '§4%n didn''t know you could hide behind a wall.'

    skeleton:
    - '§4A skeleton shot %n to death.'
    - '§4%n got killed by skeletons, probably lag too.'

    spider:
    - '§4%n forgot spiders could climb.'
    - '§4%n probably saw it coming, but still got spidered.'

    zombie:
    - '§4%n was punched to death by zombies.'
    - '§4%n thought you could destroy the brain.'

    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 brutalized %n'

    block_explosion:
    - '§4%n made a horrible mistake.. but STILL wants more TNT.'
    - '§4%n is no Alfred Nobel.'
    - '§4%n confused TNT and dynamite, like Notch. Also blew self up.'
    - '§4Dynamite''s fun, %n, but wear armor.'

    contact:
    - '§4%n had a really bad cactus-related idea.'
    - '§4%n tripped over a cactus.'

    ghast:
    - '§4%n should stay out of the Nether.'
    - '§4%n is significantly more ghastly.'

    slime:
    - '§4%n fought the slime and the slime won.'
    - '§4%n was slimed. By slimes.'

    suffocation:
    - '§4%n suffocated.'
    - '§4%n stood under gravel, like a nub.'
    - '§4%n ended up inside a block.'

    pigzombie:
    - '§4%n looked at a zombie pig the wrong way.'

    void:
    - '§4%n fell into The Void, which shouldn''t be possible...'

    unknown:
    - '§4%n died from unknown causes.'

    # ----- 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! Keep doing it.'
    - '10:§2[%n] 10 killed! Kill a creeper for me.'
    - '15:§2[%n] 15 kills! Hey, shut off godmode!'
    - '20:§2[%n] 20 kills! MMM-MONSTER KILLLLL!!'
    - '25:§2[%n] I''m just gonna quit countin''!'

    # 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 a bunch.'
    - '10:§b%n is learning valuable life lessons.'
    - '15:§b%n, sometimes the only winning move is not to play.'


    In the rollup is my config.yml file. Please someone tell me I'm making some kind of stupid mistake. I've blown like an hour and a half on this.
     
  9. Offline

    Samuel Greaves

    I have the same problem


    EDIT: the update fixed it. Thanks.
     
  10. Offline

    barghest

    OP, I have a suggestion? Would you allow ampersands for color description? I apparently just cannot type simoleon characters into config.yml and have them parse.
     
  11. Offline

    lonelydime

    I'll give it a shot!

    1.83 is out with &'s and §'s allowed in the config for colors.
    As with 1.82, don't use unless you're running craftbukkit 557+ (no recommended build yet)

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

    barghest

    Hey, thanks for the quick response. I get a 404 when trying to download 1.83 though - I'll try it again later on in case DropBox is just crapping the bed.
     
  13. Offline

    lonelydime

    My bad, I had versions all mixed up since I'm maintaining 2 versions now. It should work fine now.
     
  14. Offline

    Cool12309

    (Sad face you're offline)

    CraftBukkit 561+ breaks this and a whole dangload of others. Please look at the change and fix ASAP. :D
     
  15. Offline

    lonelydime

    I'll check it out.

    Small heads up though, I'm buying a house tomorrow so I won't be working on plugins for a few days. Lots of moving to do and no internet until Sunday afternoon.
     
  16. Offline

    ReRRemi

    Knowing that @vatar didn't share ... My friend has translated your file configuration in French language. I give it to the French comunity. It is with great pleasure if you integrate it in your first thread =).

    Code:
    # ----- 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'
    
    # ----- Death Messages
    
    # Must contain at least 1 line. If there are more, it will appear randomly when a person dies.
    # §b%n§4 for player who died
    # §c%a§d 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:
    - '§b%n§2 a trébuché et est tombé ... en bas d''une falaise.'
    - '§b%n§2, avant de traverser: regarde à droite et à gauche'
    - '§b%n§2 a oublié de prendre son parachute !'
    - '§b%n§2 a apprit à voler... Euhhhh brièvement...'
    - '§b%n§2 a ressenti pleinement, l''effet de la gravité.'
    - '§b%n§2 vient juste d''expérimenter la physique en action.'
    - '§b%n§2 est tombé jusqu''à la mort.'
    - '§b%n§2 a oublié de regarder en bas !'
    - '§b%n§2 était trop près du bord !'
    - '§b%n§2, la gravité la appelée !'
    - '§b%n§2 s''est vautré la tête la première'
    - '§b%n§2 hurle, "Geronimo!"....*splashhhhh*'
    - '§2Ce qui monte doit redescendre, n''est ce pas §b%n§2 ?'
    - '§b%n§2 a fait le kéké sur le rebord !'
    
    drowning:
    - '§b%n§9 s''est noyé.'
    - '§b%n§9 ne fait qu''un avec l''océan !'
    - '§b%n§9 coule jusqu''au fond de l''océan'
    - '§b%n§9 fait de la plongée, mais a oublié tout son équipement !'
    - '§b%n§9 doit apprendre à nager.'
    - '§9Les poumons de §b%n§9 se sont remplis d''eau.'
    - '§b%n§9 a oublié de respirer !'
    - '§b%n§9 nage avec les poissons !'
    - '§b%n§9 a eu un accident de Surf !'
    - '§b%n§9 a essaye de marcher sur l''eau.'
    - '§b%n§9 établit un nouveau record d''apnée.'
    
    fire:
    - '§b%n§4 a cramé jusqu''à la mort.'
    - '§b%n§4 s''est immolé par le feu !'
    - '§b%n§4 est une tartine grillée ! Littéralement...'
    - '§b%n§4 s''est pris pour un Barbecue !'
    - '§b%n§4 est cuit à point !'
    - '§b%n§4 vient de s''enflammer par combustion spontanée !'
    - '§b%n§4 a mis ses mains dans le grille-pain !'
    - '§b%n§4 vient de se bruler !'
    - '§b%n§4 préfère quand c''est: extra-croustillant !'
    - '§b%n§4 a pris feu !'
    
    fire_tick:
    - '§b%n§c a cramé jusqu''à la mort.'
    - '§b%n§c s''est immolé par le feu !'
    - '§b%n§c est une tartine grillée ! Littéralement...'
    - '§b%n§c s''est pris pour un Barbecue !'
    - '§b%n§c est cuit à point !'
    - '§b%n§c vient de s''enflammer par combustion spontanée !'
    - '§b%n§c a mis ses mains dans le grille-pain !'
    - '§b%n§c vient de se bruler !'
    - '§b%n§c préfère quand c''est: extra-croustillant !'
    - '§b%n§c a pris feu !'
    
    lava:
    - '§b%n§4 s''est transformé en roche volcanique.'
    - '§b%n§4 a été capturé par une éruption volcanique !'
    - '§b%n§4 a essayé de nager dans un lac de lave...'
    - '§b%n§4 a été tué par un jet de lave !'
    - '§4La lave en fusion a momifié §b%n§4 en roche volcanique '
    - '§b%n§4 a pris un bain dans le mauvais type de piscine !'
    - '§b%n§4 a découvert comment s''envelopper soit même de carbone.'
    - '§b%n§4, a essayé de souffler sur de la lave en fusion, euhh souffle plus fort !'
    - '§4La lave a eu raison de §b%n§4 ! Paix à son âme.'
    
    creeper:
    - '§b%n§a a été bombardé de §6creeper§a !'
    - '§aUn §6creeper§a a explosé sur §b%n§a !'
    - '§aUn §6creeper§a s''est faufilé derrière §b%n§a !'
    - '§aUn §6creeper§a a essayé de faire l''amour à §b%n§a...mmm.'
    - '§b%n§a vient de recevoir le baiser de la mort !'
    - '§b%n§a a essayé d''embrasser un §6creeper§a !'
    - '§b%n§a vient de comprendre qu''un §6creeper§a ne meurt jamais seul !'
    - '§b%n§a a voulu faire un câlin à un §6creeper§a !'
    
    skeleton:
    - '§aUn §6Skelette§a a tiré sur §b%n§a jusqu''à la mort !'
    - '§b%n§a était du mauvais coté de l''arc. '
    - '§b%n§a a un §6squelette§a dans le placard...'
    - '§b%n§a, Évite les flèches ! Évite les flèches ! FAIL'
    - '§6Skelette§a *HEADSHOT* §b%n'
    
    spider:
    - '§b%n§a vient de se faire dévorer par une §6araignée§a géante !'
    - '§b%n§a vient de se faire piétiner par des §6araignées§a !'
    - '§b%n§a a croisé le chemin d''une §6araignée§a affamée !'
    - '§aDes §6araignées§a viennent de grimper sur §b%n§4 !'
    - '§b%n§a a oublié que les §6araignées§a peuvent grimper !'
    - '§b%n§aC''est cru dans §6spider-man§a !'
    
    zombie:
    - '§b%n§a a été battu a mort par des §6zombies§a !'
    - '§b%n§a a été mordu par un §6zombie§a !'
    - '§b%n§a est tombé sur une horde affamée de §6zombies§a !'
    - '§b%n§a n''a pas assez joué à L4D2 !'
    - '§b%n§a n''a pas pu courir plus vite que le §6zombie§a !'
    - '§b%n§a a fait peur à un §6zombie§a !'
    
    pvp:
    - '§c%a§d a tué §b%n§d avec une %i !'
    - '§c%a§d a vaincu §b%n§d avec une %i !'
    - '§c%a§d térasse §b%n§d avec une %i !'
    - '§c%a§d a gagné contre §b%n§d à l''aide d''une %i !'
    - '§c%a§d vient de faire comprendre à §b%n§d qui était le patron.'
    - '§b%n§d a été tué avec une %i par §c%a§d !'
    - '§c%a§d laisse §b%n§d dans une marre de sang !'
    - '§c%a§d se sert d''une %i pour en venir a bout de §b%n§d !'
    - '§b%n§d s''effondre suite à l''attaque de §c%a§d !'
    - '§b%n§d implore dieu pour pardonner l''%i de §c%a§d'
    - '§c%a§d tape §b%n§d avec une %i !'
    - '§b%n§d a été tué par §c%a§d à l''aide d''une %i !'
    - '§c%a§d obtient la défaite de §b%n§d avec une %i !'
    - '§c%a§d a raccourcie la vie de §b%n§d en lui enfonçant une %i en plein coeur !'
    - '§b%n§d est victimisé par §c%a§d !'
    - '§b%n§d a été éliminé par §c%a§d !'
    - '§c%a§d exécute §b%n§d avec une %i !'
    - '§c%a§d enterre §b%n§d avec une %i !'
    - 'L''%i de §c%a§d a fait une nouvelle victime. Pauvre §b%n§d !'
    - '§b%n§d perd un duel sauvage contre §c%a§d !'
    - '§c%a§d a battu §b%n§d à l''aide d''une seule main !'
    - '§c%a§d écrase §b%n§d dans un duel sans merci !'
    - '§d[INFO SCORE] %a 1 - %n 0'
    - '§c%a§d a vaincu §b%n§d dans une bataille sanglante !'
    - '§b%n§d a été vaincu par §c%a§d !'
    - '§c%a§d sort victorieux d''un duel avec §b%n§d!'
    - '§b%n§d s''est fait POWNED par §c%a§d !'
    - '§b%n§d a été tué par §c%a§d !'
    - '§b%n§d a été dominé par §c%a§d !'
    - '§b%n§d a été mangé par §c%a§d !'
    - '§b%n§d a besoin de plus d''entrainement car il a été tué par §c%a§d !'
    - '§b%n§d a été décapité par §c%a§d ! Slurrbbb...'
    
    pvp-fists:
    - '§c%a§5 a massacré §b%n§d jusqu''à la mort'
    - '§c%a§5 a défoncé §b%n§d a mains nues'
    
    block_explosion:
    - '§dAttention §b%n§e, La TNT ça explose !'
    - '§dAttention §b%n§e, La TNT est hautement explosif !'
    - '§b%n§e a été vu une dernière fois à côté d''une dynamite.'
    - '§b%n§e a trop joué avec de la dynamite.'
    - '§b%n§e a explosé en 1000 morceaux !'
    - '§b%n§e a coupé le mauvais fil !'
    - '§b%n§e a laissé une emprunte sanglante dans le monde.'
    - '§b%n§e a tenté d''exploser des gaufres avec de la dynamite !'
    - '§b%n§e a joué à la marelle, dans un champs de mine !'
    - '§b%n§e s''est coincé la tête dans un micro-ondes !'
    - '§b%n§e a lancé Minecraft à la place du Démineur...'
    
    contact:
    - '§b%n§1 s''est retrouvé un peu trop près d''un cactus !'
    - '§b%n§1 a essayé d''embrasser un cactus !'
    - '§b%n§1 va falloir être plus prudent près des cactus !'
    - '§b%n§1 sent la colère de M. Cactus !'
    - '§b%n§1 va falloir comprendre que se frotter avec des cactus, n''est pas forcément sans risque !'
    - '§b%n§1 a succombé a des blessures de cactus !'
    - '§b%n§1 s''est piqué avec un cactus... et vient de mourir.'
    - '§b%n§1 a couru dans quelque chose de verts et pointus, mais ce n''était pas de l''herbe....'
    
    ghast:
    - '§b%n§a a été déchiqueté par un §6ghast§a.'
    - '§aLes §6ghast§a Ce ne sont pas des bébés, tu entends, §b%n§d !'
    - '§b%n§a vient juste de se faire exploser par une boule de feu !'
    - '§b%n§a a reçu un chaleureux accueil en enfer !'
    
    slime:
    - '§dA Les §6Slimes§a ont trouvé §b%n§a. Les Slimes ont gagné.'
    - '§b%n§a était entrain de jouer avec des §6slimes§a. Les slimes n''aiment pas trop s''amuser.'
    
    suffocation:
    - '§b%n§7 s''est étouffé.'
    - '§b%n§7 était entrain de creuser vers le haut, et il s''est retrouvé enseveli dans de la terre !'
    - '§b%n§7 s''est étranglé a mort sous terre !'
    - '§b%n§7 s''est étouffé avec un sandwish au jambon'
    
    pigzombie:
    - '§b%n§a a perdu un combat contre un §6cochon zombie.'
    - '§b%n§a touché un §6cochon zombie. Ce n''était pas la meilleure idée.'
    - '§b%n§a a regardé de travers un gang de §6cochons zombies, apparemment ils aiment pas ça.'
    
    unknown:
    - '§b%n§f est mort de façon inexpliquée.'
    - '§b%n§f a implosé dans le néant'
    - '§b%n§f a été vaporisé'
    - '§b%n§f est mort d''une diarrhée aigüe'
    - '§b%n§f est mort par Chuck Norris'
    - '§b%n§f courrait avec des ciseaux... Maintenant il ne court plus!'
    - '§b%n§f a été frappé par la chute d''un piano'
    - '§b%n§f a été assassiné par un tir à la tête d''un fantôme'
    - '§b%n§f a oublié de porter sa combinaison spatiale'
    - '§b%n§f s''est étouffé avec un sandwish au jambon'
    - '§b%n§f est mort des mains d''un Ninja'
    # ----- Streaks
    
    # format <#of kills> <text to display> §b%n§d = player getting the message (in this case, the one on a killstreak).
    
    killstreak:
    - '5:§6[§b%n§6]§c 5 ennemis tués ! et le nombre est faible !'
    - '10:§6[§b%n§6]§c 10 meurtres! Rampage !'
    - '15:§6[§b%n§6]§c 15 meurtres! Domination !'
    - '20:§6[§b%n§6]§c 20 meurtres! Quelle Tuerie !'
    - '25:§6[§b%n§6]§c C''est une dinguerie! Un Dieu vivant!'
    
    # format <#of kills> <text to display> §b%n§d = player getting the message (in this case, the one on a deathstreak).
    
    deathstreak:
    - '5:§b%n§4 est mort, quelque chose comme 5 fois.'
    - '10:§b%n§4, craft une épée ou quelque chose.'
    - '15:§b%n§4 est mort plus souvent qu''il ne reste en vie.'
    - '20:§b%n§4 est juste pathétique.'
    - '30:§b%n§4 joue a Minecraft avec la guitare de Guitar Hero.'
     
  17. Offline

    evilserge

    Wow!

    Its be a good idea to make all strings in separate .TXT files (like: Fall.Txt , Lava.txt etc.) or just in one .TXT file.
    Use only Notepad++ To edit settings, or server doesnt starts. crash 100%
    Currently works on russian translation for the plugin

    Yep, im had a bad bad English. Originally from Russia.
    Some worlds 2 russian users:
    Стандартный блокнот крашит нахрен сервер. Переводите с помощью Notepad++

    Here is it - the russian version of the strings. Note that you need patched minecraft_server.jar with the Cyrillic characters
    Русская версия всех строчек для плагина. Вам нужно пропатчить minecraft_server.jar для поддержки кириллицы.
    Code:
    # ----- 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 оочень плохой скалолаз.'
    - '§4%n подскользнулся и упал.'
    - '§4%n забыл одеть парашут!'
    - '§4%n учиться летать.... безуспешно'
    - '§4%n почуствовал силу гравитации.'
    - '§4%n проверил законы Ньютона.'
    - '§4%n разбился насмерть.'
    - '§4%n вааабще не ВДВшник, вааабще!'
    - '§4%n был сильно близко к краю и упал!'
    - '§4%n, гравитация зовет тебя!'
    - '§4%n разбился в лепешку!'
    - '§4%n разбежавшись прыгнул со скалы'
    - '§4Гравитация работает %n, правда?'
    
    drowning:
    - '§4%n утонул...'
    - '§4%n слился с океаном!'
    - '§4%n забыл балоны с воздухом.'
    - '§4%n ныряет как топор!'
    - '§4Даааа %n тебе нужны уроки плавания.'
    - '§4%n захлебнулся водой.'
    - '§4%n забыл вынырнуть!'
    - '§4%n плавает вместе с рыбками!'
    - '§4%n теперь натуральный утопленник!'
    - '§4%n не преуспел в хождении по воде.'
    - '§4%n установил рекорд по задержании дыхания.'
    
    fire:
    - '§4%n сгорел. Насмерть.'
    - '§4%n загорелся!'
    - '§4%n загорелся, как спичка'
    - '§4%n сгорел, и клоуны разбежались!'
    - '§4%n не успел потушить пожар!'
    - '§4%n обгорел!'
    - '§4%n неожиданно загорелся!'
    - '§4%n хот дог без булочки!'
    - '§4%n выгорел полностью!'
    
    fire_tick:
    - '§4%n сгорел. Насмерть.'
    - '§4%n загорелся!'
    - '§4%n загорелся, как спичка'
    - '§4%n сгорел, и клоуны разбежались!'
    - '§4%n не успел потушить пожар!'
    - '§4%n обгорел!'
    - '§4%n неожиданно загорелся!'
    - '§4%n хот дог без булочки!'
    - '§4%n выгорел полностью!'
    
    lava:
    - '§4%n теперь обсидиан.'
    - '§4%n теперь знает что лава не вода!'
    - '§4%n попытался поплавать в лаве.'
    - '§4%n убит в результате обжого лавой.'
    - '§4%n переплавлен в булыжник.'
    - '§4%n прыгнул не в тот бассейн!'
    - '§4Лава окутала %n с ног до головы.'
    - '§4%n, Внизу это лава! Внизу это лава!'
    
    creeper:
    - '§4%n подорван крипером!'
    - '§4Крипер поджидал %n!'
    - '§4Крипер отправил на тот свет %n!'
    - '§4Крипер любовно обнял %n...ммммм.'
    - '§4%n только что поцеловал смерть!'
    - '§4%n попытался снять крипера!'
    - '§4%n ненавидит криперов!'
    
    skeleton:
    - '§4%n убит метким выстрелом скелетона!'
    - '§4%n нарвался на стрелу. '
    - '§4%n иммет свой скелет в шкафу'
    - '§4%n расстрелян кучей стрел!'
    - '§4Скелетон только что сделал хэдшот %n!'
    
    spider:
    - '§4%n закутан в кокон пауком.'
    - '§4%n убит пауком.'
    - '§4%n забыл про пауков!'
    - '§4А пауки умеют ползать по стенам, правда %n?'
    - '§4У %n теперь арахнидомания!'
    
    zombie:
    - '§4%n разорван на клочки зомбяками!'
    - '§4%n убит кучей зомби!'
    - '§4%n попал в зомбилэнд!'
    - '§4%n накормил собой зомбяков!'
    - '§4%n не смог убежать от зомби!'
    
    pvp:
    - '§4%a убил %n с помощью %i!'
    - '§4%a уничтожил %n!'
    - '§4%a выследил %n!'
    - '§4%a превратил %n в кровавую баню!'
    - '§4%a забил %n с помощью %i!'
    - '§4%n устранен %a-ом с %i!'
    - '§4%a прикончил %n с %i!'
    - '§4%a с %i пометил %n как новую жертву!'
    - '§4Счет %a 1 - %n 0!'
    - '§4%a проиграл %n в сражении!'
    - '§4%a проиграл дуэсль %n!'
    - '§4%n выследил %a!'
    - '§4%n доминирует над %a!'
    - '§4%n исполнил фаталити для %a!'
    
    pvp-fists:
    - '§4%a забил %n насмтерть.'
    - '§4%a голыми руками вайпнул %n!'
    
    block_explosion:
    - '§4В следуйщий раз %n, будь аккуратней динамит взрывоопасен!'
    - '§4%n впоследний раз играл с динамитом.'
    - '§4%n разорван в клочки динамитом!'
    - '§4%n это динамит, детка!'
    - '§4%n покоиться в воронке от динамита.'
    - '§4%n взорван динамитом!'
    - '§4%n улетел взрывом в космос!'
    - '§4%n решил закурить рядом с динамитом. Зря.!'
    
    contact:
    - '§4%n укололся кактусом!'
    - '§4%n решил прыгнуть на кактус!'
    - '§4%n узнал на себе силу кактуса!'
    - '§4%n зря обнимал кактус!'
    - '§4%n наткнулся на кактус!'
    - '§4%n умер на кактусе!'
    - '§4Кактус беспощадно убил %n.'
    
    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 поджарен файерболлом!'
    - '§4%n got too comfy in the Nether!'
    
    slime:
    - '§4Слизень нашел %n. Слизень выиграть.'
    - '§4%nПопытался убить слизь, но не вышло.'
    
    suffocation:
    - '§4%n погребен заживо.'
    - '§4%n, нужно копать осторожнее!'
    - '§4%n смотри внимательней когда копаеш!'
    
    pigzombie:
    - '§4%n проиграл битву с зомби свиньей.'
    - '§4%n теперь знает что не стоит трогать змоби свинью.'
    - '§4Зомби свинья убила %n .'
    
    void:
    - '§4%n убит войдом.'
    
    unknown:
    - '§4%n умер в черезвычайном происшествии.'
    - '§4%n упал в черную дыру.'
    - '§4%n ваабще никак не дункан маклауд.'
    - '§4Смерть пришла за %n.'
    - '§4Чак Норрис забрал душу %n.'
    - '§4%n умер. Просто умер.'
    - '§4%n вайпнулся на самом интересном.'
    - '§4Ктулху забрал %n.'
    - '§4%n забыл одеть скафандр'
    - '§4%n умер от рук нидзя'
    # ----- 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 kills! You''re thinning the numbers!'
    - '10:§2[%n] 10 kills! RAMPAGE!'
    - '15:§2[%n] 15 kills! DOMINATING!'
    - '20:§2[%n] 20 kills! KILLING SPREE!'
    - '25:§2[%n] 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 умер, уже как 5 раз.'
    - '10:§b%n, сделай себе меч или что то типо того.'
    - '15:§b%n больше мертв, чем жив.'
    - '20:§b%n, вайп это не выход.'
    - '30:§b%n вечно умирающий.'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 8, 2016
  18. Offline

    1lann

    Hi,
    I'm new to bukkit and all and only started using it today. I was very interested in your plugin so I installed it on my sever. When the config.yml is empty with no data inside it, the command window says the plugin is working fine. Once I added the example code you posted, the plugin was giving me errors when I start the server and doesn't work. Here is the current config.yml I have and the error I get.

    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 sign tombstones upon death
    show-sign: 'true'
    
    # 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.'
    
    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.'
    Error
    Code:
    21:01:08 [SEVERE] Could not load plugins\DeathTpPlus1.83.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:113)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:159)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:107)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:203)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:190)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:130)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:245)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: unacceptable character #FFFD special characters are not allowed
    in "<reader>", position 832
            at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.ja
    va: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.ja
    va:964)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:237)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produ
    ce(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(BaseCons
    tructor.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:149)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:111)
            ... 8 more
    >
    Thanks
     
    thecoolwolf likes this.
  19. Offline

    barghest

    Change all the simoleons to ampersands and see if you still get the error. In 1.83, the author put in an update that allows you to use ampersands for color codes. It looks like some people's installs just absolutely refuse to parse that simoleon character, even though there shouldn't be an issue with it.
     
  20. Offline

    mutiny

    bukkit 558 and deathtp 1.83 using /deathtp costs iconomy coins however no one moves..

    plugin loads fine, no yaml errors
     
  21. Offline

    Aholic

    Same prob :/
    No Errors.
     
  22. Offline

    Cool12309

    You must save with Notepad++.
     
  23. Offline

    1lann

    EDIT: Problem Fixed! I just downgraded bukkit and now it works!

    Thanks for your suggestions! I Changed the symbols but now I get a different error. Also I always use notepad++ to edit the yml files. Here's the new error I get:
    Code:
    10:35:33 [SEVERE] ENTITY_DAMAGED loading DeathTpPlus v1.82 (Is it up to date?)
    java.lang.NoSuchFieldError: ENTITY_DAMAGED
            at com.lonelydime.DeathTpPlus.DeathTpPlus.onEnable(DeathTpPlus.java:152)
    
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:453)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:203)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:190)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:130)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:245)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
    thecoolwolf likes this.
  24. Offline

    evilserge

    check syntax! One of string are damaged! Allows only letters > don't use any symbols like <>'|"\][}{*&^%$#@
    they provide a plugin crash.
     
  25. Offline

    1lann

    It's ok, the problem was fixed!
     
    thecoolwolf likes this.
  26. Offline

    snouz

    This plugin doesn't work at all on bukkit build 592, but I now downgraded to 556, and it works fine. I'm working on a correct translation in french.
    How can I put apostrophes? \' doesn't work.

    ok i should use "" for string and then i can use '

    French version of the code, with corrected grammar and other additions. V1


    Code:
    # ----- 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"
    
    # ----- 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 aurait dù prendre un parachute."
    - "§4%n a appris à voler... durant un court instant."
    - "§4%n ressent pour de bon l'effet de la gravite."
    - "§4%n plonge à sa perte."
    - "§4%n oublie de regarder en bas"
    - "§4%n a glissé du rebord!"
    - "§4%n vérifiait les lois de la pesanteur!"
    - "§4%n vient d'embrasser le sol à toute vitesse"
    - "§4Le sol s'est brutalement approché de %n"
    
    drowning:
    - "§4%n ne fait plus qu'un avec l'océan."
    - "§4%n aurait dù prendre un tubas."
    - "§4%n a besoin de faire plus de natation."
    - "§4%n a rejoint le fond des océans."
    - "§4%n nage avec les poissons carrés"
    - "§4%n a essayé de marcher sur leau."
    - "§4%n viens de faire un nouveau record d'apnée."
    - "§4%n s'est pris pour Moïse."
    - "§4%n s'est pris pour Jésus."
    
    fire:
    - "§4%n a pris feu."
    - "§4%n s'est un peu trop enflammé."
    - "§4%n est totalement cramé."
    - "§4%n = barbecue."
    - "§4%n = combustion humaine spontanée."
    - "§4%n n'est plus qu un paquet de cendre."
    - "§4%n tout feu tout flamme."
    - "§4À tous les mangeurs d'hommes, %n est cuit."
    - "§4%n est chaud, chaud, chaud!"
    - "§4%n est chaud boulette!"
    
    fire_tick:
    - "§4%n a pris feu."
    - "§4%n s'est un peu trop enflammé."
    - "§4%n est totalement cramé."
    - "§4%n = barbecue."
    - "§4%n = combustion humaine spontanée."
    - "§4%n n'est plus qu un paquet de cendre."
    - "§4%n tout feu tout flamme."
    - "§4À tous les mangeurs d'hommes, %n est cuit."
    - "§4%n est chaud, chaud, chaud!"
    - "§4%n est chaud boulette!"
    
    lava:
    - "§4%n s'est transformé en obisidienne."
    - "§4%n entre en éruption."
    - "§4%n nage... dans la lave"
    - "§4%n se lave."
    
    creeper:
    - "§4%n s'est fait creeperer"
    - "§4Un creeper a essayé de coppuler avec %n."
    - "§4%n a essayé de caresser un creeper!"
    - "§4%n, le cactus mouvant, c'est un creeper."
    - "§4%n a entendu un sifflement et a sauté"
    - "§4ssssssssSSSSSSSSSSSSSSSSHHHHHHHHH...!BOUM %n!"
    - "§4Ce creeper avait une dent contre %n."
    - "§4On a rien retrouvé de %n. Ni du creeper."
    - "§4J'espère que le creeper qui a sauté sur %n n'a rien cassé"
    - "§4%n, victime de la Marque Verte."
    
    skeleton:
    - "§4Un squelette a criblé %n de flèches."
    - "§4%n était du mauvais côté de l'arc."
    - "§4%n s'est pris une flèche dans le front"
    
    spider:
    - "§4%n s'est pris le gros dard de l'araignée ."
    - "§4%n a maintenant peur des araignées!"
    - "§4%n s'est fait caresse par huit pattes velues!"
    - "§4%n a oublié que les araignées savaient escalader!"
    - "§4%n, Arachnophobia!"
    - "§4%n, bloqué dans une toile."
    
    zombie:
    - "§4%n s'est fait tabasser par un zombie!"
    - "§4%n est moins fort qu'un zombie!"
    - "§4%n a nourri un mort vivant!"
    - "§4%n n'a pas assez joué à Left4Dead!"
    - "§4%n ne courrait pas plus vite que le zombie!"
    
    pvp:
    - "§4%a uilise %n comme un message sanglant."
    - "§4%a démonte %n."
    - "§4%a rajoute %n parmis ses victimes."
    - "§4%a peut ajouter %n à son tableau de chasse."
    - "§4%n perd son duel face à %a."
    - "§4%a bat %n en neige."
    - "§4%a devait avoir de la rancoeur contre %n."
    - "§4%a a massacré %n dans la foulée."
    - "§4%n a été tué par %a."
    - "§4%n s'est fait dominer par %a."
    - "§4%n a besoin de pratique et a perdu contre %a."
    - "§4%n s'est fait décapiter par %a!"
    - "§4C'était peut-être un accident, mais %a a tué %n."
    - "§4On recherche %a pour le meurtre de %n."
    - "§4On est débarassé de %n grâce à %a."
    
    pvp-fists:
    - "§4%a tabassé %n à mort"
    - "§4%a étranglé %n à mains nues"
    
    block_explosion:
    - "§4%n a été aperçu en train de jouer avec de la dynamite"
    - "§4%n a explosé en mille morceaux!"
    - "§4%n a allumé la mauvaise mèche!"
    - "§4%n a laissé des petits bouts de lui sur la map."
    - "§4%n a marché sur sa mine et a explosé."
    
    contact:
    - "§4%n s'est approché d'un peu trop près du cactus."
    - "§4%n a essayé de caliner un cactus."
    - "§4%n a besoin d être plus prudent autour des cactus!"
    - "§4%n ressent la colere du grand Cactus."
    - "§4%n apprend le resultat de monter sur un cactus!"
    - "§4%n s'est piqué avec un cactus ... et il est mort."
    - "§4%n était distrait par un cochon et s'est cogné à un cactus."
    - "§4%n, voilà ce qui arrive quand on cultive des cactus chez soi."
    
    ghast:
    - "§4%n a été tué par un ghast !"
    - "§4%n n'est pas prés de revenir dans le Nether."
    
    slime:
    - "§4Un slime a trouvé %n. Le slime a gagné."
    - "§4%n a voulu jouer avec le slime. Il ne voulait pas."
    
    suffocation:
    - "§4%n manque d'air."
    - "§4%n suffoque."
    
    pigzombie:
    - "§4%n perd un combat face à un pigzombie."
    - "§4%n, toucher un pigzombie n'est jamais une bonne idée."
    - "§4%n, ne jamais croiser le regard avec un pigzombie."
    
    unknown:
    - "§4%n est mort... la police est dessus."
    - "§4%n s'est... évaporé."
    - "§4%n a trouvé la 5e dimension."
    - "§4%n s'est fait tuer par Chuck Norris."
    - "§4%n courait avec des ciseaux malgré les remarques de sa maman."
    - "§4%n viens de se faire écraser par un piano qui tombait par là."
    - "§4%n a été tué par Cthulhu."
    - "§4%n a oublié sa combinaison spatiale."
    - "§4%n s'est étouffé dans son vomi, comme le chanteur d'AC/DC."
    - "§4%n est mort des mains d'un ninja... on suppose."
    - "§4%n a tenté de diviser par 0."
    - "§4%n ne devait pas être compatible."
    - "§4%n, les disparitions spontanées, c'est pas du pipot."
    # ----- 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 ennemis tués! Tu ne les comptes plus!"
    - "10:§2[%n] 10 kills! Tu es un boeuf!"
    - "15:§2[%n] 15 kills! Domine tous les types de monstres!"
    - "20:§2[%n] 20 kills! Carnage Total!"
    - "25:§2[%n] Trop de kills à la suite! Il n y aurait pas un peu de godmod là dedans ?!"
    
    # format <#of kills> <text to display> %n = player getting the message (in this case, the one on a deathstreak).
    
    deathstreak:
    - "5:§b%n est mort 5 fois de suite..."
    - "10:§b%n, fabrique-toi une épée ou quoi, allez hein"
    - "15:§b%n est plus souvent mort que vivant."
    - "20:§b%n est carrément pathetique."
    - "25:§b%n veut rentrer dans le Guiness."
    - "30:§b%n joue clairement a MC pour savoir ce que disent les messages de mort."
    Works 100% on 1.82
    EDIT: updated

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

    clawdz18

    every time i try and use "/deathtp" it says unknown death location or something i tried "/kill" to suicide jumping to my death and getting a mob to kill me but i still just says no death location
     
  28. Hello all. I am trying to set up DeathTPPlus and I am receving the following error when I launch my server:

    Code:
    14:47:43 [INFO] Starting minecraft server version Beta 1.3
    14:47:43 [INFO] Loading properties
    14:47:43 [INFO] Starting Minecraft server on *:25565
    14:47:43 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-g6c6c30a-b556jnks (MC: 1.3)
    14:47:43 [INFO] Preparing level "HELLOMINING"
    14:47:43 [INFO] Preparing start region
    14:47:44 [SEVERE] Could not load plugins\DeathTpPlus.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: unacceptable character #FFFD special characters are not allowed in "<reader>", position 867
            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:149)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:111)
            ... 8 more
    14:47:44 [INFO] [ColorMe] v1.3 has been enabled.
    14:47:44 [INFO] PlgSetspawn version 4.0 is enabled!
    14:47:44 [INFO] Done (0.079s)! For help, type "help" or "?"
    >
    Here is my config file:

    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 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.'
    
    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.'
    I did try changing all of the § symbols to & and this makes the plugin launch with no errors, however when I die it displays "&4djplasmid died from cactus injuries!" as if it were not reading the color codes properly. Any ideas?
     
  29. Offline

    ViralNihility

    Has this been updated for CraftBukkit 602?
     
    snouz likes this.
  30. Offline

    Cool12309

    This
     
  31. Offline

    snouz

    I was going to ask the same?
    Also, I think many people use essentials, please consider adding a death message for commands /kill and /suicide
     

Share This Page