# 星域互联(寻海)汉化 https://item.taobao.com/item.htm?spm=a1z10.1-c.w4004-21180993578.1.71f21032dD5OCu&id=561135852338
# 这个反作弊比较全能,不过需要针对自己服务器的情况来设置阈值
# 帮助帖子 http://mineplugin.org/NoCheatPlus

savebackconfig: true
configversion:
  notify: true
  notifymaxpaths: 5
  created: 1104
  saved: 1104
logging:
  active: true
  maxqueuesize: 5000
  extended:
    status: false
    commands:
      actions: false
    allviolations:
      debug: true
      debugonly: false
      backend:
        trace: false
        notify: false
  backend:
    console:
      active: true
      asynchronous: true
    file:
      active: true
      prefix: ''
      filename: nocheatplus.log
    ingamechat:
      active: true
      prefix: '&c星域游戏安全: &f'
      subscriptions: false
data:
  expiration:
    active: false
    duration: 60
    history: false
  consistencychecks:
    active: true
    interval: 10
    maxtime: 2
    suppresswarnings: false
protection:
  plugins:
    hide:
      active: true
      nopermission:
        message: '&c抱歉,您没有执行此命令的权限.如果您认为这是错误的,请与服务器管理员联系.'
        commands:
        - plugins
        - version
        - icanhasbukkit
      unknowncommand:
        message: Unknown command. Type "/help" for help.
        commands: []
  commands:
    consoleonly:
      active: false
      message: '&c对不起,此命令无法在聊天中执行.请改用控制台输入.'
      commands:
      - op
      - deop
  clients:
    motd:
      active: true
      allowall: false
checks:
  blockbreak:
    direction:
      active: true
      actions: cancel vl>10 log:bdirection:0:3:if cancel
    fastbreak:
      active: true
      strict: true
      delay: 100
      intervalsurvival: 100
      grace: 2000
      actions: cancel vl>0 log:fastbreak:3:5:cif cancel
    frequency:
      active: true
      intervalcreative: 95
      intervalsurvival: 45
      shortterm:
        ticks: 5
        limit: 7
      actions: cancel vl>5 log:bbfrequency:3:5:if cancel vl>60 log:bbfrequency:0:5:cif cancel cmd:kickfrequency
    noswing:
      active: true
      actions: cancel vl>10 log:noswing:0:5:if cancel
    reach:
      active: true
      actions: cancel vl>5 log:breach:0:2:if cancel
    wrongblock:
      active: true
      level: 10
      actions: cancel vl>10 log:bwrong:0:5:if cancel vl>30 log:bwrong:0:5:cif cancel cmd:kickwb
  blockinteract:
    direction:
      active: true
      actions: cancel vl>10 log:bdirection:0:3:if cancel
    reach:
      active: true
      actions: cancel vl>5 log:breach:0:2:if cancel
    speed:
      active: true
      interval: 2000
      limit: 60
      actions: cancel vl>200 log:bspeed:0:2:if cancel vl>1000 cancel log:bspeed:0:2:icf cmd:kickbspeed
    visible:
      active: true
      actions: cancel vl>100 log:bvisible:0:10:if cancel
  blockplace:
    against:
      active: true
      actions: cancel
    autosign:
      active: true
      skipempty: false
      actions: cancel vl>10 log:bautosign:0:3:if cancel
    direction:
      active: true
      actions: cancel vl>10 log:bdirection:0:3:if cancel
    fastplace:
      active: true
      limit: 22
      shortterm:
        ticks: 10
        limit: 6
      actions: cancel vl>100 log:fastplace:3:5:cif cancel
    reach:
      active: true
      actions: cancel vl>5 log:breach:0:2:if cancel
    noswing:
      active: true
      exceptions:
      - WATER_LILY
      - FLINT_AND_STEEL
      actions: cancel vl>10 log:noswing:0:5:if cancel
    speed:
      active: true
      interval: 45
      actions: cancel vl>150 log:bpspeed:3:5:if cancel vl>1000 log:bpspeed:3:5:cif cancel
    preventmisc:
      boatsanywhere: true
  chat:
    captcha:
      active: false
      skip:
        commands: false
      characters: abcdefghjkmnpqrtuvwxyzABCDEFGHJKMNPQRTUVWXYZ2346789
      length: 6
      question: '&c请输入验证码 ''&6[captcha]&c'' 到聊天窗口.'
      success: '&a验证通过,你可以继续操作.'
      tries: 3
      actions: cancel cmd:kickcaptcha vl>4 log:captcha:2:5:cf cancel cmd:kickcaptcha
    color:
      active: true
      actions: log:color:0:1:if cancel
    commands:
      active: true
      exclusions: []
      handleaschat:
      - me
      level: 10
      shortterm:
        ticks: 18
        level: 3
      actions: log:commands:0:5:cf cancel cmd:kickcommands vl>20 log:commands:0:5:cf cancel cmd:tempkick1
    text:
      active: true
      allowVLreset: true
      frequency:
        normal:
          minimum: 0.0
          factor: 0.9
          weight: 6
          level: 160
          actions: cancel cmd:tellchatnormal vl>7 log:chatnormal:0:5:f cancel cmd:tellchatnormal vl>20 log:chatnormal:0:5:cf cancel cmd:kickchatnormal vl>40 log:chatnormal:0:5:cf cancel cmd:kickchat5
        shortterm:
          minimum: 2.0
          factor: 0.7
          weight: 3.0
          level: 20.0
          actions: log:chatfast:0:5:cf cancel cmd:kickchatfast vl>20 log:chatfast:0:5:cf cancel cmd:kickchat1 vl>40 log:chatfast:0:5:cf cancel cmd:kickchat5
      message:
        lettercount: 1.0
        partition: 1.0
        uppercase: 1.0
        afterjoin: 1.5
        nomoving: 1.5
        repeatviolation: 1.0
        repeatglobal: 1.0
        repeatself: 1.5
        words:
          lengthav: 1.0
          lengthmsg: 1.0
          noletter: 0.0
      global:
        active: true
        weight: 1.0
        words:
          active: false
        prefixes:
          active: false
        similarity:
          active: false
      player:
        active: true
        words:
          active: false
        prefixes:
          active: false
        similarity:
          active: false
    warning:
      active: true
      level: 67
      message: |-
        &e>>>
        &e>>> &c请停止发送垃圾聊天或者邮件, &e否则你会被踢出服务器.
        &e>>>
      timeout: 10
    relog:
      active: true
      timeout: 5000
      warning:
        message: '&c您操作速度过快,如果继续这样做,您将被封禁.'
        number: 1
        timeout: 60000
      kickmessage: 登陆速度过快,请稍后再试。
      actions: log:relog:0:10:cf cancel vl>20 log:relog:0:10:cf cancel cmd:tempkick5
    logins:
      active: true
      startupdelay: 600
      perworldcount: false
      seconds: 10
      limit: 10
      kickmessage: 同时登录人数过多,请稍后重试。
  combined:
    bedleave:
      active: true
      actions: cancel log:bedleave:0:5:if cmd:kickbedleave
    enderpearl:
      active: true
      preventclickblock: true
    improbable:
      active: true
      level: 300
      actions: cancel log:improbable:2:8:if
    invulnerable:
      active: true
      triggers:
        always: false
        falldistance: true
      initialticks:
        join: -1
      ignore:
      - FALL
      modifiers:
        all: 0
    munchhausen:
      active: false
      actions: cancel vl>100 cancel log:munchhausen:0:60:if
    yawrate:
      rate: 380
      penalty:
        factor: 1.0
        minimum: 250
        maximum: 2000
      improbable: true
  fight:
    canceldead: true
    toolchangepenalty: 500
    pvp:
      knockbackvelocity: default
    yawrate:
      active: true
    angle:
      active: true
      threshold: 50
      actions: cancel vl>100 log:angle:3:5:f cancel vl>250 log:angle:0:5:cif cancel
    critical:
      active: true
      cancel:
        cancel: 100
        dividedamage: 1.5
      falldistance: 0.06251
      actions: cancel vl>50 log:critical:0:5:cif cancel
    direction:
      active: true
      strict: false
      penalty: 500
      actions: cancel vl>5 log:fdirection:3:5:f cancel vl>20 log:fdirection:0:5:if cancel vl>50 log:fdirection:0:5:cif cancel
    fastheal:
      active: true
      interval: 4000
      buffer: 1000
      actions: cancel vl>10 cancel log:fastheal:0:10:i vl>30 cancel log:fastheal:0:10:if
    godmode:
      active: true
      minage: 1100
      maxage: 5000
      actions: log:godmode:2:5:if cancel vl>60 log:godmode:2:5:icf cancel
    noswing:
      active: true
      actions: cancel vl>10 log:noswing:0:5:if cancel
    reach:
      active: true
      survivaldistance: 4.4
      penalty: 500
      reduce: true
      reducedistance: 0.9
      reducestep: 0.15
      actions: cancel vl>10 log:freach:2:5:if cancel
    selfhit:
      active: true
      actions: log:fselfhit:0:5:if cancel vl>10 log:fselfhit:0:5:icf cancel cmd:kickselfhit
    speed:
      active: true
      limit: 15
      actions: cancel vl>50 log:fspeed:0:5:if cancel
      shortterm:
        ticks: 7
        limit: 6
  inventory:
    drop:
      active: true
      limit: 100
      timeframe: 20
      actions: log:drop:0:1:cif cancel cmd:dropkick:0:1
    fastclick:
      active: true
      sparecreative: true
      tweaks1_5: true
      limit:
        shortterm: 4
        normal: 15
      actions: cancel vl>50 log:fastclick:3:5:cif cancel
    instantbow:
      active: true
      strict: true
      delay: 130
      improbable:
        feedonly: false
        weight: 0.6
      actions: cancel vl>15 log:instantbow:2:5:if cancel
    instanteat:
      active: true
      actions: log:instanteat:2:5:if cancel
    fastconsume:
      active: true
      duration: 0.7
      whitelist: false
      items: []
      actions: log:fastconsume:2:5:if cancel
    gutenberg:
      active: true
      actions: cancel log:gutenberg:0:10:icf cmd:kickinvaliddata
    items:
      active: true
    open:
      active: true
      close: true
      cancelother: true
    hotfix:
      duplication:
        fallingblockendportal: true
  moving:
    creativefly:
      active: true
      ignoreallowflight: true
      ignorecreative: false
      model:
        creative:
          horizontal:
            speed: 100
          vertical:
            ascend:
              speed: 100
            maxheight: 128
        spectator:
          horizontal:
            speed: 450
          vertical:
            ascend:
              speed: 170
            maxheight: 128
          gravity: false
          ground: false
        levitation:
          horizontal:
            speed: 50
          vertical:
            ascend:
              speed: 10
            maxheight: 128
            gravity: false
          modifiers: false
          gravity: false
          ground: false
        elytra:
          horizontal:
            speed: 520
            modsprint: 1.0
          vertical:
            ascend:
              speed: 0
            maxheight: 128
          modifiers: false
      actions: log:flyfile:3:5:f cancel vl>100 log:flyshort:0:5:i log:flyfile:0:5:f cancel vl>400 log:flylong:0:5:i log:flyfile:0:5:cf cancel
    morepackets:
      active: true
      seconds: 6
      epsideal: 20
      epsmax: 22
      burst:
        packets: 40
        directviolation: 60
        epmviolation: 180
      setbackage: 40
      actions: cancel vl>10 log:morepackets:0:2:if cancel vl>100 log:morepackets:0:2:if cancel cmd:kickpackets
    nofall:
      active: true
      dealdamage: true
      skipallowflight: true
      resetonviolation: false
      resetonteleport: false
      resetonvehicle: true
      anticriticals: true
      actions: log:nofall:0:5:if cancel vl>30 log:nofall:0:5:icf cancel
    passable:
      active: true
      actions: cancel vl>10 log:passable:0:5:if cancel vl>50 log:passable:0:5:icf cancel
      untracked:
        teleport:
          active: true
        command:
          active: true
          tryteleport: true
          prefixes:
          - sethome
          - home set
          - setwarp
          - warp set
          - setback
          - set back
          - back set
    survivalfly:
      active: true
      extended:
        vertical-accounting: true
      stepheight: default
      hbufmax: 1.0
      setbackpolicy:
        falldamage: true
        voidtovoid: true
      actions: log:flyfile:3:10:f cancel vl>100 log:flyshort:0:10:i log:flyfile:0:10:f cancel vl>400 log:flylong:0:5:i log:flyfile:0:5:cf cancel vl>1500 log:flylong:0:5:i log:flyfile:0:5:cf cancel cmd:kickfly
      hover:
        active: true
        step: 5
        ticks: 85
        loginticks: 60
        falldamage: true
        sfviolation: 500
    velocity:
      activationcounter: 80
      activationticks: 140
      strictinvalidation: true
    splitmoves: default
    ignorestance: default
    tempkickillegal: true
    loadchunks:
      join: true
      move: true
      teleport: true
      worldchange: true
    sprintinggrace: 2.0
    assumesprint: true
    speedgrace: 4.0
    enforcelocation: default
    setback:
      method: default
    vehicle:
      preventdestroyown: true
      enforcelocation: default
      schedulesetbacks: default
      morepackets:
        active: true
        actions: cancel vl>10 log:morepackets:0:2:if cancel
      envelope:
        active: default
        actions: cancel vl>100 cancel log:vehicleenvelope:0:15:icf
    message:
      illegalplayermove: Illegal move.
      illegalvehiclemove: Illegal vehicle move.
  net:
    attackfrequency:
      active: true
      limitforseconds:
        half: 10
        one: 15
        two: 30
        four: 60
        eight: 100
      actions: cancel vl>30 cancel log:attackfrequency:0:5:if vl>160 cancel log:attackfrequency:0:0:cif cmd:kickattackfrequency
    flyingfrequency:
      active: true
      seconds: 5
      packetspersecond: 60
      actions: cancel
      reduceredundant:
        active: true
        seconds: 3
        actions: cancel
    keepalivefrequency:
      active: true
      actions: cancel vl>10 cancel log:keepalive:0:10:if vl>40 cancel log:keepalive:0:10:icf vl>100 cancel log:keepalive:0:10:icf cmd:kickalive
    packetfrequency:
      active: default
      limitpersecond: 200
      seconds: 4
      actions: cancel cmd:kickpacketfrequency
    sounddistance:
      active: true
      maxdistance: 320
    superseded:
      flying:
        cancelwaiting: true
strings:
  angle: '[player] 反作弊 [check]: 试图同时击中多个实体. 违规 [violations].'
  attackfrequency: '[player] 反作弊 [check]: 攻击频率过高 ([packets]/[limit], [tags]). 违规 [violations].'
  ban: ban [player]
  ban-ip: ban-ip [ip]
  bautosign: '[player] 反作弊 [check]: failed autosign with [tags]. 违规 [violations].'
  bbfrequency: '[player] 反作弊 [check]: 试图在时间范围内打破太多的障碍方块. 违规 [violations].'
  bdirection: '[player] 反作弊 [check]: 试图与视线之外的障碍物互动. 违规 [violations].'
  bedleave: '[player] 反作弊 [check]: 发送错误数据包（不在位置上）. 违规 [violations].'
  bpspeed: '[player] 反作弊 [check]: 试图太快的扔东西. 违规 [violations].'
  breach: '[player] 反作弊 [check]: 超过方块互动距离 ([reachdistance]). 违规 [violations].'
  bspeed: '[player] 反作弊 [check]: 互动过快. 违规 [violations].'
  bvisible: '[player] 反作弊 [check]: 与看不见的方块互动. 违规 [violations].'
  bwrong: '[player] 反作弊 [check]: 同时打破了另一块方块. 违规 [violations].'
  captcha: '[player] 反作弊 输入验证码异常. 违规 [violations].'
  chatnormal: '[player] 反作弊 [check]: 发送了违规聊天消息. 违规 [violations].'
  color: '[player] 反作弊 [check]: 发送彩色聊天消息. 违规 [violations].'
  commands: '[player] 反作弊 [check]: 一段时间内发出太多命令. 违规 [violations].'
  combspeed: '[player] 反作弊 [check]: 高速发生了不同的动作. 违规 [violations].'
  critical: '[player] 反作弊 [check]: 试图做出致命一击，但人物上并没有跳起来打,疑似作弊端 [tags]. 违规 [violations].'
  drop: '[player] 反作弊 [check]: 尝试一次性丢出物品过多. 违规 [violations].'
  dropkick: 反作弊踢出玩家 [player] 丢出物品过快.
  fastbreak: '[player] 反作弊 [check]: 破坏方块过快 ([blocktype]) 疑似作弊端. 违规 [violations].'
  fastclick: '[player] 反作弊 [check]: 移动背包物品过快,疑似一键整理. 违规 [violations].'
  fastconsume: '[player] 反作弊 [check]: 消耗[吃]物品 [food] [tags] 的速度过快. 违规 [violations].'
  fastheal: '[player] 反作弊 [check]: 检测当前比正常回血速度过快 (health [health]). 违规 [violations].'
  fastplace: '[player] 反作弊 [check]: 尝试同时放置物品过多,疑似一键建筑. 违规 [violations].'
  fdirection: '[player] 反作弊 [check]: 试图攻击不在实现范围内的实体. 违规 [violations].'
  flyshort: '[player] 反作弊 [check]: 玩家位置异常. 违规 [violations].'
  flylong: '[player] 反作弊 [check]: 玩家位置异常: [locationfrom] -> [locationto], d=[distance] ([tags]). 违规 [violations].'
  flyfile: '[player] 反作弊 [check]: 玩家位置异常: [locationfrom] -> [locationto], d=[distance] ([tags]). 违规 [violations].'
  freach: '[player] 反作弊 [check]: 尝试攻击距离打不到的实体. 违规 [violations].'
  fselfhit: '[player] 反作弊 [check]: 尝试打死自己. 违规 [violations].'
  fspeed: '[player] 反作弊 [check]: 尝试高频率的攻击状态. 违规 [violations].'
  gutenberg: '[player] 反作弊 [check]: 尝试写了一本书,但是书里内容过多. 违规 [violations].'
  godmode: '[player] 反作弊 [check]: 尝试让物品不掉耐久度 (health [health]). 违规 [violations].'
  improbable: '[player] 反作弊 [check]: 发生了不可能的操作,超出正常逾期的可能性. 违规 [violations].'
  instantbow: '[player] 反作弊 [check]: 发射弓箭过快. 违规 [violations].'
  instanteat: '[player] 反作弊 [check]: 消耗[吃] [food] 过快. 违规 [violations].'
  keepalive: '[player] 反作弊 [check]: 频繁发送垃圾邮件或者数据包. 违规 [violations].'
  kick: kick [player] 你被反作弊踢出.
  kickalive: kick [player] 频繁发送垃圾邮件或者数据包.
  kickattackfrequency: kick [player] 点击过快.
  kickbedleave: kick [player] 禁止自动寻找床的位置!
  kickbspeed: kick [player] 玩家互动过快!
  kickcaptcha: kick [player] 需要输入验证码!
  kickchat1: kick [player] 频繁发送垃圾邮件或者数据包!
  kickchat5: kick [player] 频繁发送垃圾邮件或者数据包!
  kickchatfast: kick [player] 不允许您在聊天中发送垃圾邮件!
  kickchatnormal: kick [player] 你发送的聊天消息太多.
  kickcommands: kick [player] 您不可以发送垃圾邮件或命令
  kickfly: kick [player] 禁止异常飞行.
  kickfrequency: kick [player] 你的操作过快!
  kickgod: kick [player] 异常的上帝模式.
  kickinvaliddata: kick [player] 发送无效的数据包.
  kickpacketfrequency: kick [player] 发送无效的数据包.
  kickpackets: kick [player] 发送无效的数据包.
  kickselfhit: kick [player] 你试图把自己打死!
  kickwb: kick [player] 禁止同时破坏多个方块.
  knockback: '[player] 反作弊 [check]: 尝试击退实体,但是玩家操作异常. 违规 [violations].'
  morepackets: '[player] 反作弊 [check]: 同时发生了过多的操作 ([packets] [tags]). 违规 [violations].'
  msgtempdenylogin: 反作弊将你暂时被禁止加入该服务器.
  munchhausen: '[player] 反作弊 [check]: 差点跌进某处地方. 违规 [violations].'
  nofall: '[player] 反作弊 [check]: 尝试更改掉落伤害 ([tags]). 违规 [violations].'
  chatfast: '[player] 反作弊 [check]: 发送垃圾邮件 (IP: [ip]). 违规 [violations].'
  noswing: '[player] 反作弊 [check]: 没有移动攻击位置. 违规 [violations].'
  passable: '[player] 反作弊 [check]: 异常移动方块 ([blocktype]) 位置 [locationfrom] 到 [locationto] 距离 [distance] . 违规 [violations].'
  relog: '[player] 反作弊 [check]: 日志记录过快. 违规 [violations].'
  tellchatnormal: 'ncp tell [player] &c反作弊: &e你发送的消息太多.'
  tempkick1: kick [player] 攻击异常.请稍后攻击!
  tempkick5: kick [player] 你有五分钟的冻结时间!
  vehicleenvelope: '[player] 反作弊 [check]: 移动物品过快 ([tags]). 违规 [violations].'
compatibility:
  managelisteners: false
  exemptions:
    wildcard:
      default:
        metadata:
          active: true
          keys:
          - nocheat.exempt
      npc:
        active: true
        bukkitnpc: true
        metadata:
          active: true
          keys:
          - NPC
    remove:
      join: true
      leave: true
  server:
    cbdedicated:
      enable: true
    cbreflect:
      enable: true
  blocks:
    allowinstantbreak: []
    overrideflags:
      snow: default
      piston_moving_piece: default+ign_passable+ground_height
    changetracker:
      active: true
      pistons: true
      maxageticks: 80
      perworld:
        maxentries: 1000
