Solved Error while enabling TuSKe v1.7

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ImCenZ

Member
Jan 27, 2017
2
0
0
33
First, sorry if this is not the correct category, im a newbie :emoji_frowning:

Hye, im creating a minigame, in which you have a shop with the comand /kb shop
code:

Code:
        if arg-1 is "shop":
            if arg-2 is not set:
                open virtual chest inventory with size 6 named "&cKnockbackMasters &bShop &7>>" to player
                wait 1 tick
                create a gui slot 0 of player with blue stained glass pane to be unstealable
                create a gui 1 of player with blue stained glass pane to be unstealable
                create a gui 2 of player with blue stained glass pane to be unstealable
                create a gui 3 of player with blue stained glass pane to be unstealable
                create a gui 4 of player with blue stained glass pane to be unstealable
                create a gui 5 of player with blue stained glass pane to be unstealable
                create a gui 6 of player with blue stained glass pane to be unstealable
                create a gui 7 of player with blue stained glass pane to be unstealable
                create a gui 8 of player with blue stained glass pane to be unstealable
                create a gui 9 of player with blue stained glass pane to be unstealable
                create a gui 17 of player with blue stained glass pane to be unstealable
                create a gui 18 of player with blue stained glass pane to be unstealable
                create a gui 26 of player with blue stained glass pane to be unstealable
                create a gui 27 of player with blue stained glass pane to be unstealable
                create a gui 35 of player with blue stained glass pane to be unstealable
                create a gui 36 of player with blue stained glass pane to be unstealable
                create a gui 37 of player with blue stained glass pane to be unstealable
                create a gui 38 of player with blue stained glass pane to be unstealable
                create a gui 39 of player with blue stained glass pane to be unstealable
                create a gui 40 of player with blue stained glass pane to be unstealable
                create a gui 41 of player with blue stained glass pane to be unstealable
                create a gui 42 of player with blue stained glass pane to be unstealable
                create a gui 43 of player with blue stained glass pane to be unstealable
                create a gui 44 of player with blue stained glass pane to be unstealable


                create a gui slot 20 of player with stick named "&cKnockback" to run player command "/kb shop knock"
                create a gui 24 of player with chest named "&cExtras" to run player command "/kb shop extras"
                create a gui 22 of player with anvil named "&cPerks" to run player command "/kb shop perks"

            if arg-2 is "knock":
                open virtual chest inventory with size 3 named "&cKnockbackMasters &bShop &7>>" to player

            if arg-2 is "extras":
                open virtual chest inventory with size 3 named "&cKnockbackMasters &bShop &7>>" to player

            if arg-2 is "perks":
                open virtual chest inventory with size 3 named "&cKnockbackMasters &bShop &7>>" to player

And it doesnt work because TuSKe is not enabled correctly.
error:
Code:
[TuSKe] Enabling TuSKe v1.7
[21:41:45 ERROR]: Error occurred while enabling TuSKe v1.7 (Is it up to date?)
java.lang.NoSuchMethodError: ch.njol.skript.Skript.classExists(Ljava/lang/String;)Z
        at me.tuke.sktuke.util.Register.load(Register.java:833) ~[?:?]
        at me.tuke.sktuke.TuSKe.onEnable(TuSKe.java:40) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot-1.8.jar:git-Spigot-f928e7a-e91aed8]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot-1.8.jar:git-Spigot-f928e7a-e91aed8]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.8.jar:git-Spigot-f928e7a-e91aed8]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:356) [spigot-1.8.jar:git-Spigot-f928e7a-e91aed8]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:316) [spigot-1.8.jar:git-Spigot-f928e7a-e91aed8]
        at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:418) [spigot-1.8.jar:git-Spigot-f928e7a-e91aed8]
        at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:382) [spigot-1.8.jar:git-Spigot-f928e7a-e91aed8]
        at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:337) [spigot-1.8.jar:git-Spigot-f928e7a-e91aed8]
        at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:256) [spigot-1.8.jar:git-Spigot-f928e7a-e91aed8]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:528) [spigot-1.8.jar:git-Spigot-f928e7a-e91aed8]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]

I try with the latest version, and with the beta versions and i cant solve the error.
Im using Minecraft server veriosn 1.8.7 (Spigot)

Thanks you all!
 
Does it still have errors after you updated to Skript 2.2?

Never mind, already solved.

You can mark the comment above, that solved your problem, as Best Answer, so the people will know what solved your problem.
 
Status
Not open for further replies.