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!
You can always check out skUnity Downloads for downloads and any other information about Skript!
teleport player to world "test"
[18:23:43 ERROR]: #!#!
[18:23:43 ERROR]: #!#! [Skript] Severe Error:
[18:23:43 ERROR]: #!#!
[18:23:43 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[18:23:43 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
[18:23:43 ERROR]: #!#! and check whether this error has already been reported.
[18:23:43 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
[18:23:43 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[18:23:43 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[18:23:43 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[18:23:43 ERROR]: #!#!
[18:23:43 ERROR]: #!#! Stack trace:
[18:23:43 ERROR]: #!#! java.lang.NullPointerException
[18:23:43 ERROR]: #!#! at com.gmail.thelimeglass.Effects.EffPlayerTeleportWorldSpawn.execute(EffPlayerTeleportWorldSpawn.java:37)
[18:23:43 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54)
[18:23:43 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65)
[18:23:43 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)
[18:23:43 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[18:23:43 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:222)
[18:23:43 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:184)
[18:23:43 ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:270)
[18:23:43 ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:165)
[18:23:43 ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[18:23:43 ERROR]: #!#! at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[18:23:43 ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[18:23:43 ERROR]: #!#! at java.lang.reflect.Method.invoke(Unknown Source)
[18:23:43 ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
[18:23:43 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[18:23:43 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[18:23:43 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[18:23:43 ERROR]: #!#! at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1154)
[18:23:43 ERROR]: #!#! at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997)
[18:23:43 ERROR]: #!#! at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
[18:23:43 ERROR]: #!#! at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
[18:23:43 ERROR]: #!#! at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
[18:23:43 ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[18:23:43 ERROR]: #!#! at java.util.concurrent.FutureTask.run(Unknown Source)
[18:23:43 ERROR]: #!#! at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
[18:23:43 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715)
[18:23:43 ERROR]: #!#! at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
[18:23:43 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
[18:23:43 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
[18:23:43 ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
[18:23:43 ERROR]: #!#!
[18:23:43 ERROR]: #!#! Version Information:
[18:23:43 ERROR]: #!#! Skript: 2.2-dev25
[18:23:43 ERROR]: #!#! Bukkit: 1.8.8-R0.1-SNAPSHOT
[18:23:43 ERROR]: #!#! Minecraft: 1.8.8
[18:23:43 ERROR]: #!#! Java: 1.8.0_144 (Java HotSpot(TM) 64-Bit Server VM 25.144-b01)
[18:23:43 ERROR]: #!#! OS: Windows 10 amd64 10.0
[18:23:43 ERROR]: #!#!
[18:23:43 ERROR]: #!#! Running CraftBukkit: false
[18:23:43 ERROR]: #!#!
[18:23:43 ERROR]: #!#! Current node: null
[18:23:43 ERROR]: #!#! Current item: teleport %players% to [world] spawn of [world] %string%
[18:23:43 ERROR]: #!#!
[18:23:43 ERROR]: #!#! Thread: Server thread
[18:23:43 ERROR]: #!#!
[18:23:43 ERROR]: #!#! End of Error.
[18:23:43 ERROR]: #!#!
Yes, of course.any other ways to tp?
You can set locations using set {variable} to player's location
Then you can teleport a player to said location using teleport player to {variable}
It works cross-world.
Then you should have said that earlier...but this is a new world
and i cant go into the world to set playerslocation
set {_loc} to the location at 0, 0, 0 of the world "world's name"
teleport player to {_loc}
My bad, most probably is (0, 0, 0), so:Can't understand this expression: ('the location at 0', '0' and '0 of the world "test"')
set {_loc} to the location at (0, 0, 0) of the world "world's name"
If Bensku has fixed it, it likely won't be on dev 25. And using higher versions will likely cause other parts of your skripts/addons to stop working. Do you use multiverse? Your world tp problem would be easily solved if you had the /mv tp commandCan't understand this expression: ('the location at 0', '0' and '0 of the world "test"')
It hasn't been broken for a while, but the location function is preferred.If Bensku has fixed it, it likely won't be on dev 25. And using higher versions will likely cause other parts of your skripts/addons to stop working. Do you use multiverse? Your world tp problem would be easily solved if you had the /mv tp command
teleport player to spawn of ("world" parsed as a world)
nothing happensIt hasn't been broken for a while, but the location function is preferred.
Vanilla skiptcode_language.skript:teleport player to spawn of ("world" parsed as a world)
You probably gave it a world that doesn't exist.nothing happens
Well sort of. I made a pre made world and put it in "world" folder.You probably gave it a world that doesn't exist.
copy dir "world/test" to ""
World's aren't as simple as that.Well sort of. I made a pre made world and put it in "world" folder.
Then...
SkUtilitiescode_language.skript:copy dir "world/test" to ""
it placed it in main server folder
He could just tp over and set the location then too. For multiple worlds it's just a really good plugin to haveYou could use multiverse to import the world so your skrip[t is able to recognize it