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.
Sure! I'll throw a couple of feature requests out there.
How about...
Don't forget, if you guys find any bugs, or want a new feature added, just ask!
nevermind
@minecraftyord
WorldPos is completely independent of Multiverse. Try using the command "/world <worldname>" instead.
Nice, very nice! I'm having one issue though: If I'm using the /mvtp <worldname> multiverse command, it doesn't use the coordinates, but the spawn. Is there any way to do this? Or did I just do something wrong?
@WayGroovy
Here is an example of doing this with PermissionsEX
Those are pipes ("|") in the red boxes, bukkit dev decided to highlight them for some reason.. They are a feature of PermissionsEX, you could also just do:
..and it would be the same thing.
Oh wow, I finished early :). I'm uploading 1.2 now, just need to wait for verification as usual.
While I'm doing this, is there anything else I can add anyone? Right now I'm doing the following: - Per world permissions (ex: WorldPos.world.creative) - Cleaning up code a bit
@WayGroovy
That's exactly what you will be able to do.
I don't take donations - public domain. :)
Awesome, thanks Mike!
With that permission and a permissions manager like PEX an admin could add
world.hub
to every world's permissions set and
world.{worlds}
to the hub and create a spoke system. With a plugin like command signs or whatnot you could make this button managed at the hub.
Where's your donate button?
@sdrev
I will get on adding this right now, I'll try to have an updated version out tomorrow.
The source code is not officially released, but feel free to use JD-GUI or some decompiler if you'd like. Once I get a stable build out I will include the source.
@Mike724
It would probably be much better to have WorldPos.{world} permissions. I'm using multiverse and give players access to creative, survival, survival_nether, and survival_the_end. I only want them to be able to warp between survival and creative though. Currently, they can just warp to The End using this plugin and that's not the functionality I'm looking for.
Do you happen to have the source code available?
@WayGroovy
It is a static permission. You should be able to block who can go to which world using your multiworld plugin (ex. multiverse), no?
I may be a bit confused,
is the permission node WorldPos.{world} with the world as a variable, or a sinle permission, WorldPos.world, with a static world.
This in no way affects how I would use the plugin, but just seeking clarification.
@WayGroovy
Alright, I fixed it and uploaded 1.1. I'm just waiting on file approval.
@WayGroovy
I'll work on a quick fix and upload it.
just noticed, plugin is creating files named: "WorldPos\players\UserName.txt" inside the /home/minecraft/plugins folder
@Shooty_: Doesn't multiverse handle that anyways?
That player can not teleport to that world
@Shooty_
So that the plugin will not log that world, or so that that player can not teleport to that world?