• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“Residence”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
配置文件
第1行: 第1行:
==概览==
+
    Residence是大多数服务器都会使用的插件,它不同于其他保护类插件,它可以让玩家自己保护自己的家园,无需再麻烦管理员。新版的Residence更是增添了许多新特性,为服主减轻了不少负担。
===关于===
+
     注:旧版本的Residence已不再支持1.8以上的Minecraft服务器,本页面仅适用于新版本。
  Residence不同于其他大多数的保护类插件,它旨在让用户能够自行保护他们自己的家而不需要麻烦管理员进行操作。      
+
==特性==
  Residence支持很多种类的保护项目,包括限制地区内的移动,领地的拥有者可以配置这些保护项目,但同时仍受限于管理员。
 
 
 
===链接===
 
  Vault: Vault
 
GitHub资源:
 
GitHub
 
IRC discussion channel: irc://irc.esper.net/Residence
 
  Development builds of this project can be acquired at the provided
 
continuous integration server
 
.  
 
  这些开发版本还没有被BukkitDev的职员正式认可.使用时自负风险。
 
 
 
===拓展插件===
 
  Dynmap Residence
 
- 动态地图插件使得领地信息可以显示在网页地图中.
 
  ResExtras - 增加雪,冰,动物,怪物以及更多可以控制的项目.
 
  Residence Fly - 领地内控制飞行的开启/关闭,当玩家离开领地时,将会失去飞行能力.
 
  Residence Signs - 使用木牌实现购买,售卖,租赁领地的便捷功能.
 
  ResTown - 设置城镇型领地,使得领地外的建设行为纳入控制.(设置哪些玩家可以不受领地限制,在领地外能够建设)
 
  ResProtect - 通过权限保护领地内动物.
 
  ResCreative - 进入领地时激活创造模式.
 
  ResPerm - 添加更多的个人领地权限节点.
 
 
      
 
      
  SimpleClansResidence
+
* '''领地选区可视化操作。'''选择领地区域时,会以粒子效果显示所选区域。(此特性仅支持1.8版本以上的服务器)
- 合并领地与简易的家族两个插件的特性.
+
* '''领地权限设置GUI操作。'''设置权限时,不必再逐条输入指令,只需打开GUI界面,即可轻松设置领地权限。
  Flags - 显然,这个拓展添加了旗帜或其它东西.
+
* '''帮助列表可点击。'''帮助列表中的指令、翻页按钮都可以用鼠标直接点击,无需手动输入。(此特性仅支持1.8版本以上的服务器)
 
+
* '''丰富的领地内聊天系统。'''服主可自行设置聊天前缀和颜色。
===贡献===
+
* '''领地区域可扩展。'''当建筑面积扩大时,无需删除领地重新创建,可在原有领地基础上扩展。
  smbarbour (代码编译)
+
* '''支持Vault。'''领地可租借、出售。
inorixu (代码编译)
+
==安装与配置==
lemon42 (代码编译)
+
===安装===
Daniel Few (Wiki编写)
+
将下载的Residencex.x.x.x.jar放入plugins文件夹,运行服务器以生成必要的文件。<br />
Linaks (Residence图标设计)
+
保持默认的设置即可正常使用,无需手动添加权限,若要修改设置请参见下方的配置文件说明。
SirHedgehog (代码编译)
+
===配置文件说明===
GSValore (代码编译)
+
注:配置文件的翻译工作后续进行
Samkio (Wiki音频)
+
====config.yml====
JustinGuy (代码编译)
+
Global:
Tonkovich (代码编译)
+
     # This loads the <language>.yml file in the Residence Language folder
 
+
     # All Residence text comes from this file. (NOT DONE YET)
===捐助===
 
  Donations
 
  如果你感谢我这些年来对插件的更新与维护,你可以自愿地捐助一些钱来作为谢意。
 
 
 
==使用==
 
===权限===
 
  注1:本条目中的“越权”指无视当前领地的权限设置,直接使命令生效。
 
  注2:true即启用,false即关闭。
 
 
 
====管理员权限====
 
 
 
residence.admin:
 
  描述: 给你使用/resadmin命令的权限
 
  默认开启: op
 
 
 
子权限:
 
  residence.admin.tp: true
 
  描述: 允许越权使用强制TP命令
 
  默认开启: op
 
 
 
  residence.admin.move: true
 
  描述: 允许越权在领地中移动
 
  默认开启: op
 
 
 
  residence.commands.admin: true
 
  描述: 允许应用默认的基础权限设置
 
  默认开启: true
 
 
 
====管理员命令权限====
 
 
 
residence.commands.admin:
 
  描述: 允许使用管理员的命令
 
  默认开启: op
 
 
 
子权限:
 
  residence.commands.user: true
 
  residence.commands.setowner: true
 
  residence.commands.listallhidden: true
 
  residence.commands.server: true
 
 
 
====用户权限====
 
 
 
residence.user:
 
  描述: 允许应用默认的基础权限设置
 
  默认开启: true
 
 
 
子权限:
 
  residence.commands.user: true
 
  residence.flags.*: true
 
 
 
====用户命令权限====
 
 
 
residence.commands.user:
 
  描述: 允许使用普通用户的命令
 
  默认开启: op
 
 
 
子权限:
 
  residence.commands.create: true
 
  residence.commands.select: true
 
  residence.commands.remove: true
 
  residence.commands.subzone: true
 
  residence.commands.gui: true
 
  residence.commands.sublist: true
 
  residence.commands.compass: true
 
  residence.commands.info: true
 
  residence.commands.current: true
 
  residence.commands.set: true
 
  residence.commands.pset: true
 
  residence.commands.rset: true
 
  residence.commands.rentlink: true
 
  residence.commands.rentlinks: true
 
  residence.commands.rename: true
 
  residence.commands.unstuck: true
 
  residence.commands.mirror: true
 
  residence.commands.defualt: true
 
  residence.commands.list: true
 
  residence.commands.listall: true
 
  residence.commands.tp: true
 
  residence.commands.tpset: true
 
  residence.commands.market: true
 
  residence.commands.give: true
 
  residence.commands.message: true
 
  residence.commands.clearflags: true
 
  residence.commands.tool: true
 
 
 
====命令权限====
 
 
 
residence.commands:
 
  描述: 允许使用所有命令
 
  默认开启: op
 
子权限:
 
  residence.commands.admin: true
 
 
 
residence.commands.create:
 
  描述: 允许创建领地
 
  默认开启: op
 
子权限:
 
  residence.commands.select: true
 
 
 
residence.commands.select:
 
  描述: 允许选择一个地区来创建领地
 
  默认开启: op
 
 
 
residence.commands.remove:
 
  描述: 允许删除领地
 
  默认开启: op
 
 
 
residence.commands.setowner:
 
  描述: 允许设置领地拥有者
 
  默认开启: op
 
 
 
residence.commands.subzone:
 
  描述: 允许创建子领地
 
  默认开启: op
 
 
 
residence.commands.gui:
 
  描述: 暂时无效
 
  默认开启: op
 
 
 
residence.commands.sublist:
 
  描述: 允许你查看子领地列表
 
  默认开启: op
 
 
 
residence.commands.compass:
 
  描述: 允许你设置指南针指示领地方向
 
  默认开启: op
 
 
 
residence.commands.info:
 
  描述: 允许你查看领地信息
 
  默认开启: op
 
 
 
residence.commands.current:
 
  描述: 查看你现在所处的领地
 
  默认开启: op
 
 
 
residence.commands.set:
 
  描述: 允许你设置领地的flags
 
  默认开启: op
 
 
 
residence.commands.pset:
 
  描述: 允许你设置玩家flags
 
  默认开启: op
 
 
 
residence.commands.rset:
 
  描述: 允许你设置租赁flags
 
  默认开启: op
 
 
 
residence.commands.rentlink:
 
  描述: 允许你通过rentlink把子领地租赁给另一个人
 
  默认开启: op
 
 
 
residence.commands.rentlinks:
 
  描述: 允许你查看领地内的rentlinks
 
  默认开启: op
 
 
 
residence.commands.rename:
 
  描述: 允许重命名领地
 
  默认开启: op
 
 
 
residence.commands.unstuck:
 
  描述: 允许你在领地里脱离卡死
 
  默认开启: op
 
 
 
residence.commands.mirror:
 
  描述: 允许你继承另一个领地的权限
 
  默认开启: op
 
 
 
residence.commands.defualt:
 
  描述: 允许你把领地的权限设置为默认
 
  默认开启: op
 
 
 
residence.commands.list:
 
  描述: 允许查看自己领地的列表
 
  默认开启: op
 
 
 
residence.commands.listall:
 
  描述: 允许查看所有领地列表
 
  默认: op
 
 
 
residence.commands.listall.hidden:
 
  描述: 允许你查看隐藏领地
 
  默认: op
 
 
 
residence.commands.tp:
 
  描述: 允许使用/res tp
 
  默认: op
 
 
 
residence.commands.tpset:
 
  描述: 允许设置领地传送点
 
  默认: op
 
 
 
residence.commands.market:
 
  描述: 允许使用交易命令
 
  默认: op
 
 
 
residence.commands.give:
 
  描述: 允许赠送领地
 
  默认: op
 
 
 
residence.commands.message:
 
  描述: 允许设置领地信息
 
  默认: op
 
 
 
residence.commands.clearflags:
 
  描述: 允许你清楚领地flags
 
  默认(开启): op
 
 
 
residence.commands.tool:
 
  描述: 允许查看圈地工具
 
  默认(开启): op
 
 
 
residence.commands.server:
 
  描述: 允许建立服务器领地
 
  默认(开启): op
 
 
 
residence.flags.*:
 
  描述:允许设置所有的领地权限 
 
  默认(开启): op
 
 
 
residence.flags.FLAGNAME:
 
  描述:允许设置FLAFGNAME这个领地权限(替换为特定的领地权限名)
 
  默认(开启): op
 
 
 
===配置文件===
 
注:以下配置文件均来源于Residence V2.6.6.6版本,仅做参考!
 
#这些是Residence插件的全局设定.
 
Global:
 
     # 这是在Residence语言文件夹中加载的语言文件 <你想设置的语言>.yml  
 
     # 所有 Residence 的文本均来源于此(NOT DONE YET)
 
 
     Language: English
 
     Language: English
     #木锄是Residence默认的选择工具.
+
     # Stick is the default selection tool for Residence.
     # 你可以选择另外一个列表中的物品的ID http://www.minecraftwiki.net/wiki/Data_values
+
     # You can change it to another item ID listed here: http://www.minecraftwiki.net/wiki/Data_values
     SelectionToolId: 290
+
     SelectionToolId: 280
     # 这是你想用来查看领地信息的工具 默认为线.
+
     # 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
 
     InfoToolId: 287
     # 移动权限检查间隔, 以毫秒(ms)为单位.
+
     # 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
 
     MoveCheckInterval: 500
     # 保存领地间隔,单位: 分钟(min)
+
     # The interval, in minutes, between residence saves.
 
     SaveInterval: 10
 
     SaveInterval: 10
     # 默认权限组
+
     # The default group to use if Permissions fails to attach or your not using Permissions.
 
     DefaultGroup: default
 
     DefaultGroup: default
     # 开启/关闭租赁系统
+
     # Enable / Disable the Lease System.
 
     UseLeaseSystem: false
 
     UseLeaseSystem: false
     # 检查租赁间隔,单位: 分钟(min)
+
     # The interval, in minutes, between residence lease checks (if leases are enabled).
 
     LeaseCheckInterval: 10
 
     LeaseCheckInterval: 10
     # 当玩家有足够的钱的时候自动续租,如果禁止了Economy的话,这个设置会没有卵用
+
     # Allows leases to automatically renew so long as the player has the money, if economy is disabled, this setting does nothing.
 
     LeaseAutoRenew: true
 
     LeaseAutoRenew: true
     # 是否允许用权限系统连接配置
+
     # Whether or not to use the Permissions system in conjunction with this config.
 
     EnablePermissions: true
 
     EnablePermissions: true
     # 如果不用Permissions或者PermissionsBukkit请把这项设置为true,或者使用更老的Permissions版本
+
     # Set to true if NOT using Permissions or PermissionsBukkit, or using a really old version of Permissions
 
     LegacyPermissions: false
 
     LegacyPermissions: false
     # 开启/关闭领地Economy系统(支持iConomy, MineConomy, Essentials, BOSEconomy, RealEconomy)
+
     # Enable / Disable Residence's Economy System (iConomy, MineConomy, Essentials, BOSEconomy, and RealEconomy supported).
 
     EnableEconomy: true
 
     EnableEconomy: true
     # 允许/禁止租赁系统
+
     # Enables or disables the Rent System
 
     EnableRentSystem: false
 
     EnableRentSystem: false
     # 检查领地租赁时间的间隔(单位: 分钟)
+
     # The interval, in minutes, between residence rent expiration checks (if the rent system is enabled).
 
     RentCheckInterval: 10
 
     RentCheckInterval: 10
     # 开启/关闭领地聊天频道
+
     # Enable or disable residence chat channels.
 
     ResidenceChatEnable: true
 
     ResidenceChatEnable: true
     # 领地聊天的颜色
+
     # True for ActionBar - new component in 1.8
 +
    # False for old Messaging in chat enter/leave Residence messages
 +
    UseActionBar: true
 +
    # Color of residence chat.
 
     ResidenceChatColor: DARK_PURPLE
 
     ResidenceChatColor: DARK_PURPLE
     # 是否无视基本权限flags并且只允许OP和'residence.admin'权限的人修改领地
+
     # Whether or not to ignore the usual Permission flags and only allow OPs and groups with 'residence.admin' to change residences.
 
     AdminOnlyCommands: false
 
     AdminOnlyCommands: false
     # 设置为true使OP获得admin权限
+
     # Setting this to true makes server OPs admins.
 
     AdminOPs: true
 
     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
 
     MultiWorldPlugin: Multiverse-Core
     # 设置成true使子领地继承父领地的flags
+
     # Setting this to true causes subzones to inherit flags from their parent zones.
 
     ResidenceFlagsInherit: true
 
     ResidenceFlagsInherit: true
     # 设置成false将允许正在租赁的玩家修改领地
+
     # Setting this to false will allow rented residences to be modified by the renting player.
 
     PreventRentModify: true
 
     PreventRentModify: true
     # 设置成false将使领地插件在错误后继续加载
+
     # Setting this to false will cause residence to continue to load even if a error is detected in the save file.
 
     StopOnSaveFault: true
 
     StopOnSaveFault: true
     # 这是领地名字的筛选器,用来筛选掉不要的字符。搜索"Java RegEx"或者"Java正则表达式"获知他是如何运行的
+
     # 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\\-\\_]'
 
     ResidenceNameRegex: '[^a-zA-Z0-9\\-\\_]'
     # 设置成true使领地租赁时长检查输出到后台
+
     # 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
 
     ShowIntervalMessages: false
     # [测试中] 这个设置是用来把mod的方块加入"container""use"flags的
+
     # Check for new version when server start and connect OP.
 +
    VersionCheck: true
 +
    # 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: []
 
     CustomContainers: []
 
     CustomBothClick: []
 
     CustomBothClick: []
 
     CustomRightClick: []
 
     CustomRightClick: []
     # 这是玩家不在领地里面的flags
+
====groups.yml====
 +
Groups:
 +
     Default: #group name, DONT remove this group
 +
      # 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
 +
          # (Optional) The minimum number of blocks a Residence can be, East to West (X).
 +
          MinEastWest: 3
 +
          # The maximum number of blocks a Residence can be, North to South (Z).
 +
          MaxNorthSouth: 16
 +
          # (Optional) The minimum number of blocks a Residence can be, North to South (Z).
 +
          MinNorthSouth: 3
 +
          # The maximum number of blocks a Residence can be, High to Low (Y).
 +
          MaxUpDown: 256
 +
          # (Optional) The minimum number of blocks a Residence can be, High to Low (Y).
 +
          MinUpDown: 3
 +
          # The lowest altitude this group is allowed to protect.
 +
          MinHeight: 0
 +
          # The highest altitude this group is allowed to protect.
 +
          MaxHeight: 255
 +
            # The maximum amount of subzones can current area have.
 +
          MaxSubzonesInArea: 3
 +
            # 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
 +
          # (Optional) The maximum number of blocks a Residence Subzone can be, East to West (X).
 +
          SubzoneMaxEastWest: 16
 +
          # (Optional) The minimum number of blocks a Residence Subzone can be, East to West (X).
 +
          SubzoneMinEastWest: 3
 +
          # (Optional) The maximum number of blocks a Residence Subzone can be, North to South (Z).
 +
          SubzoneMaxNorthSouth: 16
 +
          # (Optional) The minimum number of blocks a Residence Subzone can be, North to South (Z).
 +
          SubzoneMinNorthSouth: 3
 +
          # (Optional) The maximum number of blocks a Residence Subzone can be, High to Low (Y).
 +
          SubzoneMaxUpDown: 256
 +
          # (Optional) The minimum number of blocks a Residence Subzone can be, High to Low (Y).
 +
          SubzoneMinUpDown: 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 /res kick, to kick player from residence.
 +
          Kick: False
 +
          # 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
 +
          # determines max days player can rent residence at once
 +
          MaxRentDays: 31
 +
      # 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.5
 +
          # The cost, per block, player will be getting back when removing residence.
 +
          SellCost: 0.25
 +
          # The cost, per block, of renewing a Residence lease (if the lease system is enabled).
 +
          RenewCost: 0.2
 +
      # 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
 +
    NextGroup: #group name, player should have residence.group.nextgroup permission node to have access to this residence group
 +
      Residence:
 +
          CanCreate: true
 +
          MaxResidences: 4
 +
          MaxAreasPerResidence: 2
 +
          MaxEastWest: 20
 +
          MaxNorthSouth: 20
 +
          MaxUpDown: 20
 +
          MinHeight: 0
 +
          MaxHeight: 255
 +
          SubzoneDepth: 3
 +
          CanTeleport: true
 +
          Unstuck: true
 +
          Kick: true
 +
          SelectCommandAccess: true
 +
          ItemListAccess: true
 +
      Messaging:
 +
          CanChange: true
 +
          DefaultEnter: Welcome %player to %residence, owned by %owner.
 +
          DefaultLeave: Now leaving %residence.
 +
      Lease:
 +
          MaxDays: 16
 +
          RenewIncrement: 14
 +
      Rent:
 +
          MaxRents: 3
 +
          MaxRentables: 3
 +
          MaxRentDays: 31
 +
      Economy:
 +
          CanBuy: true
 +
          CanSell: false
 +
          IgnoreLimits: false
 +
          BuyCost: 0.7
 +
          SellCost: 0.3
 +
          RenewCost: 0.3
 +
GroupAssignments:
 +
    bekvon: default
 +
    player: default
 +
====flags.yml====
 +
#这些是领地的全局设置
 +
Global:
 +
    # These are world flags that are applied when the player is NOT within a residence.
 
     Flags:
 
     Flags:
         Global: #这是除下方指出的世界默认的flags,优先于任何一个权限组
+
         Global: #these are default for all worlds unless specified below, they can be overridden per group
 
             use: true
 
             use: true
 
             build: true
 
             build: true
第337行: 第256行:
 
             tnt: true
 
             tnt: true
 
             pvp: true
 
             pvp: true
         在这里输入世界名: #你可以在这里设置特殊的世界flags,这些flags优先于Global
+
         WorldNameHere: #here you can set flags for individual worlds, these override Global
 
             #build: true
 
             #build: true
     # 这个给所有用户组默认权限,除了被特殊禁止
+
     # This gives permission to change certain flags to all groups, unless specifically denied to the group.
 
     FlagPermission:
 
     FlagPermission:
 
         move: true
 
         move: true
第351行: 第270行:
 
         ignite: true
 
         ignite: true
 
         firespread: true
 
         firespread: true
        bucket: true
 
 
         flow: true
 
         flow: true
 
         lavaflow: true
 
         lavaflow: true
第359行: 第277行:
 
         monsters: true
 
         monsters: true
 
         animals: true
 
         animals: true
 +
        animalkilling: true
 +
        mobkilling: true
 +
        vehicledestroy: true
 +
        trade: true
 +
        shear: true
 +
        leash: true
 +
        nofly: false
 
         subzone: true
 
         subzone: true
 
         healing: true
 
         healing: true
第372行: 第297行:
 
         cake: true
 
         cake: true
 
         note: true
 
         note: true
         trample: false
+
         trample: true
 
         burn: true
 
         burn: true
         explode: false
+
         explode: true
 
         fireball: true
 
         fireball: true
     # 这是所有领地对任何用户默认的flags
+
        command: false
 +
        day: true
 +
        night: true
 +
        chat: true
 +
        hidden: false
 +
        overridepvp: false
 +
        keepinv: false
 +
        keepexp: false
 +
        shop: true
 +
        bank: false
 +
     # This sets GUI items to represent each flag, if not given, then gray wool will be used
 +
    FlagGui:
 +
        animalkilling:
 +
            Id: 365
 +
            Data: 0
 +
        animals:
 +
            Id: 383
 +
            Data: 90
 +
        bed:
 +
            Id: 355
 +
            Data: 0
 +
        brew:
 +
            Id: 379
 +
            Data: 0
 +
        build:
 +
            Id: 45
 +
            Data: 0           
 +
        burn:
 +
            Id: 50
 +
            Data: 0
 +
        button:
 +
            Id: 143
 +
            Data: 0
 +
        cake:
 +
            Id: 354
 +
            Data: 0
 +
        canimals:
 +
            Id: 383
 +
            Data: 91
 +
        chat:
 +
            Id: 386
 +
            Data: 0
 +
        cmonsters:
 +
            Id: 383
 +
            Data: 50
 +
        command:
 +
            Id: 137
 +
            Data: 0
 +
        container:
 +
            Id: 342
 +
            Data: 0
 +
        creeper:
 +
            Id: 383
 +
            Data: 50
 +
        destroy:
 +
            Id: 121
 +
            Data: 0
 +
        diode:
 +
            Id: 356
 +
            Data: 0
 +
        door:
 +
            Id: 324
 +
            Data: 0
 +
        enchant:
 +
            Id: 116
 +
            Data: 0
 +
        explode:
 +
            Id: 407
 +
            Data: 0
 +
        fireball:
 +
            Id: 385
 +
            Data: 0
 +
        firespread:
 +
            Id: 377
 +
            Data: 0
 +
        flow:
 +
            Id: 111
 +
            Data: 0
 +
        healing:
 +
            Id: 373
 +
            Data: 0
 +
        ignite:
 +
            Id: 259
 +
            Data: 0
 +
        lavaflow:
 +
            Id: 327
 +
            Data: 0
 +
        leash:
 +
            Id: 420
 +
            Data: 0
 +
        lever:
 +
            Id: 69
 +
            Data: 0
 +
        mobkilling:
 +
            Id: 367
 +
            Data: 0
 +
        monsters:
 +
            Id: 52
 +
            Data: 0
 +
        move:
 +
            Id: 301
 +
            Data: 0
 +
        nanimals:
 +
            Id: 383
 +
            Data: 92
 +
        nmonsters:
 +
            Id: 383
 +
            Data: 51
 +
        nofly:
 +
            Id: 171
 +
            Data: 1
 +
        nomobs:
 +
            Id: 166
 +
            Data: 0
 +
        note:
 +
            Id: 25
 +
            Data: 0
 +
        piston:
 +
            Id: 33
 +
            Data: 0
 +
        place:
 +
            Id: 169
 +
            Data: 0
 +
        pvp:
 +
            Id: 268
 +
            Data: 0
 +
        sanimals:
 +
            Id: 383
 +
            Data: 101
 +
        shear:
 +
            Id: 359
 +
            Data: 0
 +
        smonsters:
 +
            Id: 383
 +
            Data: 54
 +
        subzone:
 +
            Id: 160
 +
            Data: 7
 +
        table:
 +
            Id: 58
 +
            Data: 0
 +
        tnt:
 +
            Id: 46
 +
            Data: 0
 +
        tp:
 +
            Id: 120
 +
            Data: 0
 +
        trade:
 +
            Id: 388
 +
            Data: 0
 +
        trample:
 +
            Id: 3
 +
            Data: 0
 +
        use:
 +
            Id: 70
 +
            Data: 0
 +
        vehicledestroy:
 +
            Id: 328
 +
            Data: 0
 +
        waterflow:
 +
            Id: 326
 +
            Data: 0
 +
    # These are default flags applied to all residences from any user group.
 
     ResidenceDefault:
 
     ResidenceDefault:
 
         build: false
 
         build: false
 +
        destroy: false
 
         use: false
 
         use: false
 
         container: false
 
         container: false
第384行: 第472行:
 
         tnt: false
 
         tnt: false
 
         creeper: false
 
         creeper: false
        flow: false
 
        piston: false
 
 
         ignite: false
 
         ignite: false
 
         firespread: false
 
         firespread: false
     # 这是领地所有者默认的flags
+
        vehicledestroy: false
 +
        animalkilling: false
 +
        hook: false
 +
        shear: false
 +
        leash: false
 +
        pistonprotection: true
 +
        tp: true
 +
        explode: false
 +
     # These are default flags applied to the residence creator of any group.
 
     CreatorDefault:
 
     CreatorDefault:
 
         build: true
 
         build: true
第395行: 第489行:
 
         ignite: true
 
         ignite: true
 
         container: true
 
         container: true
     # 这是默认组内用户在领地中的默认权限
+
        animalkilling: true
 +
        mobkilling: true
 +
        vehicledestroy: true
 +
        trade: true
 +
        shear: true
 +
        leash: true
 +
     # These are default group flags applied to a residence made by a user of any group.
 
     GroupDefault:
 
     GroupDefault:
         #default: #组名
+
         #default: #group name
 
             #build: true
 
             #build: true
   
+
    # These are grouped flags, so when using /res pset nickname redstone true, player will get all flags in list, same when setting to false or removing them.
# 这些在'<世界名>.yml'的组的固定权限
+
    GroupedFlags:
Groups:
+
      redstone:
    Default: #group name
+
      - note
      # 关于领地可以固定的玩家的信息
+
      - pressure
      #取消注释下面的线可以把配置镜像到其他组
+
      - lever
      #Mirror:
+
      - button
        #- 'group1'
+
      - diode
        #- 'group2'
+
      craft:
      Residence:
+
      - brew
          # 确定这个权限组是否能创建领地。这个配置可以被'residence.create'覆盖
+
      - table
          CanCreate: true
+
      - enchant
          # 玩家可拥有的最大领地数量
+
      trusted:
          MaxResidences: 3
+
      - use
          # 玩家可拥有的最大区域数量
+
      - tp
          MaxAreasPerResidence: 2
+
      - build
          # 领地最大东西方向(X轴)方块数量
+
      - container
          MaxEastWest: 16
+
      - move
          # 领地最大南北方向(Z轴)方块数量
+
      - leash
          MaxNorthSouth: 16
+
      - animalkilling
          # 领地最大高度(Y轴)方块数量
+
      - mobkilling
          MaxUpDown: 256
+
      - shear
          # 最低高度
+
      - chat
          MinHeight: 0
+
      - beacon
          # 最高高度
+
      fire:
          MaxHeight: 255
+
      - ignite
            # 子领地最大包含数
+
      - firespread
            # 领地内的子领地在另一个子领地中的深度是2
+
ItemList: #this is where you can create blacklists / whitelists
            # 设置为0可以禁止子领地
 
          SubzoneDepth: 3
 
          # 是否允许传送到领地
 
          CanTeleport: true
 
          # 当你卡在领地里时是否允许使用'/res unstuck'
 
          Unstuck: true
 
          # 是否允许使用'/res select',如果禁止的话将只能用圈地工具
 
          SelectCommandAccess: true
 
          # 是否允许玩家访问他们所有的领地的黑名单/忽略名单
 
          ItemListAccess: true
 
      # 进出领地消息设置
 
      Messaging:
 
          # 是否允许玩家修改领地进出消息
 
          CanChange: true
 
          # 领地默认进入消息
 
          # 留空可以禁止该选项
 
          DefaultEnter: Welcome %player to %residence, owned by %owner.
 
          # 领地默认离开消息
 
          # 留空可以禁止该选项
 
          DefaultLeave: Now leaving %residence.
 
      # 租赁系统设置
 
      Lease:
 
          # 最大租赁天数
 
          MaxDays: 16
 
          # 使用'/res lease renew'续租后增加的租赁天数
 
          RenewIncrement: 14
 
      # 出租系统设置
 
      Rent:
 
          # 一次最大出租数
 
          MaxRents: 3
 
          # 一次设置出租状态最大数
 
          MaxRentables: 3
 
      # 领地经济系统设置
 
      Economy:
 
          # 是否允许玩家购买其他销售的领地
 
          CanBuy: true
 
          # 是否允许玩家销售领地
 
          CanSell: false
 
          # 购买领地时是否忽略领地最大数和大小
 
          IgnoreLimits: false
 
          # 每方块创建新的领地或者加入区域的费用
 
          BuyCost: 0.05
 
          # 每方块续租费用(如果启用了租赁系统)
 
          RenewCost: 0.02
 
      # Flags的检查优先级:
 
      # 1: Player
 
      # 2: Group
 
      # 3: Owner
 
      # 4: 如果其他的都不存在,默认为true
 
      # Flags权限默认是false
 
      # 这些权限设置优先于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.  
 
     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 of the list, can be blacklist, whitelist, or ignorelist
第523行: 第544行:
 
           - 'STATIONARY_WATER'
 
           - 'STATIONARY_WATER'
 
           - 'MOB_SPAWNER'
 
           - 'MOB_SPAWNER'
# Used to determine which major revision of Residence this config is from, dont change this.
+
===插件权限===
ResidenceVersion: 2
+
residence.group.[groupname] -从groups.yml中设置玩家的领地组
 +
residence.flag.[flag] - 在某flag在flag.yml中关闭时允许玩家使用该flag
 +
residence.worldguard.[worldRegionName] - 允许在worldguard区域内创建领地
 +
residence.max.subzones.[number] - 玩家可拥有的最大子领地数量
 +
residence.max.rents.[number] - 玩家可出租的最大领地数量
 +
residence.max.res.[number] - 玩家可拥有的最大领地数量
 +
residence.admin - (OP) 给玩家使用/resadmin的权限
 +
residence.topadmin - (OP) 给玩家使用 /resreload 和 /resload commands的权限
 +
residence.admin.tp - (OP) 允许无视tp权限
 +
residence.admin.move - (OP) 允许无视移动权限
 +
residence.create - (Default) 允许创建领地
 +
residence.select - (Default) 允许选择区域以创建领地
 +
residence.nofly.bypass - (OP) 无视禁飞
 +
residence.delete - (Default) 允许删除自己的领地
 +
residence.delete.subzone - (Default) 允许删除自己的子领地
 +
residence.rename - (Default) 允许重命名领地
 +
residence.create.subzone - (Default) 允许在领地内创建子领地
 +
residence.expand - (Default) 允许扩张自己的领地
 +
residence.expand.subzone - (Default) 允许扩张自己的子领地
 +
residence.contract - (Default) 允许合并自己的领地
 +
residence.contract.subzone - (Default) 允许合并自己的子领地
 +
residence.resize - (Default) 允许重新设置领地大小
 +
residence.versioncheck - (OP) 允许接收新版本通知
 +
residence.flag.command.bypass - (OP) 无视领地内输入命令权限
 +
residence.select.auto.others - (OP) 允许为其他玩家开启自动选择
 +
residence.chatcolor - (Default) 允许修改领地聊天颜色
 +
residence.chatprefix - (OP) 允许修改领地聊天前缀
 +
residence.chatkick - (Default) 允许将玩家从领地聊天频道踢出
 +
residence.compass - (Default) 允许设置指南针指向
 +
residence.randomtp - (Default) 允许使用 /res rt 命令
 +
residence.bypass.build - 无视 build false flag
 +
residence.bypass.destroy - 无视 destroy false flag
 +
residence.bypass.ignorey - 无视领地Y坐标(高度)限制
 +
residence.backup - 允许使用flag:backup
 +
residence.cleanbypass - 防止玩家的领地在自动清理时被移除
 +
residence.market.evict - 允许强制赶出领地内的玩家
 +
residence.flybypass - 允许无视禁止飞行设置
 +
 
 +
==注意事项==
 +
# 若使用Vault和WorldEdit,建议使用最新版本,否则可能出现各种问题。
 +
# 若使用多世界插件(Multiverse-Core或Multiworld),必须在config.yml的“MultiWorldPlugin:”后填写(如:MultiWorldPlugin: Multiverse-Core),否则会出现重启服务器领地不保存的问题。
 +
# 1.8版本以下不支持ActionBar功能,插件默认开启此功能,可在config.yml中设置关闭(UseActionBar: false)
 +
==插件获取==
 +
此插件为SpigotMC上的付费插件,价格为9.99欧元(约合76.4RMB),作者在SpigotMC的页面中放出了不需付费的下载链接,可自行前去寻找。([https://www.spigotmc.org/resources/residence-1-7-10-up-to-1-12.11480/ 点击前往])<br />
 +
欲及时获知新版本及新版特性,可去mcbbs.net服务器插件区搜索“Residence”收藏搬运帖。

2017年6月25日 (日) 15:43的版本

   Residence是大多数服务器都会使用的插件,它不同于其他保护类插件,它可以让玩家自己保护自己的家园,无需再麻烦管理员。新版的Residence更是增添了许多新特性,为服主减轻了不少负担。
   注:旧版本的Residence已不再支持1.8以上的Minecraft服务器,本页面仅适用于新版本。 

特性

  • 领地选区可视化操作。选择领地区域时,会以粒子效果显示所选区域。(此特性仅支持1.8版本以上的服务器)
  • 领地权限设置GUI操作。设置权限时,不必再逐条输入指令,只需打开GUI界面,即可轻松设置领地权限。
  • 帮助列表可点击。帮助列表中的指令、翻页按钮都可以用鼠标直接点击,无需手动输入。(此特性仅支持1.8版本以上的服务器)
  • 丰富的领地内聊天系统。服主可自行设置聊天前缀和颜色。
  • 领地区域可扩展。当建筑面积扩大时,无需删除领地重新创建,可在原有领地基础上扩展。
  • 支持Vault。领地可租借、出售。

安装与配置

安装

将下载的Residencex.x.x.x.jar放入plugins文件夹,运行服务器以生成必要的文件。
保持默认的设置即可正常使用,无需手动添加权限,若要修改设置请参见下方的配置文件说明。

配置文件说明

注:配置文件的翻译工作后续进行

config.yml

Global:
   # This loads the <language>.yml file in the Residence Language folder
   # All Residence text comes from this file. (NOT DONE YET)
   Language: English
   # Stick 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: 280
   # 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
   # True for ActionBar - new component in 1.8
   # False for old Messaging in chat enter/leave Residence messages
   UseActionBar: 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
   # Check for new version when server start and connect OP. 
   VersionCheck: true
   # 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: []

groups.yml

Groups:
   Default: #group name, DONT remove this group
      # 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
          # (Optional) The minimum number of blocks a Residence can be, East to West (X).
          MinEastWest: 3
          # The maximum number of blocks a Residence can be, North to South (Z).
          MaxNorthSouth: 16
          # (Optional) The minimum number of blocks a Residence can be, North to South (Z).
          MinNorthSouth: 3
          # The maximum number of blocks a Residence can be, High to Low (Y).
          MaxUpDown: 256
          # (Optional) The minimum number of blocks a Residence can be, High to Low (Y).
          MinUpDown: 3
          # The lowest altitude this group is allowed to protect.
          MinHeight: 0
          # The highest altitude this group is allowed to protect.
          MaxHeight: 255
           # The maximum amount of subzones can current area have.
          MaxSubzonesInArea: 3
           # 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
          # (Optional) The maximum number of blocks a Residence Subzone can be, East to West (X).
          SubzoneMaxEastWest: 16
          # (Optional) The minimum number of blocks a Residence Subzone can be, East to West (X).
          SubzoneMinEastWest: 3
          # (Optional) The maximum number of blocks a Residence Subzone can be, North to South (Z).
          SubzoneMaxNorthSouth: 16
          # (Optional) The minimum number of blocks a Residence Subzone can be, North to South (Z).
          SubzoneMinNorthSouth: 3
          # (Optional) The maximum number of blocks a Residence Subzone can be, High to Low (Y).
          SubzoneMaxUpDown: 256
          # (Optional) The minimum number of blocks a Residence Subzone can be, High to Low (Y).
          SubzoneMinUpDown: 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 /res kick, to kick player from residence.
          Kick: False
          # 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
          # determines max days player can rent residence at once
          MaxRentDays: 31
      # 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.5
         # The cost, per block, player will be getting back when removing residence.
         SellCost: 0.25
         # The cost, per block, of renewing a Residence lease (if the lease system is enabled).
         RenewCost: 0.2
      # 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
   NextGroup: #group name, player should have residence.group.nextgroup permission node to have access to this residence group
      Residence:
          CanCreate: true
          MaxResidences: 4
          MaxAreasPerResidence: 2
          MaxEastWest: 20
          MaxNorthSouth: 20
          MaxUpDown: 20
          MinHeight: 0
          MaxHeight: 255
          SubzoneDepth: 3
          CanTeleport: true
          Unstuck: true
          Kick: true
          SelectCommandAccess: true
          ItemListAccess: true
      Messaging:
          CanChange: true
          DefaultEnter: Welcome %player to %residence, owned by %owner.
          DefaultLeave: Now leaving %residence.
      Lease:
         MaxDays: 16
         RenewIncrement: 14
      Rent:
          MaxRents: 3
          MaxRentables: 3
          MaxRentDays: 31
      Economy:
         CanBuy: true
         CanSell: false
         IgnoreLimits: false
         BuyCost: 0.7
         SellCost: 0.3
         RenewCost: 0.3
GroupAssignments:
    bekvon: default
    player: default

flags.yml

#这些是领地的全局设置
Global:
   # 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
       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
       flow: true
       lavaflow: true
       waterflow: true
       creeper: true
       tnt: true
       monsters: true
       animals: true
       animalkilling: true
       mobkilling: true
       vehicledestroy: true
       trade: true
       shear: true
       leash: true
       nofly: false
       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: true
       burn: true
       explode: true
       fireball: true
       command: false
       day: true
       night: true
       chat: true
       hidden: false
       overridepvp: false
       keepinv: false
       keepexp: false
       shop: true
       bank: false
   # This sets GUI items to represent each flag, if not given, then gray wool will be used
   FlagGui:
       animalkilling: 
           Id: 365
           Data: 0
       animals: 
           Id: 383
           Data: 90
       bed:
           Id: 355
           Data: 0
       brew:
           Id: 379
           Data: 0
       build: 
           Id: 45
           Data: 0            
       burn:
           Id: 50
           Data: 0
       button: 
           Id: 143
           Data: 0
       cake:
           Id: 354
           Data: 0
       canimals: 
           Id: 383
           Data: 91
       chat:
           Id: 386
           Data: 0
       cmonsters: 
           Id: 383
           Data: 50
       command:
           Id: 137
           Data: 0
       container: 
           Id: 342
           Data: 0
       creeper: 
           Id: 383
           Data: 50
       destroy: 
           Id: 121
           Data: 0
       diode: 
           Id: 356
           Data: 0
       door: 
           Id: 324
           Data: 0
       enchant:
           Id: 116
           Data: 0
       explode:
           Id: 407
           Data: 0
       fireball:
           Id: 385
           Data: 0
       firespread: 
           Id: 377
           Data: 0
       flow: 
           Id: 111
           Data: 0
       healing: 
           Id: 373
           Data: 0
       ignite: 
           Id: 259
           Data: 0
       lavaflow: 
           Id: 327
           Data: 0
       leash: 
           Id: 420
           Data: 0
       lever: 
           Id: 69
           Data: 0
       mobkilling: 
           Id: 367
           Data: 0
       monsters: 
           Id: 52
           Data: 0
       move: 
           Id: 301
           Data: 0
       nanimals: 
           Id: 383
           Data: 92
       nmonsters: 
           Id: 383
           Data: 51
       nofly: 
           Id: 171
           Data: 1
       nomobs: 
           Id: 166
           Data: 0
       note:
           Id: 25
           Data: 0
       piston: 
           Id: 33
           Data: 0
       place: 
           Id: 169
           Data: 0
       pvp: 
           Id: 268
           Data: 0
       sanimals: 
           Id: 383
           Data: 101
       shear: 
           Id: 359
           Data: 0
       smonsters: 
           Id: 383
           Data: 54
       subzone: 
           Id: 160
           Data: 7
       table: 
           Id: 58
           Data: 0
       tnt: 
           Id: 46
           Data: 0
       tp: 
           Id: 120
           Data: 0
       trade: 
           Id: 388
           Data: 0
       trample:
           Id: 3
           Data: 0
       use: 
           Id: 70
           Data: 0
       vehicledestroy: 
           Id: 328
           Data: 0
       waterflow: 
           Id: 326
           Data: 0
   # These are default flags applied to all residences from any user group.
   ResidenceDefault:
       build: false
       destroy: false
       use: false
       container: false
       pvp: false
       tnt: false
       creeper: false
       ignite: false
       firespread: false
       vehicledestroy: false
       animalkilling: false
       hook: false
       shear: false
       leash: false
       pistonprotection: true
       tp: true
       explode: false
   # These are default flags applied to the residence creator of any group.
   CreatorDefault:
       build: true
       move: true
       use: true
       ignite: true
       container: true
       animalkilling: true
       mobkilling: true
       vehicledestroy: true
       trade: true
       shear: true
       leash: true
    # These are default group flags applied to a residence made by a user of any group.
   GroupDefault:
       #default: #group name
           #build: true
    # These are grouped flags, so when using /res pset nickname redstone true, player will get all flags in list, same when setting to false or removing them.
   GroupedFlags:
     redstone:
     - note
     - pressure
     - lever
     - button
     - diode
     craft:
     - brew
     - table
     - enchant
     trusted:
     - use
     - tp
     - build
     - container
     - move
     - leash
     - animalkilling
     - mobkilling
     - shear
     - chat
     - beacon
     fire:
     - ignite
     - firespread
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'

插件权限

residence.group.[groupname] -从groups.yml中设置玩家的领地组
residence.flag.[flag] - 在某flag在flag.yml中关闭时允许玩家使用该flag
residence.worldguard.[worldRegionName] - 允许在worldguard区域内创建领地
residence.max.subzones.[number] - 玩家可拥有的最大子领地数量
residence.max.rents.[number] - 玩家可出租的最大领地数量
residence.max.res.[number] - 玩家可拥有的最大领地数量
residence.admin - (OP) 给玩家使用/resadmin的权限
residence.topadmin - (OP) 给玩家使用 /resreload 和 /resload commands的权限
residence.admin.tp - (OP) 允许无视tp权限
residence.admin.move - (OP) 允许无视移动权限
residence.create - (Default) 允许创建领地
residence.select - (Default) 允许选择区域以创建领地
residence.nofly.bypass - (OP) 无视禁飞
residence.delete - (Default) 允许删除自己的领地
residence.delete.subzone - (Default) 允许删除自己的子领地
residence.rename - (Default) 允许重命名领地
residence.create.subzone - (Default) 允许在领地内创建子领地
residence.expand - (Default) 允许扩张自己的领地
residence.expand.subzone - (Default) 允许扩张自己的子领地
residence.contract - (Default) 允许合并自己的领地
residence.contract.subzone - (Default) 允许合并自己的子领地
residence.resize - (Default) 允许重新设置领地大小
residence.versioncheck - (OP) 允许接收新版本通知
residence.flag.command.bypass - (OP) 无视领地内输入命令权限
residence.select.auto.others - (OP) 允许为其他玩家开启自动选择
residence.chatcolor - (Default) 允许修改领地聊天颜色
residence.chatprefix - (OP) 允许修改领地聊天前缀
residence.chatkick - (Default) 允许将玩家从领地聊天频道踢出
residence.compass - (Default) 允许设置指南针指向
residence.randomtp - (Default) 允许使用 /res rt 命令
residence.bypass.build - 无视 build false flag
residence.bypass.destroy - 无视 destroy false flag
residence.bypass.ignorey - 无视领地Y坐标(高度)限制
residence.backup - 允许使用flag:backup
residence.cleanbypass - 防止玩家的领地在自动清理时被移除
residence.market.evict - 允许强制赶出领地内的玩家
residence.flybypass - 允许无视禁止飞行设置

注意事项

  1. 若使用Vault和WorldEdit,建议使用最新版本,否则可能出现各种问题。
  2. 若使用多世界插件(Multiverse-Core或Multiworld),必须在config.yml的“MultiWorldPlugin:”后填写(如:MultiWorldPlugin: Multiverse-Core),否则会出现重启服务器领地不保存的问题。
  3. 1.8版本以下不支持ActionBar功能,插件默认开启此功能,可在config.yml中设置关闭(UseActionBar: false)

插件获取

此插件为SpigotMC上的付费插件,价格为9.99欧元(约合76.4RMB),作者在SpigotMC的页面中放出了不需付费的下载链接,可自行前去寻找。(点击前往
欲及时获知新版本及新版特性,可去mcbbs.net服务器插件区搜索“Residence”收藏搬运帖。