Anson_Baba
服务器加入地皮插件出现错误,给了权限都不行,op也无法操作,领取地皮和使用/p h都是正常的,其他指令均无法使用,求大佬帮我解答
下面是后台一直刷新的错误代码
[16:35:31 警告]:         at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57)
[16:35:31 警告]:         at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226)
[16:35:31 警告]:         at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169)
[16:35:31 警告]:         at com.worldcretornica.plotme_core.bukkit.BukkitServerBridge.getConfig(BukkitServerBridge.java:274)
[16:35:31 警告]:         at com.worldcretornica.plotme_core.PlotMe_Core.getCaptionConfig(PlotMe_Core.java:154)
[16:35:31 警告]:         at com.worldcretornica.plotme_core.utils.Util.C(Util.java:34)
[16:35:31 警告]:         at com.worldcretornica.plotme_core.bukkit.listener.BukkitPlotWorldEditListener.onPlayerInteract(BukkitPlotWorldEditListener.java:151)
[16:35:31 警告]:         at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
[16:35:31 警告]:         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[16:35:31 警告]:         at java.lang.reflect.Method.invoke(Unknown Source)
[16:35:31 警告]:         at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:334)
[16:35:31 警告]:         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[16:35:31 警告]:         at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507)
[16:35:31 警告]:         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492)
[16:35:31 警告]:         at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:223)
[16:35:31 警告]:         at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:427)
[16:35:31 警告]:         at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:853)
[16:35:31 警告]:         at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
[16:35:31 警告]:         at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
[16:35:31 警告]:         at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:245)
[16:35:31 警告]:         at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173)
[16:35:31 警告]:         at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:991)
[16:35:31 警告]:         at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:431)
[16:35:31 警告]:         at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:809)
[16:35:31 警告]:         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:669)
[16:35:31 警告]:         at java.lang.Thread.run(Unknown Source)
[16:35:31 警告]: Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed
in "<string>
", position 1
[16:35:31 警告]:         at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
[16:35:31 警告]:         at org.yaml.snakeyaml.reader.StreamReader.<init>
(StreamReader.java:50)
[16:35:31 警告]:         at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
[16:35:31 警告]:         at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
[16:35:31 警告]:         ... 25 more
[16:35:31 警告]: [PlotMe] Missing caption: ErrCannotBuild




Anson_Baba
上面代码还缺少几排
以下是完整的
[11:40:59 ERROR]: [PlotMe] Invalid configuration format
[11:40:59 警告]: org.bukkit.configuration.InvalidConfigurationException: unacceptable character '?' (0xFFFD) special characters are not allowed
in "<string>
", position 1
[11:40:59 警告]:         at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57)
[11:40:59 警告]:         at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:226)
[11:40:59 警告]:         at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:169)
[11:40:59 警告]:         at com.worldcretornica.plotme_core.bukkit.BukkitServerBridge.getConfig(BukkitServerBridge.java:274)
[11:40:59 警告]:         at com.worldcretornica.plotme_core.PlotMe_Core.getCaptionConfig(PlotMe_Core.java:154)
[11:40:59 警告]:         at com.worldcretornica.plotme_core.utils.Util.C(Util.java:34)
[11:40:59 警告]:         at com.worldcretornica.plotme_core.bukkit.listener.BukkitPlotListener.onEntityDamagebyEntity(BukkitPlotListener.java:789)
[11:40:59 警告]:         at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source)
[11:40:59 警告]:         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[11:40:59 警告]:         at java.lang.reflect.Method.invoke(Unknown Source)
[11:40:59 警告]:         at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:334)
[11:40:59 警告]:         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[11:40:59 警告]:         at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507)
[11:40:59 警告]:         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492)
[11:40:59 警告]:         at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callEvent(CraftEventFactory.java:102)
[11:40:59 警告]:         at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:597)
[11:40:59 警告]:         at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:465)
[11:40:59 警告]:         at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:629)
[11:40:59 警告]:         at net.minecraft.entity.EntityLivingBase.damageEntity_CB(EntityLivingBase.java:1381)
[11:40:59 警告]:         at net.minecraft.entity.player.EntityPlayer.damageEntity_CB(EntityPlayer.java:1245)
[11:40:59 警告]:         at net.minecraft.entity.EntityLivingBase.func_70097_a(EntityLivingBase.java:903)
[11:40:59 警告]:         at net.minecraft.entity.player.EntityPlayer.func_70097_a(EntityPlayer.java:1158)
[11:40:59 警告]:         at net.minecraft.entity.player.EntityPlayerMP.func_70097_a(EntityPlayerMP.java:646)
[11:40:59 警告]:         at net.minecraft.entity.player.EntityPlayer.func_71059_n(EntityPlayer.java:1404)
[11:40:59 警告]:         at net.minecraft.network.NetHandlerPlayServer.func_147340_a(NetHandlerPlayServer.java:1558)
[11:40:59 警告]:         at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:55)
[11:40:59 警告]:         at net.minecraft.network.play.client.C02PacketUseEntity.func_148833_a(SourceFile:10)
[11:40:59 警告]:         at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:245)
[11:40:59 警告]:         at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173)
[11:40:59 警告]:         at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:991)
[11:40:59 警告]:         at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:431)
[11:40:59 警告]:         at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:809)
[11:40:59 警告]:         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:669)
[11:40:59 警告]:         at java.lang.Thread.run(Unknown Source)
[11:40:59 警告]: Caused by: unacceptable character '?' (0xFFFD) special characters are not allowed
in "<string>
", position 1
[11:40:59 警告]:         at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
[11:40:59 警告]:         at org.yaml.snakeyaml.reader.StreamReader.<init>
(StreamReader.java:50)
[11:40:59 警告]:         at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
[11:40:59 警告]:         at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
[11:40:59 警告]:         ... 33 more
[11:40:59 警告]: [PlotMe] Missing caption: ErrCannotBuild

删除config.yml已经尝试过了
我当前使用的是站内的PlotMe稳定版0.16.3
开发版0.17.1无法使用,文件甚至都无法生成

八柔
尝试换核心 我用kc核心 0.16.3稳定无报错

GuuWoo
介意发一下配置文件吗?

Anson_Baba
GuuWoo 发表于 2018-2-5 18:45
介意发一下配置文件吗?

配置文件未修改过,就是基础的

Anson_Baba
GuuWoo 发表于 2018-2-5 18:45
介意发一下配置文件吗?

这就是基础配置
usemySQL: false
mySQLconn: jdbc:mysql://localhost:3306/minecraft
mySQLuname: root
mySQLpass: password
globalUseEconomy: false
allowWorldTeleport: true
defaultWEAnywhere: false
NbClearSpools: 3
NbBlocksPerClearStep: 50000
AdvancedLogging: false
worlds:
  plotworld:
    PlotAutoLimit: 1000
    DaysToExpiration: 7
    ProtectedBlocks:
    - 54
    - 61
    - 54
    - 62
    - 120
    - 94
    - 93
    - 84
    - 25
    - 355
    - 118
    - 117
    - 138
    - 140
    - 145
    - 154
    - 23
    - 158
    PreventedItems:
    - '351:15'
    - '259'
    - '328'
    - '343'
    - '342'
    - '333'
    economy:
      UseEconomy: false
      CanPutOnSale: false
      RefundClaimPriceOnReset: false
      RefundClaimPriceOnSetOwner: false
      ClaimPrice: 0.0
      ClearPrice: 0.0
      AddPlayerPrice: 0.0
      DenyPlayerPrice: 0.0
      RemovePlayerPrice: 0.0
      UndenyPlayerPrice: 0.0
      PlotHomePrice: 0.0
      SellToPlayerPrice: 0.0
      BiomeChangePrice: 0.0
      ProtectPrice: 0.0
      DisposePrice: 0.0
    AutoLinkPlots: true
    DisableExplosion: true
    DisableIgnition: true
    UseProgressiveClear: false
    Projectiles: true

Anson_Baba
八柔 发表于 2018-2-5 18:33
尝试换核心 我用kc核心 0.16.3稳定无报错

我也是KC核心

TRCStudioDean
/mangaddp defualt plotme.use

Anson_Baba
迪安小弱渣 发表于 2018-2-6 01:38
/mangaddp defualt plotme.use

权限都给了,就连op都无法使用指令

3073875879
_(:з」∠)_删掉地皮的配置文件{就是生成的那个文件夹}
然后吧groupmanager[基础插件的权限组]里面
从这个位置groupmanager/worlds/world/group.yml
找到这里[这是我的服务器给别人的]
删掉关于地皮的权限,然后重装一下插件,换个地皮世界重置一下
我认为...应该会好吧.我的服务器出问题都是这样修复的2333
  1. Builder:
  2.     default: true
  3.     permissions:
  4.     - -essentials.nick
  5.     - marry.default
  6.     - plotme.admin.add
  7.     - plotme.limit.1
  8.     - plotme.use
复制代码