SkyFall
SkyFall v0.1.0
This plugin allows you to link worlds and define for every world the worlds located "under" and "above" of it. For example if your server has a Skylands world you can link it with normal world. Then if your player jumps from the skylands to void he will teleported to top level of the normal worlds.
Video
Features
- Linking worlds by defining under and above worlds
- Worlds size matters: when defining worlds you must set it coordinates and player will not fall out the borders
- Allows to link an unlimited number of worlds
Why do I want it?
You can link worlds and define worlds "levels". You can create a great way from one world to another: for example you can create places where player can gain access only when jumping from skies.
How to use it?
- Install
- Define worlds using commands or edit config files manually
- Jump to the void
Commands
- /skyfall help - display help and command list
- /skyfall сfg - display current configuration
- /skyfall list - display worlds links
- /skyfall reload - reload configuration from file
- /skyfall clearworldlinks - delete all worldlink settings and create new configuration
- /skyfall area [world] <x1,z1 x2,z2> - define world perimeter coordinates for defined world (if "world" not defined will be use player's world)
- /skyfall under [world] <under world> - set link between "world" and "under world". If player will fall from the "world" he will be teleported to "under world".
- /skyfall above [world] <above world> - set link between "world" and "above world". If player will fly up from the "world" he will be teleported to "above world".
- /skyfall height <height> - set the world height (default - 255).
- /skyfall depth <depth> - set the world height (default - 0).
- /skyfall locfall [name] - create fall-in teleport point
- /skyfall locclimb [name] - create climb-in teleport point
- /skyfall clearfall [world] - remove all fall-in teleport point
- /skyfall clearclimb [world] - remove all climb-in teleport point
- /skyfall fallin [world] - toggle fall-in teleportation in defined (or current world)
- /skyfall climbin [world] - toggle climb-in teleportation in defined (or current world)
- /skyfall fallrnd [world] - toggle random fall-in teleportation
- /skyfall climbrnd [world] - toggle random climb-in teleportation
- /skyfall linktime [world] - toggle time synchronization or synchronize time of current world with defined
Configure world links manually
Here is example of file worldlinks.yml. This file is define three worlds: world, skylands and worlds_the_end. World
skylands: x1: -1000 z1: -1000 x2: 1000 z2: 1000 height: 255 depth: 0 world: under: world above: world_the_end world: x1: -1000 z1: -1000 x2: 1000 z2: 1000 height: 255 depth: 0 world: under: '' above: skylands world_the_end: x1: -150 z1: -150 x2: 200 z2: 150 height: 127 depth: 0 world: under: skylands above: ''
SkyFall translation
It is possible to use language files to translate SkyFall messages.
Available translations:
- English - default (sorry for my english)
- Russian (Русский)
Download links of language files was removed due to the fact that the devbukkit rules does not permits the using Dropbox service for providing language text files. If you need language files you can ask me and I will send you file or download link.
Permissions
skyfall.config - allows to use commands to configure the worlds links skyfall.relocation - allows player to fall our or climb into the linked worlds.
Like this plugin?
You can buy me a chocolate!
My players die when getting relocated, how can i fix this?
@fromgate
Not just a point, a point relative to my reference point. So it just shifts the worlds around on top of each other. It's currently as if you have two plates sitting snugly on top of each other, the centres at the same vertical position. I want to be able to move the top plate to the left a bit, so the centres are no longer matching. do you see what I mean? It's hard to get the point across...
@darkdemon42
Mm... you need a teleporting to a pre-defined point? It's in plans :)
@Ihysoal
Hello, about floating feature - I'm planning to create something like that, but not sure when it will be done.
Latest version is compatible with 1.2.x and 1.3.x
How can I define a reference point, say I want it so that if you fall from the sky at it's spawn (i.e. x:0 z:0) they land at the spawn on "earth"'s spawn, at x:1000 z:1000, and have falls from other locations be relative? (Ie: fall at 50,50, you land at 1050,1050)
Is this possible? and if not, can you make it possible?
Could you implement a feature where a player is floated upwards (possibly by currents or something) until he finishes loading, or a few seconds after he finishes loading? I would like to combine this with tekkit and it's jetpacks.
Edit: Tekkit is 1.2.5, do you know if this plugin is still compatible with craftbukkit 1.2.5 R4? Or do I need to grab the older version.
@BEQOsNtDi6xRDGzqIAT7
I think it's a good idea. Thank you for suggestion. I'll include it to my TODO list :)
One item of note: Climbing up into another world doesn't actually work, as your flight turns off when you're in creative, causing you to immediately fall down again. Is there a way to spawn higher in the target world than the fall height? (ie of you set the coordinates for "To Below" to 0 and "From Below" to 10.)
Hey, i just tried your plugin together with multiworld.
I created a skyworld and linked it to be above the regular world and then flew up (in creative mode)
It didn't move me to the new world. Instead i got this:
[SEVERE] Could not pass event PlayerMoveEvent to SkyFall
java.lang.NullPointerException
at fromgate.skyfall.SFListener.onPlayerMove(SFListener.java:74)
at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:484)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:469)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:215)
at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:262)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:119)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:97)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:651)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:525)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
So that's a bummer. :/ (I'm using the MCPC CB build 76.)
Edit: i restarted to server, to let skyfall generate a proper config for the new world. Then i linked the skyworld and regular world and jumped off of the skyworld. This time it properly teleported me, but i was no longer in creative mode on arrival and got instantly killed while in midair.
Edit2: Fixed it via setting a multiworld permission to ignore gamemode switching. So that is interesting. I suppose all issues got fixed by themselves. Consider this a log of events, then. :)
@Ruphies
It will be compatible with any "multiworld" plugin. I'm using multiverse - works fine :)
@fromgate, thanks man I will try this as soon as I can.
I haven't gotten a chance to get this to work yet. But I decided to revisit this plugin after a problem another plugin was giving me with generating the config. So it wasn't just this plugin for me.
One question before I work on this more.
Is multiverse an issue? Is this compatible with multiverse?
@jjacobson Thank you :)
Awesome plugin!
@grimm294 Hmm... Cubic God live in Skylands? :) Thank you, I'm happy that you find SkyFall useful :)
AWESOME PLUGIN. I'm gonna live in the Skylands & tell my players that if they need me, come to my house. :D
@Ruphies @Blackhawk185 @a_hat
v0.0.2
http://dev.bukkit.org/media/files/605/491/SkyFall.jar
Awesome thanks guys. As soon as I get this working ill let you all know.
Ruphies
@fromgate There are only 4 comments here so I assume this is working for people.
Or.. I think it more then 100 :) http://mcstats.org/plugin/SkyFall
@Ruphies @Blackhawk185
Yes, I'm going to change plugin's commands. Hope they will be more usefull.
But now you can:
1. Define first world /skyfall setc [world] <x1,z1 x2,z2> 2. Define above world (if required) /skyfall setaw <above_world> 3. Save world /skyfall add
4. Define second world (for example, skylands) /skyfall setc [world] <x1,z1 x2,z2> 5. Define under-world /skyfall setuw <under_world_name> 6. Save world /skyfall add
Or you can create worldlinks.yml (based on example in plugin description), save it in plugin folder and type command /skyfall reload.
I have the same problem. Please fix. This is an awesome plugin with great potential.