Bug: Error line of customdamage

Discussion in 'Bug Reports' started by Morot Gamer, Jul 30, 2020.

  1. Morot Gamer

    Morot Gamer New Member
    Premium Supporter Supporter

    Joined:
    May 8, 2020
    Messages:
    2
    Likes Received:
    0
    Enter a brief description of what is broken Error line of customdamage

    What version of Minecraft are you using? 1.16

    What server jar are you using? Paper

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? Premium v4.9.1

    Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!
    I am receiving this 2 errors in the console:

    [10:30:23 WARN]: [MythicMobs] ✗ Config Error for Mechanic line 'customdamage{a=5;i=false}' in 'Unknown': Failed to load custom mechanic CUSTOMDAMAGE
    [10:30:23 WARN]: [MythicMobs] ✗ Config Error for Mechanic line 'customdamage{a=5;i=false}' in 'Unknown': Failed to load custom mechanic CUSTOMDAMAGE

    And nothing else about the Mythic Mobs on the log

    The customdamage appears twice on the skills.yml file:

    OrbitalLaserDestructionEnd:
    Skills:
    - explosion{blockdamage=false;fire=true;yield=10} @Origin
    - customdamage{a=5;i=false} @PlayersNearOrigin{r=7}
    - effect:blockmask{m=magma;r=3;d=220} @Origin
    - ignite{ticks=100;repeatInterval=10;repeat=1} @PlayersNearOrigin{r=3}
    - delay 20
    - effect:blockmask{m=magma;r=5;d=200} @Origin
    - ignite{ticks=100;repeatInterval=10;repeat=1} @PlayersNearOrigin{r=5}
    - delay 20
    - effect:blockmask{m=magma;r=7;d=180} @Origin
    - ignite{ticks=100;repeatInterval=10;repeat=1} @PlayersNearOrigin{r=7}
    - delay 20
    - effect:blockmask{m=magma;r=10;d=160} @Origin
    - ignite{ticks=100;repeatInterval=10;repeat=15} @PlayersNearOrigin{r=10}
    - remove @self

    and

    o6:
    Skills:
    - customdamage{a=5;i=false} @PlayersNearOrigin{r=7}
    - effect:particles{p=lava;amount=25;speed=0.2;hS=0.1;vS=1} @origin

    I already solve randomskill and randommessage problem, but i have no idea of what i am doing, or how to solve the problem

    Example Configurations
     
    #1
  2. Tenitrex

    Tenitrex New Member
    Premium Supporter Supporter

    Joined:
    Jul 26, 2020
    Messages:
    17
    Likes Received:
    0
    There is no skill mechanic with such name that's why you're getting error
    Code:
    OrbitalLaserDestructionEnd:
      Skills:
      - explosion{blockdamage=false;fire=true;yield=10} @Origin
      - damage{a=5;ia=false} @PlayersNearOrigin{r=7}
      - effect:blockmask{m=magma;r=3;d=220} @Origin
      - ignite{ticks=100;repeatInterval=10;repeat=1}@PlayersNearOrigin{r=3}
      - delay 20
      - effect:blockmask{m=magma;r=5;d=200} @Origin
      - ignite{ticks=100;repeatInterval=10;repeat=1} @PlayersNearOrigin{r=5}
      - delay 20
      - effect:blockmask{m=magma;r=7;d=180} @Origin
      - ignite{ticks=100;repeatInterval=10;repeat=1} @PlayersNearOrigin{r=7}
      - delay 20
      - effect:blockmask{m=magma;r=10;d=160} @Origin
      - ignite{ticks=100;repeatInterval=10;repeat=15} @PlayersNearOrigin{r=10}
      - remove @self
    
    and other one:
    
    o6:
      Skills:
      - damage{a=5;ia=false} @PlayersNearOrigin{r=7}
      - effect:particles{p=lava;amount=25;speed=0.2;hS=0.1;vS=1} @origin
    Also better use spigot instead of paper even if it's faster it also fresh and more complicated
     
    #2
    Last edited: Jul 31, 2020
  3. Morot Gamer

    Morot Gamer New Member
    Premium Supporter Supporter

    Joined:
    May 8, 2020
    Messages:
    2
    Likes Received:
    0
    I am sorry, i dont understand, what you said

    What is an "skill mechanic", are talking about the spaces before the start of each line? because on the file there is the exactly same spaces that yours

    The "Orbital Laser Destruction End" and the "o6" are skills that does not exist?
     

    Attached Files:

    #3
  4. Tenitrex

    Tenitrex New Member
    Premium Supporter Supporter

    Joined:
    Jul 26, 2020
    Messages:
    17
    Likes Received:
    0
    Just delete this >> - customdamage{a=5;i=false} @PlayersNearOrigin{r=7} old code from your file
    and replace it with this >> - damage{a=5;ia=false} @PlayersNearOrigin{r=7} like i showed before
     
    #4

Share This Page