Minecraft(我的世界)中文论坛

标题: 如何禁止/取消一个世界的建筑权限(如何将groupmanager世界权限分离)

作者: qq1341581495    时间: 2015-2-25 09:01
标题: 如何禁止/取消一个世界的建筑权限(如何将groupmanager世界权限分离)
RT,如果会groupmanager权限分离的话,请告诉我,万分感谢!
作者: 尼克尼    时间: 2015-2-25 09:01
在Groupmanager文件夹的worlds文件夹把world那个权限文件夹复制一份,改为你想要改权限的世界名字,重启就,独立分开了
作者: qq1341581495    时间: 2015-2-25 09:06
在线等,别沉
作者: qq1341581495    时间: 2015-2-25 09:11
救命啊
作者: qq1341581495    时间: 2015-2-25 09:17
help me
求助啊
作者: qq1341581495    时间: 2015-2-25 09:36
别沉
作者: qq1341581495    时间: 2015-2-25 09:55
雅蠛蝶,别沉啊,我这是挖坟了么?
作者: qq1341581495    时间: 2015-2-25 09:56
我无聊发个config谁帮忙改一下
  1. settings:
  2.   config:
  3.     # With this enabled anyone set as op has full permissions when managing GroupManager
  4.     # The user will be able to promote players to the same group or even above.
  5.     opOverrides: true
  6.    
  7.     # Default setting for 'mantogglevalidate'
  8.     # true will cause GroupManager to attempt name matching by default.
  9.     validate_toggle: true
  10.     # ************************************************************************************************************************************************************
  11.     # *** NOTE: Having this feature enabled can allow improper use of Command Blocks which may lead to undesireable permission changes. You have been warned! ***
  12.     # ************************************************************************************************************************************************************
  13.     allow_commandblocks: false
  14.    
  15.   data:
  16.     save:
  17.       # How often GroupManager will save it's data back to groups.yml and users.yml
  18.       minutes: 10
  19.       # Number of hours to retain backups (plugins/GroupManager/backup)
  20.       hours: 24
  21.       
  22.   logging:
  23.     # Level of detail GroupManager will use when logging.
  24.     # Acceptable entries are - ALL,CONFIG,FINE,FINER,FINEST,INFO,OFF,SEVERE,WARNING
  25.     level: INFO
  26.    
  27.   mirrors:
  28.         # Worlds listed here have their settings mirrored in their children.
  29.         # The first element 'world' is the main worlds name, and is the parent world.
  30.         # subsequent elements 'world_nether' and 'world_the_end' are worlds which will use
  31.         # the same user/groups files as the parent.
  32.         # the element 'all_unnamed_worlds' specifies all worlds that aren't listed, and automatically mirrors them to it's parent.
  33.         # Each child world can be configured to mirror the 'groups', 'users' or both files from its parent.
  34.         world:
  35.           world_nether:
  36.           - users
  37.           - groups
  38.           world_the_end:
  39.           - users
  40.           - groups
  41.           all_unnamed_worlds:
  42.           - users
  43.           - groups
  44.     #  world2:      (World2 would have it's own set of user and groups files)
  45.     #    world3:
  46.     #    - users    (World3 would use the users.yml from world2, but it's own groups.yml)
  47.     #    world4:
  48.     #    - groups   (World4 would use the groups.yml from world2, but it's own users.yml)
  49.     #  world5:
  50.     #    - world6   (this would cause world6 to mirror both files from world5)
复制代码

作者: qq1341581495    时间: 2015-2-25 10:19
尼克尼 发表于 2015-2-25 10:10
在Groupmanager文件夹的worlds文件夹把world那个权限文件夹复制一份,改为你想要改权限的世界名字,重启就 ...

报错:
  1. 2015-02-25 10-19
  2. =============================== GM 错误报告 ===============================
  3. = = = 错 误 报 告 = = = 2.0 (Pre2.10.1.4) (Phoenix) =

  4. java.lang.IllegalArgumentException: 下列文件无法解析.
  5. plugins\GroupManager\worlds\world\groups.yml
  6.         at org.anjocaido.groupmanager.dataholder.WorldDataHolder.loadGroups(WorldDataHolder.java:496)
  7.         at org.anjocaido.groupmanager.dataholder.WorldDataHolder.loadGroups(WorldDataHolder.java:416)
  8.         at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.loadWorld(WorldsHolder.java:637)
  9.         at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.loadWorld(WorldsHolder.java:599)
  10.         at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.initialWorldLoading(WorldsHolder.java:88)
  11.         at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.initialLoad(WorldsHolder.java:78)
  12.         at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.resetWorldsHolder(WorldsHolder.java:70)
  13.         at org.anjocaido.groupmanager.dataholder.worlds.WorldsHolder.<init>(WorldsHolder.java:59)
  14.         at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:169)
  15.         at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:93)
  16.         at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250)
  17.         at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350)
  18.         at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:389)
  19.         at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439)
  20.         at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375)
  21.         at org.bukkit.craftbukkit.v1_7_R1.CraftServer.reload(CraftServer.java:773)
  22.         at org.bukkit.Bukkit.reload(Bukkit.java:279)
  23.         at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23)
  24.         at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175)
  25.         at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683)
  26.         at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(CraftServer.java:670)
  27.         at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:286)
  28.         at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:251)
  29.         at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545)
  30.         at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457)
  31.         at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
  32. Caused by: mapping values are not allowed here
  33. in "<reader>", line 26, column 33:
  34.         default: true    permissions: []
  35.                                     ^

  36.         at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733)
  37.         at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305)
  38.         at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
  39.         at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
  40.         at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
  41.         at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
  42.         at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
  43.         at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
  44.         at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
  45.         at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
  46.         at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
  47.         at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
  48.         at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
  49.         at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
  50.         at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
  51.         at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
  52.         at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
  53.         at org.anjocaido.groupmanager.dataholder.WorldDataHolder.loadGroups(WorldDataHolder.java:491)
  54.         ... 25 more

  55. ============================================================================
复制代码

作者: qq1341581495    时间: 2015-2-25 10:26
尼克尼 发表于 2015-2-25 10:10
在Groupmanager文件夹的worlds文件夹把world那个权限文件夹复制一份,改为你想要改权限的世界名字,重启就 ...

我自己在bukkit上找到了更正的方法,自己解决了,不过还是多谢你了
  1. groups:
  2.    Default:
  3.        default: true
  4.        permissions:
  5.        - essentials.help
  6.        - essentials.help.*
  7.        - -essentials.help.factions
  8.        - essentials.helpop
  9.        - essentials.list
  10.        - essentials.motd
  11.        - essentials.rules
  12.        - essentials.spawn
  13.        - essentials.eco
  14.        inheritance: []
  15.        info:
  16.           prefix: '&e'
  17.           build: false
  18.           suffix: ''
  19.    Builder:
  20.        default: false
  21.        permissions:
  22.        - essentials.home
  23.        - essentials.me
  24.        - essentials.msg
  25.        - essentials.sethome
  26.        - essentials.warp
  27.        inheritance:
  28.        - default
  29.        info:
  30.          prefix: '&2'
  31.          build: true
  32.          suffix: ''
复制代码

作者: qq1341581495    时间: 2015-2-25 10:28
尼克尼 发表于 2015-2-25 10:10
在Groupmanager文件夹的worlds文件夹把world那个权限文件夹复制一份,改为你想要改权限的世界名字,重启就 ...

发错,config是:
  1. settings:
  2.   config:
  3.     # With this enabled anyone set as op has full permissions when managing GroupManager
  4.     # The user will be able to promote players to the same group or even above.
  5.     opOverrides: true
  6.    
  7.     # Default setting for 'mantoglevalidate'
  8.     # true will cause GroupManager to attempt name matching by default.
  9.     validate_toggle: true
  10.    
  11.   data:
  12.     save:
  13.       # How often GroupManager will save it's data back to groups and users.yml
  14.       minutes: 10
  15.       # Number of hours to retain backups (plugins/GroupManager/backup)
  16.       hours: 24
  17.       
  18.   logging:
  19.     # level of detail GroupManager will use when logging.
  20.     # Acceptable entries are - ALL,CONFIG,FINE,FINER,FINEST,INFO,OFF,SEVERE,WARNING
  21.     level: INFO
  22.    
  23.   mirrors:
  24.         # Worlds listed here have their settings mirrored in their children.
  25.         # The first element 'world' is the main worlds name
  26.         # subsequent elements 'world_nether' and 'world_the_end' are worlds which will use
  27.         # the same user/groups files as the parent.
  28.         # Each child world can be configured to mirror the 'groups', 'users' or both files from it's parent.
  29.         world:
  30.           world_nether:
  31.           - users
  32.           - groups
  33.           world_the_end:
  34.           - users
  35.           - groups
  36.     #  world2:      (World2 would have it's own set of user and groups files)
  37.     #    world3:
  38.     #    - users    (World3 would use the users.yml from world2, but it's own groups.yml)
  39.     #    world4:
  40.     #    - groups   (World4 would use the groups.yml from world2, but it's own users.yml)
  41.     #  world5:
  42.     #    - world6   (this would cause world6 to mirror both files from world5)
复制代码

作者: lpc123123    时间: 2015-2-25 10:43
提示: 作者被禁止或删除 内容自动屏蔽
作者: 上白丶慧泽音    时间: 2015-2-25 12:24

/plugins/GroupManager/
        world:
          world_nether:
          - users
          - groups
          world_the_end:
          - users
          - groups
          你所需的世界名字:
          - users
          all_unnamed_worlds:
          - users
          - groups

然后打开/plugins/GroupManager/worlds/你输入的世界名字
找到groups打开然后找到Builder
    info:
      prefix: ''
      build: false 这里弄false
      suffix: ''
然后添加   
    - essentials.build.drop.*
    - essentials.build.interact.*
    - essentials.build.pickup.*
作者: 矿工小周    时间: 2015-2-25 13:39
13楼正确!补充这样是使得两个世界完全分开。所以接下来你要装插件给插件的权限的话必须要两个都设置
在游戏里的命令有/manselect 世界名称之后 来操作,命令远比配置靠谱但分开世界还是要靠配置