eerreerr
楼主我照你的方法做了,但还是生成了一个错误文本,请帮我检查一下我哪里写错了
# 汉化:尘曲, 大刘
settings:
config:
# 将OP设置为完全管理权限
opOverrides: true
# 是否开启在线验证
validate_toggle: true
# **********************************************************************************************************************************
# *** ==================================================== 同意使用命令方块 ==================================================== ***
# **********************************************************************************************************************************
allow_commandblocks: true
data:
save:
# 保存配置文件分钟间隔
minutes: 10
# 备份文件保留多少小时
hours: 24
logging:
# GroupManager 的日志详细程度等级 详细<-------->不详细 .
# 填入以下值 - ALL,CONFIG,FINE,FINER,FINEST,INFO,OFF,SEVERE,WARNING
level: INFO
mirrors:
# 多世界设置,世界列表中子世界将参照父世界的设置.
# 第一个世界 'world' 是主世界名称
# 子世界 'world_nether' 和 'world_the_end' 将会
# 与父世界使用相同的玩家/用户组文件.
# 每个子世界可以设置镜像的 'groups', 'users' 或者与父世界使用一样的设置.
# all_unnamed_worlds将会使用所有未定义的世界
world:
world_nether:
- users
- groups
world_the_end:
- users
- groups
game:
- users
- groups
all_unnamed_worlds:
- users
- groups
# world2: (World2 将会拥有自己的独立设置)
# world3:
# - users (World3 使用 world2 的 users.yml,但是使用自己独立的 groups.yml)
# world4:
# - groups (World4 使用 world2 的 groups.yml,但是使用自己独立的 users.yml)
# world5:
# - world6 (这个世界使用从world5镜像过来的设置文件)
下面是错误文本
=============================== GM ERROR LOG ===============================
= ERROR REPORT START - 2.0 (2.12.1) (Phoenix) =
java.lang.IllegalArgumentException: The following file couldn't pass on Parser.
plugins\GroupManager\config.yml
at org.anjocaido.groupmanager.GMConfiguration.load(GMConfiguration.java:79)
at org.anjocaido.groupmanager.GMConfiguration.<init>(GMConfiguration.java:51)
at org.anjocaido.groupmanager.GroupManager.prepareConfig(GroupManager.java:324)
at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:161)
at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:93)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:389)
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439)
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375)
at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342)
at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319)
at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275)
at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175)
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424)
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
Caused by: while scanning a simple key
in "<reader>", line 40, column 11:
game:
^
could not found expected ':'
in "<reader>", line 41, column 11:
- users
^
at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:398)
at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:229)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:178)
at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.produce(ParserImpl.java:535)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
at org.anjocaido.groupmanager.GMConfiguration.load(GMConfiguration.java:75)
... 15 more
============================================================================
求楼主帮我解答一下。
2015-07-24 13:21:00