SiHome
SiHome 是一款现代、轻量且高度可配置的家插件,适用于 Minecraft 服务器。
它提供了现代化的对话框 GUI、箱子 GUI、针对不同客户端版本的自动 GUI 选择、可定制的家管理、传送安全机制、自定义家图标、多语言支持、PlaceholderAPI 集成、Vault 和 WorldGuard 支持等功能。
功能特性
家(Homes)
- 创建、传送至、重命名和删除家
- 可配置的家数量上限
- 基于权限的家数量上限
- 家槽位
- 家名称验证
- 可配置的禁用字符
- 持久化家存储
- 绕过家数量限制的权限
家图标
- 将自定义的 Minecraft 物品设置为主图标
- 随时更改家图标
- 将家重置为默认图标
- 浏览可用的 Minecraft 物品
- 图标随每个家永久保存
- 无效图标的自动回退机制
GUI
SiHome 同时支持现代化的对话框菜单和箱子菜单。
对话框 GUI (Dialog GUI)
默认的对话框 GUI 设计灵感来源于 DonutSMP 的主页界面。
- 现代 Paper Dialog 界面
- 可配置的列数
- 可配置的按钮宽度
- 可配置的工具提示
- 自定义家按钮
- “显示更多”系统
- 自定义物品图标
- 可配置的布局

箱子 GUI (Chest GUI)
- 基于库存的界面
- 完全可配置的布局
- 基于步骤的“显示更多”系统
- 可配置的家槽位
- 可配置的填充槽位
- 可配置的导航按钮
- 分页功能
- 管理家菜单
- 删除确认菜单
- 更改图标菜单
- 搜索菜单

GUI 选择
SiHome 支持四种 GUI 模式:
# 始终使用对话框 GUI。
gui:
type: DIALOG
# 始终使用箱子 GUI。
gui:
type: CHEST
# 在对话框和箱子之间自动选择。
gui:
type: BOTH
# 禁用 GUI。
gui:
type: NONE
当启用 BOTH 时,可以使用 ViaVersion 来检测玩家的客户端版本。支持现代协议的客户端将收到对话框 GUI,而较旧的客户端则使用箱子 GUI。
家操作
箱子 GUI 中的家操作可以独立配置。
示例:
home-actions:
left-click: teleport
right-click: manage
shift-left-click: delete
shift-right-click: nothing
传送
- 传送倒计时
- 可配置的传送延迟
- 玩家移动时取消传送
- 玩家受到伤害时取消传送
- 传送后的伤害免疫
- 可配置的传送费用
- 世界黑名单
- WorldGuard 支持
- 不安全传送保护
- 可选的传送确认
权限
经济
每个命令都可以拥有各自可配置的费用。需要安装 Vault 才能使用经济功能。
支持的命令:
/home
/sethome
/delhome
/renamehome
PlaceholderAPI
SiHome 提供了 %sihome_...% PlaceholderAPI 扩展。
%sihome_home_count%
%sihome_home_limit%
%sihome_has_home%
%sihome_first_home%
%sihome_last_home%
%sihome_free_slots%
%sihome_home_<number>%
%sihome_home_<number>_exists%
%sihome_home_<number>_world%
%sihome_home_<number>_x%
%sihome_home_<number>_y%
%sihome_home_<number>_z%
%sihome_home_<number>_location%
集成
- PlaceholderAPI
- Vault
- WorldGuard
- ViaVersion
- ViaBackwards
语言
消息可以作为普通聊天消息或动作栏消息发送。对于支持的消息类型,可以配置其发送方式。
可用的语言文件:
en_us.yml
es_es.yml
fa_ir.yml
de_de.yml
fr_fr.yml
hi_in.yml
ja_jp.yml
ko_kr.yml
pt_br.yml
ru_ru.yml
zh_cn.yml
tr_tr.yml
it_it.yml
所有语言文件均可自定义。
格式
SiHome 支持旧版颜色代码、旧版十六进制颜色和 MiniMessage 格式。
&0 - &f
&#RRGGBB
<red>...</red>
<#RRGGBB>...</#RRGGBB>
配置
可用的配置文件:
config.yml
dialog-gui.yml
chest-gui.yml
messages/
sprite-mapping.yml
homes.yml
您可以自定义 GUI 布局、按钮、材质、名称、描述、音效、传送设置、家数量限制、费用、消息、世界限制等。
命令
/sethome <name>
/home [name]
/delhome <name>
/renamehome <old> <new>
/homes
管理员命令
/sihome reload
/sethome <player>: <home>
/home <player>: <home>
/delhome <player>: <home>
/renamehome <player>: <home> <new>
性能
SiHome 旨在保持轻量级,并避免在主服务器线程上进行不必要的工作。
SiHome
SiHome is a modern, lightweight and highly configurable homes plugin for Minecraft servers.
It provides a modern Dialog GUI, a Chest GUI, automatic GUI selection for different client versions, customizable home management, teleport safety, custom home icons, multilingual support, PlaceholderAPI integration, Vault and WorldGuard support, and more.
Features
Homes
- Create, teleport to, rename and delete homes
- Configurable home limits
- Permission-based home limits
- Home slots
- Home name validation
- Configurable blocked characters
- Persistent home storage
- Home limit bypass permissions
Home Icons
- Set a custom Minecraft item as a home icon
- Change home icons at any time
- Reset a home to the default icon
- Search through available Minecraft items
- Icons are saved permanently with each home
- Automatic fallback for invalid icons
GUIs
SiHome supports both modern Dialog menus and Chest menus.
Dialog GUI
The default Dialog GUI design is inspired by the home interface of DonutSMP.
- Modern Paper Dialog interface
- Configurable columns
- Configurable button width
- Configurable tooltips
- Custom home buttons
- Show More system
- Custom item icons
- Configurable layout

Chest GUI
- Inventory-based interface
- Fully configurable layouts
- Step-based Show More system
- Configurable home slots
- Configurable filler slots
- Configurable navigation buttons
- Pagination
- Manage Home menu
- Delete confirmation menu
- Change Icon menu
- Search menu

GUI Selection
SiHome supports four GUI modes:
# Always use the Dialog GUI.
gui:
type: DIALOG
# Always use the Chest GUI.
gui:
type: CHEST
# Automatically choose between Dialog and Chest.
gui:
type: BOTH
# Disable the GUI.
gui:
type: NONE
When BOTH is enabled, ViaVersion can be used to detect the player's client version. Modern supported clients can receive the Dialog GUI while older clients use the Chest GUI.
Home Actions
Chest GUI home actions can be configured independently.
Example:
home-actions:
left-click: teleport
right-click: manage
shift-left-click: delete
shift-right-click: nothing
Teleportation
- Teleport countdown
- Configurable teleport delay
- Cancel teleport when the player moves
- Cancel teleport when the player takes damage
- Damage immunity after teleport
- Configurable teleport costs
- World blacklist
- WorldGuard support
- Unsafe teleport protection
- Optional teleport confirmation
Permissions
- Command permissions
- Home limit permissions
- Admin permissions
- Bypass permissions
Economy
Each command can have its own configurable cost. Vault is required for economy features.
Supported commands:
/home
/sethome
/delhome
/renamehome
PlaceholderAPI
SiHome provides the %sihome_...% PlaceholderAPI expansion.
%sihome_home_count%
%sihome_home_limit%
%sihome_has_home%
%sihome_first_home%
%sihome_last_home%
%sihome_free_slots%
%sihome_home_<number>%
%sihome_home_<number>_exists%
%sihome_home_<number>_world%
%sihome_home_<number>_x%
%sihome_home_<number>_y%
%sihome_home_<number>_z%
%sihome_home_<number>_location%
Integrations
- PlaceholderAPI
- Vault
- WorldGuard
- ViaVersion
- ViaBackwards
Languages
Messages can be sent as regular chat messages or Action Bar messages. The delivery type can be configured for supported messages.
Available language files:
en_us.yml
es_es.yml
fa_ir.yml
de_de.yml
fr_fr.yml
hi_in.yml
ja_jp.yml
ko_kr.yml
pt_br.yml
ru_ru.yml
zh_cn.yml
tr_tr.yml
it_it.yml
Every language file can be customized.
Formatting
SiHome supports Legacy colors, Legacy Hex colors and MiniMessage.
&0 - &f
&#RRGGBB
<red>...</red>
<#RRGGBB>...</#RRGGBB>
Configuration
Available configuration files:
config.yml
dialog-gui.yml
chest-gui.yml
messages/
sprite-mapping.yml
homes.yml
You can customize GUI layouts, buttons, materials, names, lore, sounds, teleport settings, home limits, costs, messages, world restrictions and more.
Commands
/sethome <name>
/home [name]
/delhome <name>
/renamehome <old> <new>
/homes
Admin Commands
/sihome reload
/sethome <player>: <home>
/home <player>: <home>
/delhome <player>: <home>
/renamehome <player>: <home> <new>
Performance
SiHome is designed to remain lightweight and avoid unnecessary work on the main server thread.
评论 0
登录后参与评分
还没有评论,来抢沙发吧