药水法杖
药水法杖是一个轻量级插件,允许玩家制作药水法杖。当右键点击时,可为玩家赋予药水效果。
简介
我在另一个服务器上见过与我开发的插件非常相似的插件。我相信开源软件的理念,人们不应拥有对某些事物(如 Bukkit 插件)的独占权利。
我开发此插件是为了用于 PVP,因为有些人不想熬制药水,所以可以使用法杖,这需要花费金钱而非使用药水。当你右键点击法杖时,聊天栏会收到提示,表明你已放置了一个药水效果,因为目前尚未添加经济/Vault 集成。
合成




每个法杖的使用次数
每个法杖在合成后具有相同的使用次数,这可以在 config.yml 文件中进行配置。将配置值设为 10 将允许玩家使用该法杖 10 次并获取药水效果,之后法杖才会损坏。
权限
potionstaffs.fireres - 使用火焰法杖
potionstaffs.swiftness - 使用迅捷法杖
potionstaffs.strength - 使用力量法杖
potionstaffs.regen - 使用再生法杖
待办事项
- 为每种法杖添加烟花效果
- 添加 Vault 支持,以便每次使用法杖时收费
源代码
源代码将在不久的将来上传至 GitHub。
Potion Staffs
Potion staffs is a lightweight plugin which allows players to create potion staffs, and when they are right clicked, give the player potion effects.
Introduction
I've seen a plugin very similar to the plugin I have made on another server, I believe in open source software and people should not have exclusive right to certain things such as bukkit plugins.
I created this plugin for PVP, as some people don't want to brew, so they could use staffs, which cost them money instead of using potions.
When you right click on a staff, you will receive a notification in chat you have put on a potion, as the economy/vault integration has not been added yet.
Crafting
- Regeneration Staff: 0.22 Regeneration 2

- Fire Resistance Staff: 8:00 Fire Resistance 1

- Swiftness Staff: 1:30 Speed 2

- Strength Staff: 1:30 Strength 2

Uses Per Staff
Each staff has the same amount of uses when crafted, this is configurable in the config.yml file. Giving the config value a value of 10 would allow a player to use that staff 10 times and receive potion effects before it breaks.
Permissions
potionstaffs.fireres - Use of Fire Staff
potionstaffs.swiftness - Use of Swiftness Staff
potionstaffs.strength - Use of Strength Staff
potionstaffs.regen - Use of Regeneration Staff
TODO
- Add firework effects for each Staff
- Add Vault support to charge for each use of the staff
Source
The source will be uploaded to github in the near future.
评论 0
登录后参与评分
还没有评论,来抢沙发吧