kits工具包相关设置
kit工具包是Essentials的一个重要功能,你可以用它来发放新手礼包,发放奖励甚至用它来做个系统商店都是可以的。
熟练的使用kit相关功能可以使你避免在服务器中再安装不必要的插件。
首先先是kit每个工具包的格式
kits:
:
delay:
items:
- -
- -
另附上中文config文件内容
kits:
tools:
delay: 10
items:
- 272 1
- 273 1
- 274 1
- 275 1
dtools:
delay: 600
items:
- 278 1 efficiency:1 durability:1 fortune:1 name:&4Giga_Drill_Breaker lore:这钻头是突破天际的钻头
- 277 1 digspeed:3 name:矮人 lore:挖掘|挖掘|挖洞
- 298 1 color:255,255,255 name:白色的帽子 lore:美好的一天,美好的一天
- 279:780 1
notch:
delay: 6000
items:
- 397:3 1 player:Notch
color:
delay: 6000
items:
- 387 1 title:&4书_&9与_&6颜色 author:Essentials lore:游戏内的颜色代码 book:颜色
firework:
delay: 6000
items:
- 401 1 name:愤怒的苦力帕 color:red fade:green type:creeper power:1
- 401 1 name:星空 color:yellow,orange fade:blue type:star effect:trail,twinkle power:1
- 401 2 name:太阳风 color:yellow,orange fade:red shape:large effect:twinkle color:yellow,orange fade:red shape:ball effect:trail color:red,purple fade:pink shape:star effect:trail power:1
1. delay代表的是领取此工具包的延迟 如果你设置为3600那么这个工具包只能每小时领一次如果你设置为-1 那么这个工具包只能领取一次。
2.你可以可以在config中对每个工具包定义他的使用价格如
kit-tools: 100
那么使用tools这个工具包将花费玩家100$
3.由以上两个示例我们可以看到kit工具包指令支持几乎mc中所有的道具。不过你也许不知道kit工具包中的道具也是支持变量的如
- 278 1 efficiency:1 durability:1 fortune:1 name:&4Giga_Drill_Breaker lore:{PLAYER}的超级钻石镐
复制代码
效果就是
其余变量可参考 help相关指令设置 中的变量
4.kit工具包同样也支持在工具包中包含金钱
设置格式如下
- $500
复制代码
注意 $符号 不要更改。
——以上转载自mcbbs我的世界中文论坛
原帖地址:http://www.mcbbs.net/forum.php?mod=viewthread&tid=290356&page=1#pid5561435
这个帖子会让你知道怎么使用基础插件ESS的,并且会熟练运用里面的功能
上面的代码是插件原代码,用源代码修改插件你需要安装Notepad++软件