BroomSticks
你是否曾想过像哈利·波特一样飞翔?是否曾想骑着生产中最快的飞天扫帚“火弩箭”以惊人的速度翱翔?或者,你是否只是想要一种无需铁轨或水域即可便捷出行的交通方式?本插件为游戏添加了飞天扫帚。你可以拥有任意数量的不同扫帚模型,为它们命名任意名称,自定义其速度,甚至选择哪些物品可以作为扫帚使用。
骑乘与制作扫帚:
骑扫帚需要拥有 broomsticks.ride 权限节点。默认情况下,只有管理员可以骑扫帚。
- 首先,你需要按照 config.yml 中的规定合成一个可用的扫帚物品(默认为铁锹)。
- 使用铁砧将该物品附魔“无限 I”。
- 将扫帚装备到快捷栏中。
- 右键点击以骑上扫帚。
- 骑乘状态下,你将半速滑翔。
- 按住空格键以增加屏幕上显示的蓝色能量条,然后松开。填充的蓝色能量条越多,速度越快。
避免惹麻烦,扫帚现在在接触岩浆或被点燃后会燃烧殆尽。
潜行以从扫帚上下来。确保你首先在地面上,否则你会掉落。从扫帚上下来也会保留动量,所以飞得越快,你可能会比预期落得更远。
以下是一个展示飞行机制的视频:
命令:
- /broom [player] "broom name"(不带引号)- 在指定玩家的物品栏中生成指定名称的扫帚,如果没有指定玩家,则在执行命令的人的物品栏中生成。需要 broomsticks.spawn 权限。
配置
默认配置:
#quidditch-pitch-radius: 75 这还不是一个功能
Brooms:
#命名扫帚时不要使用空格,改用下划线。
#例如 name: Name_with_spaces
#使用 $ 来声明颜色或格式化代码
#例如 $9 = 蓝色文本
#更多颜色和格式化代码请访问
#不要触碰耐久度,这还不是一个功能
broom1:
name: $9Cleansweep_One
速度: 0.5
耐久度: 100
item: WOODEN_SHOVEL
扫帚2:
名称: $9Comet_140
速度: 0.8
耐久度: 100
item: STONE_SHOVEL
扫帚3:
名称: $9Nimbus_2000
速度: 1.0
耐久度: 100
item: IRON_SHOVEL
扫帚4:
名称: $9Nimbus_2001
速度: 1.1
耐久度: 100
item: GOLDEN_SHOVEL
扫帚5:
名称: $9Firebolt
速度: 1.5
耐久度: 100
item: DIAMOND_SHOVEL
- 耐久度目前尚未作为功能生效。它设定了破坏扫帚所需的伤害值。
- 你可以随意编辑任何扫帚或添加你自己的。
- 不要设置过高或过低的速度。(默认的极速扫帚已经相当快了)
- 确保为你希望作为扫帚的物品使用正确的物品名称。
- 不要在扫帚模型名称中使用大量特殊字符,因为并非所有特殊字符都能正常工作。
- 避免使用弓、药水或食物等奇怪物品作为扫帚,因为它们有独立的右键功能。
已知问题:
- 对扫帚附魔时,它看起来像是复制了,但点击第二个扫帚物品时它会消失。
- 使用命令或插件清除区域内所有生物也会将玩家从扫帚上击落,因为扫帚实际上是隐形马匹。
可能需要多次尝试才能骑上扫帚。
源码
你可以在 Git Hub 找到我的源代码
捐赠
捐赠显然是可选的,但非常受欢迎。如果您真的喜欢这个插件并想要捐赠,只需点击按钮即可。
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
#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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧