tpLogin
If you are using a Spigot build and are getting a "Plugin Already Initialized" error message on startup, please update to v1.5.1.
tpLogin helps Hub server owners to force all players to teleport to a defined location every login. It's a very simple plugin that I thought I share after failing to find one that already exists.
Features
- Super Lightweight!
- Permission Support.
- Install it and leave it.
Commands
- /tpLogin - Base command, shows help.
- /tpLogin set - Sets the location players are teleported to.
- /tpLogin go - Teleport to the defined spawn location.
- Commands require the sender to either be opped, or have the permission "tpLogin.admin"
Donations
I put hours of work into tpLogin as a learning experience and hobby. If you enjoy using tpLogin, please consider supporting the development and donating to keep the plugin going. Thanks!
@lanceryy
I tested the tpLogin v1.5 and it works fine with Bukkit 1.7.4-R0.2.
[10:10:25 ERROR]: Error occurred while enabling tpLogin v1.5 (Is it up to date?) java.lang.IllegalArgumentException: Plugin already initialized! at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:98) [craftbukkit.jar:git-Spigot-1244] at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:59) [craftbukkit.jar:git-Spigot-1244] at com.volcanicplaza.tpLogin.PlayerListener.<init>(PlayerListener.java:15) [?:?] at com.volcanicplaza.tpLogin.tpLogin.onEnable(tpLogin.java:72) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [craftbukkit.jar:git-Spigot-1244] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350) [craftbukkit.jar:git-Spigot-1244] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:385) [craftbukkit.jar:git-Spigot-1244] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:304) [craftbukkit.jar:git-Spigot-1244] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:286) [craftbukkit.jar:git-Spigot-1244] at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:348) [craftbukkit.jar:git-Spigot-1244] at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:325) [craftbukkit.jar:git-Spigot-1244] at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:281) [craftbukkit.jar:git-Spigot-1244] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:186) [craftbukkit.jar:git-Spigot-1244] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:430) [craftbukkit.jar:git-Spigot-1244] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Spigot-1244] Caused by: java.lang.IllegalStateException: Initial initialization at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:101) [craftbukkit.jar:git-Spigot-1244] at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:59) [craftbukkit.jar:git-Spigot-1244] at com.volcanicplaza.tpLogin.tpLogin.<init>(tpLogin.java:16) [?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.7.0_25] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [?:1.7.0_25] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.7.0_25] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [?:1.7.0_25] at java.lang.Class.newInstance(Class.java:374) [?:1.7.0_25] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:52) [craftbukkit.jar:git-Spigot-1244] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) [craftbukkit.jar:git-Spigot-1244] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:309) [craftbukkit.jar:git-Spigot-1244] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:231) [craftbukkit.jar:git-Spigot-1244] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:261) [craftbukkit.jar:git-Spigot-1244] at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:135) [craftbukkit.jar:git-Spigot-1244] ... 2 more
GREAT plugin, everybody likes it,
Few suggestions:
Would be a great feature to make is so that u can set a timer eg if the timer is set to 5 minutes, then if the player logs back WITHIN 5 minutes they are not teleported, but if the player logs in after 5 minutes then they are.
Also, possibly a /back command which takes you to the place you were before you got Tp'd to spawn?
Also, this plugin works great with Magic item,
Keep up the great work :D
I've seen many of you report a server restart clears the tpLogin information. I have rewrote the saving/loading code to hopefully improve and fix this problem. If you still have the same problems after testing out tpLogin v1.5 please submit a ticket with a list of your plugins.
Thanks for all your feedback. Keep it coming! (Good or bad. :P)
@presto5
Are you running any plugins the handle the enabling/disable of the plugins?
I would just like to say THANK YOU SO MUCH!!!!
This is the first plugin to overpower all of my other plugins for the spawn!
10/10 Easy, Reliable, Use it!
EDIT 5/10 Resets spawn on server restart.
@JackzMc
Hmm, I'll look in this problem after I get back from Minecon. (I'm not bringing a development computer.)
If you have the time, submitting a ticket would be greatly appreciated. :)
Thanks for telling me about this!
After every restart, my tplogin spawnpoint is reset. Before I reset the spawnpoint, and type /tplogin go it goes "An unknown error...." and i have to reset it to fix.
I would love to have this fixed, or I will switch plugins to "Hub." Unless, you don't care...
@bird0021
Yes, it has multi world support.
Awesome! :D
MultiWorld Support ?
Nice plugin.
@emirams
Sorry for the long delay, this has been added in tpLogin v1.4.
@nxtguy
Yes :)
@emirams
To bypass being force teleported? Sure! :D
@nxtguy
Can you add a bypass permission? please :)
@mccrazyvideos
Okay, it's probably something with your server then, not tpLogin. :)
I just realised this is happening to all my plugins
@mccrazyvideos
Ok. I don't think anyone else is getting this problem. Please submit a ticket for this issue and I'll try and find out what is wrong. :)
yeah it all works fine that get teleported there but the location saves when i stop the server but when i turn the server back on the config is blank until i set the position again