uPlanes
To Spigot 1.8 users:
To run this plugin with Spigot 1.8 you will need the latest version of uPlanes and the latest version of Spigotmc's updated Protocollib. The 1.8 compatible ProtocolLib can be downloaded from http://ci.shadowvolt.com/job/ProtocolLib/ (courtesy of http://spigotmc.org )!
About
uPlanes is a plugin which adds smooth, fly-able planes to Minecraft. It works by taking control of Minecart entities and letting you control them!
Flying a Plane
Crafting
Planes are crafted using the following recipe:
However you can also make Hover Planes which are crafted with this recipe:
Upgrading
When made Planes will have randomly generated Stats such as Health, Speed and their Name. These can be edited later on using the upgrade tool.
To upgrade a plane, place the plane in the left slot of an anvil, any upgrades you want in the middle slot and use the
bar at the top to rename it.
Upgrades are as following:
Upgrade | Stat | Modifier |
Iron Blocks | Health | +9 |
Iron Ingots | Health | +1 |
Redstone Blocks | Speed | +9 |
Redstone Dust | Speed | +1 |
Flying
Now you are able to fly your plane! Simply place it down with a right click and hop in!
The controls
The controls for the Plane are simple and effective.
Control | Function |
Mouse | Dictate the direction to fly the plane |
'W'/Forwards | Move the plane forwards |
'A'/Left | Move the plane upwards |
'S'/Right | Move the plane downwards |
'D'/Backwards | Move the plane backwards |
'Left Shift' | Dismount |
Safe Exit
It is well known in Minecraft that Minecarts can be used to 'glitch' through walls. However on some server, you may not want this. So, if you turn on safeExit in the config, the plugin will ensure that post-exit you are teleported to the exact location that the plane was at and also block you exiting whilst the car is inside a block. By default safeExit is turned off.
Shops
Shops allow you to buy planes for the amount specified in the config. To use Shops you need 'Vault' installed (For the economy support). Planes bought in the shop have random stats and sometimes are great, other times are less so.
To make a shop, write the following on a sign:
Then place a chest above, when the chest is opened. The shop GUI will open.
See in action
See in action
The official server to see the plugin in action on is the GameBlade minecraft network. You can buy planes both on Survival and MineTheftAuto, they are also free on Plots.
Website | http://gameblade.net |
IP | playgb.net |
Donate
Commands and Permissions
Command | Permission | Function |
/uPlanes | uplanes.uplanes | Check the plugin version. |
/plane give <Random> (Hover) | uplanes.admin | Spawn in a random plane, if 'Hover' then a hover plane |
/plane give <Speed> <Health> <Name> (Hover) | uplanes.admin | Spawn in a plane matching specification, if 'Hover' then a hover plane |
/destination | uplanes.autopilot | Use autopilot to automatically fly to the given destination |
/destinations | uplanes.autopilot | List all destinations |
/setdestination | uplanes.setdestination | Set a place to be a destination |
/deldestination | uplanes.deldestination | Delete a current destination |
/planefuel [Buy <Amount>], [View], [Sell <Amount>] | uplanes.fuel | If fuel is enabled, manages fuel |
N/A | uplanes.fly | If flight perms are enabled, players need the specified perm (This is default) to fly a plane |
N/A | uplanes.craft | If perms are enabled, players need the specified perm to craft a plane |
N/A | uplanes.hoverplane | If perms are enabled, players need the specified perm to fly a hoverplane |
N/A | uplanes.place | If perms are enabled, players need the specified perm to place a plane |
API
uPlanes has an extensive API to allow other plugins to interact with and modify planes.
The Javadoc for the API can be found on Jenkins, here.
For use with Maven; the uPlanes repo url is: 'http://repository-storm345dev.forge.cloudbees.com/release/', the group id is: 'net.stormdev', the artifactId is 'uPlanes' and I recommend you build it with the version set to 'LATEST'.
For example:
<repositories> <repository> <id>Storm-repo</id> <url>http://repository-storm345dev.forge.cloudbees.com/release/</url> </repository> ... </repositories> <dependencies> <dependency> <groupId>net.stormdev</groupId> <artifactId>uPlanes</artifactId> <version>LATEST</version> </dependency> ... </dependencies>
Todo
Source Code
Found at www.github.com/storm345dev/uPlanes
Recommended other plugins
-
uCarsRace, the official plugin for managing races with ucars. - http://dev.bukkit.org/bukkit-plugins/ucars-race/
-
UltimatePluginUpdater, the easy way to keep all your plugins up-to-date with ease! - http://dev.bukkit.org/bukkit-plugins/UltimatePluginUpdater/
-
UcarsTrade, the official plugin for a more extensive car system ideal for RPG servers with different speed and specs of cars, custom recipes, trading and more! - http://dev.bukkit.org/bukkit-plugins/ucars-trade
-
MarioKart, a great Mario Kart plugin that makes use of ucars' great features! - http://dev.bukkit.org/bukkit-plugins/MarioKart/
uPlanes made by Storm345
Page documented by SeaBoiii
@storm345 No problem thank you so much for everything! Looks like a great plugin can't wait to use it :)
@Cjfchris1
It's the max speed causing the bug! :( (will fix soon)
I never changed the config before except for the max speed
@Cjfchris1
Is this solved by using the default config? (Bug will be fixed soon, though)
Ok here is the error i get 17.06 22:12:09 [Server] INFO ... 13 more 17.06 22:12:09 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_55] 17.06 22:12:09 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_55] 17.06 22:12:09 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [?:1.7.0_55] 17.06 22:12:09 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_55] 17.06 22:12:09 [Server] INFO at net.stormdev.uPlanes.main.uPlanesListener.itemCraft(uPlanesListener.java:629) [?:?] 17.06 22:12:09 [Server] INFO at net.stormdev.uPlanes.main.PlaneGenerator.gen(PlaneGenerator.java:17) [?:?] 17.06 22:12:09 [Server] INFO at java.util.Random.nextInt(Random.java:300) [?:1.7.0_55] 17.06 22:12:09 [Server] INFO Caused by: java.lang.IllegalArgumentException: n must be positive 17.06 22:12:09 [Server] INFO at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at net.minecraft.server.v1_7_R3.PacketPlayInWindowClick.handle(SourceFile:10) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at net.minecraft.server.v1_7_R3.PacketPlayInWindowClick.a(SourceFile:32) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:1364) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] 17.06 22:12:09 [Server] INFO org.bukkit.event.EventException 17.06 22:12:09 [Server] INFO [22:12:09 ERROR]: Could not pass event CraftItemEvent to uPlanes v6.0
i can try to find one but im pretty sure it doesnt generate one
@thomasvt1
Is the issue resolved with using the default config.
@Cjfchris1
I cannot help you with out the error message.
@storm345
It appears I dont have 'default speed'
http://pastebin.com/4mzx2n9X
Ok I changed the max speed and it still won't work :( hope you can solve this soon!
@Cjfchris1
Change the plane speed setting in the config. I will look into this further soon and the newer one will be available at http://storm345dev.ci.cloudbees.com
@storm345 i do have installed, i can craft planes and all commands work except for giving planes and placing them
@thomasvt1
Go into your config and change the max speed and default speed.
Bug when performing command:
http://i.imgur.com/aKchael.png?1
@Kino876
The closest thing to this is fuel, this option wont however be implemented as it's too similar to the fuel and also as it would interfere with ucars.
@Cjfchris1
Have you got protocollib installed?
I also have a problem when i do /plane give command i get an internal server error
why am i not able to place the plane? i have all perms given to me
@storm345
Ok, thanks you, we have to wait then.
Another interesting thing is to configure the item of fuel "coal by default" and needed to have it in hand and right click to recharge the plane.
This is to do all things completely without commands for players, the time per each coal could be 60 seconds by default and configurable as well.
When you have a stack on hand "for example", right click to be consumed one coal, it disappears from your hand and you have a flying time, the time could be more or less depending on plane speed so that it's just about the speed.
Configurable things: fuel: item: COAL base_time: 60 time_multiplier: false (time multiplier depending on plane speed, false by default, all planes consume the same) if true: you should calculate something like this: (base_time * ((1 / maxSpeed) * plane_speed)) this should be the seconds that you can fly. Per example, maxSpeed = 200 and planeSpeed = 150 (1 / 200) * 150 = 0.75 and (60 base time * 0.75) = 45 seconds that you can fly per each item consumed.
I currently have the fuel disabled on my server, this is a suggestion that may be difficult to perform and only optional if you think you can do it.
Thank you very much for this awesome plugin.
@Kino876
There should be but isnt, so coming soon.
Hi, is there a way to create a shop for hover planes?
@storm345
Thanks!