Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Mam problem ze skryptem w SKRIPT


Rekomendowane odpowiedzi

Opublikowano

Siema tak jak w temacie mam błąd w consoli o taki i do tego nie dziala mi skrypt który zrobiłem . (Mistrzem tworzenia skryptów nie jestem ;p)

O to kod z consoli 

[17:45:56 ERROR]: #!#! 
[17:45:56 ERROR]: #!#! [Skript] Severe Error:
[17:45:56 ERROR]: #!#! Could not load spolszcz.sk
[17:45:56 ERROR]: #!#! 
[17:45:56 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[17:45:56 ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[17:45:56 ERROR]: #!#! and check whether this error has already been reported.
[17:45:56 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[17:45:56 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[17:45:56 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[17:45:56 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[17:45:56 ERROR]: #!#! 
[17:45:56 ERROR]: #!#! Stack trace:
[17:45:56 ERROR]: #!#! java.lang.IllegalStateException: No match found
[17:45:56 ERROR]: #!#!     at java.util.regex.Matcher.group(Matcher.java:485)
[17:45:56 ERROR]: #!#!     at ch.njol.skript.command.Commands.loadCommand(Commands.java:305)
[17:45:56 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:422)
[17:45:56 ERROR]: #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:233)
[17:45:56 ERROR]: #!#!     at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:192)
[17:45:56 ERROR]: #!#!     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[17:45:56 ERROR]: #!#!     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
[17:45:56 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:542)
[17:45:56 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:923)
[17:45:56 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:803)
[17:45:56 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28)
[17:45:56 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47)
[17:45:56 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146)
[17:45:56 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134)
[17:45:56 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:645)
[17:45:56 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250)
[17:45:56 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:535)
[17:45:56 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:447)
[17:45:56 ERROR]: #!#!     at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
[17:45:56 ERROR]: #!#! 
[17:45:56 ERROR]: #!#! Version Information:
[17:45:56 ERROR]: #!#!   Skript: 2.0.2
[17:45:56 ERROR]: #!#!   Bukkit: 1.7.2-R0.1-SNAPSHOT
[17:45:56 ERROR]: #!#!   Minecraft: 1.7.2
[17:45:56 ERROR]: #!#!   Java: 1.7.0_51
[17:45:56 ERROR]: #!#! 
[17:45:56 ERROR]: #!#! Running CraftBukkit: false
[17:45:56 ERROR]: #!#! 
[17:45:56 ERROR]: #!#! Current node: command /dom : (spolszcz.sk, line 1)
[17:45:56 ERROR]: #!#! Current item: null
[17:45:56 ERROR]: #!#! 
[17:45:56 ERROR]: #!#! Thread: Server thread
[17:45:56 ERROR]: #!#! 
[17:45:56 ERROR]: #!#! End of Error.
[17:45:56 ERROR]: #!#! 
>

A to jest ten skrypt z spolszcz.sk

command /dom :
	description: HOME
	trigger:
	execute player command "/home"
	wait 2 second
	send "Zostales pomyslnie przeleportowany do swojego domu"
	stop
command /sp :
	description: SPAWN
	trigger:
	execute player command "/spawn"
	wait 2 second
	send "Zostales pomyslnie przeleportowany na spawn"
	stop
               
Opublikowano

komendy powinny być tak:

command /dom:

command /sp:

a po trigger wszystko powinno być 2 razy wytabowane

//Edit

@down Nie będzie działać - źle wytabowane

Opublikowano
Nada się to?

command /dom:
    description: Teleportuje do domu
    trigger:
        wait 2 seconds
        execute command "/home"
        send "&7Zostales pomyslnie przeteleportowany"
 
command /sp:
    description: Teleportuje na spawn
    trigger:
        wait 2 seconds
        execute command "/spawn"

        send "&7Zostales pomyslnie przetelportowany"

@up Szkoda że mi działa ....

Jestem wesoły romek

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...