Repository navigation
Examples
yinyangshi edited this page Dec 1, 2018
·
31 revisions
#这个玩家是否应用效果组
enableEffects=true
#这个玩家拥有的头衔表
honors=[
default,
admin,
鱼塘塘主
]
#是否使用头衔
usehonor=true
#正在使用的头衔
using=default
#头衔id 里面的value为头衔实际效果
admin {
value="[&1ADMIN&r]"
getMessage="恭喜{playername}获得{newhonor}"
}
default {
value="[Player]"
}
#里面的effects为使用的效果组id
鱼塘塘主 {
effects=鱼塘塘主的光环
value="[&6鱼塘塘主&f]"
}
Baka {
#The display text value (for displayHonor //If you don't set it, display will use general value
#You can set only one or as many as you want.
#The number after ";;" means the delay tick to next
#If you don't type the delay to one value, we will use the default value "intervalTicks"
displayValue=[
"[&0⑨&r]",
"[&1⑨&r]",
"[&2⑨&r]",
"[&3Baka⑨&r];;10",
"[&4⑨&r]",
"[&5⑨&r]",
"[&6⑨&r]",
"[&7⑨&r]",
"[&8⑨&r]",
"[&9⑨&r]"
]
#v2.5.0 and latest
#the time to change next one is the same as displayValue
suffixValue=[
"←Baka",
"←Baka",
"←Baka",
"[&3⑨&r]",
"←Baka",
"←Baka",
"←Baka",
"←Baka",
"←Baka",
"←Baka"
]
#the delay tick to change next displayValue
intervalTicks=1
#The general honor text value
value="[&bBaka⑨&r]"
item-value = {
ContentVersion=1
Count=1
ItemType="minecraft:ice"
UnsafeDamage=0
UnsafeData {
display {
Lore=[
"§3冰符「完美冻结」"
"§aB§ba§ck§da§6!"
]
Name="§3最强の头衔!"
}
}
}
}
potionEffectsDurationTick=60
effects=[
"minecraft:water_breathing,10",
"minecraft:speed,0"
]
halo {
freename {
radius=5.0
effects=[
"minecraft:speed,0"
]
}
anynameelse {
radius=1
effects=[
"minecraft:regeneration,1"
]
}
}
#头衔拥有者自身效果node
effects{
#药水效果id
effects =[
"minecraft:water_breathing,10"
]
#药水效果持续tick
potionEffectsDurationTick=60
#粒子效果
particles {
#one is any name u want
one {
#the type of the particle
type="minecraft:heart"
velocity="-2.5, 0, -2.5"
quantity=100
offset="2.5, 0, 2.5"
}
two {
type="minecraft:heart"
velocity="-2.5, 0, -2.5"
quantity=100
offset="2.5, 0, 2.5"
}
}
#多少秒刷新一次效果组
delay="0"
#随机效果组
random{
#randomSpeed可以改成你任意你自己想的名字
randomSpeed{
#药水是否显示粒子效果
show=true
#这个组药水效果持续多少tick
potionEffectsDurationTick=60
#多少秒刷新(支持随机参数)
delay="2~5"
#刷新后有多少概率会获得
chance=0.5
#详细药水效果设置
effects=[
"minecraft:speed,0"
]
#粒子效果
particles {
name {
type="minecraft:heart"
velocity="-2.5, 0, -2.5"
quantity=100
offset="2.5, 0, 2.5"
}
}
}
}
}
#光环node设置
halo {
#anyname为你自己起的node名字
anyname {
#头衔拥有者是否会获得这个光环buff的buff
include-me=true
#药水效果持续多少tick
potionEffectsDurationTick=60
#多少秒刷新一次
delay="10~20,60~120"
chance=0.5
#光环buff半径
radius=5.0
effects=[
"minecraft:jump_boost,0"
]
#粒子效果 获得这个光环的玩家会为粒子效果中心 | The player who got the halo effect will be the center
particles {
name {
type="minecraft:heart"
velocity="-2.5, 0, -2.5"
quantity=100
offset="2.5, 0, 2.5"
}
}
}
anynameelse {
include-me=true
delay="1,10"
radius=1
effects=[
"minecraft:regeneration,1"
]
}
}