Filled End Crystal Damage

Discussion in 'Plugin Requests' started by llamamonium11, Mar 26, 2023.

Thread Status:
Not open for further replies.
  1. Offline

    llamamonium11

    Plugin Version: 1.19.4
    Plugin Name: CrystalDamage
    Plugin Description: Upon Explosion of a End Crystal a Players Shield gets damaged. With a configurable percentage from 0% to 100% . 0% will do no Shield damage, 100% will instantly break the players shield, 50% leave the Shield at half the Durability etc.
     
    Last edited: Mar 26, 2023
  2. Offline

    Don't Real

    Do you want something like this?

    https://github.com/Hurdel/CrystalDa...a508eeefda389d9c/build/libs/CrystalDamage.jar

    The Value is defined in the File 'CrystalDamage.yml' saved. (if you change the value in the File you must reload, so that the value is used)

    Commands:
    /crystaldamage query (to se the current value of the damage to the shield)
    /crystaldamage set [0-100] (to set the value in percent, so you use an intager between 0 and 100)

    The commands can be only be used by the Players how are OP.
     
  3. Offline

    llamamonium11

     
    Last edited: Mar 30, 2023
  4. Offline

    Don't Real

    okay, i tested it like 15 times an everything worked just fine, it may be because it's written in Kotlin. That's why I did it again in Java, maybe it works that way. I even tested it with different Javaversions (19.0.2, 18.0.2.1, 17.0.3.1) on the server.

    Maybe this will work now if it is written in java.

    https://github.com/Hurdel/CrystalDa...a27/build/libs/CrystalDamage-1.0-SNAPSHOT.jar

    i rewrote some parts with newer methods, so i think it should work now.
    https://github.com/Hurdel/CrystalDamageJava/blob/master/build/libs/CrystalDamage-1.0-SNAPSHOT.jar (the link always to the newest version)
    https://github.com/Hurdel/CrystalDa...548/build/libs/CrystalDamage-1.0-SNAPSHOT.jar (the linkt to the spacific version)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Mar 30, 2023
Thread Status:
Not open for further replies.

Share This Page