- Script Version: v2.6.2
- Minecraft Version: 1.17
- Code:
Code:on left click: name of player's tool is "&aLush Wand": {cooldown6.%player%} is false: {mana.%player%} >= 30 subtract 30 from {mana.%player%} set {cooldown6.%player%} to true loop all players in radius 5 of player: loop-player isn't player add loop-player to {_whosestuck::*} name of player's tool contains "&7[1]": make player damage loop-player by 1 name of player's tool contains "&7[2]": make player damage loop-player by 1.5 name of player's tool contains "&7[Final]": make player damage loop-player by 2.5 set {_time} to 1 play sound "entity.evoker_fangs.attack" at loop-player set {stuck.%loop-player%} to true spawn 1 of falling cave_vines[berries=true] at location(loop-player's x-coord, loop-player's y-coord, loop-player's z-coord) add nbt "{NoGravity:1b,Glowing:0b,Time:10,DropItem:0b}" to last spawned falling block set {_a} to last spawned falling block spawn 1 of falling cave_vines[berries=true] at location(loop-player's x-coord, loop-player's y-coord + 1, loop-player's z-coord) add nbt "{NoGravity:1b,Glowing:0b,Time:10,DropItem:0b}" to last spawned falling block set {_b} to last spawned falling block wait "%3 + {_time}% seconds" parsed as timespan loop {_whosestuck::*}: set {stuck.%loop-value%} to false play sound "block.cave_vines.break" at "%loop-value%" parsed as player loop 30 times: make 1 of block particle using minecraft:cave_vines_plant[berries=true] at location of block at "%loop-value%" parsed as player's head with offset vector(0.09,0.09,0.09) kill {_a} kill {_b} wait "%7 - {_time}% seconds" parsed as timespan set {cooldown6.%player%} to false on any move: {stuck.%player%} is true: {l.%player%} is not set: set {l.%player%} to location player's x-coord, player's y-coord, player's z-coord else: if {l.%player%} != location player's x-coord, player's y-coord, player's z-coord: teleport player to location player's x-coord, player's y-coord, player's z-coord, world "world", player's yaw, player's pitch else: {l.%player%} is set: delete {l.%player%}
Errors on reload:
[16:54:19] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[16:54:19] [Server thread/ERROR]: #!#!
[16:54:19] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[16:54:19] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[16:54:19] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[16:54:19] [Server thread/ERROR]: #!#! Here is full list of them:
[16:54:19] [Server thread/ERROR]: #!#! skript-gui v1.3-alpha3 (https://github.com/APickledWalrus/skript-gui) SkBee v1.15.2 (https://github.com/ShaneBeee/SkBee) SkQuery v4.1.6
[16:54:19] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[16:54:19] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[16:54:19] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[16:54:19] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[16:54:19] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[16:54:19] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[16:54:19] [Server thread/ERROR]: #!#!
[16:54:19] [Server thread/ERROR]: #!#! Stack trace:
[16:54:19] [Server thread/ERROR]: #!#! java.lang.ThreadDeath
[16:54:19] [Server thread/ERROR]: #!#! at java.base/java.lang.Thread.stop(Thread.java:942)
[16:54:19] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:1041)
[16:54:19] [Server thread/ERROR]: #!#! at net.minecraft.server.dedicated.DedicatedServer.stop(DedicatedServer.java:817)
[16:54:19] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.close(MinecraftServer.java:1013)
[16:54:19] [Server thread/ERROR]: #!#! at org.spigotmc.WatchdogThread.run(WatchdogThread.java:234)
[16:54:19] [Server thread/ERROR]: #!#!
[16:54:19] [Server thread/ERROR]: #!#! Version Information:
[16:54:19] [Server thread/ERROR]: #!#! Skript: 2.6.2 (latest)
[16:54:19] [Server thread/ERROR]: #!#! Flavor: skriptlang-github
[16:54:19] [Server thread/ERROR]: #!#! Date: 19:12:53.596652600
[16:54:19] [Server thread/ERROR]: #!#! Bukkit: 1.17.1-R0.1-SNAPSHOT
[16:54:19] [Server thread/ERROR]: #!#! Minecraft: 1.17.1
[16:54:19] [Server thread/ERROR]: #!#! Java: 17.0.1 (OpenJDK 64-Bit Server VM 17.0.1+12)
[16:54:19] [Server thread/ERROR]: #!#! OS: Linux amd64 5.13.0-27-generic
[16:54:19] [Server thread/ERROR]: #!#!
[16:54:19] [Server thread/ERROR]: #!#! Server platform: Paper
[16:54:19] [Server thread/ERROR]: #!#!
[16:54:19] [Server thread/ERROR]: #!#! Current node: null
[16:54:19] [Server thread/ERROR]: #!#! Current item: null
[16:54:19] [Server thread/ERROR]: #!#!
[16:54:19] [Server thread/ERROR]: #!#! Thread: Server thread
[16:54:19] [Server thread/ERROR]: #!#!
[16:54:19] [Server thread/ERROR]: #!#! Language: english
[16:54:19] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[16:54:19] [Server thread/ERROR]: #!#!
[16:54:19] [Server thread/ERROR]: #!#! End of Error.
[16:54:19] [Server thread/ERROR]: #!#!
[16:54:19] [Server thread/ERROR]: Main thread terminated by WatchDog due to hard crash
java.lang.ThreadDeath: null
Useful info: This hasn't happened with other skripts, just long load times with some. This is actually one of my shorter skripts, and for some reason its even bugging out the skunity parser. I don't think it is an addon because of that.
Addons: SkBee v1.15.2, skript-gui v1.3-alpha3, SkQuery v4.1.6
Troubleshooting: I've tried shortening the code and chopping parts off and it, albeit slowly, (around 12 - 13000ms) loads. I've also tried removing addons as it says but this hasn't worked either.
I have tried searching the forums for similar issues, and have come up empty handed[/B]