Offline Teleporter
Offline Teleporter
This is a very lightweight plugin that has everything related to offline teleporting!
Note: This plugin is in Beta for the moment! (But pretty stable tho :)
This plugin is OpenSource feel free to read through the code!(And ask questions!)
Custom player files are used, meaning that every player has to log in at least once since this plugin is added to be fully effective!
Please, if you find any bugs at all, don't hesitate to create a ticket! :)
Powerful and Lightweight \o/ :)
1.7.9 Note
Note (If you are updating from <= 0.2): Due a drastic change, Player names cannot be considered static anymore, which is why all the user files will be removed (Though, this shouldn't be a huge issue? If it is just let me know! :) ).
Features
- Teleport you to an offline player's location
- Teleport an offline player to your location
- Teleport back after being offline teleported
- Offline player names are case insensitive (easier to type ;) )
- A cookie command :)
- Forge Compatible!
Ideas/Feature requests are more than welcome! :)
Commands
Command | Permission | Description | |
---|---|---|---|
Teleport | /otp [Player] | otp.otp | Teleports you to the offline player's location |
Teleport Here | /otphere [Player] {message} | otp.otphere | Teleports the offline player to your current location, with a message for when that player comes back(Optional) |
Teleport Back | /otpback | otp.otpback | Teleports you back to your previous logout position (from before it was changed) |
Cookie! | /cookie [player] | otp.cookie | Gives the player a cookie! |
Current Version: 0.5 (Beta)(1.7.9)
Note: Since bukkit is unbelievably slow with approving every update, you can always get the latest version Here
TO-DO list
- Add AutoTab complete for the offline player names
- Teleport all players.
Disable Case-SensitivityAdd an /otpback command for when the player that was teleported came online and wants to go back- Your ideas! :)
Donating
I'm not a big fan of money, Soo yea if you really appreciate my work then I would much rather have some feedback than money :P
hmm.., now i come to think of it, there is one other thing..
You see i'm terrible with graphics, so if you're not and you wanna give something back, then i would greatly appreciate a logo/picture for this plugin :)
Only if you want to that is! (If you can't/don't want to, dw Some feedback is all i wish for really.. :) )
Contact
You can always find me on IRC (Espernet)
Bug Report <sub>please do, i <3 bug reports :)</sub>
There are 2 ways you can do this:
- Go here and create an issue! (I prefer this method)
- Leave a comment here, Beware that bukkit won't send you a message when i reply, so check regularly (I do not prefer this method :/)
Always provide as much info as possible (crash log, what you were doing, consequences..etc) //
Awesome people!
All the people listed here should get as much credit for this plugin as i do!
(no particular order)
- Tivec Without him this plugin would not be here!, He taught me a lot!
- nickewa Help with maintaining this plugin
- Willsr71 Help with maintaining this plugin
- TheZorro266 He also helped me a lot, and helped me come up with the idea :)
- Fogger Motivation
- Not Enough Mods For being an awesome and friendly community and for being a great source of info for mc mods fans!
(A community that keeps an up-to-date list of pretty much every mc mod and it's current version!)
Wow still working in 1.13+ Found 1 problem tho...
It reads Citizens NPC's as players
[15:21:17 INFO]: [OfflineTeleporter] Enabling OfflineTeleporter v0.6*
[15:21:17 INFO]: [OfflineTeleporter] Mapping UUID's..
[15:21:17 INFO]: [OfflineTeleporter] error: No UUID in the userfile: Eye Donny.yml
[15:21:17 INFO]: [OfflineTeleporter] error: No UUID in the userfile: Sass Mat.yml
[15:21:17 INFO]: [OfflineTeleporter] error: No UUID in the userfile: Clarence.yml
[15:21:17 INFO]: [OfflineTeleporter] error: No UUID in the userfile: Big Lez.yml
[15:21:17 INFO]: [OfflineTeleporter] error: No UUID in the userfile: Bob.yml
[15:21:17 INFO]: [OfflineTeleporter] error: No UUID in the userfile: Mike Nolan.yml
[15:21:17 INFO]: [OfflineTeleporter] error: No UUID in the userfile: Scruffy.yml
[15:21:17 INFO]: [OfflineTeleporter] Finished Mapping! (118)
I am using the bungee cord which means the whole server have fake UUID.
On 1.7.10 mod server with offline-mode, the plugin does not work!
I think the problem is offline teleport plugin using the online-mode UUID when searcing the player data on server.
So, can you fix it?
I really need this plugin for my server..
@Antdog31985
Waw thanks! :) That's kind of you :p
And no, you shouldn't be worried about that message, it's "discouraged" but unless you're running DOS it shouldn't be an issue :D
ButTruth to be told, I don't have a whole lot of time on my hands anymore to work on this plugin :s
But if it were to break, i'll make time and fix it ;)
@samueli5750
Can you confirm that the plugin doesn't work for 1.9? :o
1.9 will be out soon?
It keeps telling me that the player file doesn't exist.
I'm on 1.7.10, yes I spelt their IGN right, and I've quadruple checked the simple command, I typed that correctly too.
Wait, so does this plugin support Minecraft 1.8.8? More specifically Spigot 1.8.8, however anything that works on bukkit usually works on Spigot.
@Layania
hmm, right.. I checked their source and it seems that they're running the tp event with the highest priority, which means that if I run mine with the lowest, it might perform theirs first and then mine..
Which would result in two teleports (one to spawn and one to the one set by this plugin) but ultimately leaving the player at the later destination..
However, I currently have a lot going on.. so i'm not certain when this update will be happening.. :s but it will be in my next update! :)
(for future reference, please use the github issue tracker ;) )
Thanks for the feedback! :)
Thanks for this useful plugin,
I use it since 8 month on my server (Spigot 1.8r01)
I have found only one problem with authme-reload
If i put "ForceSpawnLocOnJoinEnabled: true"
/otphere don't working anymore...
Can you hook offline_teleporter with it ? :)
@CloudeLecaw
I've already done the change, If a player changed his name, his file will be updated once he logs in
I'll look into the bug!
Thanks for the feedback! :)
@UnwrittenPaper
Splendid! :)
This is awesome, I would appreciate it if you could tp an offline player to coords of your choice.
@GrinningMoon
Thanks a lot for your feedback! At the moment i'm kinda busy working on a program for my internship..
But after that i'll get to it! (or if the latest version of mc breaks with the latest version of my plugin, in which case i'll try to rush it :p)
Thanks a lot tho!
Hi Vastrix,
This is great work and could be very, very useful with modded servers/servers that need worlds regenerated! I hope you continue your work as I'm sure Sponge (whenever that gets made...) will need an offline teleporter.
As as feature, I was hoping you could add a way to teleport all players (including offline obv) within a dimension to a location within that same dimension. I'm setting up a system that regenerates certain worlds on my server but it doesn't account for ... say if a player logs back into stone. So I need a way to safely transport them automatically after every reset of that specific world. I'm not sure how difficult this is but maybe adding a wildcard (e.g. *) where the player name is, or going the command block route with @a, could make it so it teleports all of the offline players instead of having to enter each individual name.
Thank you!
@adventuretc
Indeed it doesn't (i'd need a third party api to access the nbt files).
but strange, i thought i did wrote it somewhere :o
ah well, thanks! :)
Doesn't work for pre existing user locations, you should declare that in the description.
@UnwrittenPaper
\o/ Thanks :)
@UnwrittenPaper
Hey UnwrittenPaper, I'm super glad to hear some feedback and certainly if it's that you love it! :D
Concerning the error: It looks like you somehow managed to give up a Null while doing /otp
Did anything awful happen? (Complete server/plugin crash.. etc)
If not then it shouldn't be really a huge issue, but i'll fix it nonetheless in the next update (Which will be when i start getting complains that the latest version isn't compatible with the latest mc ;) )
I'm also planning on adding a new feature then:
Either way let me know if something horrible happened after that error, and if it occurs a lot!
Thanks
@usualrocketnob
heh, np :)
@vastrix
mmmm :/ Well thank you so much for you're help! Will sure be using this plugin when I get a 1.6+ server ^.^