BroomSticks
BroomSticks
Have you ever wanted to fly like Harry Potter? Have you ever want to soar at incredible speeds with on the Firebolt, the fastest broomstick in production? Or, have you ever just wanted a convenient mode of transportation that does require rails or water? Well this plugin adds Broomsticks to the game. Have as many different broomstick models as you want. Give them any name you want. Customize their speeds and even pick what items can be broomsticks.
Riding and Making Brooms:
Riding a broom requires the broomsticks.ride permission node. By default only ops can ride brooms.
- First you have to craft an acceptable broom item as specified in config.yml (default is a shovel)
- Enchant the item with Infinity 1 using an anvil.
- Equip the broom in your hot bar.
- Right click to mount the broom.
- While mounted you will glide at half speed.
- Hold space bar to increase the blue bar on the screen and then let go. The more you fill the blue bar the faster you will go.
Stay out of trouble, brooms will now burn up after touching lava or being lit on fire.- Sneak to dismount the broom. Make sure you are on the ground first or you will fall. Dismounting a broom also conserves momentum so flying fast means you'll land a little further than you might expect.
Here is a video showing the flight mechanics:
Commands:
- /broom [player] "broom name" (without quotes)- Spawns the broom of the specified name in the inventory of the specified player or the person running the command if no player was specified. Requires the broomsticks.spawn permission.
Config
Default Config:
#quidditch-pitch-radius: 75 this is not a feature yet Brooms: #dont use spaces when naming the brooms. Use underscore instead. #Ex. name: Name_with_spaces #use a $ to declare a color or formatting code #Ex. $9 = blue text #for more color and formatting codes go to http://minecraft.gamepedia.com/Color_codes #don't touch the durability it is not a feature yet broom1: name: $9Cleansweep_One speed: 0.5 durability: 100 item: WOODEN_SHOVEL broom2: name: $9Comet_140 speed: 0.8 durability: 100 item: STONE_SHOVEL broom3: name: $9Nimbus_2000 speed: 1.0 durability: 100 item: IRON_SHOVEL broom4: name: $9Nimbus_2001 speed: 1.1 durability: 100 item: GOLDEN_SHOVEL broom5: name: $9Firebolt speed: 1.5 durability: 100 item: DIAMOND_SHOVEL
- durability isn't a functioning feature yet. It sets the damage needed to break a broom.
- feel free to edit any brooms or add your own.
- Don't put speeds that are too high or low. (the fastest default broom as is goes pretty fast)
- make sure to use the correct item name for the items you want to be brooms.
- don't use a ton of special characters for the broom model name because not all of them might work.
- avoid using strange items such as bows, potions, or food as brooms because they have separate right click functions.
Known Issues:
- when enchanting the broom item it appears to be duplicated but the second broom item disappears when clicked upon.
- using a command or plugin to kill all mobs in an area will also knock people off their brooms because the brooms are actually invisible horses.
it could take multiple tries to mount a broom.
Source
You can find my source code on Git Hub
Donations
Donations are obviously optional but highly appreciated. Just press the button if you really like the plugin and want to donate.
when using the broom, is there never really a way to stop moving? because it just keeps on going and going until i dismount
Great plugin. I use it currently on my server. One thing I noticed is when I added WorldGuard and set a region, the broomsticks weren't able to fly correctly within the zone, but they could fly INTO the zone until they landed. I was wondering if that was something with Broomsticks or WorldGuard perhaps? Thanks again.
Pls add permission to use the broom!
In reply to MinecraftWizards:
It doesn't work
Can you show me the server log if there are any errors?
@Fear_W
@wondermouse007
Both methods work now for the newest version.
@Stevey268
I'm not a developer but can you use the speed via enchantments effect when making a broom. Is that something that can be done via coding ?
FOR EXAMPLE
- comet_140 : speed 10
- nimbus_2000 : speed 30
- nimbus_2001 : speed 45
- firebolt : speed 60
Sorry that I had to get rid of the variable speed feature. I just couldn't figure out why horse refused to fly so I used armor stands instead. If anybody has any ideas how to implement variable speed in the future feel free to message me.
Fear_W, just do /broom(name of broom) and it will work.
It somewhat works for 1.9
Not work with 1.8!! When typing /broom %username% broomname , it will show sorry, that player is not online.
Maybe you can add a side plugin for quiddich.
This plugin is perfect for my server! I am running 1.7.10 (1.7.9 plugins work). I put your plugin in my plugins folder, ran the server, but it came up with an error message and didn't install it. Caused by: java.lang.UnsupportedClassVersionError: com/DanMan/BroomSticks/main/BroomSticks : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) [?:1.7.0_79] at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [?:1.7.0_79] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [?:1.7.0_79] at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) [?:1.7.0_79] at java.net.URLClassLoader.access$100(URLClassLoader.java:71) [?:1.7.0_79] at java.net.URLClassLoader$1.run(URLClassLoader.java:361) [?:1.7.0_79] at java.net.URLClassLoader$1.run(URLClassLoader.java:355) [?:1.7.0_79] at java.security.AccessController.doPrivileged(Native Method) [?:1.7.0_79] at java.net.URLClassLoader.findClass(URLClassLoader.java:354) [?:1.7.0_79] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks] at java.lang.ClassLoader.loadClass(ClassLoader.java:425) [?:1.7.0_79] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [?:1.7.0_79] at java.lang.Class.forName0(Native Method) [?:1.7.0_79] at java.lang.Class.forName(Class.java:274) [?:1.7.0_79] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks] ... 9 more
Please help, I need this plugin!!!
Not work with 1.8
Hey,
The plugin is not loading at all for the 1.8.1 version, please lease a fix.
https://www.youtube.com/watch?v=9zMfKj5GxOQ my tutorial in spanish<3
Dosnt look bad...
i showed code, can u update list of commands? abour of quiditch?a please can u remove horse sounds? thanks a lot
great, we need a ball !!!