-2
我有一个bukkit插件一个plugin.yml文件:这个yaml文件有什么问题?
name: SlayCraft
version: 1.0.0
main: src.john01dav.slaycraft.SlayCraft
commands:
scsetspawn:
permission: slaycraft.setspawn
description: Sets the SlayCraft spawn point to where you are standing
usage: /scsetsapwn <arena/lobby>
scjoin:
permission: slaycraft.join
description: Joins the SlayCraft game
usage: /scjoin
scfirework:
permission: slaycraft.firework
description: Launches a firework at the player's location
usage: /scfirework
scexplosion:
permission: slaycraft.explosion:
description: Launches an explosion at the player's location
usage: /scexplosion
permissions:
slaycraft.setspawn:
default: op
slaycraft.join:
default: true
slaycraft.firework:
default: op
slaycraft.explosion:
default: op
这YAML看起来完全没有我,但there are errors。有任何想法吗?我搜寻了有类似错误的人,但他们中没有一个似乎可以解释。
'权限:slaycraft.explosion:'末尾有一个不需要的冒号。 –