Jump to content
  • 1

skript wont work


ES63

Question

it said "skript help" but i fixed that

but now it says internal error

btw the error is here, but idk what it means

[18:16:29] [Server thread/INFO]: [Skript] Enabling Skript v2.5.3-MH
[18:16:30] [Server thread/INFO]: [Skript] You're currently running a custom Skript version. No updates will be automatically installed.
[18:16:30] [Server thread/ERROR]: Error occurred while enabling Skript v2.5.3-MH (Is it up to date?)
java.lang.ExceptionInInitializerError: null
	at ch.njol.skript.aliases.Aliases.<clinit>(Aliases.java:140) ~[?:?]
	at ch.njol.skript.Skript.onEnable(Skript.java:403) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Paper-771]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.16.5.jar:git-Paper-771]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.16.5.jar:git-Paper-771]
	at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518) ~[patched_1.16.5.jar:git-Paper-771]
	at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432) ~[patched_1.16.5.jar:git-Paper-771]
	at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:594) ~[patched_1.16.5.jar:git-Paper-771]
	at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.16.5.jar:git-Paper-771]
	at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1069) ~[patched_1.16.5.jar:git-Paper-771]
	at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-771]
	at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1076 out of bounds for length 1076
	at ch.njol.skript.aliases.MaterialRegistry.<init>(MaterialRegistry.java:101) ~[?:?]
	at ch.njol.skript.aliases.MaterialRegistry.load(MaterialRegistry.java:78) ~[?:?]
	at ch.njol.skript.aliases.ItemData.<clinit>(ItemData.java:100) ~[?:?]

 

Player Stats

IGN - ES63

Rank - Pro

----------------------

Server Stats

RascalPVP - Owner

RandKits - Owner

DoodySim - Owner

-----------------------

066fced7fa2c6eb28ff57c203964a6d3.gif.45df2fe64e40c8d045324e2a6203c1c6.gif

do that ^^^^

i will heart back (i promise)

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
On 7/13/2021 at 11:48 PM, ES63 said:

it said "skript help" but i fixed that

but now it says internal error

btw the error is here, but idk what it means

[18:16:29] [Server thread/INFO]: [Skript] Enabling Skript v2.5.3-MH
[18:16:30] [Server thread/INFO]: [Skript] You're currently running a custom Skript version. No updates will be automatically installed.
[18:16:30] [Server thread/ERROR]: Error occurred while enabling Skript v2.5.3-MH (Is it up to date?)
java.lang.ExceptionInInitializerError: null
	at ch.njol.skript.aliases.Aliases.<clinit>(Aliases.java:140) ~[?:?]
	at ch.njol.skript.Skript.onEnable(Skript.java:403) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Paper-771]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.16.5.jar:git-Paper-771]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.16.5.jar:git-Paper-771]
	at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518) ~[patched_1.16.5.jar:git-Paper-771]
	at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432) ~[patched_1.16.5.jar:git-Paper-771]
	at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:594) ~[patched_1.16.5.jar:git-Paper-771]
	at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.16.5.jar:git-Paper-771]
	at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1069) ~[patched_1.16.5.jar:git-Paper-771]
	at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-771]
	at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1076 out of bounds for length 1076
	at ch.njol.skript.aliases.MaterialRegistry.<init>(MaterialRegistry.java:101) ~[?:?]
	at ch.njol.skript.aliases.MaterialRegistry.load(MaterialRegistry.java:78) ~[?:?]
	at ch.njol.skript.aliases.ItemData.<clinit>(ItemData.java:100) ~[?:?]

 

Please do the following:

-> Go to Dashboard (https://minehut.com/dashboard/).
-> Stop your server.
-> Click on Edit Server (or Activate if it's hibernating).
-> Navigate to File Manager tab.
-> Go to this directory: /plugins/Skript/
-> Delete materials.json file.
-> Start your server.

 

Spoiler

You most likely changed your server version from 1.17 to 1.16.5.
Since 1.17 has more items than 1.16.5, Skript generated a new materials.json file with additional items, and now that you switched it to 1.16.5, it doesn't understand what the "extra items" are, in materials.json.

The following stack trace shows this clearly:

Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1076 out of bounds for length 1076
	at ch.njol.skript.aliases.MaterialRegistry.<init>(MaterialRegistry.java:101) ~[?:?]

It couldn't load the extra items because the array size was limited to the number of items in 1.16.5, hence, throwing an exception, disabling the plugin.

 

Edited by CoolProgrammer
Explanation

Hello there! If you're reading this, hope you're having a wonderful day!

 

Feel free to contact me via Discord (CoolProgrammer#1920) for any help.

My DMs are always open for help.

You can also message via. forum messages for help.

1604908226_ScreenShot2021-01-28at10_32_28AM.png.2646ad6be239a9d0756a99e8e15602ab.png

Also, don't hesitate to leave a like on my post if I helped you in any way.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...