LingXin233
如题 我想再 spawn 这个世界 禁用物品


  1. # BanItem世界物品继承列表,格式和例子:
  2. InhertItemList:
  3.   spawn: {}
  4. # 只有在此配置中配置过的世界,命令中的w,world参数才能生效
  5. # 每个世界自己的列表在 BanItem\WorldItem\世界名 下
复制代码




后台显示 文件格式错误

LingXin233
或者推荐一个其他的插件 可以在单世界禁止模组物品的

TUCAOEVER
请问当前使用的是什么插件?
服务器版本是1.12.2还是1.7.10呢?
后台显示错误能发一下具体内容么?

Isaya_Luna
本帖最后由 lingxy19031 于 2019-5-23 17:19 编辑

如果是高版本sponge 推荐使用epicbanitem
如果是低版本KC 好像只有biwnbt能用了(?)

如果是不知道该如何写指令
请参考
http://www.mcbbs.net/thread-861387-1-1.html或使用下面折叠的内容


至于如何在特定世界禁用某个物品,写完生成配置之后把它从全局的目录下丢去单一世界的目录就行了吧?
我不确定游戏里可不可以加入w:world 的选项,印象里是没这功能的

1341056700
请问创建世界名字是叫spawn吗 如果不是请用世界名
世界名在world文件夹看
主世界名字叫world
# 每个世界自己的列表在 BanItem/WorldItem/世界名 下
InhertItemList:
  RPG: {}
  DIM-19: {}
  sc: {}
  world: {}

LingXin233
本帖最后由 LingXin233 于 2019-5-23 17:28 编辑
1341056700 发表于 2019-5-23 17:21
请问创建世界名字是叫spawn吗 如果不是请用世界名
世界名在world文件夹看
主世界名字叫world

我的世界名就是叫 spawn  这是我的主城InhertItemList:  spawn: {}

复制代码
  1. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》 已经重载语言翻译
  2. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误] 无法加载文件[E:\MiaoStark [25565]\MiaoStark [25565]\plugins\BanItem\config.yml],配置 文件格式错误
  3. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误] while parsing a block mapping
  4. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]  in 'string', line 3, column 1:
  5. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     version: '1.0'
  6. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     ^
  7. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误] expected <block end>, but found BlockMappingStart
  8. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]  in 'string', line 54, column 2:
  9. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]      InhertItemList:
  10. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]      ^
  11. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:571)
  12. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157)
  13. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147)
  14. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:227)
  15. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:154)
  16. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
  17. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
  18. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:140)
  19. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:524)
  20. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:437)
  21. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at cc.bukkitPlugin.banitem.commons.commentedyaml.CommentedYamlConfig.loadFromString(CommentedYamlConfig.java:342)
  22. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at cc.bukkitPlugin.banitem.commons.commentedyaml.CommentedYamlConfig.loadFromFile(CommentedYamlConfig.java:397)
  23. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at cc.bukkitPlugin.banitem.commons.plugin.manager.fileManager.AFileManager.reloadConfig(AFileManager.java:88)
  24. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at cc.bukkitPlugin.banitem.commons.plugin.manager.fileManager.TConfigManager.reloadConfig(TConfigManager.java:35)
  25. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at cc.bukkitPlugin.banitem.manager.ConfigManager.reloadConfig(ConfigManager.java:43)
  26. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at cc.bukkitPlugin.banitem.commons.plugin.ABukkitPlugin.reloadConfig(ABukkitPlugin.java:197)
  27. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at cc.bukkitPlugin.banitem.commons.plugin.ABukkitPlugin.reloadPlugin(ABukkitPlugin.java:172)
  28. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at cc.bukkitPlugin.banitem.commons.plugin.command.TCommandReload.execute(TCommandReload.java:38)
  29. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at cc.bukkitPlugin.banitem.command.CommandReload.execute(CommandReload.java:31)
  30. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at cc.bukkitPlugin.banitem.commons.plugin.command.TCommandExc.onCommand(TCommandExc.java:229)
  31. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
  32. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)
  33. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:700)
  34. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1591)
  35. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1436)
  36. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37)
  37. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9)
  38. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)
  39. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  40. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at java.util.concurrent.FutureTask.run(Unknown Source)
  41. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at net.minecraft.util.Util.func_181617_a(Util.java:50)
  42. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:841)
  43. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:472)
  44. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:778)
  45. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:632)
  46. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误] 载入config.yml失败,目标文件以及配置未变动
  47. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》[错误] 在重载插件时发生了错误
  48. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》 共载入0个需要检查NBT的物品
  49. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》 世界 全局 共载入 23 个禁用物品配置
  50. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》 世界禁用列表 全局 最终禁用物品配置数量为 23 个
  51. [17:26:25] [Server thread/INFO]: 《贾克斯白名单系统》 已经重载插件
复制代码





LingXin233
吐槽管理 发表于 2019-5-23 17:08
请问当前使用的是什么插件?
服务器版本是1.12.2还是1.7.10呢?
后台显示错误能发一下具体内容么? ...

服务器版本1.12.2  catserver  报错在下方

1378495772
  1. InhertItemList:
  2.   world:
  3.     Inhert:
  4.     - /default/
  5.   spawn:
  6.     Inhert:
  7.     - /default/
复制代码

然后使用 /bi add w:spawn 即可



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