Comments (16)
You could make a simple command that reloads all scripts one by one for now until there is a fix.
from tuske.
@whitec4 that's super smart, just did that. thanks for the heads up!
In case anyone else could use this (requires SkUtilities):
options:
directory : /home/elseland/servers/jaygrounds/plugins/Skript/scripts
command /srs:
trigger:
loop files in dir including sub dirs "{@directory}":
"%loop-value%" contains ".sk"
set {_file} to "%loop-value%"
replace "{@directory}" in {_file} with ""
make player execute command "skript reload %{_file}%"
from tuske.
Fixed it in latest dev build, please test it first to make sure it is really fixed (or any new issue).
from tuske.
latest 1.12.1 PaperSpigot
, Skript 2.2-dev29
and TuSKe 1.8.2 dev.4
.
/sk reload scripts
(/sk reload all
does the same) breaks it. Tried with more than one skript files or just 1 skript, still reloading all scripts breaks it. There is no problem with reloading aliases or config. But still you shouldn't use /sk reload all/scripts
/sk reload <skript name>
By the way, your TuSKe version is old.
from tuske.
@Blueyescat but i tested it with both TuSKe latest stable (1.8.1) and the dev-4 ^^ is there any other version i haven't discovered yet?
"skript reload all" is super handy though ^^ can't really live without it, could you?
from tuske.
@jaylawl just reload one skript at a time, no big deal....
from tuske.
@WheezyGold7931 it kinda is because having to type out all the script names can be very time consuming if your scripts are sorted into various sub-folders (which is inevitable with growing amounts)
just got this error while further messing around with the issue:
[15:56:49 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.check(Skrip
[15:56:49 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler$1.execute(S
[15:56:49 ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(T
[15:56:49 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEven
[15:56:49 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEve
[15:56:49 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEve
[15:56:49 ERROR]: #!#! at org.bukkit.craftbukkit.v1_12_R1.event.CraftEv
[15:56:49 ERROR]: #!#! at net.minecraft.server.v1_12_R1.EntityPlayer.cl
[15:56:49 ERROR]: #!#! at org.bukkit.craftbukkit.v1_12_R1.entity.CraftH
[15:56:49 ERROR]: #!#! at ch.njol.skript.effects.EffOpenInventory.execu
[15:56:49 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52
[15:56:49 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerI
[15:56:49 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerI
[15:56:49 ERROR]: #!#! at com.github.tukenuke.tuske.util.EffectSection.
[15:56:49 ERROR]: #!#! at com.github.tukenuke.tuske.sections.gui.EffMak
[15:56:49 ERROR]: #!#! at com.github.tukenuke.tuske.manager.gui.v2.GUII
[15:56:49 ERROR]: #!#! at com.github.tukenuke.tuske.listeners.GUIListen
[15:56:49 ERROR]: #!#! at com.github.tukenuke.tuske.manager.gui.v2.Skri
[15:56:49 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.check(Skrip
[15:56:49 ERROR]: #!#! at ch.njol.skript.SkriptEventHandler$1.execute(S
[15:56:49 ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(T
[15:56:49 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEven
[15:56:49 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEve
[15:56:49 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEve
[15:56:49 ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnectio
[15:56:49 ERROR]: #!#! at net.minecraft.server.v1_12_R1.PacketPlayInWin
[15:56:49 ERROR]: #!#! at net.minecraft.server.v1_12_R1.PacketPlayInWin
[15:56:49 ERROR]: #!#! at net.minecraft.server.v1_12_R1.PlayerConnectio
[15:56:49 ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapte
[15:56:49 ERROR]: #!#! at java.util.concurrent.FutureTask.run(FutureTas
[15:56:49 ERROR]: #!#! at net.minecraft.server.v1_12_R1.SystemUtils.a(S
[15:56:49 ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer
[15:56:49 ERROR]: #!#! at net.minecraft.server.v1_12_R1.DedicatedServer
[15:56:49 ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer
[15:56:49 ERROR]: #!#! at net.minecraft.server.v1_12_R1.MinecraftServer
[15:56:49 ERROR]: #!#! at java.lang.Thread.run(Thread.java:748)
[15:56:49 ERROR]: #!#!
[15:56:49 ERROR]: #!#! Version Information:
[15:56:49 ERROR]: #!#! Skript: 2.2-dev30d
[15:56:49 ERROR]: #!#! Bukkit: 1.12.1-R0.1-SNAPSHOT
[15:56:49 ERROR]: #!#! Minecraft: 1.12.1
[15:56:49 ERROR]: #!#! Java: 1.8.0_131 (Java HotSpot(TM) 64-Bit Server VM
[15:56:49 ERROR]: #!#! OS: Linux amd64 4.10.0-20-generic
[15:56:49 ERROR]: #!#!
[15:56:49 ERROR]: #!#! Running CraftBukkit: false
[15:56:49 ERROR]: #!#! Running Spigot (or compatible): true
[15:56:49 ERROR]: #!#! Running Paper (or compatible): true
[15:56:49 ERROR]: #!#!
[15:56:49 ERROR]: #!#! Current node: null
[15:56:49 ERROR]: #!#! Current item: delete/clear last gui
[15:56:49 ERROR]: #!#! Thread: Server thread
[15:56:49 ERROR]: #!#!
[15:56:49 ERROR]: #!#! Language: english
[15:56:49 ERROR]: #!#! Link parse mode: DISABLED
[15:56:49 ERROR]: #!#!
[15:56:49 ERROR]: #!#! End of Error.
[15:56:49 ERROR]: #!#!
from tuske.
Since when you noticed that issue? After updating tuske, server, skript...?
from tuske.
I reported this via pm's but v25 of skript issue doesn't exist I updated to v29 of skript and server version 1.12 and 1.12.1 the issue exists and also affects skquery gui's
[18:39:56 INFO]: TuSKe version 1.8.1,
I will try the latest version of tuske now
from tuske.
O wow this is intresting after ./skript reload all
it seems all your syntax of tuske have been unregistered
because now the console just tells me cant understand all your gui manger syntaxs
when I had 0 errors befor the reload all
same with skquerys gui stuff
[18:51:26 INFO]: TuSKe version 1.8.2-dev.4
minecraft 1.12.1
skript v29
from tuske.
i didnt update between minecraft versions 1.10 and now, 1.12.1 and their respective plugin versions - that's propably not helping the cause
from tuske.
what was the issue? b/c skquery will need to fix it aswell
from tuske.
it seems fixed nice
from tuske.
It looks like the issue is not related to new Skript updates, I think it should be there since gui manager remake. I don't know SkQuery's code but that's certainly a thing that won't be fixed.
The issue was that the gui listener was registered only once it was first used, but when you run /sk reload all/scripts
, it disables that listener and doesn't register it again cause it thinks it still working.
I just used some Skript API methods to let me know when Skript will reload all scripts, so I can properly handle that.
from tuske.
Using dev6 this issue appears to be fully fixed, thanks for your time TukeNuke its appreciated! :)
from tuske.
Closing since it is fixed, thank's for reporting.
from tuske.
Related Issues (20)
- servere error HOT 2
- ERROR HOT 1
- Gui Tuske Error [1.17.1 Server] HOT 1
- Issue with tuske (1.16.5) HOT 2
- Crash server in reloading the script
- TuSke Timings problems
- gui item does not show HOT 1
- Error
- GUI work only with OP users HOT 2
- GUI not working HOT 1
- Making player's tool an item, with a lore causes weird issues
- [BUG] Unknown error HOT 1
- Major Tuske bug HOT 1
- Need help fixing TuSKe's class com.github.tukenuke.tuske.effects.EffMakeDrop generated an exception while loading HOT 4
- The "then run:" effect isnβt working anymore
- Spectators can't interact with gui?
- Custom Enchantments not working. HOT 3
- arg-1 is <none> HOT 1
- Skript can't load commands and triggers with TuSKe HOT 2
- Netherite sword does not register in TuSKe's GUI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuske.