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!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

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

Solved Remove timespan from timespan

Discussion in 'Skript' started by Marsbar, Mar 31, 2019.

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

    Marsbar Well-Known Member

    Joined:
    Mar 31, 2019
    Messages:
    81
    Likes Received:
    2
    Hello there, someone there knows how to make this skript so there will come the needed time to be released out?
    Sorry for bad english:emoji_stuck_out_tongue:

    Timespan: 10 minutes




    every 1 second:
    loop all players:
    if {jail.%loop-player%} is true:
    set {jail.%loop-player%.Tilbage1} to difference between {jail.%loop-player%.timestart} and now
    broadcast "%{jail.%loop-player%.timespan}% - %{jail.%loop-player%.Tilbage1}%"
    set {Jail.%loop-player%.tilbage2} to difference between {jail.%loop-player%.timespan} and {Jail.%loop-player%.tilbage1}
    Broadcast "%{Jail.%loop-player%.tilbage1}% test"
    set action bar of loop-player to coloured "&c&l%{Jail.%loop-player%.tilbage2}% left"
     
  2. Best Answer:
    Post #2 by TPGamesNL, Mar 31, 2019
  3. TPGamesNL

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    1,354
    Likes Received:
    85
    Medals:
    Try this

    Code (Text):
    1. every 1 second:
    2.     loop all players:
    3.         if {jail.%loop-player%} is true:
    4.             set {_ts} to {jail.%loop-player%.timespan}
    5.             remove difference between {jail.%loop-player%.timestart} and now from {_ts}
    6.             set action bar of loop-player to "&c&l%{_ts}% left"
     
  4. Marsbar

    Marsbar Well-Known Member

    Joined:
    Mar 31, 2019
    Messages:
    81
    Likes Received:
    2
    Really thank youTPGamesNL!
     
    • Friendly Friendly x 1
  5. TPGamesNL

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    1,354
    Likes Received:
    85
    Medals:
    No problem :emoji_slight_smile:
    I saw you were using Skript 2.1.2 (deleted message), which is fairly outdated. I recommend using 2.2dev36 for 1.8 (and probably spigot 1.8.8 is better than Bukkit 1.8).
     
  6. Marsbar

    Marsbar Well-Known Member

    Joined:
    Mar 31, 2019
    Messages:
    81
    Likes Received:
    2
    Oh ok im a New server creator so thanks for alle help☺
    --- Double Post Merged, Apr 1, 2019, Original Post Date: Mar 31, 2019 ---
    Hi TPGamesNL with the new skript version does not work.... Im gonna try with 1.8 skript version:emoji_slight_smile:
    Log:
    [QUOTE="
    [15:58:22] [Server thread/ERROR]: [Citizens] An exception occurred while the trait sentry was spawning for NPC ID 11.
    [15:58:22] [Server thread/WARN]: java.lang.NoClassDefFoundError: net/minecraft/server/v1_7_R1/Packet
    [15:58:22] [Server thread/WARN]: at net.aufdemrand.sentry.SentryTrait.ensureInst(SentryTrait.java:132)
    [15:58:22] [Server thread/WARN]: at net.aufdemrand.sentry.SentryTrait.onSpawn(SentryTrait.java:114)
    [15:58:22] [Server thread/WARN]: at net.citizensnpcs.npc.CitizensNPC.spawn(CitizensNPC.java:205)
    [15:58:22] [Server thread/WARN]: at net.citizensnpcs.npc.entity.HumanController$SkinFetcher$1.call(HumanController.java:212)
    [15:58:22] [Server thread/WARN]: at net.citizensnpcs.npc.entity.HumanController$SkinFetcher$1.call(HumanController.java:207)
    [15:58:22] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftFuture.run(CraftFuture.java:89)
    [15:58:22] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
    [15:58:22] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:709)
    [15:58:22] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
    [15:58:22] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
    [15:58:22] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
    [15:58:22] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
    [15:58:22] [Server thread/WARN]: Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_7_R1.Packet
    [15:58:22] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91)
    [15:58:22] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)
    [15:58:22] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
    [15:58:22] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
    [15:58:22] [Server thread/WARN]: ... 12 more
    [15:58:45] [Timer-2/INFO]: [WorldGuard] Region data changes made in 'world' have been background saved
    [15:59:12] [User Authenticator #1/INFO]: UUID of player XX_MarsBar_XX is a7d0d0eb-6b10-479f-9fe4-a5876ffae064
    [15:59:12] [Server thread/WARN]: java.lang.NoSuchFieldException: channel
    [15:59:12] [Server thread/WARN]: at java.lang.Class.getField(Unknown Source)
    [15:59:12] [Server thread/WARN]: at com.gmail.thelimeglass.Utils.ReflectionUtil.getChannel(ReflectionUtil.java:43)
    [15:59:12] [Server thread/WARN]: at com.gmail.thelimeglass.Utils.Packets.PacketListener.create(PacketListener.java:68)
    [15:59:12] [Server thread/WARN]: at com.gmail.thelimeglass.Utils.Packets.PacketListener.onJoin(PacketListener.java:22)
    [15:59:12] [Server thread/WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [15:59:12] [Server thread/WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [15:59:12] [Server thread/WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [15:59:12] [Server thread/WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
    [15:59:12] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    [15:59:12] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    [15:59:12] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
    [15:59:12] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
    [15:59:12] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.PlayerList.onPlayerJoin(PlayerList.java:272)
    [15:59:12] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.PlayerList.a(PlayerList.java:156)
    [15:59:12] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.LoginListener.b(LoginListener.java:109)
    [15:59:12] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.LoginListener.c(LoginListener.java:41)
    [15:59:12] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.NetworkManager.a(NetworkManager.java:159)
    [15:59:12] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.ServerConnection.c(ServerConnection.java:82)
    [15:59:12] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:800)
    [15:59:12] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
    [15:59:12] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
    [15:59:12] [Server thread/WARN]: at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
    [15:59:12] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
    [15:59:12] [Server thread/INFO]: XX_MarsBar_XX[/127.0.0.1:54482] logged in with entity id 203 at ([world] -83.67923638602747, 97.0, 54.51905955149964)
    [15:59:34] [Server thread/INFO]: XX_MarsBar_XX issued server command: /tempban
    [15:59:40] [Server thread/INFO]: XX_MarsBar_XX issued server command: /sk reload TempBan
    [15:59:40] [Server thread/ERROR]: #!#!
    [15:59:40] [Server thread/ERROR]: #!#! [Skript] Severe Error:
    [15:59:40] [Server thread/ERROR]: #!#! Could not load TempBan.sk
    [15:59:40] [Server thread/ERROR]: #!#!
    [15:59:40] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
    [15:59:40] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
    [15:59:40] [Server thread/ERROR]: #!#! Your Minecraft version or server software appears to be unsupported by Skript (bensku's version).
    [15:59:40] [Server thread/ERROR]: #!#! Currently only supported servers are Spigot and its forks for Minecraft 1.9 or newer.
    [15:59:40] [Server thread/ERROR]: #!#! Other versions might work, but since you're getting this error message something is NOT working,
    [15:59:40] [Server thread/ERROR]: #!#! nor it will work, unless you switch to supported platform.
    [15:59:40] [Server thread/ERROR]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
    [15:59:40] [Server thread/ERROR]: #!#!
    [15:59:40] [Server thread/ERROR]: #!#! Stack trace:
    [15:59:40] [Server thread/ERROR]: #!#! java.lang.IllegalStateException: Cannot use classinfos until registration is over
    [15:59:40] [Server thread/ERROR]: #!#! at ch.njol.skript.registrations.Classes.checkAllowClassInfoInteraction(Classes.java:241)
    [15:59:40] [Server thread/ERROR]: #!#! at ch.njol.skript.registrations.Classes.getClassInfoFromUserInput(Classes.java:336)
    [15:59:40] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands.loadCommand(Commands.java:364)
    [15:59:40] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:621)
    [15:59:40] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:389)
    [15:59:40] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:401)
    [15:59:40] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:434)
    [15:59:40] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:181)
    [15:59:40] [Server thread/ERROR]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [15:59:40] [Server thread/ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    [15:59:40] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646)
    [15:59:40] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115)
    [15:59:40] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950)
    [15:59:40] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26)
    [15:59:40] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53)
    [15:59:40] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)
    [15:59:40] [Server thread/ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [15:59:40] [Server thread/ERROR]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source)
    [15:59:40] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696)
    [15:59:40] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
    [15:59:40] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
    [15:59:40] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
    [15:59:40] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
    [15:59:40] [Server thread/ERROR]: #!#!
    [15:59:40] [Server thread/ERROR]: #!#! Version Information:
    [15:59:40] [Server thread/ERROR]: #!#! Skript: 2.2-dev36
    [15:59:40] [Server thread/ERROR]: #!#! Bukkit: 1.8-R0.1-SNAPSHOT
    [15:59:40] [Server thread/ERROR]: #!#! Minecraft: 1.8
    [15:59:40] [Server thread/ERROR]: #!#! Java: 1.8.0_201 (Java HotSpot(TM) 64-Bit Server VM 25.201-b09)
    [15:59:40] [Server thread/ERROR]: #!#! OS: Windows 10 amd64 10.0
    [15:59:40] [Server thread/ERROR]: #!#!
    [15:59:40] [Server thread/ERROR]: #!#! Server platform: Spigot
    [15:59:40] [Server thread/ERROR]: #!#!
    [15:59:40] [Server thread/ERROR]: #!#! Current node: command /tempban [<offlineplayer>] [<timespan>]: (TempBan.sk, line 7)
    [15:59:40] [Server thread/ERROR]: #!#! Current item: null
    [15:59:40] [Server thread/ERROR]: #!#!
    [15:59:40] [Server thread/ERROR]: #!#! Thread: Server thread
    [15:59:40] [Server thread/ERROR]: #!#!
    [15:59:40] [Server thread/ERROR]: #!#! Language: english
    [15:59:40] [Server thread/ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sk' in plugin Skript v2.2-dev36
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646) ~[spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_201]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_201]
    at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class ch.njol.skript.util.chat.ChatMessages
    at ch.njol.skript.Skript.exception(Skript.java:1440) ~[?:?]
    at ch.njol.skript.Skript.exception(Skript.java:1277) ~[?:?]
    at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:682) ~[?:?]
    at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:389) ~[?:?]
    at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:401) ~[?:?]
    at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:434) ~[?:?]
    at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:181) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    ... 14 more
    [15:59:42] [Server thread/INFO]: XX_MarsBar_XX issued server command: /sk reload TempBan
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! [Skript] Severe Error:
    [15:59:42] [Server thread/ERROR]: #!#! Could not load TempBan.sk
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
    [15:59:42] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
    [15:59:42] [Server thread/ERROR]: #!#! Your Minecraft version or server software appears to be unsupported by Skript (bensku's version).
    [15:59:42] [Server thread/ERROR]: #!#! Currently only supported servers are Spigot and its forks for Minecraft 1.9 or newer.
    [15:59:42] [Server thread/ERROR]: #!#! Other versions might work, but since you're getting this error message something is NOT working,
    [15:59:42] [Server thread/ERROR]: #!#! nor it will work, unless you switch to supported platform.
    [15:59:42] [Server thread/ERROR]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Stack trace:
    [15:59:42] [Server thread/ERROR]: #!#! java.lang.IllegalStateException: Cannot use classinfos until registration is over
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.registrations.Classes.checkAllowClassInfoInteraction(Classes.java:241)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.registrations.Classes.getClassInfoFromUserInput(Classes.java:336)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands.loadCommand(Commands.java:364)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:621)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:389)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:401)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:434)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:181)
    [15:59:42] [Server thread/ERROR]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [15:59:42] [Server thread/ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    [15:59:42] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)
    [15:59:42] [Server thread/ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [15:59:42] [Server thread/ERROR]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
    [15:59:42] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Version Information:
    [15:59:42] [Server thread/ERROR]: #!#! Skript: 2.2-dev36
    [15:59:42] [Server thread/ERROR]: #!#! Bukkit: 1.8-R0.1-SNAPSHOT
    [15:59:42] [Server thread/ERROR]: #!#! Minecraft: 1.8
    [15:59:42] [Server thread/ERROR]: #!#! Java: 1.8.0_201 (Java HotSpot(TM) 64-Bit Server VM 25.201-b09)
    [15:59:42] [Server thread/ERROR]: #!#! OS: Windows 10 amd64 10.0
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Server platform: Spigot
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Current node: command /tempban [<offlineplayer>] [<timespan>]: (TempBan.sk, line 7)
    [15:59:42] [Server thread/ERROR]: #!#! Current item: null
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Thread: Server thread
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Language: english
    [15:59:42] [Server thread/ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sk' in plugin Skript v2.2-dev36
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646) ~[spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_201]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_201]
    at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class ch.njol.skript.util.chat.ChatMessages
    at ch.njol.skript.Skript.exception(Skript.java:1440) ~[?:?]
    at ch.njol.skript.Skript.exception(Skript.java:1277) ~[?:?]
    at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:682) ~[?:?]
    at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:389) ~[?:?]
    at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:401) ~[?:?]
    at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:434) ~[?:?]
    at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:181) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    ... 14 more
    [15:59:42] [Server thread/INFO]: XX_MarsBar_XX issued server command: /sk reload TempBan
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! [Skript] Severe Error:
    [15:59:42] [Server thread/ERROR]: #!#! Could not load TempBan.sk
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
    [15:59:42] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
    [15:59:42] [Server thread/ERROR]: #!#! Your Minecraft version or server software appears to be unsupported by Skript (bensku's version).
    [15:59:42] [Server thread/ERROR]: #!#! Currently only supported servers are Spigot and its forks for Minecraft 1.9 or newer.
    [15:59:42] [Server thread/ERROR]: #!#! Other versions might work, but since you're getting this error message something is NOT working,
    [15:59:42] [Server thread/ERROR]: #!#! nor it will work, unless you switch to supported platform.
    [15:59:42] [Server thread/ERROR]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Stack trace:
    [15:59:42] [Server thread/ERROR]: #!#! java.lang.IllegalStateException: Cannot use classinfos until registration is over
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.registrations.Classes.checkAllowClassInfoInteraction(Classes.java:241)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.registrations.Classes.getClassInfoFromUserInput(Classes.java:336)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.command.Commands.loadCommand(Commands.java:364)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:621)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:389)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:401)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:434)
    [15:59:42] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:181)
    [15:59:42] [Server thread/ERROR]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [15:59:42] [Server thread/ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
    [15:59:42] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)
    [15:59:42] [Server thread/ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [15:59:42] [Server thread/ERROR]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
    [15:59:42] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
    [15:59:42] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Version Information:
    [15:59:42] [Server thread/ERROR]: #!#! Skript: 2.2-dev36
    [15:59:42] [Server thread/ERROR]: #!#! Bukkit: 1.8-R0.1-SNAPSHOT
    [15:59:42] [Server thread/ERROR]: #!#! Minecraft: 1.8
    [15:59:42] [Server thread/ERROR]: #!#! Java: 1.8.0_201 (Java HotSpot(TM) 64-Bit Server VM 25.201-b09)
    [15:59:42] [Server thread/ERROR]: #!#! OS: Windows 10 amd64 10.0
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Server platform: Spigot
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Current node: command /tempban [<offlineplayer>] [<timespan>]: (TempBan.sk, line 7)
    [15:59:42] [Server thread/ERROR]: #!#! Current item: null
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Thread: Server thread
    [15:59:42] [Server thread/ERROR]: #!#!
    [15:59:42] [Server thread/ERROR]: #!#! Language: english
    [15:59:42] [Server thread/ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sk' in plugin Skript v2.2-dev36
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646) ~[spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_201]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_201]
    at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class ch.njol.skript.util.chat.ChatMessages
    at ch.njol.skript.Skript.exception(Skript.java:1440) ~[?:?]
    at ch.njol.skript.Skript.exception(Skript.java:1277) ~[?:?]
    at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:682) ~[?:?]
    at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:389) ~[?:?]
    at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:401) ~[?:?]
    at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:434) ~[?:?]
    at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:181) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-c3c767f-33d5de3]
    ... 14 more
    [16:00:53] [Server thread/INFO]: Stopping the server
    [16:00:53] [Server thread/INFO]: Stopping server [/QUOTE]
     
    #5 Marsbar, Apr 1, 2019
    Last edited: Apr 1, 2019
  7. TPGamesNL

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    1,354
    Likes Received:
    85
    Medals:
    The first error is from Citizens, it basically tells you to update Citizens (the version you're using was made for 1.7.1, use this one instead). The others should be fixed by using spigot 1.8.8 instead of 1.8
     
  8. Marsbar

    Marsbar Well-Known Member

    Joined:
    Mar 31, 2019
    Messages:
    81
    Likes Received:
    2
    The first error was nothing but the other was.
     
  9. TPGamesNL

    TPGamesNL Well-Known Member

    Joined:
    Jan 20, 2018
    Messages:
    1,354
    Likes Received:
    85
    Medals:
     
Thread Status:
Not open for further replies.
Loading...