as616010480
本帖最后由 as616010480 于 2023-2-6 12:59 编辑

服务器版本:1.19.2
res版本:5.1.0.1
玩家创建领地的时候,每个格子的费用是192,groups.yml里设置的是0.5
最新发现:格子费用变多是因为圈地的方块数被插件统计为的x和z坐标(同一个高度内的平面)内的方块数*384,高度不算,比如我圈了一个3x2x4的领地,4是高度,则插件统计方块数为3x2x384, 高度不算数
补充一下groups配置
  1. # These groups correspond to the Permissions groups defined in your '<worldname>.yml'
  2. Groups:
  3.     Default: #group name, DONT remove this group
  4.        # Information about the Residence zone that the player can define.
  5.        #Uncomment the lines below to mirror this config to other groups.
  6.        #Mirror:
  7.          #- 'group1'
  8.          #- 'group2'
  9.        Residence:
  10.            # Determins if this group can create residences or not.  This option can be overriden with the permissions node 'residence.create'
  11.            CanCreate: true
  12.            # The maximum number of Residences a player can have.
  13.            MaxResidences: 5
  14.            # The maximum number of physical areas a residence can have.
  15.            MaxAreasPerResidence: 2
  16.            # The maximum number of blocks a Residence can be, East to West (X).
  17.            MaxEastWest: 666
  18.            # (Optional) The minimum number of blocks a Residence can be, East to West (X).
  19.            MinEastWest: 1
  20.            # The maximum number of blocks a Residence can be, North to South (Z).
  21.            MaxNorthSouth: 666
  22.            # (Optional) The minimum number of blocks a Residence can be, North to South (Z).
  23.            MinNorthSouth: 1
  24.            # The maximum number of blocks a Residence can be, High to Low (Y).
  25.            MaxUpDown: 320
  26.            # (Optional) The minimum number of blocks a Residence can be, High to Low (Y).
  27.            MinUpDown: 1
  28.            # The lowest altitude this group is allowed to protect.
  29.            MinHeight: -64
  30.            # The highest altitude this group is allowed to protect.
  31.            MaxHeight: 320
  32.             # The maximum amount of subzones can current area have.
  33.            MaxSubzonesInArea: 10
  34.             # The maximum recursive depth that subzones can go.
  35.             # A subzone within a subzone within the Residence zone would be a depth of 2.
  36.             # Set to 0 to disable subzones.
  37.            SubzoneDepth: 3
  38.            # (Optional) The maximum number of blocks a Residence Subzone can be, East to West (X).
  39.            SubzoneMaxEastWest: 16
  40.            # (Optional) The minimum number of blocks a Residence Subzone can be, East to West (X).
  41.            SubzoneMinEastWest: 3
  42.            # (Optional) The maximum number of blocks a Residence Subzone can be, North to South (Z).
  43.            SubzoneMaxNorthSouth: 16
  44.            # (Optional) The minimum number of blocks a Residence Subzone can be, North to South (Z).
  45.            SubzoneMinNorthSouth: 3
  46.            # (Optional) The maximum number of blocks a Residence Subzone can be, High to Low (Y).
  47.            SubzoneMaxUpDown: 320
  48.            # (Optional) The minimum number of blocks a Residence Subzone can be, High to Low (Y).
  49.            SubzoneMinUpDown: 3
  50.            # Whether or not to allow teleporting to Residences.
  51.            CanTeleport: true
  52.            # Allow or Disallow the use of /res unstuck, to get yourself out of a residence if stuck in one somehow
  53.            Unstuck: true
  54.            # Allow or Disallow the use of /res kick, to kick player from residence.
  55.            Kick: False
  56.            # Allow or Disallow the use of the /res select command, if disabled they can only use the selection tool.
  57.            SelectCommandAccess: true
  58.            # Allow or Disallow the group to access the Blacklist/Ignorelist for residences they own.
  59.            ItemListAccess: true
  60.        # Options relating to enter and leave messages on the residence.
  61.        Messaging:
  62.            # Whether or not the player can change the Residence enter and leave messages.
  63.            CanChange: true
  64.            # The default enter message to apply to new Residences created by players in this group.
  65.            # Use %zone if you want to include only current residence name without including parent zones into name
  66.            # Leaving the message blank will disable it.
  67.            DefaultEnter: "&f欢迎进入&n%owner&f的领地."
  68.            # The default leave message to apply to new Residences created by players in this group.
  69.            # Use %zone if you want to include only current residence name without including parent zones into name
  70.            # Leaving the message blank will disable it.
  71.            DefaultLeave: "你离开了领地 %residence."
  72.        # Options relating to the Lease system.
  73.        Lease:
  74.           # The maximum number of days to allow leases.
  75.           MaxDays: 16
  76.           # The number of days to add to the lease following a '/res lease renew' command.
  77.           RenewIncrement: 14
  78.        #Options related to the rent system
  79.        Rent:
  80.            #determines how many residences can be rented by players of this group at once
  81.            MaxRents: 3
  82.            #determines how many residences can be set for rent by players of this group at once
  83.            MaxRentables: 3
  84.            # determines max days player can rent residence at once
  85.            MaxRentDays: 31
  86.        # Options relating to the Residence Economy.
  87.        Economy:
  88.           # Whether or not players in this group can buy other Residences that are for sale.
  89.           CanBuy: true
  90.           # Whether or not players in this group can sell their Residences.
  91.           CanSell: false
  92.           # Whether or not to ignore the Residence size/count limits when buying a residence.
  93.           IgnoreLimits: false
  94.           # The cost, per block, of making a new Residence or adding a area to it.
  95.           BuyCost: 0.5
  96.           # The cost, per block, player will be getting back when removing residence.
  97.           # ATTENTION ResMoneyBack needs to be enabled in config file for this to work
  98.           SellCost: 0.1
  99.           # The cost, per block, of renewing a Residence lease (if the lease system is enabled).
  100.           RenewCost: 0.8
  101.        # Flags are checked in the order:
  102.        # 1: Player
  103.        # 2: Group
  104.        # 3: Owner
  105.        # 4: If all others are undefined, reverts to default value (usually true).
  106.        # Flag permissions default to false.
  107.        # These flags settings override the globals.
  108.        Flags:
  109.           # Specifically allow or deny this group from changing certain flags.
  110.           Permission:
  111.                #build: true
  112.           # Specifys the flags that are applied at residence creation for players of this group.
  113.           Default:
  114.               #build: true
  115.           # Specifys the flags that are applied at to the creator at residence creation.
  116.           CreatorDefault:
  117.               #build: true
  118.           # Specifys the flags that are applied to other groups for this residence, at creation.
  119.           GroupDefault:
  120.                #default: #group name
  121.                    #build: false
  122.           #these flags are applied specifically to this group whenever they are outside a residence
  123.           #these flags will override the flags at the top, under the Global section.
  124.           World:
  125.                 Global: #these flags will apply to all worlds
  126.                      #build: false
  127.                 WorldNameHere: #or you can apply them by each individual world
  128.                      #build: false
  129.     NextGroup: #group name, player should have residence.group.nextgroup permission node to have access to this residence group
  130.        Residence:
  131.            CanCreate: true
  132.            MaxResidences: 4
  133.            MaxAreasPerResidence: 2
  134.            MaxEastWest: 60
  135.            MaxNorthSouth: 60
  136.            MaxUpDown: 60
  137.            MinHeight: -64
  138.            MaxHeight: 320
  139.            SubzoneDepth: 3
  140.            CanTeleport: true
  141.            Unstuck: true
  142.            Kick: true
  143.            SelectCommandAccess: true
  144.            ItemListAccess: true
  145.        Messaging:
  146.            CanChange: true
  147.            DefaultEnter: "Welcome %player to %residence, owned by %owner."
  148.            DefaultLeave: "Now leaving %residence."
  149.        Lease:
  150.           MaxDays: 16
  151.           RenewIncrement: 14
  152.        Rent:
  153.            MaxRents: 3
  154.            MaxRentables: 3
  155.            MaxRentDays: 31
  156.        Economy:
  157.           CanBuy: true
  158.           CanSell: false
  159.           IgnoreLimits: false
  160.           BuyCost: 0.5
  161.           SellCost: 0.3
  162.           RenewCost: 0.3

  163. # You can manually specify the group a player is in below, this overrides their permissions group.
  164. GroupAssignments:
  165.      bekvon: default
  166.      player: default
复制代码


IceServer
groups.yml中默认存在两个组,如果你没修改过领地插件的其他配置文件的话,请确保你修改的是其中Default组中的BuyCost项,而且你应确定你保存了,并且使用了/res reload groups指令来应用修改,如果依旧无效,你可以尝试在groups里查询一下“192”,看看是否是改错了位置

PixelWorld
出现这种情况一般是配置错误

BedrockCC
看一下groups里面的default,你可能设置的是vip的权限组

as616010480
IceServer 发表于 2023-2-6 05:34
groups.yml中默认存在两个组,如果你没修改过领地插件的其他配置文件的话,请确保你修改的是其中Default组 ...

无192  是Default

as616010480
BedrockCC 发表于 2023-2-6 11:56
看一下groups里面的default,你可能设置的是vip的权限组

没有这种情况  可以看我新补充的groups

as616010480
PixelWorld 发表于 2023-2-6 09:46
出现这种情况一般是配置错误

可以看我补充的配置文件