DeathCraft

DeathCraft

DeathCraft is a plugin to make dying fun!

Not really. Dying always sucks - But DeathCraft will make it more fun for everyone else.

Features

  • Unlimited, customized death messages for every type of death, or per item!
    • Differentiates between PVE and PVP deaths!
    • Option to use true account names, or display names (/nick, etc)
    • Player optional ignoring of either type of death (PVE or PVP) messages
  • Head drops! Fully configurable drops of player and mob heads!
  • Permission based configurable 'Death Chests' that will store items upon an untimely demise - or be the prize of the PVP victor!
  • /kill and /suicide, as well as the option to override these commands from other plugins to continue the DC Experience
  • Permission based configurable 'Keep Xp on death

Installation

  • 1) Download
  • 2) Put deathcraft.jar in your /plugins folder
  • 3) /reload your server, or restart.
  • 4) ???
  • 5) DEATH!

Known Conflicts

  • CreeperHeal You must disable chests in one of the two plugins, or you will end with a looping chest creation.

Commands, Configuration & Permissions

Please see the new Commands, Configuration & Permissions Page!

Bug Reporting and Suggestions

If you find a bug, or have a suggestion, PLEASE open a ticket! I can't fix what I don't know is broken, and I can't add what I don't know is wanted. :)

ToDo

  • Togglable allowance of locked chests for popular protection plugins (LWC, Locket)
  • Allow Keep item on death permissions, completely bypassing Chests

Tutorials

Portuguese:

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of ThisUsernameIsMine ThisUsernameIsMine Mar 26, 2015 at 23:16 UTC - 0 likes

    @raum: Go

    PM~

    My problem(s) with MyCommand and Ban Management

    Portable and Updatable Minecraft Launcher
    + http://web.minecraftnoob.com +

    -:- Me on YouTube -:-

    http://i.imgur.com/Z1kXY8n.png

  • Avatar of raum raum Mar 26, 2015 at 00:19 UTC - 0 likes

    When copying over your messages.yml to mine, I do not encounter the reset issue you're describing. When I edit the file, then start up, it is fine. If I edit it, and use /dc2 reload, it is also fine. Is it still occurring? The only thing I can think of is that originally there was an issue with your file, and when you re-did it, the mistake didn't exist.

    I had misunderstood your initial comment regarding the custom item message - that can safely be ignored. In short, it's not finding item 276 in your file, so it's defaulting - or supposed to be - to pvp. Apparently it is not doing that - it is defaulting to entity_attack instead.

    Is there any particular reason you're not using the in-game config editor? It would both save the need for a reload, and should write the config file without issue.

    If you're still having issues, go ahead and PM me so we can try to get it taken care of quicker, and without spamming the comments.

    BFAK:91007154,92e4b917081a2a8d6581e2ed8fa6b92293e7f5164a522cb9ced0b28249791359

  • Avatar of ThisUsernameIsMine ThisUsernameIsMine Mar 25, 2015 at 13:34 UTC - 0 likes

    @raum: Go

    As i stated in my prevous post, i haven't added any other items to CustomList, just my added variations for the bedrock item:

    CustomItem:
      '7':
      - '%1 &7was whacked to death by %2&7''s &bbedrock&7!'
      - '%1 &7werd doodgeslagen met %2&7''s &bbedrock&7!'
      - '%1 &7werd met &bbedrock &7tot (appel)moes (dood)geslagen!'
    

    The resetting (actually it isn't resetting everything; read above, so i'm not sure how to call this) only seems to happen when adding messages to non-CustomList related sections. I tried adding an almost identical message under wither: (only omitting the period):

      - '%1 has withered away'
    

    But after saving the file and doing /dc reload, that message was removed

    (i used WinMerge and Notepad++ to add my messages, but they are still removed)

    Here's the messages.yml i currently have:

    deathmessages:
      contact:
      - '%1 was pricked to death!'
      fall:
      - '%1 hit the ground too hard!'
      pvp:
      - '%1 was vanquished by %2!'
      arrowmob:
      - '%1 was shot by %5 %2!'
      arrowpvp:
      - '%1 was shot by %2''s bow!'
      entity_explosion:
      - '%1 has exploded.'
      block_explosion:
      - '%1 has exploded.'
      mob:
      - '%1 was killed by %5 %2.'
      lava:
      - '%1 tried to swim in lava.'
      void:
      - '%1 fell through the world.'
      fire:
      - '%1 went up in flames!'
      fire_tick:
      - '%1 burned to death!'
      suffocation:
      - '%1 suffocated.'
      drowning:
      - '%1 drowned.'
      magic:
      - '%1 was killed by magic.'
      lightning:
      - '%1 was struck down by lightning.'
      suicide:
      - '%1 took their own life.'
      other:
      - '%1 was killed by mysterious forces.'
      starvation:
      - '%1 has starved to death.'
      fireball:
      - '%1 has been struck by a fireball!'
      fireballpvp:
      - '%1 has was fried by %2''s fireball!'
      fireballmob:
      - A %2 has fried %1 with a fireball!
      wither:
      - '%1 has withered away.'
      falling_block:
      - '%1 was crushed by a falling anvil!'
    CustomItem:
      '7':
      - '%1 &7was whacked to death by %2&7''s &bbedrock&7!'
      - '%1 &7werd doodgeslagen met %2&7''s &bbedrock&7!'
      - '%1 &7werd met &bbedrock &7tot (appel)moes (dood)geslagen!'
    
    Last edited Mar 25, 2015 by ThisUsernameIsMine
  • Avatar of raum raum Mar 25, 2015 at 04:18 UTC - 0 likes

    @ThisUsernameIsMine: Go

    Hm .. Messages shouldn't reset for any reason, unless it's finding an invalid line (yaml limitations). Do you/did you have a custom item message for item #276?

    I haven't run into this issue at all. Do you have a copy of your non-reset messages.yml so I can test and debug with your settings?

  • Avatar of ThisUsernameIsMine ThisUsernameIsMine Mar 25, 2015 at 00:17 UTC - 0 likes

    Aww, the new version is resetting my messages back to the default one.

    It even happens after adding a colour code to one of the default messages (of course between the quotes and when server was off).

    http://www.yamllint.com/ shows Valid YAML

    Debug shows nothing odd at server startup, but note when killing someone:

    Quote from at server start:

    [deathcraft] Enabling deathcraft v1.10.2
    DC2 DEBUG: Saving flatfile deathchest config ...
    DC2 DEBUG: Saving flatfile deathchest config ...
    [DC2] Decoration Heads Loaded: 54

    Quote from after killing someone:

    [DC2] Damage message not found in file: entity_attack ???
    DC2 DEBUG: Item not found for custom list: 276 ???
    DC2 DEBUG: Cause of death: ENTITY_ATTACK
    [DC2] Builder was PVP killed by copyitright at world:-280,70,-610
    DC2 DEBUG: Item Loot Bonus: 1.0
    DC2 DEBUG: Did not meet drop threshold - Regdrop: 5.0Drop Chance: 5.0 Rolled: 95
    DC2 DEBUG: No killer, or mechanic disabled
    DC2 DEBUG: No killer, or mechanic disabled

    Quote:

    [DC2] Damage message not found in file: entity_attack

    Interesting to mention is that there is no such entity_attack in my standard generated messages.yml (and yes, i'm really using the latest version of DeathCraft).

    Quote:

    Item not found for custom list: 276

    also isn't mentioned under CustomItem, i only see '7' and a message.

    Furthermore i often see the following debug output in the console:

    Quote:

    DC2 DEBUG: No killer, or mechanic disabled

    This amazes me, because in my config i haz:

    deathmessages:
      enableMechanic: true
    

    And remember, this all happens with the default messages.yml, the complete config.yml i have is below:

    general:
      Debug: true
      CheckForUpdates: false
      Prefix: '&6:^(&f'
      UseDisplayName: true
      CheckXp: false
      Herobrine: true
    colors:
      default: '&f'
      killer: '&c'
      victim: '&b'
    stats:
      track: false
      worlds: '*'
      seperateScores: true
      top: 3
      worst: 3
    tracking:
      enabled: false
      worlds: '*'
      fee: 0
      cooldown: 60
      lifeCost: 1
    chest:
      protect: true
      decayInMinutes: 10
      pvpchest: true
      pvechest: true
      enableFind: false
      disabledWorlds:
      - creative
      disabledRegions:
      - someRegion
      DestroyBlock:
        '0': true
        '6': true
        '8': true
    mechanic:
      healthorb:
        enabled: true
        item: REDSTONE
        orb: REDSTONE
        healthperorb: 2
        max: 10
        min: 2
        consume: false
        worlds:
        - games
        - pvp1
        - pvp2
    deathmessages:
      enableMechanic: true
      showCoords: false
    head:
      enabled: true
      lootbonus: 1
      announce:
        pve: '%1 has been beheaded!'
        pvp: '%2 has beheaded %1!'
      pve: true
      pvp: true
      drop:
        player: 5
        creeper: 2
        zombie: 2
        skeleton: 2
        wither: 2
        blaze: 2
        cave_spider: 2
        chicken: 2
        cow: 2
        enderman: 2
        ghast: 2
        magma_cube: 2
        mushroom_cow: 2
        pig: 2
        pig_zombie: 2
        sheep: 2
        slime: 2
        spider: 2
        villager: 2
        iron_golem: 2
        ocelot: 2
        squid: 2
        bat: 2
        ender_dragon: 2
        silverfish: 2
        snowman: 2
        horse: 2
        witch: 2
    name-alias:
      horsemob: horse
    deco-heads:
      '0':
        enabled: true
        display: a decorative cactus
        playerName: MHF_CACTUS
        oldNames: []
      '1':
        enabled: true
        display: a decorative cactus
        playerName: MHF_Cactus
        oldNames: []
      '2':
        enabled: true
        display: a decorative cake
        playerName: MHF_Cake
        oldNames: []
      '3':
        enabled: true
        display: a decorative chest
        playerName: MHF_Chest
        oldNames: []
      '4':
        enabled: true
        display: a decorative coconut
        playerName: MHF_CoconutB
        oldNames: []
      '5':
        enabled: true
        display: a decorative coconut
        playerName: MHF_CoconutG
        oldNames: []
      '6':
        enabled: true
        display: a decorative melon
        playerName: MHF_Melon
        oldNames: []
      '7':
        enabled: true
        display: a decorative oak log
        playerName: MHF_OakLog
        oldNames: []
      '8':
        enabled: true
        display: a decorative present
        playerName: MHF_Present1
        oldNames: []
      '9':
        enabled: true
        display: a decorative present
        playerName: MHF_Present2
        oldNames: []
      '10':
        enabled: true
        display: a decorative pumpkin
        playerName: MHF_Pumpkin
        oldNames: []
      '11':
        enabled: true
        display: a decorative TNT
        playerName: MHF_TNT
        oldNames: []
      '12':
        enabled: true
        display: a decorative TNT
        playerName: MHF_TNT2
        oldNames: []
      '13':
        enabled: true
        display: an up arrow
        playerName: MHF_ArrowUp
        oldNames: []
      '14':
        enabled: true
        display: a down arrow
        playerName: MHF_ArrowDown
        oldNames: []
      '15':
        enabled: true
        display: a left arrow
        playerName: MHF_ArrowLeft
        oldNames: []
      '16':
        enabled: true
        display: a right arrow
        playerName: MHF_ArrowRight
        oldNames: []
      '17':
        enabled: true
        display: an exclamation mark
        playerName: MHF_Exclamation
        oldNames: []
      '18':
        enabled: true
        display: a question mark
        playerName: MHF_Question
        oldNames: []
      '19':
        enabled: true
        display: Herobrine skull
        playerName: MHF_HEROBRINE
        oldNames: []
      '20':
        enabled: true
        display: decorative jack-o-lantern
        playerName: Koebasti
        oldNames: []
      '21':
        enabled: true
        display: decorative leaves
        playerName: rsfx
        oldNames: []
      '22':
        enabled: true
        display: decorative oak plank
        playerName: terryxu
        oldNames: []
      '23':
        enabled: true
        display: decorative stone
        playerName: Robbydeezle
        oldNames: []
      '24':
        enabled: true
        display: decorative jukebox
        playerName: C418
        oldNames: []
      '25':
        enabled: true
        display: decorative dispenser
        playerName: scemm
        oldNames: []
      '26':
        enabled: true
        display: decorative piston
        playerName: JL2579
        oldNames: []
      '27':
        enabled: true
        display: decorative diamond ore
        playerName: akaBruce
        oldNames: []
      '28':
        enabled: true
        display: decorative redstone ore
        playerName: annayirb
        oldNames: []
      '29':
        enabled: true
        display: decorative emerald ore
        playerName: Tereneckla
        oldNames: []
      '30':
        enabled: true
        display: decorative sponge
        playerName: pomi44
        oldNames: []
      '31':
        enabled: true
        display: decorative bookshelf
        playerName: BowAimbot
        oldNames: []
      '32':
        enabled: true
        display: decorative haybale
        playerName: Bendablob
        oldNames: []
      '33':
        enabled: true
        display: decorative game console
        playerName: PhasePvP
        oldNames: []
      '34':
        enabled: true
        display: decorative gold block
        playerName: teachdaire
        oldNames: []
      '35':
        enabled: true
        display: decorative iron block
        playerName: metalhedd
        oldNames: []
      '36':
        enabled: true
        display: decorative obsidian
        playerName: loiwiol
        oldNames: []
      '37':
        enabled: true
        display: decorative bedrock
        playerName: dylansams
        oldNames: []
      '38':
        enabled: true
        display: decorative sand
        playerName: rugofluk
        oldNames: []
      '39':
        enabled: false
        display: decorative red sand
        playerName: Omnisulfur
        oldNames: []
      '40':
        enabled: true
        display: decorative pufferfish
        playerName: luci999
        oldNames: []
      '41':
        enabled: true
        display: decorative toaster
        playerName: samstine11
        oldNames: []
      '42':
        enabled: true
        display: decorative monitor
        playerName: CoderPuppy
        oldNames: []
      '43':
        enabled: true
        display: decorative television
        playerName: sysfailure
        oldNames: []
      '44':
        enabled: true
        display: decorative radio
        playerName: uioz
        oldNames: []
      '45':
        enabled: true
        display: decorative apple
        playerName: KylexDavis
        oldNames: []
      '46':
        enabled: true
        display: decorative paper roll
        playerName: OrtyBortorty
        oldNames: []
      '47':
        enabled: true
        display: decorative hamburger
        playerName: Simbasbestbud
        oldNames: []
      '48':
        enabled: true
        display: decoreative pancakes
        playerName: Weed_Pancakes
        oldNames: []
      '49':
        enabled: true
        display: decorative aquarium
        playerName: Fish181
        oldNames: []
      '50':
        enabled: true
        display: decorative book stack
        playerName: CS001
        oldNames: []
      '51':
        enabled: true
        display: decorative crafting bench
        playerName: CraftingGalaxy2
        oldNames: []
      '52':
        enabled: true
        display: decoreative command block
        playerName: Unknowcall
        oldNames: []
      '53':
        enabled: true
        display: decorative cube game
        playerName: ZiGmUnDo
        oldNames: []
    

    Perhaps the plugin is not ready yet for Spigot 1.8.3?

    Last edited Mar 25, 2015 by ThisUsernameIsMine
  • Avatar of raum raum Mar 24, 2015 at 15:07 UTC - 0 likes

    With name changes going live last month, some of the Decoration heads are no longer valid. I have not gone through them and updated it for 1.10.2. Deco heads can be manually edited/enabled/disabled in the config file. If you see one you dont' like, or that is no longer valid, you're able to remove it on your own.

  • Avatar of raum raum Mar 24, 2015 at 15:00 UTC - 0 likes

    @rustyshakelford2: Go

    That's all part of the localization update that is pending review/approval (1.10.2). Once it is approved, you will be able to change many of the internal messages, including that one.

  • Avatar of rustyshakelford2 rustyshakelford2 Mar 07, 2015 at 23:34 UTC - 0 likes

    I just switched my server to this plugin to replace our horribly outdated deathtpplus. So far i'm really liking it, excellent work. Is it possible to disable or edit the message that says "You may use a compass and /dc2 find to point to this location!"?

  • Avatar of Liger_XT5 Liger_XT5 Mar 05, 2015 at 03:23 UTC - 0 likes

    Thanks for the quick update. I'll test it out and see how things go.

    MCDen @ mc.mine-craft-den.com
    http://dv95vg8j0dclt.cloudfront.net/images/servers/banners/normal/39051_1423940226.jpg
    Details at FairMCList.com!

  • Avatar of raum raum Mar 05, 2015 at 00:44 UTC - 0 likes

    @Liger_XT5: Go

    Wow ... the file that I just uploaded was already approved ... See if DC v1.10.1 fixes your problem. I don't use Towny, but it works with GriefPrevention + WG (Granted, the last version did too ... so hey.)

Facts

Date created
Feb 13, 2013
Category
Last update
Mar 30, 2015
Development stage
Release
License
All Rights Reserved
Curse link
DeathCraft
Downloads
9,393
Recent files
  • R: 1.11.1 for 1.8.1 Mar 30, 2015
  • R: 1.11.0b for 1.8.1 Mar 27, 2015
  • R: 1.10.2b for 1.8.1 Mar 24, 2015
  • R: 1.10.1 for 1.8.1 Mar 05, 2015
  • R: 1.10 for CB 1.7.9-R0.2 Dec 02, 2014

Authors