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.

Addon Skungee - The Bungeecord addon for Skript 1.0.15

A Skript addon that allows for full control over the Bungeecord.

  1. MeHow

    MeHow Well-Known Member

    Joined:
    Feb 6, 2017
    Messages:
    130
    Likes Received:
    13
    @LimeGlass
    Code (Text):
    1.  
    2. [18:37:05 WARN]: java.lang.IllegalStateException: Asynchronous command dispatch!
    3. [18:37:05 WARN]:        at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15)
    4. [18:37:05 WARN]:        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:707)
    5. [18:37:05 WARN]:        at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:655)
    6. [18:37:05 WARN]:        at ch.njol.skript.Skript.dispatchCommand(Skript.java:1317)
    7. [18:37:05 WARN]:        at ch.njol.skript.effects.EffCommand.execute(EffCommand.java:84)
    8. [18:37:05 WARN]:        at ch.njol.skript.lang.Effect.run(Effect.java:52)
    9. [18:37:05 WARN]:        at me.limeglass.skungee.spigot.sockets.SpigotPacketHandler.handlePacket(SpigotPacketHandler.java:96)
    10. [18:37:05 WARN]:        at me.limeglass.skungee.spigot.sockets.SpigotRunnable.run(SpigotRunnable.java:85)
    11. [18:37:05 WARN]:        at java.lang.Thread.run(Thread.java:748)
    12.  

    Code (Text):
    1. skungee evaluate skript code "console command ""%arg-2%""" on the bungee cord servers arg-1
    It doesn't work on 1.13, I have 5 servers on bungeecord (1.8,1.8,1.8,1.8,1.13) everything works on 1.8, but in 1.13 I am getting this error above.
     
  2. LimeGlass

    VIP Supporter Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    617
    Likes Received:
    425
    Medals:
    Report this error at https://github.com/Skungee/Skungee/issues
    Otherwise we may forget about this issue.

    The problem is i'm guessing you're looping all servers including the server the Skript code is being executed on, this causes an issue because Skungee is all asynchronous, and the command being ran on the server cannot be asynchronous (This is how Minecraft works).

    You can add a check to your code to execute a normal effect command when executed on the same server.

    Code (Text):
    1. loop all bungeecord servers:
    2.     if current server is loop-value:
    3.         execute console command "/something"
    4.     else:
    5.         evaluate skript code "execute console command ""/something""" on bungeecord server loop-value
     
  3. MeHow

    MeHow Well-Known Member

    Joined:
    Feb 6, 2017
    Messages:
    130
    Likes Received:
    13
    Still doesn't work on 1.13 server
     
  4. pepper82

    pepper82 Member

    Joined:
    Jan 26, 2017
    Messages:
    262
    Likes Received:
    1
  5. LimeGlass

    VIP Supporter Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    617
    Likes Received:
    425
    Medals:
  6. LimeGlass

    VIP Supporter Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    617
    Likes Received:
    425
    Medals:
  7. Nikos_s

    Nikos_s Member

    Joined:
    Jan 27, 2020
    Messages:
    1
    Likes Received:
    0
    Hi!
    Version: spigot 1.12.2
    Skungee: Last version
    When i updated skungee from 1.09 to 1.13, all of my skungee syntaxes broke
    | Exemple:
    send bungeecord player "%player%" to "Lobby"
    [15:42:24 INFO]: Nikos_s[/127.0.0.1:59912] logged in with entity id 46 at ([world]437.4497552016387, 207.0, -354.5101758687827)
    [15:42:24 ERROR]: #!#!
    [15:42:24 ERROR]: #!#! [Skript] Severe Error:
    [15:42:24 ERROR]: #!#!
    [15:42:24 ERROR]: #!#! Something went horribly wrong with Skript.
    [15:42:24 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
    [15:42:24 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
    [15:42:24 ERROR]: #!#! Here is full list of them:
    [15:42:24 ERROR]: #!#! skRayFall (https://sk.rayfall.net/) TuSKe (github.com/Tuke-Nuke/TuSKe) Skellett (https://forums.skunity.com/resources/skellett.24/) MundoSK (https://forums.skunity.com/resources/mundosk.69/) Reqn Skent SkriptJSON skript-mirror (https://github.com/btk5h/skript-mirror) Skungee SkStuff SkBee skUtilities (https://tim740.github.io/) SkQuery Ersatz
    [15:42:24 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
    [15:42:24 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
    [15:42:24 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
    [15:42:24 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
    [15:42:24 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
    [15:42:24 ERROR]: #!#! Only if the author tells you to do so, report it as Skript issue (url below)
    [15:42:24 ERROR]: #!#! Issue tracker: https://github.com/bensku/Skript/issues (only if you know what you're doing!)
    [15:42:24 ERROR]: #!#!
    [15:42:24 ERROR]: #!#! Stack trace:
    [15:42:24 ERROR]: #!#! java.lang.NullPointerException
    [15:42:24 ERROR]: #!#! at me.limeglass.skungee.spigot.elements.effects.EffConnectServer.execute(EffConnectServer.java:31)
    [15:42:24 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52)
    [15:42:24 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    [15:42:24 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    [15:42:24 ERROR]: #!#! at ch.njol.skript.effects.Delay$1.run(Delay.java:101)
    [15:42:24 ERROR]: #!#! at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76)
    [15:42:24 ERROR]: #!#! at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361)
    [15:42:24 ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739)
    [15:42:24 ERROR]: #!#! at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
    [15:42:24 ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
    [15:42:24 ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
    [15:42:24 ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
    [15:42:24 ERROR]: #!#!
    [15:42:24 ERROR]: #!#! Version Information:
    [15:42:24 ERROR]: #!#! Skript: 2.2-dev32c (custom version)
    [15:42:24 ERROR]: #!#! Bukkit: 1.12.2-R0.1-SNAPSHOT
    [15:42:24 ERROR]: #!#! Minecraft: 1.12.2
    [15:42:24 ERROR]: #!#! Java: 1.8.0_211 (Java HotSpot(TM) 64-Bit Server VM 25.211-b12)
    [15:42:24 ERROR]: #!#! OS: Windows 10 amd64 10.0
    [15:42:24 ERROR]: #!#!
    [15:42:24 ERROR]: #!#! Running CraftBukkit: false
    [15:42:24 ERROR]: #!#! Running Spigot (or compatible): true
    [15:42:24 ERROR]: #!#! Running Paper (or compatible): false
    [15:42:24 ERROR]: #!#!
    [15:42:24 ERROR]: #!#! Current node: null
    [15:42:24 ERROR]: #!#! Current item: [Skungee] EffConnectServer- Syntax: [[skungee] (send|connect) bungee[[ ]cord] [(player|uuid)] %strings/players% to [bungee[[ ]cord]] [server] %string% [with reason %-connectreason%], [skungee] (send|connect) [(player|uuid)] %strings/players% to [bungee[[ ]cord]] server %string% [with reason %-connectreason%]]
    [15:42:24 ERROR]: #!#! Thread: Server thread
    [15:42:24 ERROR]: #!#!
    [15:42:24 ERROR]: #!#! Language: english
    [15:42:24 ERROR]: #!#! Link parse mode: DISABLED
    [15:42:24 ERROR]: #!#!
    [15:42:24 ERROR]: #!#! End of Error.
    [15:42:24 ERROR]: #!#!
     
    #147 Nikos_s, Mar 30, 2020
    Last edited: Mar 30, 2020
  8. LimeGlass

    VIP Supporter Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    617
    Likes Received:
    425
    Medals:
    Report on the Github please
     
    • Agree Agree x 1
  9. PuchiGFX

    PuchiGFX Member

    Joined:
    Jan 26, 2017
    Messages:
    246
    Likes Received:
    5
    Will work this addon well anyday?
     
  10. moritzMSN

    moritzMSN Member

    Joined:
    Nov 22, 2018
    Messages:
    3
    Likes Received:
    0
    hi, I get every 10-20 minutes this error


    [03.05 22:59:06.493] INFO: [Proxy-1] 22:52:43 [SEVERE] Task BungeeTask([email protected], id=1, [email protected], task=me.limeglass.skungee.bungeecord.managers.PlayerTimeManager$$Lambda$38/[email protected], delay=0, period=1000, running=true) encountered an exception
    [03.05 22:59:06.493] INFO: [Proxy-1] java.lang.NullPointerException
    [03.05 22:59:06.493] INFO: [Proxy-1] at me.limeglass.skungee.bungeecord.managers.PlayerTimeManager.lambda$null$0(PlayerTimeManager.java:39)
    [03.05 22:59:06.493] INFO: [Proxy-1] at java.lang.Iterable.forEach(Iterable.java:75)
    [03.05 22:59:06.493] INFO: [Proxy-1] at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1082)
    [03.05 22:59:06.493] INFO: [Proxy-1] at me.limeglass.skungee.bungeecord.managers.PlayerTimeManager.lambda$new$1(PlayerTimeManager.java:31)
    [03.05 22:59:06.493] INFO: [Proxy-1] at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63)
    [03.05 22:59:06.493] INFO: [Proxy-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    [03.05 22:59:06.493] INFO: [Proxy-1] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    [03.05 22:59:06.493] INFO: [Proxy-1] at java.lang.Thread.run(Thread.java:748)
     
  11. LimeGlass

    VIP Supporter Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    617
    Likes Received:
    425
    Medals:
    Been fixed in next version already. Please use Github issues tab for bug reports.
     
Loading...