s3351553


8086117
本帖最后由 8086117 于 2013-11-30 18:41 编辑

插件\Residence config 配置文件修改

如果你是OP 直接用管理员的
/resadmin create 名字


s3351553
8086117 发表于 2013-11-30 18:39
插件\Residence config 配置文件修改

如果你是OP 直接用管理员的

#These are Global Settings for Residence.
Global:
    # This loads the <language>.yml file in the Residence Language folder
    # All Residence text comes from this file. (NOT DONE YET)
    Language: Chinese
    # Wooden Hoe is the default selection tool for Residence.
    # You can change it to another item ID listed here: http://www.minecraftwiki.net/wiki/Data_values
    SelectionToolId: 290
    # This determins which tool you can use to see info on residences, default is String.
    # Simply equip this tool and hit a location inside the residence and it will display the info for it.
    InfoToolId: 287
    # The interval, in milliseconds, between movement checks.
    # Reducing this will increase the load on the server.
    # Increasing this will allow players to move further in movement restricted zones before they are teleported out.
    MoveCheckInterval: 500
    # The interval, in minutes, between residence saves.
    SaveInterval: 10
    # The default group to use if Permissions fails to attach or your not using Permissions.
    DefaultGroup: default
    # Enable / Disable the Lease System.
    UseLeaseSystem: false
    # The interval, in minutes, between residence lease checks (if leases are enabled).
    LeaseCheckInterval: 10
    # Allows leases to automatically renew so long as the player has the money, if economy is disabled, this setting does nothing.
    LeaseAutoRenew: true
    # Whether or not to use the Permissions system in conjunction with this config.
    EnablePermissions: true
    # Set to true if NOT using Permissions or PermissionsBukkit, or using a really old version of Permissions
    LegacyPermissions: false
    # Enable / Disable Residence's Economy System (iConomy, MineConomy, Essentials, BOSEconomy, and RealEconomy supported).
    EnableEconomy: true
    # Enables or disables the Rent System
    EnableRentSystem: false
    # The interval, in minutes, between residence rent expiration checks (if the rent system is enabled).
    RentCheckInterval: 10
    # Enable or disable residence chat channels.
    ResidenceChatEnable: true
    # Color of residence chat.
    ResidenceChatColor: DARK_PURPLE
    # Whether or not to ignore the usual Permission flags and only allow OPs and groups with 'residence.admin' to change residences.
    AdminOnlyCommands: false
    # Setting this to true makes server OPs admins.
    AdminOPs: true
    # This is the name of the plugin you use for multiworld, if you dont have a multiworld plugin you can safely ignore this.
    # The only thing this does is check to make sure the multiworld plugin is enabled BEFORE Residence, to ensure properly loading residences for other worlds.
    MultiWorldPlugin: Multiverse-Core
    # Setting this to true causes subzones to inherit flags from their parent zones.
    ResidenceFlagsInherit: true
    # Setting this to false will allow rented residences to be modified by the renting player.
    PreventRentModify: true
    # Setting this to false will cause residence to continue to load even if a error is detected in the save file.
    StopOnSaveFault: true
    # This is the residence name filter, that filters out invalid characters.  Google "Java RegEx" or "Java Regular Expressions" for more info on how they work.
    ResidenceNameRegex: '[^a-zA-Z0-9\\-\\_]'
    # Setting this to true sends a message to the console every time Residence does a rent expire check or a lease expire check.
    ShowIntervalMessages: false
    # Experimental - The following settings are lists of block IDs to be used as part of the checks for the "container" and "use" flags when using mods.
    CustomContainers: []
    CustomBothClick: []
    CustomRightClick: []
    # These are world flags that are applied when the player is NOT within a residence.
    Flags:
        Global: #these are default for all worlds unless specified below, they can be overridden per group
            use: true
            build: true
            ignite: true
            firespread: true
            damage: true
            creeper: true
            tnt: true
            pvp: true
            lavaflow: false
        WorldNameHere: #here you can set flags for individual worlds, these override Global
            #build: true
    # This gives permission to change certain flags to all groups, unless specifically denied to the group.
    FlagPermission:
        move: true
        build: true
        place: true
        destroy: true
        use: true
        container: true
        pvp: true
        tp: true
        ignite: true
        firespread: true
        bucket: true
        flow: true
        lavaflow: true
        waterflow: true
        creeper: true
        tnt: true
        monsters: true
        animals: true
        subzone: true
        healing: true
        piston: true
        diode: true
        lever: true
        button: true
        door: true
        table: true
        enchant: true
        brew: true
        bed: true
        cake: true
        note: true
        trample: false
        burn: true
        explode: false
        fireball: true
    # These are default flags applied to all residences from any user group.
    ResidenceDefault:
        build: false
        use: false
        container: false
        pvp: false
        tnt: false
        creeper: false
        flow: false
        piston: false
        ignite: false
        firespread: false
    # These are default flags applied to the residence creator of any group.
    CreatorDefault:
        build: true
        move: true
        use: true
        ignite: true
        container: true
     # These are default group flags applied to a residence made by a user of any group.
    GroupDefault:
        #default: #group name
            #build: true
   
# These groups correspond to the Permissions groups defined in your '<worldname>.yml'
Groups:
    Default: #group name
       # Information about the Residence zone that the player can define.
       #Uncomment the lines below to mirror this config to other groups.
       #Mirror:
         #- 'group1'
         #- 'group2'
       Residence:
           # Determins if this group can create residences or not.  This option can be overriden with the permissions node 'residence.create'
           CanCreate: true
           # The maximum number of Residences a player can have.
           MaxResidences: 3
           # The maximum number of physical areas a residence can have.
           MaxAreasPerResidence: 2
           # The maximum number of blocks a Residence can be, East to West (X).
           MaxEastWest: 16
           # The maximum number of blocks a Residence can be, North to South (Z).
           MaxNorthSouth: 16
           # The maximum number of blocks a Residence can be, High to Low (Y).
           MaxUpDown: 256
           # The lowest altitude this group is allowed to protect.
           MinHeight: 0
           # The highest altitude this group is allowed to protect.
           MaxHeight: 255
            # The maximum recursive depth that subzones can go.
            # A subzone within a subzone within the Residence zone would be a depth of 2.
            # Set to 0 to disable subzones.
           SubzoneDepth: 3
           # Whether or not to allow teleporting to Residences.
           CanTeleport: true
           # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
           Unstuck: true
           # Allow or Disallow the use of the /res select command, if disabled they can only use the selection tool.
           SelectCommandAccess: true
           # Allow or Disallow the group to access the Blacklist/Ignorelist for residences they own.
           ItemListAccess: true
       # Options relating to enter and leave messages on the residence.
       Messaging:
           # Whether or not the player can change the Residence enter and leave messages.
           CanChange: true
           # The default enter message to apply to new Residences created by players in this group.
           # Leaving the message blank will disable it.
           DefaultEnter: Welcome %player to %residence, owned by %owner.
           # The default leave message to apply to new Residences created by players in this group.
           # Leaving the message blank will disable it.
           DefaultLeave: Now leaving %residence.
       # Options relating to the Lease system.
       Lease:
          # The maximum number of days to allow leases.
          MaxDays: 16
          # The number of days to add to the lease following a '/res lease renew' command.
          RenewIncrement: 14
       #Options related to the rent system
       Rent:
           #determines how many residences can be rented by players of this group at once
           MaxRents: 3
           #determines how many residences can be set for rent by players of this group at once
           MaxRentables: 3
       # Options relating to the Residence Economy.
       Economy:
          # Whether or not players in this group can buy other Residences that are for sale.
          CanBuy: true
          # Whether or not players in this group can sell their Residences.
          CanSell: false
          # Whether or not to ignore the Residence size/count limits when buying a residence.
          IgnoreLimits: false
          # The cost, per block, of making a new Residence or adding a area to it.
          BuyCost: 0.05
          # The cost, per block, of renewing a Residence lease (if the lease system is enabled).
          RenewCost: 0.02
       # Flags are checked in the order:
       # 1: Player
       # 2: Group
       # 3: Owner
       # 4: If all others are undefined, reverts to default value (usually true).
       # Flag permissions default to false.
       # These flags settings override the globals.
       Flags:
          # Specifically allow or deny this group from changing certain flags.
          Permission:
               #build: true
          # Specifys the flags that are applied at residence creation for players of this group.
          Default:
              #build: true
          # Specifys the flags that are applied at to the creator at residence creation.
          CreatorDefault:
              #build: true
          # Specifys the flags that are applied to other groups for this residence, at creation.
          GroupDefault:
               #default: #group name
                   #build: false
          #these flags are applied specifically to this group whenever they are outside a residence
          #these flags will override the flags at the top, under the Global section.
          World:
                Global: #these flags will apply to all worlds
                     #build: false
                WorldNameHere: #or you can apply them by each individual world
                     #build: false

# You can manually specify the group a player is in below, this overrides their permissions group.
GroupAssignments:
     bekvon: default
     player: default

ItemList: #this is where you can create blacklists / whitelists
     DefaultList: #list name is not important, as long as it is unique. Its good to use a descripive name.
        #type of the list, can be blacklist, whitelist, or ignorelist
        Type: blacklist
        #If you want, you can have this list only apply to one world, otherwise it applys to all worlds
        #World: world
        #You can also have the list apply only to one group, otherwise it applys for all groups
        #Group: default
        #this is the actual list of material names that this list allows or dissallows
        #You can look up the material name by item ID in game by typing /res material <id>
        #Alternativly, you can simply use the item ID in the list, but its less descriptive and harder to see what the list allows or dissallows at a glance
        Items:
           - 'BEDROCK'
           - 'LAVA'
           - 'WATER'
           - 'STATIONARY_LAVA'
           - 'STATIONARY_WATER'
           - 'MOB_SPAWNER'
# Used to determine which major revision of Residence this config is from, dont change this.
ResidenceVersion: 2
改哪个、而且文件格式是YML不能更改啊

8086117
MaxAreasPerResidence: 2
           # The maximum number of blocks a Residence can be, East to West (X).
           MaxEastWest: 16
           # The maximum number of blocks a Residence can be, North to South (Z).
           MaxNorthSouth: 16
           # The maximum number of blocks a Residence can be, High to Low (Y).
           MaxUpDown: 256

s3351553
8086117 发表于 2013-11-30 18:55
MaxAreasPerResidence: 2
           # The maximum number of blocks a Residence can be, East to West  ...

   MaxUpDown: 256
这是什么意思、还有格式是YML的文件要怎么更改

8086117
256 肯定是高度了。。
笔记本TXT 修改

s3351553
8086117 发表于 2013-11-30 18:55
MaxAreasPerResidence: 2
           # The maximum number of blocks a Residence can be, East to West  ...

表示用笔记本还是不能修改、。不过多谢

s3351553
8086117 发表于 2013-11-30 18:55
MaxAreasPerResidence: 2
           # The maximum number of blocks a Residence can be, East to West  ...

为何我改成了TXT格式但是还是原来那种YML的打开方式

8086117
改格式 或者右击 打开方式选TXTX

s3351553
8086117 发表于 2013-11-30 19:12
改格式 或者右击 打开方式选TXTX

改不回去了怎么办、、、

HGK
s3351553 发表于 2013-11-30 18:52
#These are Global Settings for Residence.
Global:
    # This loads the .yml file in the Residenc ...

#这些都是居住全局设置。
全球:
    #这将加载在公寓语言文件夹中的<LANGUAGE> YML文件。
    #所有公寓文字来源于此文件。(尚未完成)
    语言:中国
    #木锄是默认选择工具居留。
    #你可以将其更改为这里列出的另一个项目编号:http://www.minecraftwiki.net/wiki/Data_values
    &#8203;&#8203;SelectionToolId:290
    #这determins它的工具,你可以用它来 &#8203;&#8203;看到住所信息,默认为String。
    #只要掌握这个工具,并击中了住宅内的位置,它会显示它的信息。
    InfoToolId:287
    #间隔,单位为毫秒,运动检查之间。
    #减少这会增加服务器的负载。
    #增加,这将让玩家进一步在移动限制区,他们是被传出来前移动。
    MoveCheckInterval:500
    #时间间隔,以分钟为单位,居住地之间的扑救。
    SaveInterval:10
    #默认如果权限不重视或不使用权限组来使用。
    默认组:默认
    #启用/禁用租赁系统。
    UseLeaseSystem:假的
    。#间隔,以分钟为单位,住所租赁检查之间(如果启用了租赁)
    LeaseCheckInterval:10
    #允许租赁,以自动更新,只要玩家有足够的资金,如果经济被禁用,此设置不执行任何操作。
    LeaseAutoRenew:真
    #是否使用该系统的权限与此配置相结合。
    EnablePermissions:真
    #设置为true,如果不要使用权限或PermissionsBukkit,或者使用一个真正的老版本权限的
    LegacyPermissions:假
    #启用/禁用住宅的经济体制(iConomy,MineConomy,精华,BOSEconomy和RealEconomy支持)。
    EnableEconomy:真
    #启用或禁用租佃制
    EnableRentSystem:假
    #间隔,以分钟为单位,居住地之间的租金到期支票(如果启用了租金制度)。
    RentCheckInterval:10
    #启用或禁用住所聊天频道。
    ResidenceChatEnable:真
    。#颜色住所聊天
    ResidenceChatColor:DARK_PURPLE
    #是否要。忽视平时的权限标志,只允许OP和团体以“residence.admin'改变住宅
    AdminOnlyCommands:假
    #设置为true,使得服务器管理员管理员。
    AdminOPs:真正的
    #这是您用于multiworld插件的名称,如果你没有一个multiworld插件,你可以放心地忽略这一点。
    #这样做的唯一一件事就是检查,以确保该multiworld插件已启用居住前,要确保正确加载住宅的其他世界。
    MultiWorldPlugin:Multiverse的核心
    #此设置为true会导致亚带,从它们的父区继承标志。
    ResidenceFlagsInherit:真正的
    #此设置为false将允许租用住宅,以通过租用的球员 &#8203;&#8203;进行修改。
    PreventRentModify:真正的
    #此设置为false将导致住处继续加载,即使一个错误当检测到保存文件。
    StopOnSaveFault:真正的
    #这是居住名过滤器,过滤掉无效字符。。谷歌的“Java正则表达式”或“Java正则表达式”关于它们是如何工作的详细信息
    ResidenceNameRegex:'[^ A-ZA-Z0-9 \ \ - \ \ _]'
    #设置为true,将消息发送到控制台每次居留并租过期支票或租约到期支票。
    ShowIntervalMessages:假
    #实验-进行以下设置块的ID被用来作为检查的“容器”的一部分,列表和使用时,MODS的“使用”的标志。
    CustomContainers:[]
    CustomBothClick:[]
    CustomRightClick:[]
    #这些是应用于当玩家不是一个居住在世界的标志。
    标志:
        全球:#这些都是默认为全部的世界,除非以下规定,他们可以被每个组替代
            使用方法:真正的
            编译:真正的
            点燃:真
            firespread:真实
            伤害:真正的
            自由增购率:真正的
            TNT:真正的
            PVP:真
            lavaflow:假
        WorldNameHere:#在这里你可以设置标志为个人的世界,这些覆盖全球
            #编译:真
    #这给许可改变某些标志所有群体,除非明确拒绝到组。
    FlagPermission:
        招:真
        编译:真实
        的地方:真实的
        毁灭:真正的
        使用:真正的
        容器:真正的
        PVP:真
        TP:真
        点燃:真
        firespread:真
        斗:真
        流量:真
        lavaflow:真
        水流:真正的
        自由增购率:真正的
        TNT:真正的
        怪物:真正的
        动物:真正的
        分区:真正的
        愈合:真正的
        活塞:真
        二极管:真
        杆:真正的
        按钮:真正的
        门:真
        表:真正的
        附魔:真正的
        酿造:真正的
        床真
        蛋糕:真
        记:真
        践踏:假
        烧:真
        爆炸:假
        火球:真正的
    #这是适用于任何用户组的所有住宅默认标志。
    ResidenceDefault:
        体形:虚假
        用途:假
        容器:假
        PVP:假
        TNT:假
        爬山虎:虚假
        流量:假
        活塞:假
        点燃:假
        firespread:假
    #这是适用于任何群体的居住创造者默认标志。
    CreatorDefault:
        体形:真
        招:真正的
        使用:真正
        点燃:真正的
        容器:真
     #这是适用于任何组的用户做了一个住所默认组标志。
    GroupDefault:
        #默认值:#组名
            #编译:真正的 #这些组对应于你所定义的权限组“<worldname>阳明。” 群组:     默认:#组名        #对居住区的信息,玩家可以定义。        #取消注释以下行来反映这个配置到其他群体。        #镜子:          # - “组1”          #- “组2”        公寓:            #Determins如果这个组可以建立住宅与否。这个选项可以被覆盖的权限节点的residence.create'            CanCreate:真正的            民居#的最大数量的球员 &#8203;&#8203;可以有。            MaxResidences:3            的物理区域居住可以有#的最大数量。            MaxAreasPerResidence:2            #的最大数目块的公寓就可以了,东到西(倍)。            MaxEastWest:16            块的住宅可以是#的最大数目,北至南(Z)。            MaxNorthSouth:16            块的住宅可以是#的最大数量,高为低(Y)。            MaxUpDown:256            #,最低海拔该组被允许保护。            了minHeight:0            #海拔最高的这组被允许保护            了maxHeight:255             #最大递归深度的子区域可以走了。             #一个分区在住宅区内的一个子区域内将是2的深度。             #设置为0以禁用亚带。            SubzoneDepth:3            #是否允许瞬移到公寓            CanTeleport:真            #允许或不允许使用/ RES脱胶,到让自己走出居住的,如果停留在一个莫名其妙地            抓狂:真            #允许或禁止使用的/ RES SELECT命令,如果禁止他们只能使用选择工具。            SelectCommandAccess:真            #允许或禁止该组访问黑名单。/ Ignorelist因为他们拥有住宅            ItemListAccess:真        。#有关的住处进入和离开的消息选项        通讯:            #玩家是否可以改变住宅进入和离开的消息            CanChange:真            #默认输入信息适用于由球员在这个组中创建新的公寓            #离开的消息空白将其禁用。            DefaultEnter:欢迎%玩家%居住,由%所有者拥有。            #默认的离开报文,以适用于球员在这个组中创建新的住所。            #离开的消息空白将其禁用。            DefaultLeave:现在离开住所%。        #选项与租赁系统。        租赁:           #天的最大数目,允许租赁。           MaxDays:16           #天要添加到租赁的数量继'/ RES租约续订“命令。           RenewIncrement:14        #相关的租金系统选项        :租            #确定有多少住宅可以通过这组球员一次租用            MaxRents:3            #确定有多少住宅可以租玩家设置本组一次            MaxRentables:3        #与为居住经济        经济:           #不论球员在这个组可以购买其他公寓,这对于销售           CanBuy:真           #不论球员在这个组可以出售自己的公寓。           CanSell:假的           。#是否忽略公寓大小/购买住宅时数限制           错误:IgnoreLimits           每块,制造新的公寓或添加一个区域,它#的成本。           BuyCost:0.05           #成本,的续订住宅租赁(如果启用了租赁系统)每块。           RenewCost:0.02        #标志被检查的顺序:        #1:玩家        #2:组        #3:所有者        #4:如果所有的人都是不确定的,将恢复为默认值(通常如此)。        #旗权限默认为false。        #这些标志设置将覆盖全局。        标志:           #特别允许或拒绝该组从改变某些标志           权限:                #编译:真           #Specifys所应用的标志。居住在创建该组球员           默认:               #编译:真           #Specifys被应用在造物主在创造居住的标志。           CreatorDefault:               #编译:真           #Specifys应用到其他群体,对于此居住的标志,在创作。           GroupDefault:                #默认:#组名                    #编译:虚假           #这些标志是专门用于这一组时,他们在外面居住           。#这些标志将覆盖国旗上方,根据全球部分           世界:                 全球: #这些标志将应用于所有世界                      #编译:假                 WorldNameHere:#或者您也可以通过每个人的世界加以应用                      #编译:假 #你可以手动指定组的球员 &#8203;&#8203;是在下面,这将覆盖其权限组。 GroupAssignments:      bekvon :默认      播放器:默认 ITEMLIST:#这就是你可以创建黑名单/白名单      DefaultList:#列表名称并不重要,只要它是独一无二的。其良好的使用descripive名称         #类型列表中,可以黑名单,白名单,或ignorelist         类型:黑名单         #如果你愿意,你可以有这个名单只适用于同一个世界,否则applys所有世界         #世界:世界         #你也可以让列表只适用于一个组,否则applys所有组         #组:默认         #这是材料名称这个列表允许或dissallows的实际列表         #你可以查资料名称按产品编号在游戏中输入/ RES材料<ID>         #Alternativly,你可以简单地使用项目ID在列表中,但是它的描述性较差,更难看到列表允许或dissallows一目了然         物品:            - '基岩'            - 'LAVA '            - '水'            - 'STATIONARY_LAVA'            - 'STATIONARY_WATER'            - 'MOB_SPAWNER' #用来确定哪些主要居住的修改这个配置是,不改变这一点。 ResidenceVersion:2 改哪个,而且文件格式是阳明不能更改啊

翻译后

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