WorldPos - continuity between worlds
WorldPos
About
This plugin simply saves your position whenever you leave a world, this allows the plugin to teleport you back to your previous position when you want to go back to that world. Without this plugin, you would be sent to the spawn (previous position not saved). Also, I promise to keep this plugin updated, whether that means a new Bukkit build or the official Minecraft API.
PLEASE READ MY COMMENT (FIRST PAGE) ON THE NEW VERSION (3.7) BEFORE UPGRADING.
Commands & Permissions
Command | Aliases | Description | Permission Node |
---|---|---|---|
/world [world name] | /worldwarp [world name] | Teleports you to a world and returns you to your last position in that world | WorldPos.world.{world name} OR WorldPos.world.{world name}.others (if a target player is given) |
/worldpos list | /wp list | Lists all loaded worlds on the server | WorldPos.list |
/worldpos back | /wp back | Takes you back to your last position before being teleported | WorldPos.back |
/worldpos | Displays plugin version | None |
All permissions
Title | Description | Permission Node |
---|---|---|
Hostname teleport | Allows access to specified hostname teleport | WorldPos.hostname.{hostname key} |
Portal teleport | Allows players to use a portal to enter specified world | WorldPos.portal.{world name} |
List worlds | Allows players to use /worldpos list | WorldPos.list |
Back | Allows players to use /worldpos back | WorldPos.back |
DOCUMENTATION!
Click on "pages" at the top of this website! Please check if your question is answered there BEFORE asking me directly.
Donations
All of the work I do for Bukkit is done out of my love of the community. I am not paid to do any of this work. Donations help me continue development of these projects and ultimately lead to a better product. I appreciate everyone that donates to me. You can do so by clicking here. Thank you.
Source Code & Jenkins
All source code can be found on my Github repository found here: WorldPos Github Repository Feel free to take code, fork, ect. Credits are appreciated.
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk. You can grab the latest developer builds here. Whenever I push a commit to Github (upstream) a new build will be created automatically. However I recommend you stick to builds posted on here on BukkitDev as they are usually more stable.
While upgrading to a newer version PLEASE backup the players folder inside of the WorldPos folder. I cannot be held responsible for any lost data during an upgrade. Please play it safe and backup.
CONVERTER (3.6 => 3.7)
Version 3.7 now supports (and only supports) UUID instead of player names. Upgrading without using the converter will cause players to lose their location data.
Instructions are provided in the .zip file, please read them.
Download: http://ge.tt/4BJuF5o1/v/0?c
Download and run at your own risk. This file and its contents have NOT been verified by Bukkit staff.
Please note, I tried uploading this file this BukkitDev project page to have it verified, but it was rejected due to not being a plugin.
@WayGroovy
Please tell me if changing the permissions fixes it. I will have a version 3.2 out with a fix asap. However it might take a while because I'm not on my normal laptop (it broke, the data on the SSD is intact though), so I will need to get egit/eclipse setup on this computer. Good news is, I'm building a new gaming PC which I should have all the parts around Thursday. :)
@WayGroovy
Hmm.. interesting. I'll look into it.
Also I made a mistake in saying it's WorldPos.hostname.{World Name}, it's actually this part "creative:" so it would be WorldPos.hostname.creative not WorldPos.hostname.flatworld
Sorry for the late reply, I usually check this page daily.
I got IT!
Okay, so. Do not set up, as the plugin stands, for multiple hostnames going to the same world.
I had config.txt set up like this:
http://pastebin.com/ZZ1ggT4n
Removing the duplicates that went to the same world works. Like this:
http://pastebin.com/xA8vwJAx
It may be entirely on my side, I'm not sure. I also am not passing player joins in MonsterIRC for some reason.
I hope the week finds you well, Mike. I seem to be having an issue, and I'm not sure why it started when it did.
http:pastebin.com/5PUBDhXz
Plugin worked great the first day. After that, I started getting these errors. It was about the time I started messing around with some permissions. I've since stripped out all my worldpos permissions, and re-added them. They were thrown in there with all sorts of different capitolization/case, so I tried adding them all back in with propwer
WorldPos.world.{WorldName} and WorldPos.hostname.{WorldName}
I'm not thinking straight, I'll leave this here, but so far it's stopped working for me.
@WayGroovy
Still adding documentation in so you didn't see this yet, give yourself this permission "WorldPos.hostname.{world}"
update, they work if I have OP. Not sure what my error is other than that. If you have chat, i'm in IRC on Esper.net and in skype, if you wanna chat.
Looks like it's trying to work.
I'm getting: [INFO] Disconnecting WayGroovy [/ipredacted]: You do not have permission to access that world
pex:
groups: default: default: true permissions: - worldpos.world.azaleh
worldpos
roundPosition: true portalSupport: true hostnameSupport: true messageOnHostnameTeleportToWorld: true hostnames: creative: hostname: creative.waygroovys.com world: flatworld fazed2012: hostname: fazed2012.waygroovys.com world: fazed2012 wgbtm1: hostname: wgbtm1.waygroovys.com world: wgbtm1 azaleh: hostname: azaleh.waygroovys.com world: azaleh
Woot! Uploading v3.1 in just a minute. Be warned, v3.1 is a beta build, it should work as expected. If it does not, please report the issue(s) to me!
@WayGroovy
All my work is public, plus this plugin isn't hard to make, so I'd rather not accept donations. ;)
I'm not attached to any servers, yet. I originally designed this plugin for a server I was going to create, but I never completed the server, however I still develop the plugin for you guys. Also, I checked out your server earlier today lol.
Oh yeah, 3.1 is coming along well. It will include the hostname/domain teleport feature. I will most likely upload it late tonight or early in the morning, and then we will have to wait for it to be verified.
You are awesome, and you should feel good.
Are you sure you don't take donations? Are you attached to any servers in particular?
I switched to using Github for this project, repository (source code) can be found here: https://github.com/Mike724/WorldPos
I also posted this in the description.
@WayGroovy
Yeah I will try it out again with the newest Bukkit build and see if it has been fixed, if not I'll just have it on a delay and put out a 3.1 today/tomorrow.
It certainly does, and it's been working just fine for me.
Any headway on using domains to direct warping? I'd be more than glad to have it work on a delay after login, if that is what it would take.
I recently dumped my gsp and started renting a dedi, and I'm looking to expand.
By the way, worldpos v3 1.2.5 works with Bukkit 1.3.
Anyone that is using portals support - how has it been working out for you? Any bugs?
@WayGroovy
I don't think so, the problem I was having is that the player entity's spawn is redirected, but the player's is not. It's quite weird (and hard to explain).
http://forums.bukkit.org/threads/player-spawn-event.85774/#post-1209159
Is this the bug you were talking about?
BUKKIT-1811: Big bug! PlayerRespawnEvent doesn't work with player commands! Closed in ef49ff91: Reuse ItemInWorldManager, and stop applying ability changes. Fixes BUKKIT-1811
1.2.5 R5.0 was released moments ago, and may have fixed the bug.
By the way, if you decide to use portals support, please read the page I made for it. It should answer all of your questions about it and how to use it.
OK v3 is uploaded, waiting on verification.