DarknessDamage - New Unique Survival Mechanic 1.3.1

The darkness will hurt you!

  1. HexedHero
    Native Minecraft Version:
    1.18
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    • 1.18
    Contributors:
    HexedHero
    Warning: This plugin is no longer receiving updates and may or may not work, especially on newer Minecraft versions. No support is given.

    [​IMG]
    ABOUT
    [​IMG]

    DarknessDamage
    is a plugin where the Darkness damages you! You can set the damage amount, timer, if it should kill the player, action bar message and more!

    FEATURES
    • Plug & Play. Just drop in the plugins folder and configure.
    • Highly efficient with performance in mind since the start and highly optimized.
    • Hex colors in supported Minecraft versions.
    • Light Range. Set the light level range that damages players.
    • Task Settings. Change how often to check and damage players in the dark and how often to tell them they are in the dark.
    • Damage Settings. Set the amount of damage the players receive each task run. You can also set if the damage should kill the player or leave them at 1HP. You can also set the damage to increase by its self if the player stays in the darkness, resets when they enter the light.
    • Per World support. Configure the darkness to only damage you in set worlds or enable it in all.
    • Ignore players with light sources in their hand or with a bypass permission.
    • Execute commands when a player enters or leaves the darkness.
    Code (YAML):
    # Thank you for Downloading DarknessDamage!
    #
    # Feel free to check out my other plugins here:
    # https://www.spigotmc.org/members/429752/#resources

    # Put all the worlds you want this enabled in, add * for all worlds.
    Enabled Worlds
    :
     - "world"
    # - "*"

    # How often in tick should we check if we should damage players.
    # 20 ticks = 1 second.
    Damage Task Timer
    : 30

    # The light level range of what damages you.
    Light Range
    : 0-6

    # Damage to deal to the player each task run.
    Damage
    : 1

    # Should we increase the damage the longer the player is in the dark?
    # Example: The damage will start at 2 then increase to 4 then 6 etc.
    # until the player steps back into the light which it rests back to 2 for next time.
    Damage Increases
    : true

    # Should the damage kill the player or just leave them at 1 hp?
    Damage Kills
    : true

    # Execute commands on some events
    Commands
    :

       # Commands to fire when the player enters the darkness. Empty to disable.
       Enter
    :
        - ""
         # - "say %player% entered darkness"
         # - "kill %player%"
     
       # Commands to fire when the player leaves the darkness. Empty to disable.
       Leave
    :
        - ""
         # - "say %player% entered the light"

    # Should the plugin not damage players with light sources in their main/off hand?
    # Configure the valid light sources below.
    Ignore Light Sources In Hand
    :

       # Enabled or not.
       Enabled
    : true

       # Materials to ignore
       # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
       Valid Light Sources
    :
      - "TORCH"
       - "REDSTONE_TORCH"
       - "GLOWSTONE"
       - "SEA_LANTERN"
       - "LANTERN"
       - "SOUL_LANTERN"
     
    # How often in tick should we check and tell players if they are in the darkness.
    # 20 ticks = 1 second.
    Message Task Timer
    : 5

    # The message to send to the player when they are in the range to be damaged
    # Set to "" to disable.
    Action Bar Message
    : "&8&lYOU'RE IN THE DARKNESS"

    COMMANDS & PERMISSIONS

    Commands:

    • /darknessdamage Shows help menu.
    • /darknessdamage reload Reloads the plugin, restarting any tasks.
    Permissions:
    • darknessdamage.command.reload Permission for the reload arg.
    • darknessdamage.bypass Bypass the entire plugin, not taking any damage.

    ✨Like this? Check out my premium plugins below.
    [​IMG] [​IMG] [​IMG] [​IMG]
    [​IMG]
    LatePacket likes this.

Recent Updates

  1. 1.3.1
  2. 1.3.0 - Commands
  3. 1.2.1

Recent Reviews

  1. Neclok
    Neclok
    1/5,
    Version: 1.3.1
    Plugin with a great idea but with bugs, abandoned and the support not even to say that "We don't update the plugin anymore" just ignore it haha
    1. HexedHero
      Author's Response
      "Abandoned" because I didn't reply due to being on holiday. You asked for a feature request, not a bug report.
  2. Hoang_Redstone
    Hoang_Redstone
    5/5,
    Version: 1.2.0
    Can you edit your plugin , player have Torch or blocks that can glow like glowStone, sea lantern, or any item can glow on Left Hand will not get damage by darkness ?
    1. HexedHero
      Author's Response
      Yeah sure, I'll add that check for the next update
  3. Sh1nki
    Sh1nki
    5/5,
    Version: 1.1.1
    The plugin idea is very cool. Luminous objects (optifine), then the darkness also did not work
  4. TakenNone
    TakenNone
    5/5,
    Version: 1.0.3
    Another great and super high quality plugin from HexedHero. Can't wait to see this on servers!
  5. Hoang_Redstone
    Hoang_Redstone
    5/5,
    Version: 1.0.2
    1.12.2 can use this ? .
    1. HexedHero
      Author's Response
      Yea it should work fine on 1.12.2
  6. Escyth
    Escyth
    5/5,
    Version: 1.0.2
    Interesting mechanic, I would definitely consider using it in a survival server.
    1. HexedHero
      Author's Response
      Thanks for the nice and first review! Thank you like it :D