LandBuy
描述
LandBuy 是一款功能强大的 Paper Minecraft 插件,允许玩家从服务器购买地块。该插件提供了一种无缝的方式,让普通玩家能够购买土地,同时防止他人破坏他们的财产。
功能
- 购买自定义地块
- 出售不再需要的土地
- 保护已拥有的土地免受其他玩家干扰
- 可配置每方块价格和基础价格
- 查看地块的详细信息
- 管理玩家土地的后台工具
- 向地块添加受信任成员
- 重命名土地
- 转移土地所有权
技术细节
LandBuy 将其显示名称、所有者和价格存储在其自己的配置文件中,但使用 WorldGuard 作为后端来实际保护和管理区域。Worldguard 区域名称是内部 ID 系统的一部分生成的,因此不会与现有区域冲突。对于货币交易,LandBuy 直接从玩家的 Vault 余额中扣除费用。
权限
LandBuy 自带两个权限。landbuy.land.own 允许购买和出售土地,而 landbuy.land.admin 允许查看和修改他人的土地。
命令
- 普通用户命令 (
landbuy.land.own):/land select: 首先选择一个区域/land cancel: 取消区域选择/land buy: 购买当前选定的区域/land sell [name]: 将一块土地卖回给服务器/land details [name]: 查看某块土地的详细信息/land borders: 切换边界显示和土地信息的开启或关闭/land list: 查看拥有土地的列表/land rename [old name] [new name]: 重命名一块土地/land transfer [name] [player]: 转移土地所有权/land trust [player] [name]: 添加受信任成员/land untrust [player] [name]: 移除受信任成员
- 管理员命令 (
landbuy.land.admin):/lbadmin list [player]: 列出指定玩家拥有的所有地块/lbadmin listall: 列出所有注册的地块及其所有者/lbadmin del [player] [land name]: 删除属于指定玩家的特定名称的地块/lbadmin del [region ID]: 根据指定的区域 ID 删除地块/lbadmin details [player] [land name]: 查看属于指定玩家的特定名称土地的详细信息/lbadmin details [region ID]: 根据指定的区域 ID 查看土地的详细信息/lbadmin reload: 重新加载土地数据和配置
配置
可以通过编辑 config.yml 更改全局插件设置。
pricing:base-price: 注册土地所需的基础价格,默认为 $100price-per-block: 每个方块的额外费用,默认为 $1.25sell-percentage: 出售时退还的购买价格百分比,默认为 60% (0.6)
region:expand-down: 包含在购买土地中的最低选定方块下方的方块数,默认为 15
selection:timeout-minutes: 自动取消土地选择前的时间(分钟),默认为 10 分钟
plugin:update-check: 是否自动检查更新,默认为 true
依赖项
LandBuy 依赖以下插件:
- WorldGuard
- Vault
此外,LandBuy 还需要一个经济插件,例如 EssentialsX。
兼容性
LandBuy 专为 PaperMC 服务器构建。它可能也适用于 PaperMC 的分叉版本,如 Folia 或 Purpur,但不保证兼容性。
文档
有关项目的更多详细信息,请参阅 documentation。
许可证
LandBuy 是在 MIT License 许可下的免费开源软件。您有权在符合此许可证条款的情况下自由使用、修改或重新分发该程序和源代码。
LandBuy
Description
LandBuy is a robust Minecraft plugin for Paper that allows players to purchase plots of land from the server. This plugin offers a seamless way for ordinary players to purchase land from the server in a way that prevents others from messing with their property.
Features
- Buy custom plots of land
- Sell land you no longer want
- Protection of owned land from other players
- Configurable price per block and base price
- See details about a plot of land
- Admin tools to manage players' land
- Add trusted members to a plot of land
- Rename land
- Transfer ownership of land
Technical
LandBuy stores display names, owners, and prices in its own configuration file, but uses WorldGuard for the backend to actually protect and store regions. Worldguard region names are generated as part of an internal ID system, so they won't clash with existing regions. For monetary transactions, LandBuy simply withdraws from a player's Vault balance.
Permissions
LandBuy comes with two permissions. landbuy.land.own gives access to buying and selling land, while landbuy.land.admin gives permission to view and modify other people's land.
Commands
- Normal user commands (
landbuy.land.own):/land select: Start off by selecting a region/land cancel: Cancel region selection/land buy: Buy the region currently selected/land sell [name]: Sell a plot of land back to the server/land details [name]: See the details about a plot of land/land borders: Toggle border display and land info on or off/land list: See a list of owned land/land rename [old name] [new name]: Rename a plot of land/land transfer [name] [player]: Transfer ownership of land/land trust [player] [name]: Add a trusted member/land untrust [player] [name]: Remove a trusted member
- Admin commands (
landbuy.land.admin):/lbadmin list [player]: List all plots of land owned by a specified player/lbadmin listall: List all registered plots of land, along with owners/lbadmin del [player] [land name]: Delete a plot of land with a specified name belonging to a specified player/lbadmin del [region ID]: Delete a plot of land based on the specified region ID/lbadmin details [player] [land name]: See details of land with a specified name belonging to a specified player/lbadmin details [region ID]: See details of land based on the specified region ID/lbadmin reload: Reload land data and config
Configuration
Global plugin settings can be changed by editing config.yml.
pricing:base-price: The base price required to register land, default $100price-per-block: Additional price charged for each block, default $1.25sell-percentage: Percentage of buy price that will be refunded on sell, default 60% (0.6)
region:expand-down: The number of blocks below the lowest selected block to include in the land purchase, default 15
selection:timeout-minutes: The time in minutes before land selection will automatically be canceled, default 10 min
plugin:update-check: Whether or not to automatically check for updates, default true
Dependencies
LandBuy depends on the following plugins:
- WorldGuard
- Vault
Additionally, LandBuy requires an economy plugin such as EssentialsX.
Compatibility
LandBuy is built for PaperMC servers. It will likely also work with forks of PaperMC such as Folia or Purpur, however, compatibility is not guarunteed.
Documentation
For more details about the project, see the documentation.
License
LandBuy is free and open source software licensed under the MIT License. You have the right to use, modify, or redistribute, the program and source code freely under the terms of this license.
下载 LandBuy
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 LandBuy
下载 LandBuy
下载 LandBuy
下载 LandBuy
下载 LandBuy
下载 LandBuy
下载 LandBuy
下载 LandBuy
新增
- 配置选项,允许启用测试分支以接收更新
- 可选将货币符号显示在数值之后
- 领地边界在周围渲染额外的粒子效果
- 拥有
landbuy.land.admin权限的玩家现在可以在任何领地内修改方块 /lbadmin migrate命令可将旧的 WorldGuard 数据迁移至新系统
移除
- WorldGuard 依赖项
更改
- 菜单中的边界切换按钮现在会根据当前边界模式动态变化
修复
- 插件现能正确处理引用不存在领地的尝试
新增
- 领地名称提示现在会显示区域信息
- /land 命令现在会打开一个包含各种子命令的菜单
更改
- 帮助菜单中的必填参数现在使用尖括号(<>)代替方括号([])
修复
- /land rename 命令不再允许将领地重命名为 'cancel'
新增
/lbadmin info命令- 现在可以在
config.yml中更改货币符号 - 现在可以对可拥有土地设置上限
修改
/land select现在显示价格信息- 命令建议现在能识别已输入的内容
- 更新检查现在会检查仓库的稳定分支
新增
- 插件现在会在控制台中记录更多消息
- 添加了检查更新的配置选项
修复
- 土地选择的超时设置现已生效
- 可配置的设置不再硬编码
- 缺失的配置项已替换为默认值
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
Vault2.0 是什么? Vault2.0 是一个经济插件,它注册了一个兼容 Vault API 的 Bukkit Economy 服务,允许其他插件(商店、等级等)使用货币而无需依赖原始的 Vault.jar。它包含菜单、支付/收费流程
插件
一款旨在与 Multiverse-Core 紧密结合的库存管理插件
插件
一个功能丰富、完全动画化的箱子插件,适用于 Paper 1.21.x,支持 IA、Vault、PlaceholderAPI 和 Citizens
插件
一个现代且高度可配置的 Essentials 插件,类似于 EssentialsX
插件
城镇现在可以要求建造具有特定功能的建筑
插件
奖励你的玩家,配送员,冷却时间,100% 可定制,支持 MySQL,多服务器!
评论 0
登录后参与评分
还没有评论,来抢沙发吧