Damaging Darkness | Anti-XRay Solution | 0.1.1

A different approach to preventing players from using X-Ray hacks on your server

  1. Ukrainian_Reaper
    Contributors:
    Ukrainian_Reaper
    Damaging Darkness
    Damaging Darkness is a anti-Xray plugin inspired by this forum post and developed to passively prevent users from using X-Ray hacks by damaging them when they mine without any light sources around them.

    Note
    The plugin does not prevent X-Ray hackers from using the hack. It simply makes it much more difficult for them to use it, and hopefully make it so difficult that they will simply not use it.

    How does it work?
    Using the premise that people that use XRay plugins when they mine also do not use torches or other light sources and the fact that all effective XRay mining occurs in low Y levels, we are able to prevent players from easily using XRay hacks.

    When a player is underground below a certain Y-Level(Editable in the config) and his head block has a light level below a certain number (Editable in the config), he will have health deducted(Amount is editable in config) from him every set number of seconds.(Editable in config)

    Instructions
    Simply have this plugin running.

    Permissions

    damagingdarkness.*:
    description: Gives access to all commands
    default: op
    children:
    damagingdarkness.damage: true


    damagingdarkness.damage:
    description: Players with this permission WILL receive damage from darkness
    default: false​
    xDaedalus and Ethon6 like this.

Recent Reviews

  1. Resoluciones
    Resoluciones
    5/5,
    Version: 0.1.1
    Great plugin! Very fun for survival servers! Thank you Developer and keep up the good work!
  2. Steve2018
    Steve2018
    4/5,
    Version: 0.1.1
    Hi I just tried it on a server this plugin and looks intresting. But I have problem with xray players still...
    Can you add also for some players to obtain blind effect after a certain Y and after that Y, also get Night Vision effect so it could be full darkness?
    Please let me know if a new update released.
  3. Bananna
    Bananna
    4/5,
    Version: 0.1.1
    Looks interesting...
  4. Yazio
    Yazio
    5/5,
    Version: 0.1.1
    Great plugin