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.
i want quidditch!!
@chaty9
Ahah, I am assuming the /killall command kills all mobs on the server. If that is the case, then the broomsticks (which are invisible horses) will die but my plugin will not be informed because it would not be a natural death and thus my plugin will think you are still riding a broom and not allow you to fly again. I mention this problem in the known issues section and unfortunately, the only fix for this currently would be to reload my plugin or the whole server. I will probably fix this in the next update however.
@Stevey268
I am owner and i did what you said and it still says the same thing. Not 5 minutes before this happened I was riding the broom just fine, then I did the /killall command and that is when it seems it stopped working???
@chaty9
That means that you don't have permission to ride brooms. Make sure you use whatever permissions system you use and add "broomsticks.ride" to your group's or player's permissions.
umm i have a problem i cant ride a broom it says "dream all you want but only witches can use brooms" please help
@waxiemaxie
Well in that case you might want to talk to developer of ExpShops on how to sell custom items because even if i did make the broom not have an infinity enchantment you would not be able to spawn it with the name using the signs. However, you can always just sell the crafting materials to make the brooms such as the shovel or whatever you config and have anvils next to the sign for convenience.
@Stevey268
No, I am setting the brooms at a price. So you need like 20 exp for the Comet 140. The plugin I am using is 'ExpShops'
@waxiemaxie
I don't know what plugin you are using for a sell sign but instead of making the sign give the player the broom item why not make the sign run the /broom command which will handle the enchantment and everything.
So I am making a game where you can level up and buy brooms. I have no idea how put them on a sell sign with the enchantment. Could you tell me how to change in the config(or other stuff) how to make it so you don't need infinity for the brooms. Thanks!
@Stevey268
Thanks for u answer and plugin, are perfect for my server.
When you add "Quidditch"?
@MrCobayo
I don't think you can make all your brooms the same item. Because, the item is used to determine which broom will be crafted when you make it.
in the config i have configured 7 brooms (all are wood shovels). All have differents speeds in the config, but in the game all works same ._.
Can fix this?
Yes but my server and my speak spanish... can translate "you no are a wizard"?
And please add a option for time ridding a broom. Because people with brooms can load infinite chunks and crash the map ):
I can pay for Paypal if you add a time for brooms, please!!
@MrCobayo
That is is just a fun way of saying you don't have permission to ride a broom stick.
I solved my problem! Is because i ride the broom in a WorldGuard region with the flag "mob-spawning: deny"
The new version not work for my... i can make a broom, but i canĀ“t ride
How translate the message "you no are a wizard, MrCobayo"
?
Omg you add the permissions!! thanks! (:
Hey i found a bug. You cand entry in blocks regions with WorldGuard with a broom :/
please fix this
Your plugin is amazing, love it.