Spigot [OnJoinTeleport] By OakPlank! Teleport to set spawn on join! [HUB] 1.2

Teleport to spawn when you join! And set one too!

  1. is it per world ? because i set it on the hub i did go to anoher world and i spawn just in the world ;'(
     
    • Like Like x 1
  2. i must fix that! thx 4 telling me
     
  3. Hi, I get this error when the plugin is loaded on 1.12.

    Code (Text):
    > [10:22:29 INFO]: [OnJoinTP] Enabling OnJoinTP v1.1
    > [10:22:29 ERROR]: Cannot load configuration from stream
    org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
    in 'string', line 2, column 1:
        spawnmessage: '&a[OJTP] TP'd to  ...
    expected <block end>, but found Scalar
    in 'string', line 2, column 28:
        spawnmessage: '&a[OJTP] TP'd to spawn!'
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:56) ~[server.jar:git-S
    pigot-b78586d-f3356f1]
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:162) ~[server.jar:git-Spigot-b78
    586d-f3356f1]
        at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:207) [server.jar:gi
    t-Spigot-b78586d-f3356f1]
        at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:167) [server.jar:git-Spigot-b78586d-f3356f1]
        at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:135) [server.jar:git-Spigot-b78586d-f3356f1]
        at pw.OakPlank.onjointeleport.Main.onEnable(Main.java:17) [OnJoinTeleport.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) [server.jar:git-Spigot-b78586d-f3356f1]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [server.jar:git-Spigot-b7858
    6d-f3356f1]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:402) [server.jar:git-Spigot-b785
    86d-f3356f1]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:377) [server.jar:git-Spigot-b78586
    d-f3356f1]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:327) [server.jar:git-Spigot-b7858
    6d-f3356f1]
        at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:421) [server.jar:git-Spigot-b78586d-f33
    56f1]
        at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:382) [server.jar:git-Spigot-b78586d-f33
    56f1]
        at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:337) [server.jar:git-Spigot-b78586d-f33
    56f1]
        at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [server.jar:git-Spigot-b78586d-
    f3356f1]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:544) [server.jar:git-Spigot-b78586d-f
    3356f1]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
    Caused by: org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
    in 'string', line 2, column 1:
        spawnmessage: '&a[OJTP] TP'd to  ...
    expected <block end>, but found Scalar
    in 'string', line 2, column 28:
        spawnmessage: '&a[OJTP] TP'd to spawn!'
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:569) ~[server.jar:git-Spig
    ot-b78586d-f3356f1]
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157) ~[server.jar:git-Spigot-b78586d-f3356f1]
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147) ~[server.jar:git-Spigot-b78586d-f3356f1
    ]
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) ~[server.jar:git-Spigot-b78586d-f
    3356f1]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:154) ~[server.jar:git-Spigot-b78586d-f3356f1]
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[server.jar:git-Spigot-b78586d-f335
    6f1]
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[server.jar:git-Spigot-b78586d-f3356f
    1]
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:122) ~[server.jar:git-Spig
    ot-b78586d-f3356f1]
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:505) ~[server.jar:git-Spigot-b78586d-f3356f1]
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:424) ~[server.jar:git-Spigot-b78586d-f3356f1]
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:54) ~[server.jar:git-S
    pigot-b78586d-f3356f1]
        ... 16 more
     
  4. It should still function, its just colliding with essentials no need to worry :D