概述
LandLord 是一款 Bukkit 插件,引入了一个物业管理机制。玩家可以在指定的房产中生成“租客”(村民),使用特殊物品将其驱逐,并通过诸如“租客清除法杖”等工具进行管理。
功能
- 租客生成蛋 – 使用自定义的蛋形物品在指定房产中生成租客(村民)。
- 房产范围检查 – 租客只能在特定房产的边界内生成。
- 租客清除法杖 – 右键点击租客即可立即将其驱逐。
- 防伤害保护 – 租客免疫来自玩家或环境的伤害。
- 事件处理 – 提供用于生成和消失租客的自定义事件。
安装
- 从 Releases 页面下载最新版本。
- 将
.jar 文件放入服务器的 plugins 文件夹中。
- 重启服务器以加载该插件。
命令
/property - 获取房产法杖
/removerenter - 获取租客清除法杖
/managehouses - 打开契约菜单以管理房产
权限
landlord.getwand - 允许使用 /property
landlord.getremover - 允许使用 /removerenter
landlord.managehouses - 允许使用 /managehouses
使用方法
生成租客
- 通过命令或插件功能从你的物品栏中获取 租客生成蛋。
- 在指定房产内投掷该蛋以生成一名租客。
- 租客会自动与该房产关联;系统会发送成功消息进行确认。
移除租客
- 使用 租客清除法杖 右键点击一名租客。
- 当租客被驱逐后,你将收到确认信息。
租客保护
配置
房产数据以 JSON 格式存储。你可以在配置文件中自定义房产、范围以及租客行为,以满足你服务器的需求。
贡献
欢迎提供建议、报告问题或提交 Pull Request!请确保你的代码符合插件的标准,并包含必要的文档/注释。
许可证
本插件采用 MIT 许可证授权 – 详情请参阅 LICENSE 文件。
致谢
Overview
LandLord is a Bukkit plugin that introduces a property management system. Players can spawn "renters" (villagers) into designated properties, evict them with a special item, and manage them using tools like the "Renter Remover Wand."
Features
- Renter Spawn Egg – Spawn renters (villagers) in a designated property using a custom egg item.
- Property Range Check – Renters can only be spawned within the bounds of a specific property.
- Renter Remover Wand – Right-click a renter to evict them instantly.
- Anti-Damage – Renters are immune to player or environmental damage.
- Event Handling – Custom events for spawning and despawning renters.
Installation
- Download the latest release from the Releases page.
- Place the
.jar file in your server's plugins folder.
- Restart your server to load the plugin.
Commands
/property - Get the Property Wand
/removerenter - Get the Renter Remover Wand
/managehouses - Open the Deed Menu to manage properties
Permissions
landlord.getwand - Allows use of /property
landlord.getremover - Allows use of /removerenter
landlord.managehouses - Allows use of /managehouses
How to Use
Spawning Renters
- Get the Renter Spawn Egg from your inventory via command or plugin feature.
- Throw the egg inside a designated property to spawn a renter.
- The renter is automatically linked to the property; a success message will confirm it.
Removing Renters
- Right-click a renter with the Renter Remover Wand.
- You’ll receive confirmation when the renter has been evicted.
Renter Protection
- Renters are immune to damage, preventing accidental harm or griefing.
Configuration
Property data is stored in JSON format. You can customize properties, ranges, and renter behavior in the config files to suit your server’s needs.
Contributing
Suggestions, issues, or pull requests are welcome! Make sure your code follows the plugin’s standards and includes necessary documentation/comments.
License
This plugin is licensed under the MIT License – see the LICENSE file for full details.
Credits
评论 0
登录后参与评分
还没有评论,来抢沙发吧