Skip to content

[BUG] 选地过大则始终提示出生点保护 #209

@xiaLingLuo

Description

@xiaLingLuo

🐛 BUG描述

我在配置文件已更改server-spawn-protection-radius: 0,或者也尝试过server-spawn-protection-radius: -1,但是玩家当创建的领地比较大时则会显示“创建领地 失败,原因:领地 与出生点保护冲突”。但如果玩家先创建一个小领地再扩建则不会如此提示。

📋 复现步骤

我在配置文件已更改server-spawn-protection-radius: 0,或者也尝试过server-spawn-protection-radius: -1,但是玩家当创建的领地比较大时则会显示“创建领地 失败,原因:领地 与出生点保护冲突”。但如果玩家先创建一个小领地再扩建则不会如此提示。

✅ 期望行为

正常创建领地

❌ 实际行为

提示出生点保护

📷 截图/视频

🖥️ 运行环境

服务器信息:

  • 操作系统: Ubuntu 24.04.03
  • 服务端核心: Folia
  • 服务端版本: 1.21.11
  • Java版本: Java21
  • 插件列表: [请列出所有已安装的插件,特别是与Dominion相关的插件]

插件信息:

  • Dominion版本: [例如: 4.7.5-release-lite]
  • 其他相关插件: [如果有的话,列出可能冲突的插件]

客户端信息:

  • 客户端版本: 测试过的所有版本均出现
  • 客户端类型: 原版

📝 错误日志

在这里上传错误日志

🔧 配置文件

点击展开配置文件
# This is the configuration file of Dominion.
# For more information, please refer to the documentation.
# https://dominion.lunadeer.cn/en/notes/doc/owner/config-ref/overview/
#
# If you want to control player's privilege, please refer to the limitations configuration.

# Do not modify this value.
version: 2
# The settings of the database.
database:
 
  type: mysql
# The settings of the multi server.
# If you have multiple servers proxied by BungeeCord, you can configure and enable this.
# Player can manage/teleport across multi-servers.
# Database with type sqlite is not supported in multi-server mode.
# For migration of existing data, please refer to the documentation.
# https://dominion.lunadeer.cn/notes/doc/owner/other/multi-server/
multi-server:
  # Enable multi server mode.
  enable: true
  # The name of this server.
  # This should be the same as configured in BC (Velocity).
  server-name: xiath
  # The id of this server, must be unique among all servers.
  # Must be positive integer. > 0
  # DO NOT CHANGE THIS AFTER THERE ARE DATA IN THE DATABASE.
  server-id: 1
# Language of the plugin, see others in the plugins/Dominion/languages folder.
language: zh_cn
# Radius of the auto create dominion. -1 to disable.
auto-create-radius: 10
# If player don't login for this days, his dominion will be auto cleaned.
# Set to -1 to disable.
auto-clean-after-days: 180
# Prevent player from creating dominion around the spawn point.
server-spawn-protection-radius: 0
# Tool used to select position for creating dominion.
select-tool: wooden_hoe
# Tool used to show information of clicked dominion.
info-tool: bowl
# The settings of the player default using UI. (For bedrock player, will always be CUI.)
# If set to CUI or TUI, player can not change their UI type.
# BY_PLAYER: Decide by player themselves.
# CUI: Chest GUI.
# TUI: Text GUI.
default-ui-type: BY_PLAYER
# The settings of the plugin message.
plugin-message:
  # The default message when player enter/leave dominion.
  # Variables: {OWNER} - owner of the dominion, {DOM} - name of the dominion.
  default-enter-message: '欢迎来到{DOM}'
  default-leave-message: '期待再见{DOM}'
  # Where to show the message.
  # Supported types: BOSS_BAR, ACTION_BAR, TITLE, SUBTITLE, CHAT
  no-permission-display-place: CHAT
  enter-leave-display-place: TITLE
# Weather the player can migrate residence data to dominion.
residence-migration: false
# Weather the player have dominion.admin permission can bypass the dominion limitation.
admin-bypass: true
# The settings of the group title.
# Player can use there group name as title in tab list.
group-title:
  enable: false
  prefix: '['
  suffix: ']'
# The settings of the external link.
external-links:
  command-help: ''
  documentation: https://dominion.lunadeer.cn/notes/doc/player/
# Player with these permission nodes won't be affected by dominion's fly limitation.
fly-permission-nodes:
- essentials.fly
- cmi.command.fly
# Check for updates by internet.
check-update: false
# Debug mode, if report bugs turn this on.
debug: false
# Performance recorder, don't open this unless you are debugging.
timer: false

📋 额外信息

自安装起,便有此bug

✅ 检查清单

  • [ 1] 我已经搜索了现有的issues,确认这不是重复报告
  • [1 ] 我使用的是最新版本的插件
  • [1 ] 我已经提供了完整的错误日志(如果有)
  • [1 ] 我已经提供了详细的复现步骤
  • [1 ] 我已经填写了完整的运行环境信息

Metadata

Metadata

Labels

BugSomething went wrong unexpectily.DoubtfulDoubts, waiting for replicated.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions