1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Skript Addon works only with /reload

Discussion in 'Java' started by Charlito33, Nov 24, 2020.

  1. Charlito33

    Charlito33 Member

    Joined:
    Nov 24, 2020
    Messages:
    1
    Likes Received:
    0
    Hello,
    I've made an Addon for Skript but I have a little issue with it...
    When I start my local server, the skript doesn't load the syntax ("Can't understand this condition/effect...")
    But, if I do a /reload, the Addon loads well ?!

    Please explain me why

    I tried :
    - Reinstall Server
    - Changing some things in Addon
    - Using Magma (I use spigot or magma)
    - Try if this do the same issue with an another addon (Answer : No)

    Thanks
    - Charlito33
    --- Double Post Merged, Nov 25, 2020, Original Post Date: Nov 24, 2020 ---
    Ok, now it's works, I think it got patched by itself...

    What I've done :
    - Installing another Addon
    - Rebooting

    Thanks !
    --- Double Post Merged, Nov 25, 2020 ---
    Ok, I found what I changed to make this working.

    If you set this line Bukkit.getScoreboardManager().getMainScoreboard(); outside onEnable() (Like directly in the Class outside a method), the Skript won't work correctly !
     
  2. novastosha

    novastosha Well-Known Member

    Joined:
    Jan 11, 2019
    Messages:
    344
    Likes Received:
    22
    i think your addon loads before skript
     

Share This Page

Loading...