ToolAndFoodFX
版本 1.7
ToolAndFoodFX 是一个插件,允许你为工具/武器、投射物和食物以及盔甲添加药水效果。
当你食用带有效果的物品时,你将获得这些效果。
用带有效果的武器击中生物,会将这些效果赋予该生物。
投射物(如箭矢、雪球等)也是如此。向生物投掷投射物即可使其获得效果。
此插件非常适合用于冒险地图、小游戏和常规 PvP。
命令
/addeffect <effect type> <level> <duration> [-wear]
手持物品时运行此命令。效果将应用于该物品。添加 -wear 参数可使效果可穿戴。
/deleffect <effect type|all> [-wear]
此命令从你手持的物品中删除指定的效果。如果参数为 "all",则删除所有效果。添加 -wear 仅删除可穿戴的效果。
权限
toolandfoodfx.command.addeffect.*: 此权限允许用户向物品添加所有效果。
toolandfoodfx.command.addeffect.[effect name]: 此权限允许用户向物品添加指定效果。
toolandfoodfx.command.deleffect: 此权限允许用户运行 /deleffect 命令。
toolandfoodfx.command.*: 此权限赋予用户所有命令权限。
toolandfoodfx.use.weapon: 此权限允许用户使用带有效果的武器。
toolandfoodfx.use.food: 此权限允许用户食用带有效果的食物。
toolandfoodfx.use.wear: 此权限允许用户使用可穿戴效果。
toolandfoodfx.use.armor: 此权限允许用户使用带有效果的盔甲。
toolandfoodfx.use.*: 此权限允许用户使用任何带有效果的物品。
toolandfoodfx.*: 授予用户该插件的所有权限。
源码
Github
哪些物品可以拥有效果
工具与武器
- 所有类型的铲子
- 所有类型的斧头
- 所有类型的镐子
- 所有类型的剑
- 所有类型的锄头
- 所有盔甲
- 弓
- 钓鱼竿
- 打火石与铁锹
- 剪刀
- 木棍
* 不再支持雪球和鸡蛋,抱歉
食物
- 面包
- 胡萝卜
- 土豆(生、烤和毒土豆)
- 金苹果和金胡萝卜
- 南瓜派
- 饼干
- 西瓜片
- 蘑菇汤
- 生肉和熟肉(牛肉、猪肉、鸡肉和鱼肉)
- 苹果
- 腐肉
- 蜘蛛眼
ToolAndFoodFX
Ver. 1.7
ToolAndFoodFX is a plugin that lets you add potion effects to tools/weapons, projectiles, and food, and armor.
When you eat food with effects applied, you will get those effects.
Hitting a mob with a weapon that has an effect will give those effects to the mob.
Same goes for projectiles, like arrows, snowballs, etc. Throw a projectile at a mob to give them the effects.
This plugin is really great for adventure maps, mini-games, and regular PvP.
Commands
/addeffect <effect type> <level> <duration> [-wear]
Run this command when you are holding an item. The effect will get applied to the item. Adding -wear makes the effect wearable.
/deleffect <effect type|all> [-wear]
This command deletes the specified effect from the item you are holding. If the parameter is "all", then all effects will get deleted. Adding -wear only makes it delete wearable effects.
Permissions
toolandfoodfx.command.addeffect.*: this permission allows users to add all effects to items.
toolandfoodfx.command.addeffect.[effect name]: this permission allows users to add the specified effect to items.
toolandfoodfx.command.deleffect: this permission allows users to run the /deleffect command.
toolandfoodfx.command.*: this permissiongives users all command permissions.
toolandfoodfx.use.weapon: this permission allows users to use weapons with effects.
toolandfoodfx.use.food: this permission allows users to consume food with effects.
toolandfoodfx.use.wear: this permission allows users use wearable effects.
toolandfoodfx.use.armor: this permission allows users to use armor with effects.
toolandfoodfx.use.*: this permission allows users to use anything with effects.
toolandfoodfx.*: Gives a user all permissions for the plugin.
Source
Github
What items can have effects
Tools & weapons
- All types of shovels
- All types of axes
- All types of pickaxes
- All types of swords
- All types of hoes
- All Armor
- Bows
- Fishing rods
- Flint & steel
- Shears
- Sticks
* Snowballs and eggs are no longer supported, sorry
Foods
- Bread
- Carrots
- Potatoes (raw, baked, and poisonous)
- Golden apples and carrots
- Pumpkin pie
- Cookies
- Melon slices
- Mushroom soup
- Raw and cooked meat (beef, pork, chicken, and fish)
- Apples
- Rotten flesh
- Spider eyes
评论 0
登录后参与评分
还没有评论,来抢沙发吧