啦啦啦1q2w3e
            下载了一个古代战争2的MOD,使用NPC时发现NPC无法收集资源(砍树 挖矿)
            单人试了下是可以破坏的,只可能是插件的问题
           各位大佬帮忙看看那些插件是会限制NPC破坏方块,并且告诉一下怎么修改



xmdhs
ess antibuild 什么的,领地,地皮什么的,其他的应该没了

a1294790523
https://github.com/P3pp3rF1y/Anc ... y/AWFakePlayer.java
古代战争2使用了fakeplayer
你看看在登录插件(authme)允许看看?
打开登陆插件的配置(config.yml)
然后找到
  1.   unrestrictions:
复制代码

这样设置:
  1.   unrestrictions:
  2.     UnrestrictedName:
  3.     - 'AncientWarfareFakePlayer'
复制代码

另外在上面还要把
  1. AllowRestrictedUser: false
复制代码

改成
  1. AllowRestrictedUser: true
复制代码



啦啦啦1q2w3e
a1294790523 发表于 2019-7-8 11:08
https://github.com/P3pp3rF1y/AncientWarfare2/blob/c24b848adfa93b57c4caf11fe681e3c3a46b195e/src/main/ ...

按照步骤已经修改 还是不行        # UnrestrictedName:
        # - 'n**layer'
        # - 'n**layer2'
        # - 'AncientWarfareFakePlayer'
        UnrestrictedName: []

# to enable this option and configure the AllowedRestrictedUser field.
        AllowRestrictedUser: true
        # The restricted user feature will kick players listed below

a1294790523
本帖最后由 a1294790523 于 2019-7-8 11:49 编辑
啦啦啦1q2w3e 发表于 2019-7-8 11:38
按照步骤已经修改 还是不行        # UnrestrictedName:
        # - 'n**layer'
        # - 'n**layer2 ...

  1. UnrestrictedName: []
复制代码

换成

  1. UnrestrictedName:
  2.   - 'AncientWarfareFakePlayer'
复制代码

啦啦啦1q2w3e

改完之后,服务器可以启动但是马上就会自动关闭服务器(要不我把登录插件删了算了吧(绝望
只是登录插件的问题是么

啦啦啦1q2w3e

正在关闭服务器......
08.07 12:19:28 [服务器] 警告 [12:19:28][FINE/CustomNPCs][noppes.npcs.controllers.DialogController:46] Done loading Dialogs
08.07 12:19:28 [服务器] 警告 [12:19:28][FINE/CustomNPCs][noppes.npcs.controllers.DialogController:44] 正在载入 Dialogs 08.07 12:19:28 [服务器] 启动完毕 (41.092s)! 输入help可获取更多控制台指令

a1294790523
啦啦啦1q2w3e 发表于 2019-7-8 12:22
改完之后,服务器可以启动但是马上就会自动关闭服务器(要不我把登录插件删了算了吧(绝望
只是登录插件的 ...

你把登录插件的配置发出来
我配置一下吧
你配置有问题

啦啦啦1q2w3e
a1294790523 发表于 2019-7-8 12:27
你把登录插件的配置发出来
我配置一下吧
你配置有问题

我刚把登录插件删了 还是不能运行
麻烦能加一下QQ嘛 我把后台给你
我QQ 1902337222

a1294790523
本帖最后由 a1294790523 于 2019-7-8 14:00 编辑
啦啦啦1q2w3e 发表于 2019-7-8 12:33
我刚把登录插件删了 还是不能运行
麻烦能加一下QQ嘛 我把后台给你
我QQ 1902337222 ...

加了,我QQ1294790523,请确认
联系上后排除法发现是ess自带的antibuild插件的问题,删除后配置authme为如下配置即可:

  1.         # To activate the restricted user feature you need
  2.         # to enable this option and configure the AllowedRestrictedUser field.
  3.         AllowRestrictedUser: true
  4. (省略N个字符)
  5.     unrestrictions:
  6.         # Below you can list all account names that AuthMe will ignore
  7.         # for registration or login. Configure it at your own risk!!
  8.         # This option adds compatibility with BuildCraft and some other mods.
  9.         # It is case-insensitive! Example:
  10.         # UnrestrictedName:
  11.         # - 'n**layer'
  12.         # - 'n**layer2'
  13.         UnrestrictedName:
  14.         - 'AncientWarfareFakePlayer'
  15.         - 'AncientWarfare'
复制代码



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