當前位置:編程學習大全網 - 源碼下載 - minecraft服務器怎麽設置某人在壹天內只能領取壹件禮包,kit插件。

minecraft服務器怎麽設置某人在壹天內只能領取壹件禮包,kit插件。

kits工具包相關設置

kit工具包是Essentials的壹個重要功能,妳可以用它來發放新手禮包,發放獎勵甚至用它來做個系統商店都是可以的。

熟練的使用kit相關功能可以使妳避免在服務器中再安裝不必要的插件。

首先先是kit每個工具包的格式

kits:

<kit name>:

delay: <delay between usage>

items:

- <item number> <amount> <meta>

- <item number> <amount> <meta>

另附上中文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我的世界中文論壇

原帖地址:/forum.php?mod=viewthread&tid=290356&page=1#pid5561435

這個帖子會讓妳知道怎麽使用基礎插件ESS的,並且會熟練運用裏面的功能

上面的代碼是插件原代碼,用源代碼修改插件妳需要安裝Notepad++軟件

  • 上一篇:6歲的小孩吃什麽才能增強記憶力
  • 下一篇:C與VB的問題
  • copyright 2024編程學習大全網