AFP
我是根据这个网址:http://tieba.baidu.com/p/2083714284所说的来做的
因为我是用的ess的group那个啥的所以我没有用
default:
otherdrops:
这种格式,一下是我的配置文件的设置:
首先是otherdrops-drops:

include-files:
- includes/ododood.yml #Drop money when kills monsters#

然后是我的ododood的配置:

otherdrops:
CaveSpider:
- drop: default
- drop: money/5-10
message: "你杀死 &2一只洞穴蜘蛛&f得到了 &2%q &f节操"
- drop: 383@59
chance: 5%
message: "你中了大奖!掉落了他的精元!"
Creeper:
- drop: default
- drop: 383@50
chance: 5%
message: "你中了大奖!掉落的他的精元!"
- drop: money/3-5
message: "你欺负了&2草系神奇宝贝&f得到了 &2%q &f节操"
- drop: 46
chance:3%
message: "你拿到了她最爱的玩具!"
Enderman:
- drop: default
- drop: money/10-20
message: "你杀死 &2一只犀利哥&f得到了 &2%q &f节操"
- drop: 383@58
chance: 5%
message: "你中了大奖!掉落了他的精元!"
- drop: 57
chance: 3%
massage: "你抢走了她最爱的钻石块!"
Ghast:
- drop: default
- drop: money/10-15
message: "你摧毁 &2一只轰炸机&f得到了 &2%q &f节操"
- drop: 383@56
chance: 5%
message: "你中了大奖!掉落了他的精元!"
Pig:
- drop: default
command: /shock %p
message: "你杀死&2一只猪猪&f这是我们服的吉祥物!"
Pigzombie:
- drop: default
- drop: money/5-10
message: "你杀死 &2一只变态猪&f得到了 &2%q &f节操"
- drop: 383@57
chance: 5%
message: "你中了大奖!掉落了他的精元!"
- drop: 41
chance: 1%
message: "你得到了他家的一块垃圾"
Silverfish:
- drop: default
- drop: money/10-20
message: "你杀死 &2一只蛔虫&f得到了 &2%q &f节操"
- drop: 344
chance: 5%
message: "你中了大奖!掉落了他的精元!"
Skeleton:
- drop: default
- drop: money/3-5
message: "你杀死 &2一只骷髅哥哥&f得到了 &2%q &f节操"
- drop: 383@51
chance: 5%
message: "你中了大奖!掉落了他的精元!"
- drop: 257
chance: 4%
message: "没错!它把铁镐当成了自己的弓!"
Slime:
- drop: default
- drop: money/1-2
message: "你杀死 &2一坨史莱姆&f得到了 &2%q &f节操"
- drop: 2
message: "我也不知道它为啥会有这个..."
Spider:
- drop: default
- drop: money/2-4
message: "你杀死 &2一只蜘蛛&f得到了 &2%q &f节操"
- drop: 383@52
chance: 5%
message: "你中了大奖!掉落了他的精元!"
Zombie:
- drop: default
- drop: money/2-3
message: "你杀死 &2一只滕奕炜&f得到了 &2%q &f节操"
- drop: 383@54
chance: 5%
message: "你中了大奖!掉落了他的精元!"
- drop: 264 lore:金灿灿!亮闪闪!
chance: 3%
Blaze:
- drop: default
- drop: money/4-5
message: "你杀死 &2一只烈焰法师&f得到了 &2%q &f节操"
- drop: 383@61
chance: 5%
message: "你中了大奖!掉落了他的精元!"
Wither:
- drop: default
- drop: money/100-300
message: "你杀死 &2一只三头蛟&f得到了 &2%q &f节操"
Witch:
- drop: default
- drop: money/50-100
message: "你杀死 &2一名巫师&f得到了 &2%q &f幻想币"
Ogre:
- drop: default
- drop: money/10-11
message: "你杀死 &2一只食人魔&f得到了 &2%q &f节操"
Werewolf:
- drop: default
- drop: money/6-8
message: "你杀死 &2一只狼人酱&f得到了 &2%q &f节操"

我输入/odr之后他说:
config is invalid
the error was
in <string>  line 1, column 1:
otherdrops:
^

expected <block end>, but found BlockMappingStart
in <string> line 5, column 2:
message:"你杀死&2一只洞穴蜘蛛&f得到了&2%q...

我觉得会不会是因为不能用英文的原因,可是为什么otherdrops:这一行也报错呃?

还望大大指点,若弄明白了我还会加价的哦~


2021.12 数据,可能有更多内容我是根据这个网址:http://tieba.baidu.com/p/2083714284所说的来做的
因为我是用的ess的group那个啥的所以我没有用
default:
otherdrops:
这种格式,一下是我的配置文件的设置:
首先是otherdrops-drops:


include-files:
- includes/ododood.yml #Drop money when kills monsters#


然后是我的ododood的配置:


otherdrops:
CaveSpider:
- drop: default
- drop: money/5-10
message: &quot;你杀死 &amp;2一只洞穴蜘蛛&amp;f得到了 &amp;2%q &amp;f节操&quot;
- drop: 383@59
chance: 5%
message: &quot;你中了大奖!掉落了他的精元!&quot;
Creeper:
- drop: default
- drop: 383@50
chance: 5%
message: &quot;你中了大奖!掉落的他的精元!&quot;
- drop: money/3-5
message: &quot;你欺负了&amp;2草系神奇宝贝&amp;f得到了 &amp;2%q &amp;f节操&quot;
- drop: 46
chance:3%
message: &quot;你拿到了她最爱的玩具!&quot;
Enderman:
- drop: default
- drop: money/10-20
message: &quot;你杀死 &amp;2一只犀利哥&amp;f得到了 &amp;2%q &amp;f节操&quot;
- drop: 383@58
chance: 5%
message: &quot;你中了大奖!掉落了他的精元!&quot;
- drop: 57
chance: 3%
massage: &quot;你抢走了她最爱的钻石块!&quot;
Ghast:
- drop: default
- drop: money/10-15
message: &quot;你摧毁 &amp;2一只轰炸机&amp;f得到了 &amp;2%q &amp;f节操&quot;
- drop: 383@56
chance: 5%
message: &quot;你中了大奖!掉落了他的精元!&quot;
Pig:
- drop: default
command: /shock %p
message: &quot;你杀死&amp;2一只猪猪&amp;f这是我们服的吉祥物!&quot;
Pigzombie:
- drop: default
- drop: money/5-10
message: &quot;你杀死 &amp;2一只变态猪&amp;f得到了 &amp;2%q &amp;f节操&quot;
- drop: 383@57
chance: 5%
message: &quot;你中了大奖!掉落了他的精元!&quot;
- drop: 41
chance: 1%
message: &quot;你得到了他家的一块垃圾&quot;
Silverfish:
- drop: default
- drop: money/10-20
message: &quot;你杀死 &amp;2一只蛔虫&amp;f得到了 &amp;2%q &amp;f节操&quot;
- drop: 344
chance: 5%
message: &quot;你中了大奖!掉落了他的精元!&quot;
Skeleton:
- drop: default
- drop: money/3-5
message: &quot;你杀死 &amp;2一只骷髅哥哥&amp;f得到了 &amp;2%q &amp;f节操&quot;
- drop: 383@51
chance: 5%
message: &quot;你中了大奖!掉落了他的精元!&quot;
- drop: 257
chance: 4%
message: &quot;没错!它把铁镐当成了自己的弓!&quot;
Slime:
- drop: default
- drop: money/1-2
message: &quot;你杀死 &amp;2一坨史莱姆&amp;f得到了 &amp;2%q &amp;f节操&quot;
- drop: 2
message: &quot;我也不知道它为啥会有这个...&quot;
Spider:
- drop: default
- drop: money/2-4
message: &quot;你杀死 &amp;2一只蜘蛛&amp;f得到了 &amp;2%q &amp;f节操&quot;
- drop: 383@52
chance: 5%
message: &quot;你中了大奖!掉落了他的精元!&quot;
Zombie:
- drop: default
- drop: money/2-3
message: &quot;你杀死 &amp;2一只滕奕炜&amp;f得到了 &amp;2%q &amp;f节操&quot;
- drop: 383@54
chance: 5%
message: &quot;你中了大奖!掉落了他的精元!&quot;
- drop: 264 lore:金灿灿!亮闪闪!
chance: 3%
Blaze:
- drop: default
- drop: money/4-5
message: &quot;你杀死 &amp;2一只烈焰法师&amp;f得到了 &amp;2%q &amp;f节操&quot;
- drop: 383@61
chance: 5%
message: &quot;你中了大奖!掉落了他的精元!&quot;
Wither:
- drop: default
- drop: money/100-300
message: &quot;你杀死 &amp;2一只三头蛟&amp;f得到了 &amp;2%q &amp;f节操&quot;
Witch:
- drop: default
- drop: money/50-100
message: &quot;你杀死 &amp;2一名巫师&amp;f得到了 &amp;2%q &amp;f幻想币&quot;
Ogre:
- drop: default
- drop: money/10-11
message: &quot;你杀死 &amp;2一只食人魔&amp;f得到了 &amp;2%q &amp;f节操&quot;
Werewolf:
- drop: default
- drop: money/6-8
message: &quot;你杀死 &amp;2一只狼人酱&amp;f得到了 &amp;2%q &amp;f节操&quot;


我输入/odr之后他说:
config is invalid
the error was
in &lt;string&gt;line 1, column 1:
otherdrops:
^

expected &lt;block end&gt;, but found BlockMappingStart
in &lt;string&gt; line 5, column 2:
message:&quot;你杀死&amp;2一只洞穴蜘蛛&amp;f得到了&amp;2%q...

我觉得会不会是因为不能用英文的原因,可是为什么otherdrops:这一行也报错呃?

还望大大指点,若弄明白了我还会加价的哦~



第一页 上一页 下一页 最后一页