Yes, both Skript and SkQuery load up on 1.12.2 with no problem but however the Skript I use only works on spigot 1.7.2 and 1.8.8 and the old Skript and SkQuery.
Here is the error message in the console:
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! [Skript] Severe Error:
[22:04:19 ERROR]: #!#! Could not load SkStats.sk
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Something went horribly wrong with Skript.
[22:04:19 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[22:04:19 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[22:04:19 ERROR]: #!#! Here is full list of them:
[22:04:19 ERROR]: #!#! SkQuery skript-db
[22:04:19 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[22:04:19 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[22:04:19 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[22:04:19 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[22:04:19 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[22:04:19 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Stack trace:
[22:04:19 ERROR]: #!#! java.lang.NullPointerException
[22:04:19 ERROR]: #!#! at com.w00tmast3r.skquery.sql.ScriptCredentials.get(ScriptCredentials.java:50)
[22:04:19 ERROR]: #!#! at com.w00tmast3r.skquery.sql.ScriptCredentials.get(ScriptCredentials.java:43)
[22:04:19 ERROR]: #!#! at com.w00tmast3r.skquery.sql.ScriptCredentials.setURL(ScriptCredentials.java:17)
[22:04:19 ERROR]: #!#! at com.w00tmast3r.skquery.elements.effects.EffOptionSQLURL.register(EffOptionSQLURL.java:21)
[22:04:19 ERROR]: #!#! at com.w00tmast3r.skquery.elements.effects.base.Pragma.init(Pragma.java:24)
[22:04:19 ERROR]: #!#! at com.w00tmast3r.skquery.elements.effects.base.OptionsPragma.init(OptionsPragma.java:18)
[22:04:19 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:252)
[22:04:19 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
[22:04:19 ERROR]: #!#! at ch.njol.skript.lang.Statement.parse(Statement.java:59)
[22:04:19 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1006)
[22:04:19 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:693)
[22:04:19 ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:409)
[22:04:19 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:428)
[22:04:19 ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$0(ScriptLoader.java:347)
[22:04:19 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:380)
[22:04:19 ERROR]: #!#! at ch.njol.skript.Skript$2.run(Skript.java:534)
[22:04:19 ERROR]: #!#! at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76)
[22:04:19 ERROR]: #!#! at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361)
[22:04:19 ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739)
[22:04:19 ERROR]: #!#! at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
[22:04:19 ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
[22:04:19 ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
[22:04:19 ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Version Information:
[22:04:19 ERROR]: #!#! Skript: 2.4.1 (latest)
[22:04:19 ERROR]: #!#! Flavor: skriptlang-github
[22:04:19 ERROR]: #!#! Date: 2019-12-22
[22:04:19 ERROR]: #!#! Bukkit: 1.12.2-R0.1-SNAPSHOT
[22:04:19 ERROR]: #!#! Minecraft: 1.12.2
[22:04:19 ERROR]: #!#! Java: 1.8.0_241 (Java HotSpot(TM) 64-Bit Server VM 25.241-b07)
[22:04:19 ERROR]: #!#! OS: Windows 10 amd64 10.0
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Server platform: Spigot
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Current node: $ db url jdbc:mysql://localhost:3306/stats (SkStats.sk, line 8)
[22:04:19 ERROR]: #!#! Current item: null
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Thread: Server thread
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Language: english
[22:04:19 ERROR]: #!#! Link parse mode: DISABLED
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! End of Error.
[22:04:19 ERROR]: #!#!
And here is how the skript connects:
script options:
$ db url jdbc:mysql://localhost:3306/stats
$ db username (my password o-o)
$ db password (yes it is correct it worked on 1.8)
options:
table_prefix: Stats_
refresh: 300
On load:
if {stats-reloader} is set:
set {_period} to difference between {stats-reload-sec} and now
send "&9Stats >> &7The skript have been reload in &a%{_period}%" to {stats-reloader}
clear {stats-reloader}
and so on with other stuff...
Here is the error message in the console:
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! [Skript] Severe Error:
[22:04:19 ERROR]: #!#! Could not load SkStats.sk
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Something went horribly wrong with Skript.
[22:04:19 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[22:04:19 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[22:04:19 ERROR]: #!#! Here is full list of them:
[22:04:19 ERROR]: #!#! SkQuery skript-db
[22:04:19 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[22:04:19 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[22:04:19 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[22:04:19 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[22:04:19 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[22:04:19 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Stack trace:
[22:04:19 ERROR]: #!#! java.lang.NullPointerException
[22:04:19 ERROR]: #!#! at com.w00tmast3r.skquery.sql.ScriptCredentials.get(ScriptCredentials.java:50)
[22:04:19 ERROR]: #!#! at com.w00tmast3r.skquery.sql.ScriptCredentials.get(ScriptCredentials.java:43)
[22:04:19 ERROR]: #!#! at com.w00tmast3r.skquery.sql.ScriptCredentials.setURL(ScriptCredentials.java:17)
[22:04:19 ERROR]: #!#! at com.w00tmast3r.skquery.elements.effects.EffOptionSQLURL.register(EffOptionSQLURL.java:21)
[22:04:19 ERROR]: #!#! at com.w00tmast3r.skquery.elements.effects.base.Pragma.init(Pragma.java:24)
[22:04:19 ERROR]: #!#! at com.w00tmast3r.skquery.elements.effects.base.OptionsPragma.init(OptionsPragma.java:18)
[22:04:19 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:252)
[22:04:19 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
[22:04:19 ERROR]: #!#! at ch.njol.skript.lang.Statement.parse(Statement.java:59)
[22:04:19 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1006)
[22:04:19 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:693)
[22:04:19 ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:409)
[22:04:19 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:428)
[22:04:19 ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$0(ScriptLoader.java:347)
[22:04:19 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:380)
[22:04:19 ERROR]: #!#! at ch.njol.skript.Skript$2.run(Skript.java:534)
[22:04:19 ERROR]: #!#! at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76)
[22:04:19 ERROR]: #!#! at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361)
[22:04:19 ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739)
[22:04:19 ERROR]: #!#! at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
[22:04:19 ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
[22:04:19 ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
[22:04:19 ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Version Information:
[22:04:19 ERROR]: #!#! Skript: 2.4.1 (latest)
[22:04:19 ERROR]: #!#! Flavor: skriptlang-github
[22:04:19 ERROR]: #!#! Date: 2019-12-22
[22:04:19 ERROR]: #!#! Bukkit: 1.12.2-R0.1-SNAPSHOT
[22:04:19 ERROR]: #!#! Minecraft: 1.12.2
[22:04:19 ERROR]: #!#! Java: 1.8.0_241 (Java HotSpot(TM) 64-Bit Server VM 25.241-b07)
[22:04:19 ERROR]: #!#! OS: Windows 10 amd64 10.0
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Server platform: Spigot
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Current node: $ db url jdbc:mysql://localhost:3306/stats (SkStats.sk, line 8)
[22:04:19 ERROR]: #!#! Current item: null
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Thread: Server thread
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! Language: english
[22:04:19 ERROR]: #!#! Link parse mode: DISABLED
[22:04:19 ERROR]: #!#!
[22:04:19 ERROR]: #!#! End of Error.
[22:04:19 ERROR]: #!#!
And here is how the skript connects:
script options:
$ db url jdbc:mysql://localhost:3306/stats
$ db username (my password o-o)
$ db password (yes it is correct it worked on 1.8)
options:
table_prefix: Stats_
refresh: 300
On load:
if {stats-reloader} is set:
set {_period} to difference between {stats-reload-sec} and now
send "&9Stats >> &7The skript have been reload in &a%{_period}%" to {stats-reloader}
clear {stats-reloader}
and so on with other stuff...