ShinnUI wiki
Trang chủ/Tích hợp/Plugin hỗ trợ

Hook plugin — tương thích

ShinnUI tự nhận diện plugin khi server khởi động và bật hook tương ứng — không cần bật/tắt trong config. Bảng dưới là toàn bộ hook có trong source, chia theo mục đích.

Item & vật phẩm#2>
PluginTích hợp
Nexosource: nexo:<id> trong icon; trait nexo-id trong matcher; nexo-id: cho slot Input; glyph BOOK.
ItemsAddersource: ias:<namespace:id>; placeholder font.
Oraxensource: oraxen:<id>.
EcoItemsCustom item source.
MMOItemssource: mmo:<type:id>.
NeigeItemsCustom item source.
SXItemCustom item source.
ZaphkielCustom item source (plugin CN).
MagicGemCustom item source.
MythicMobsItem từ mob-drop config: source: mm:<id>.
NBTAPITrait nbt: trong Item Matcher. Không cài → trait degrade an toàn (không nhận gì).
HeadDatabasesource: hdb-<id>.
SkullsHead nguồn mở rộng.

Kinh tế & điểm#2>
PluginTích hợp
Vaulttake-money/give-money, Kether money, condition money *N. Bắt buộc cho mọi menu shop.
PlayerPointstake-points/give-points, Kether points.
MeowEcoHệ economy thay thế (hook MeowEco API).
AzureFlowEconomy API (fork AzureZP).

Hiển thị & ngôn ngữ#2>
PluginTích hợp
FancyHologramsRender-Type DISPLAY — mỗi icon là hologram trong thế giới.
TritonFunction variable {triton: key} — dịch text theo client locale.
SkinsRestorerSkin head chính xác trên offline-mode server.

Script & engine#2>
PluginTích hợp
GraalJSEngine JS ES6+ cho condition/function — bật qua Options.Scripts.Enable-GraalJS (xem JavaScript).
NovaScriptFunction variable {nova: expr} (alias {novalang:}, {novascript:}).

Nguyên tắc degrade: mọi hook đều optional. Thiếu plugin thì tính năng tương ứng tắt hoặc matcher trả "không khớp" — menu vẫn nạp, không crash. Log console sẽ liệt kê hook nào được bật lúc start: dòng Hooked [Nexo, Vault, FancyHolograms…].

Kiểm tra hook đã bật#2>
# Console lúc start:
[ShinnUI] Hooked [PlaceholderAPI, Vault, PlayerPoints, Nexo, FancyHolograms]

# Hoặc trong game:
/shinnui debug   # xem trạng thái hook + menu nạp