(<unknown>):在第74行第16行扫描锚点时未找到预期的字母或数字字符

时间:2016-06-14 04:43:14

标签: plugins permissions yaml minecraft

(完整档案:http://pastebin.com/jpTn5wqH

groups:
  Member:
    options:
      default: true
      prefix: '&f[&7Nomad&f]’
    permissions:
    - essentials.kits.Nomad
    - essentials.kit.Nomad
    - bungeechat.global
    - bungeecord.command.server
    - essentials.msg
    - essentials.message
    - towny.leave
    - essentials.mail
    - essentials.mail.send
    - essentials.warp.list
    - essentials.warp
    - libsdisguise.disguise.*
    - essentials.balancetop
    - essentials.balance
    - bukkit.command.plugins
    - towny.command.town.add
    - towny.claimed.owntown.build.*
    - ChestShop.shop.buy
    - ChestShop.shop.sell
    - ChestShop.shop.create
    - essentials.plugins
    - essentials.ping
    - essentials.rules
    - essentials.balance.others
    - MyPet.command.trade.offer
    - essentials.killall
    - bukkit.plugins
    - bukkit.plugin
    - essentials.kit.peasant
    - essentials.pay
    - ontime.player.*
    - towny.chat.town
    - towny.chat.general
    - towny.wild.*
    - towny.command.town.buy
    - towny.command.plot.claim
    - mcmmo.repair.*
    - essentials.ignore
    - essentials.money
    - essentials.help
    - essentials.build
    - essentials.list
    - essentials.help
    - essentials.kit
    - essentials.spawn
    - essentials.afk
    - essentials.r
    - essentials.respond
    - essentials.talk
    - essentials.home
    - essentials.tpdeny
    - essentials.tpaccept
    - essentials.tpask
    - essentials.tpa
    - essentials.sethome
    - essentials.delhome
    - auctions.command.start
    - auctions.command.info
    - auctions.command.queue
    - auctions.command.end
    - auctions.command.ignore
    - auctions.command.bid
    - auctions.command.cancel
    inheritance:
    - Member
  Builder:
    options:
      prefix: '&0[&2Builder&0]&r'
    inheritance:
    - Member
    permissions:
    - worldguard.region.bypass.world
    - essentials.gamemode.Adventure
    - essentials.gamemode.survival
    - essentials.gamemode.spectator
    - essentials.gamemode.creative
    - essentials.mute
    - essentials.gamemode.others
    - essentials.gamemode.*
    - essentials.gamemode
    - worldedit.*
  Head Builder:
    options:
      prefix: '&r[&aHead Builder&r]&r'    # line 74
    inheritance:
    - Builder
    - Member
    - King

PermX Minecraft插件的Perms

该文件有什么问题?

1 个答案:

答案 0 :(得分:0)

您的YAML文件以:

开头
groups:
  Member:
    options:
      default: true
      prefix: '&f[&7Nomad&f]’
    permissions:
    - essentials.kits.Nomad
    - essentials.kit.Nomad

并且第74行附近有:

  Builder:
    options:
      prefix: '&0[&2Builder&0]&r'
    inheritance:
    - Member
    permissions:
    - worldguard.region.bypass.world
    - essentials.gamemode.Adventure

该行:

prefix: '&f[&7Nomad&f]’

启动一个字符串(带有'),该字符串以第74行结尾,后跟一个意外字符。您最有可能想要更改该行5末尾的,因为它可能是一个拼写错误,应该是'

通过该更改,文件正确解析。