# ? ShopGuiAddon
ShopGuiAddon 是 ShopGUI+ 的专业扩展插件。它允许管理员直接在游戏内管理价格、创建/删除商店,并编辑可视化菜单。通过直观的切换开关界面,完全兼容 Java 和 基岩版 (Geyser)。
✨ 主要功能
-
?️ 可视化价格编辑器 (GUI): 实时调整,支持面向基岩版的切换系统。
-
? 即时添加物品: 直接从手中将物品添加到任意商店槽位。
-
? 完整商店管理: 通过命令创建 (shopcreate) 或永久删除 (shopremove) 商店文件。
-
? 主菜单管理器: 在 /shop 菜单中链接、替换或取消链接商店快捷方式。

-
? 显示自定义器: 编辑商店物品名称和描述(支持使用 ; 进行换行)。

-
? Base64 皮肤支持: 为主菜单快捷方式使用自定义玩家头颅。

-
? 自动补全: 支持命令自动补全,帮助您了解每个子命令或完成命令参数所需的语法格式!=D

⚙️ 切换系统(基岩版兼容)
为了确保与手机和主机玩家的 100% 兼容性,编辑器使用了 切换开关(第 26 和第 35 号槽位):
- 白色玻璃板 (+): 加法模式。调整按钮将增加价格。
- 黑色玻璃板 (-): 减法模式。调整按钮将减少价格。

? 逻辑测试流程 (SGA 1.1)
复制并按照以下顺序操作以按顺序验证所有功能:
# 1. 商店与物品设置
/sga shopcreate test
/sga itemadd test 10 100 50
/sga edit test 10
/sga item test 10 name &aSpecial_Item
/sga item test 10 lore &7Line_1;&eLine_2
# 2. 主菜单管理
/sga link test 20 DIAMOND_BLOCK
/sga link test 20 GOLD_BLOCK
/sga replace test 20 GOLD_BLOCK
/sga menu 20 name &6&lVIP_Shop
/sga menu 20 lore &7Line_1;&eLine_2
/sga link test 21 PLAYER_HEAD [Base64]
# 3. 清理与最终化
/sga unlink 20
/sga itemremove test 10
/sga shopremove test
/sga reload
# 4. GUI 内部控件
GUI: 点击第 26 号槽位(将白色切换为黑色) -> 验证是否减少
GUI: 点击绿色玻璃板(检查视口)
GUI: 点击第 26 号槽位(将黑色切换为白色) -> 验证是否增加
GUI: 点击第 53 号槽位(重载 ShopGUI+)
# ? ShopGuiAddon
ShopGuiAddon is a professional expansion for ShopGUI+. It allows administrators to manage prices, create/delete shops, and edit visual menus directly in-game. Fully compatible with Java and Bedrock (Geyser) via an intuitive toggle-switch interface.
✨ Key Features
-
?️ Visual Price Editor (GUI): Real-time adjustments with a Bedrock-friendly toggle system.
-
? Instant Item Addition: Add items from your hand directly to any shop slot.
-
? Full Shop Management: Create (shopcreate) or permanently delete (shopremove) shop files via command.
-
? Main Menu Manager: Link, replace, or unlink shop shortcuts in your /shop menu.

-
? Display Customizer: Edit Names and Lores for shop items and menu icons (supports ; for line breaks).

-
? Base64 Skin Support: Custom player heads for main menu shortcuts.

-
? AutoComplet: Suport Auto Complet commands to know everty sub command or sintax format you must use to full command arguments! =D

⚙️ The Toggle System (Bedrock Compatible)
To ensure 100% compatibility with mobile and console players, the editor uses Toggle Switches (Slots 26 and 35):
- White Glass Pane (+): Addition Mode. Adjustment buttons will increase the price.
- Black Glass Pane (-): Subtraction Mode. Adjustment buttons will decrease the price.

? Logical Testing Flow (SGA 1.1)
Copy and follow this sequence to verify all features in order:
# 1. Shop & Item Setup
/sga shopcreate test
/sga itemadd test 10 100 50
/sga edit test 10
/sga item test 10 name &aSpecial_Item
/sga item test 10 lore &7Line_1;&eLine_2
# 2. Main Menu Management
/sga link test 20 DIAMOND_BLOCK
/sga link test 20 GOLD_BLOCK
/sga replace test 20 GOLD_BLOCK
/sga menu 20 name &6&lVIP_Shop
/sga menu 20 lore &7Line_1;&eLine_2
/sga link test 21 PLAYER_HEAD [Base64]
# 3. Cleanup & Finalization
/sga unlink 20
/sga itemremove test 10
/sga shopremove test
/sga reload
# 4. GUI Internal Controls
GUI: Click Slot 26 (Toggle White to Black) -> Verify Decrease
GUI: Click Green Panes (Check Visor)
GUI: Click Slot 26 (Toggle Black to White) -> Verify Increase
GUI: Click Slot 53 (Reload ShopGUI+)
评论 0
登录后参与评分
还没有评论,来抢沙发吧