SmartHomes 是一款轻量级、用户友好的 Spigot 插件,允许玩家通过简洁的 Minecraft 风格 GUI 管理家园。它用直观的箱子风格菜单取代了传统的基于命令的家系统,为玩家和服务器管理员提供流畅且现代化的体验。
功能
- 玩家可以使用库存风格菜单设置、传送至和删除家园,无需任何命令或输入家园名称。
- 玩家默认拥有 1 个家园。通过权限节点(如 home.homes.2、home.homes.3 等)可授予更多家园,最多支持 100 个。
- 自动分页
- 家园每页显示 5 个,并配有箭头按钮以便在不同页面间导航。
- 基于 UUID 的存储
- 玩家家园数据使用 UUID 保存,确保数据处理可靠。
- 传送延迟支持
- 可选的传送前延迟时间,并支持移动时取消传送。
- 管理员重载命令
- 使用 /smarthome reload 命令重载插件配置,无需重启服务器。
⌨️ 命令
/home – 打开 SmartHomes GUI
/smarthome reload – 重载插件配置文件(需要 smarthomes.admin 权限)
权限
home.homes.1 → 1 个家园(默认)
home.homes.2 → 2 个家园
home.homes.3 → 3 个家园
...
home.homes.100 → 100 个家园
smarthomes.admin → 授予 /smarthome reload 命令的使用权限
️ 使用方法
- 打开 GUI
- 使用 /home 打开你的个人家园菜单。
- 设置家园
- 点击空的床槽位以保存当前位置。
- 传送至家园
- 点击已保存家园的图标即可传送。
- 删除家园
- 点击家园旁边的红色屏障图标即可移除该家园。
- 导航页面
- 使用箭头按钮在多个页面间切换,随着家园数量增加可查看其他页面。
⚙️ 配置 (config.yml)
Config
# SmartHomes Configuration
# Teleport settings
teleport:
# Enable or disable teleport delay
delay-enabled: true
# Delay in seconds before teleporting
delay-seconds: 3
# Whether movement should cancel teleportation
cancel-on-move: true
SmartHomes is a lightweight, user-friendly Spigot plugin that lets players manage homes through a clean, Minecraft-style GUI. It replaces traditional command-based home systems with an intuitive chest-style menu, offering a smooth and modern experience for players and server owners alike.
Features
- Players can set, teleport to, and delete homes using an inventory-style menu no commands or home names needed.
- Players start with 1 home by default. Grant more with permission nodes like home.homes.2, home.homes.3, and so on up to 100 homes.
- Automatic Pagination
- Homes are displayed in groups of 5 per page, with arrow buttons to navigate between pages.
- UUID-Based Storage
- Player homes are saved using UUIDs, ensuring reliable data handling.
- Teleport Delay Support
- Optional delay before teleporting, with cancel-on-move functionality.
- Admin Reload Command
- Reload plugin configuration without restarting the server using /smarthome reload.
⌨️ Commands
/home – Opens the SmartHomes GUI
/smarthome reload – Reloads the plugin’s configuration file (requires smarthomes.admin)
Permissions
home.homes.1 → 1 home (default)
home.homes.2 → 2 homes
home.homes.3 → 3 homes
...
home.homes.100 → 100 homes
smarthomes.admin → Grants access to /smarthome reload
️ How to Use
- Open the GUI
- Use /home to open your personal homes menu.
- Set a Home
- Click an empty bed slot to save your current location.
- Teleport to a Home
- Click a saved home’s icon to teleport.
- Delete a Home
- Click the red barrier icon next to a home to remove it.
- Navigate Pages
- Use the arrows to switch between pages as more homes become available.
⚙️ Configuration (config.yml)
Config
# SmartHomes Configuration
# Teleport settings
teleport:
# Enable or disable teleport delay
delay-enabled: true
# Delay in seconds before teleporting
delay-seconds: 3
# Whether movement should cancel teleportation
cancel-on-move: true
评论 0
登录后参与评分
还没有评论,来抢沙发吧