Why don't working?!

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

DrackNife

Member
Jul 11, 2017
16
0
0
34
code_language.skript:
command /fake [<text>]:
    trigger:
        if player has permission "@FakePermission":
            if arg 1 is not set:
                send "&aUsage /fake <nick>."
            
            if arg 1 is "remove":
                send "&aYour fake as been removed"
                set {fakeon.%player%} to false
                set {fake.%player%} to player
                set player's display name to player
                set player tablist name to player
            
            else:
                send "&a Your fake as been seted to %arg-1%"
                set {fakeon.%player%} to true
                set {fake.%player%} to %agr-1%
                set player's display name to arg 1
                set player tablist name to arg 1
        else:
            send "&4You don't have permissions to execute this command!"

If I digit /fake: http://prntscr.com/gdgzlv
 
code_language.skript:
command /fake [<text>]:
    trigger:
        if player has permission "@FakePermission":
            if arg 1 is not set:
                send "&aUsage /fake <nick>."
           
            if arg 1 is "remove":
                send "&aYour fake as been removed"
                set {fakeon.%player%} to false
                set {fake.%player%} to player
                set player's display name to player
                set player tablist name to player
           
            else:
                send "&a Your fake as been seted to %arg-1%"
                set {fakeon.%player%} to true
                set {fake.%player%} to %agr-1%
                set player's display name to arg 1
                set player tablist name to arg 1
        else:
            send "&4You don't have permissions to execute this command!"

If I digit /fake: http://prntscr.com/gdgzlv
Are you reloading with /sk reload NameHere? if you are, try restarting your server.
 
Are you reloading with /sk reload NameHere? if you are, try restarting your server.

I have restarted the server and this!!
code_language.skript:
21:48:33 [ERROR] #!#!
21:48:33 [ERROR] #!#! [Skript] Severe Error:
21:48:33 [ERROR] #!#! Could not load Player Basics.sk
21:48:33 [ERROR] #!#!
21:48:33 [ERROR] #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
21:48:33 [ERROR] #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
21:48:33 [ERROR] #!#! and check whether this error has already been reported.
21:48:33 [ERROR] #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
21:48:33 [ERROR] #!#! and describe what you did before it happened and/or what you think caused the error.
21:48:33 [ERROR] #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
21:48:33 [ERROR] #!#! By following this guide fixing the error should be easy and done fast.
21:48:33 [ERROR] #!#!
21:48:33 [ERROR] #!#! Stack trace:
21:48:33 [ERROR] #!#! ch.njol.skript.SkriptAPIException: No class info found for player'
21:48:33 [ERROR] #!#!     at ch.njol.skript.registrations.Classes.getClassInfo(Classes.java:262)
21:48:33 [ERROR] #!#!     at ch.njol.skript.lang.SkriptParser.getExprInfo(SkriptParser.java:1417)
21:48:33 [ERROR] #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1138)
21:48:33 [ERROR] #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:219)
21:48:33 [ERROR] #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:174)
21:48:34 [ERROR] #!#!     at ch.njol.skript.lang.Statement.parse(Statement.java:59)
21:48:34 [ERROR] #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:753)
21:48:34 [ERROR] #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:54)
21:48:34 [ERROR] #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)
21:48:34 [ERROR] #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:839)
21:48:34 [ERROR] #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:54)
21:48:34 [ERROR] #!#!     at ch.njol.skript.lang.Conditional.<init>(Conditional.java:44)
21:48:34 [ERROR] #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:839)
21:48:34 [ERROR] #!#!     at ch.njol.skript.command.Commands.loadCommand(Commands.java:465)
21:48:34 [ERROR] #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:469)
21:48:34 [ERROR] #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:245)
21:48:34 [ERROR] #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:199)
21:48:34 [ERROR] #!#!     at ch.njol.skript.Skript.reload(Skript.java:722)
21:48:34 [ERROR] #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:159)
21:48:34 [ERROR] #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
21:48:34 [ERROR] #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
21:48:34 [ERROR] #!#!     at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646)
21:48:34 [ERROR] #!#!     at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115)
21:48:34 [ERROR] #!#!     at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950)
21:48:34 [ERROR] #!#!     at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26)
21:48:34 [ERROR] #!#!     at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53)
21:48:34 [ERROR] #!#!     at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)
21:48:34 [ERROR] #!#!     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
21:48:34 [ERROR] #!#!     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
21:48:34 [ERROR] #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696)
21:48:34 [ERROR] #!#!     at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
21:48:34 [ERROR] #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634)
21:48:34 [ERROR] #!#!     at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
21:48:34 [ERROR] #!#!     at java.lang.Thread.run(Thread.java:748)
21:48:34 [ERROR] #!#!
21:48:34 [ERROR] #!#! Version Information:
21:48:34 [ERROR] #!#!   Skript: 2.2-dev27
21:48:34 [ERROR] #!#!   Bukkit: 1.8-R0.1-SNAPSHOT
21:48:34 [ERROR] #!#!   Minecraft: 1.8
21:48:34 [ERROR] #!#!   Java: 1.8.0_131 (Java HotSpot(TM) 64-Bit Server VM 25.131-b11)
21:48:34 [ERROR] #!#!   OS: Windows 10 amd64 10.0
21:48:34 [ERROR] #!#!
21:48:34 [ERROR] #!#! Running CraftBukkit: false
21:48:34 [ERROR] #!#!
21:48:34 [ERROR] #!#! Current node: set player's display name to player (Player Basics.sk, line 40)
21:48:34 [ERROR] #!#! Current item: null
21:48:34 [ERROR] #!#!
21:48:34 [ERROR] #!#! Thread: Server thread
21:48:34 [ERROR] #!#!
21:48:34 [ERROR] #!#! End of Error.
21:48:34 [ERROR] #!#!
 
It could either be an issue with one of your addons, or an issue with your skript version. Two options:
1: try a different version of skript(dev 25 is pretty good for 1.8)
2: Remove all your addons and add them back one by one, testing your command to see if you get the error.
 
Last edited by a moderator:
Status
Not open for further replies.