Code Monkey home page Code Monkey logo

Comments (13)

APickledWalrus avatar APickledWalrus commented on September 15, 2024

Are you getting any other errors when Skript starts up?

from skript.

jorisdigitalREAL avatar jorisdigitalREAL commented on September 15, 2024

I have the same problem

from skript.

APickledWalrus avatar APickledWalrus commented on September 15, 2024

I have the same problem

Do you have any errors on startup? Can you provide your startup log?

from skript.

jorisdigitalREAL avatar jorisdigitalREAL commented on September 15, 2024

I have the same problem

Do you have any errors on startup? Can you provide your startup log?

Of course!

I don't have a Skript error. However, what's strange is the fact that Skript loads all scripts upon startup. But that's not quite true: the scripts do not work. It's as if they are not in the scripts/ folder.

Here is a log file from the startup process:

[07:02:05] [Server thread/INFO]: [Skript] Enabling Skript v2.9.0
[07:02:06] [ForkJoinPool.commonPool-worker-1/INFO]: [Skript] Auf diesem Server läuft die neueste Version von Skript.
[07:02:11] [Server thread/INFO]: [Skript] Loaded 233074 aliases in 5646ms
[07:02:12] [Server thread/INFO]: [Skript] ~ erstellt von & © Peter Güttinger alias Njol ~
[07:02:12] [Server thread/INFO]: [PlaceholderAPI] Enabling PlaceholderAPI v2.11.6
[07:02:12] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[07:02:12] [Server thread/INFO]: [Multiverse-Portals] Enabling Multiverse-Portals v4.2.3
[07:02:12] [Server thread/INFO]: [Multiverse-Portals] 0 - Portals(s) loaded
[07:02:12] [Server thread/INFO]: [Multiverse-Portals] Found WorldEdit. Using it for selections.
[07:02:12] [Server thread/INFO]: [Multiverse-Portals 4.2.3] Enabled - By Rigby and fernferret
[07:02:12] [Server thread/INFO]: [SkBee] Enabling SkBee v3.5.7
[07:02:12] [Server thread/INFO]: [SkBee] Loading NBTApi...
[07:02:12] [Server thread/INFO]: [SkBee] [NBTAPI] Found Minecraft: 1.21! Trying to find NMS support
[07:02:12] [Server thread/INFO]: [SkBee] [NBTAPI] NMS support 'MC1_21_R1' loaded!
[07:02:12] [Server thread/INFO]: [SkBee] Successfully loaded NBTApi!
[07:02:13] [Server thread/INFO]: [SkBee] NBT Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Text Component Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Advancement Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] BossBar Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Bound Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Damage Source elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Display Entity elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Fishing elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Game Event Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Particle Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] RayTrace elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Recipe Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Scoreboard Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Scoreboard Objective Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Statistic Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Structure Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Minecraft Tag elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Team Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Tick Manager elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Villager Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Virtual Furnace Elements disabled via config
[07:02:13] [Server thread/INFO]: [SkBee] World Border Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] World Creator Elements successfully loaded
[07:02:13] [Server thread/INFO]: [SkBee] Chunk Generator Elements disabled via config
[07:02:13] [Server thread/INFO]: [SkBee] Loaded (401) elements:
[07:02:13] [Server thread/INFO]: [SkBee] - 55 events
[07:02:13] [Server thread/INFO]: [SkBee] - 64 effects
[07:02:13] [Server thread/INFO]: [SkBee] - 244 expressions
[07:02:13] [Server thread/INFO]: [SkBee] - 27 conditions
[07:02:13] [Server thread/INFO]: [SkBee] - 11 sections
[07:02:13] [Server thread/INFO]: [SkBee] Checking for update...
[07:02:13] [Server thread/INFO]: [SkBee] Plugin is up to date!
[07:02:13] [Server thread/INFO]: [SkBee] Successfully enabled v3.5.7 in 0.73 seconds
[07:02:13] [Server thread/INFO]: [skUtilities] Enabling skUtilities v0.9.2*
[07:02:13] [Server thread/INFO]: [skUtilities] v0.9.2: loaded modules (Conversions, Files, Yaml, Urls, Utilities) in 70ms
[07:02:13] [Server thread/INFO]: [ServersNPC] Enabling ServersNPC v4.7
[07:02:13] [Server thread/INFO]: [Essentials] Enabling Essentials v2.20.1
[07:02:13] [Server thread/ERROR]: [Essentials] You are running an unsupported server version!
[07:02:13] [Server thread/INFO]: [Essentials] Attempting to convert old kits in config.yml to new kits.yml
[07:02:13] [Server thread/INFO]: [Essentials] No kits found to migrate.
[07:02:14] [Server thread/INFO]: [Essentials] Loaded 39094 items from items.json.
[07:02:14] [Server thread/INFO]: [Essentials] Using locale en_US
[07:02:14] [Server thread/INFO]: [Essentials] ServerListPingEvent: Spigot iterator API
[07:02:14] [Server thread/INFO]: [Essentials] Starting Metrics. Opt-out using the global bStats config.
[07:02:14] [Server thread/INFO]: [Vault] [Economy] Essentials Economy hooked.
[07:02:14] [Server thread/INFO]: [Essentials] Using Vault based permissions (LuckPerms)
[07:02:14] [Server thread/INFO]: [skript-yaml] Enabling skript-yaml v1.5
[07:02:14] [Server thread/INFO]: [skript-teams] Enabling skript-teams v1.0
[07:02:14] [Server thread/INFO]: [skript-teams] has been enabled!

[...]

[07:02:17] [Server thread/INFO]: [Skript] Loading variables...
[07:02:17] [Server thread/INFO]: [Skript] Loaded 383 variables in 0.0 seconds
[07:02:17] [Server thread/INFO]: [Skript] Linie 9: (smp/claim/cancel-event.sk)
[07:02:17] [Server thread/INFO]: Can't understand this structure: on any move
[07:02:17] [Server thread/INFO]: Linie: on any move:
[07:02:17] [Server thread/INFO]:
[07:02:18] [Server thread/INFO]: [Skript] Linie 7: (global_sync_TEMP/sync_scripts/utils/bungeesystem/commands.sk)
[07:02:18] [Server thread/INFO]: Can't understand this condition/effect: send uptime of server
[07:02:18] [Server thread/INFO]: Linie: send uptime of server
[07:02:18] [Server thread/INFO]:
[07:02:18] [Server thread/INFO]: [Essentials] Essentials found a compatible payment resolution method: Vault Compatibility Layer (v1.7.3-b131)!
[07:02:18] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: vault [1.8.3]
[07:02:18] [Server thread/INFO]: 1 placeholder hook(s) registered!
[07:02:18] [Server thread/INFO]: Done (31.863s)! For help, type "help"
[07:02:18] [Server thread/INFO]: Timings Reset

This is the relevant part of the log file. There are no errors relating to Skript in the entire log.

from skript.

EdoEquin0x avatar EdoEquin0x commented on September 15, 2024

Can confirm the "on player move" cause the error of the original post on my server too, I am on 1.20.1
Update: It seems that this whole event is screwed, "on entity move" also cause the same error

from skript.

APickledWalrus avatar APickledWalrus commented on September 15, 2024

Are you guys using Paper or Spigot? I think I see what's going on here

from skript.

EdoEquin0x avatar EdoEquin0x commented on September 15, 2024

Sorry, should've added that info earlier: I use Spigot, if that can help

from skript.

jorisdigitalREAL avatar jorisdigitalREAL commented on September 15, 2024

Are you guys using Paper or Spigot? I think I see what's going on here

Paper

from skript.

jorisdigitalREAL avatar jorisdigitalREAL commented on September 15, 2024

I have found something out:
The error most likely comes from a Skript add-on called BungeeSK. If the connection script is deleted, Skript can be reloaded without any problems.

from skript.

Minecradt avatar Minecradt commented on September 15, 2024

Ok!

from skript.

jorisdigitalREAL avatar jorisdigitalREAL commented on September 15, 2024

But my error looks a little different.
I don't know if this is due to the add-on or Skript.


> sk reload scripts
[12:00:38] [Server thread/INFO]: [Skript] Lade alle Skripte neu...
[12:00:38] [Server thread/ERROR]: #!#!
[12:00:38] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[12:00:38] [Server thread/ERROR]: #!#! Exception occurred in Skript's main command
[12:00:38] [Server thread/ERROR]: #!#! Used command: /sk reload scripts
[12:00:38] [Server thread/ERROR]: #!#!
[12:00:38] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[12:00:38] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[12:00:38] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[12:00:38] [Server thread/ERROR]: #!#! Here is full list of them:
[12:00:38] [Server thread/ERROR]: #!#! skript-placeholders v1.6.0 (https://github.com/APickledWalrus/skript-placeholders) skRayFall v1.9.28 (https://sk.rayfall.net/) skript-reflect v2.4 (https://github.com/SkriptLang/skript-reflect) skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui) skript-teams v1.0 (https://github.com/hapily04/skript-teams) SkBee v3.5.7 (https://github.com/ShaneBeee/SkBee) skUtilities v0.9.2 (https://tim740.github.io/) skript-yaml v1.5 SkQuery v4.1.10 BungeeSK v2.0.0 (https://github.com/ZorgBtw/BungeeSK) skript-db v0.2.1
[12:00:38] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[12:00:38] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[12:00:38] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[12:00:38] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[12:00:38] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[12:00:38] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[12:00:38] [Server thread/ERROR]: #!#!
[12:00:38] [Server thread/ERROR]: #!#! Stack trace:
[12:00:38] [Server thread/ERROR]: #!#! java.lang.NullPointerException: Cannot read the array length because "<local1>" is null
[12:00:38] [Server thread/ERROR]: #!#! at Skript-2.9.0(1).jar//ch.njol.skript.events.EvtPeriodical.unload(EvtPeriodical.java:98)
[12:00:38] [Server thread/ERROR]: #!#! at Skript-2.9.0(1).jar//ch.njol.skript.structures.StructEvent.unload(StructEvent.java:96)
[12:00:38] [Server thread/ERROR]: #!#! at Skript-2.9.0(1).jar//ch.njol.skript.ScriptLoader.unloadScripts(ScriptLoader.java:852)
[12:00:38] [Server thread/ERROR]: #!#! at Skript-2.9.0(1).jar//ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:152)
[12:00:38] [Server thread/ERROR]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[12:00:38] [Server thread/ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
[12:00:38] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:1000)
[12:00:38] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:985)
[12:00:38] [Server thread/ERROR]: #!#! at net.minecraft.server.dedicated.DedicatedServer.handleConsoleInputs(DedicatedServer.java:526)
[12:00:38] [Server thread/ERROR]: #!#! at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:474)
[12:00:38] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1597)
[12:00:38] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1303)
[12:00:38] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:330)
[12:00:38] [Server thread/ERROR]: #!#! at java.base/java.lang.Thread.run(Thread.java:1583)
[12:00:38] [Server thread/ERROR]: #!#!
[12:00:38] [Server thread/ERROR]: #!#! Version Information:
[12:00:38] [Server thread/ERROR]: #!#! Skript: 2.9.0 (latest)
[12:00:38] [Server thread/ERROR]: #!#! Flavor: skriptlang-github
[12:00:38] [Server thread/ERROR]: #!#! Date: 16:01:35.354421100
[12:00:38] [Server thread/ERROR]: #!#! Bukkit: 1.21-R0.1-SNAPSHOT
[12:00:38] [Server thread/ERROR]: #!#! Minecraft: 1.21
[12:00:38] [Server thread/ERROR]: #!#! Java: 21.0.3 (Java HotSpot(TM) 64-Bit Server VM 21.0.3+7-LTS-152)
[12:00:38] [Server thread/ERROR]: #!#! OS: Linux amd64 5.15.0-117-generic
[12:00:38] [Server thread/ERROR]: #!#!
[12:00:38] [Server thread/ERROR]: #!#! Server platform: Paper
[12:00:38] [Server thread/ERROR]: #!#!
[12:00:38] [Server thread/ERROR]: #!#! Current node: null
[12:00:38] [Server thread/ERROR]: #!#! Current item: null
[12:00:38] [Server thread/ERROR]: #!#!
[12:00:38] [Server thread/ERROR]: #!#! Thread: Server thread
[12:00:38] [Server thread/ERROR]: #!#!
[12:00:38] [Server thread/ERROR]: #!#! Language: german
[12:00:38] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[12:00:38] [Server thread/ERROR]: #!#!
[12:00:38] [Server thread/ERROR]: #!#! End of Error.
[12:00:38] [Server thread/ERROR]: #!#!

from skript.

APickledWalrus avatar APickledWalrus commented on September 15, 2024

There is an issue with the move event, though you do seem to be having a different issue with an add on as you mentioned

from skript.

APickledWalrus avatar APickledWalrus commented on September 15, 2024

To document here: EvtMove incorrectly returns null (for Spigot versions) for getEventClasses() when it has not yet inited. It should likely throw an error instead. This is caused by the listening behavior feature calling getEventClasses() before init has been called. Likely fix on our end is to move the listening behavior checks to after the implementation's init call.

from skript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.