Перейти к содержимому
Mineforgian

FAST GUI

FastGUI is a Minecraft server plugin developed by the XSY Team, providing custom user interface solutions based on vanilla chests. Administrators can quickly create and manage complex interfaces without client modifications, while maintaining full compatib

Загрузки
159
Подписчики
2
Обновлён
20 января 2026 г.
Лицензия
MIT

Опубликован 20 декабря 2025 г.

Исходный код

FastGUI | 快速界面生成器

项目概述 | Project Overview

FastGUI 是由 XSY Team 开发的 Minecraft 服务器插件,基于原版箱子提供自定义用户界面解决方案。管理员可以快速创建和管理复杂界面,无需客户端修改,同时保持与原生 Minecraft 的完全兼容性。

FastGUI is a Minecraft server plugin developed by XSY Team that provides custom user interface solutions based on vanilla chests. Administrators can quickly create and manage complex interfaces without requiring client modifications, while maintaining full compatibility with native Minecraft.

核心功能 | Core Features

基础功能 | Basic Features

  • 原版箱子界面:基于原版箱子创建自定义界面,支持单箱和双箱扩展

  • Vanilla Chest Interface: Create custom interfaces based on vanilla chests, supporting both single and double chest extensions

  • 按钮系统:通过 NBT 标签设置按钮命令和点击行为

  • Button System: Set button commands and click behaviors through NBT tags

  • 数据持久化:界面数据自动保存到本地文件

  • Data Persistence: Interface data automatically saves to local files

  • 变量替换:支持 {player}、{x}、{y}、{z} 等动态变量

  • Variable Substitution: Support for dynamic variables like {player}, {x}, {y}, {z}

  • 多语言支持:内置中文和英文语言包,支持自定义语言文件

  • Multi-language Support: Built-in Chinese and English language packs, with support for custom language files

高级功能 | Advanced Features

  • 权限控制:为按钮、NPC和UI设置细粒度权限,支持op/np权限节点

  • Permission Control: Set fine-grained permissions for buttons, NPCs, and UIs, supporting op/np permission nodes

  • NPC 交互:绑定 NPC 到界面进行点击交互

  • NPC Interaction: Bind NPCs to interfaces for click interactions

  • 书本界面:基于书与笔的界面编辑器

  • Book Interface: Interface editor based on book and quill

  • 命令事件系统:通过 FGCD 命令创建和管理命令事件

  • Command Event System: Create and manage command events through FGCD commands

  • 交互物品:支持在空中点击的物品按钮

  • Interactive Items: Support for item buttons that can be clicked in air

命令系统 | Command System

主命令 (/fg) | Main Command (/fg)

  • /fg add <权限节点> <x> <y> <z> <界面名称> - 创建新界面 (权限节点: op/np)

  • /fg add <permission_node> <x> <y> <z> <interface_name> - Create new interface (permission node: op/np)

  • /fg open <名称> - 打开指定界面

  • /fg open <name> - Open specified interface

  • /fg list - 列出所有界面

  • /fg list - List all interfaces

  • /fg set id <源UI名> <要改的名字> - 重命名界面

  • /fg set id <source_ui_name> <new_name> - Rename interface

  • /fg delete <名称> - 删除界面

  • /fg delete <name> - Delete interface

  • /fg refresh - 刷新界面缓存

  • /fg refresh - Refresh interface cache

  • /fg debug - 切换调试模式

  • /fg debug - Toggle debug mode

  • /fg reload - 重新加载插件配置

  • /fg reload - Reload plugin configuration

NBT 命令 (/fgnbt) | NBT Command (/fgnbt)

  • /fgnbt Border - 设置边框物品

  • /fgnbt Border - Set border item

  • /fgnbt Button command "command" - 设置按钮命令

  • /fgnbt Button command "command" - Set button command

  • /fgnbt Button command "command" closeOnClick:true - 设置点击后关闭的按钮

  • /fgnbt Button command "command" closeOnClick:true - Set button that closes on click

  • /fgnbt ButtonItem <权限节点> <执行人> "命令" - 设置可在空中点击的物品按钮

  • /fgnbt ButtonItem <permission_node> <executor> "command" - Set item button that can be clicked in air

  • /fgnbt npc "command" - 设置 NPC 命令(需要手持刷怪蛋)

  • /fgnbt npc "command" - Set NPC command (requires holding spawn egg)

书本命令 (/fgBook) | Book Command (/fgBook)

  • /fgBook register <名称> - 注册书本界面(需要手持书与笔)

  • /fgBook register <name> - Register book interface (requires holding book and quill)

  • /fgBook open <名称> - 打开书本界面

  • /fgBook open <name> - Open book interface

  • /fgBook list - 列出所有书本界面

  • /fgBook list - List all book interfaces

  • /fgBook delete <名称> - 删除书本界面

  • /fgBook delete <name> - Delete book interface

FGCD 命令 (/fgcd) | FGCD Command (/fgcd)

  • /fgcd add <世界名> <命令> <执行体> - 添加命令事件

  • /fgcd add <world_name> <command> <executor> - Add command event

  • /fgcd delete <世界名> <命令> - 删除命令事件

  • /fgcd delete <world_name> <command> - Delete command event

  • /fgcd list [世界名] - 列出命令事件

  • /fgcd list [world_name] - List command events

语言命令 (/fglang) | Language Command (/fglang)

  • /fglang - 查看当前语言和可用语言

  • /fglang - View current language and available languages

  • /fglang <语言文件名> - 切换到指定语言

  • /fglang <language_file> - Switch to specified language

系统要求 | System Requirements

服务器 | Server

  • PaperMC: 1.21.x 版本(所有 1.21.x 版本均已测试通过)
  • PaperMC: 1.21.x versions (All 1.21.x versions have been tested)

Java

  • 版本要求: Java 17 或更高版本
  • Version: Java 17 or higher

内存 | Memory

  • 最低要求: 512MB

  • Minimum: 512MB

  • 推荐配置: 2GB 或更多

  • Recommended: 2GB or more

版本信息 | Version Information

当前版本 | Current Version

  • 版本号: 6.9.8
  • Version: 6.9.8

版本更新日志 | Update Changelog

  • 新增 FGCD 命令系统:支持创建、删除和列出命令事件

  • Added FGCD Command System: Support for creating, deleting, and listing command events

  • 优化 NPC 和交互物品:修复执行问题,更新 NBT 结构

  • Optimized NPC and Interactive Items: Fixed execution issues, updated NBT structure

  • UI 权限系统:支持通过 np/op 设置权限节点

  • UI Permission System: Support for setting np/op permission nodes

  • 命令系统优化:改进 tab 补全,修复命令格式

  • Command System Optimization: Improved tab completion, fixed command formats

  • 全面支持 1.21.x: 所有 1.21.x 版本均已测试通过

  • Full Support for 1.21.x: All 1.21.x versions have been tested

安装方法 | Installation

  1. 下载插件: 获取最新版本的 FastGUI.jar 文件

  2. Download Plugin: Get the latest FastGUI.jar file

  3. 上传文件: 将插件文件上传到服务器的 plugins 文件夹

  4. Upload File: Upload the plugin file to the server's plugins folder

  5. 重启服务器: 重启 Minecraft 服务器以加载插件

  6. Restart Server: Restart the Minecraft server to load the plugin

  7. 验证安装: 使用 /fg help 命令检查插件是否正常工作

  8. Verify Installation: Use /fg help to check if the plugin is working correctly

开发团队 | Development Team

开发团队 | Development Team

  • XSY Team: FastGUI 插件的主要开发团队
  • XSY Team: Main development team for FastGUI plugin

联系方式 | Contact Information

  • GitHub: 项目源代码和问题反馈
  • GitHub: Project source code and issue feedback

许可证 | License

FastGUI 插件遵循 MIT 许可证,允许自由使用、修改和分发。

FastGUI plugin is licensed under the MIT License, allowing free use, modification, and distribution.


FAST GUI是开源的:https://github.com/XSY-HYH/FAST-GUI

FAST GUI is open source: https://github.com/XSY-HYH/FAST-GUI

© 2026 XSY Team. All rights reserved.

Ченджлог

6.9.8Релиз1.21.9, 1.21.10, 1.21.11 · 20 января 2026 г.

FastGUI 6.9.8 更新日志

更新时间

2026-01-20

版本信息

  • 当前版本:6.9.8
  • 上一版本:6.8.6

更新内容(中文)

1. 新增功能

  • 添加 FGCD 命令系统:新增 /fgcd 命令,支持玩家创建、删除和列出命令事件
  • FGCD 命令支持持久化存储,重启服务器后仍然生效
  • FGCD 命令支持世界特定命令事件,不同世界可配置不同命令

2. NPC 功能优化

  • 优化 NPC 交互系统:修改 NPC 点击事件处理逻辑
  • 修复 NPC 命令执行问题:解决 NPC 命令执行器设置不正确的问题
  • 更新 NPC NBT 结构:优化 NPC 数据存储结构,支持权限等级和执行器信息

3. 交互物品功能优化

  • 修改交互物品处理:优化 ButtonItem 点击事件
  • 修复权限检查问题:解决非 OP 玩家无法使用 OP 权限物品的问题
  • 优化命令参数解析:修复带引号命令的参数解析问题

4. 其他优化

  • 更新 UI 权限系统:支持通过 np/op 设置权限节点,控制谁可以打开特定 UI
  • 优化命令补全:改进 /fg 命令的自动补全功能
  • 修复命令格式错误:更新 /fg set 命令参数格式为 /fg set id <源UI名> <要改的名字>

5. 版本兼容性

  • 全面支持 1.21.x:此版本已在所有 1.21.x 版本进行测试
  • 稳定性提升:修复多个稳定性问题,提升插件运行可靠性

更新内容(English)

1. New Features

  • Added FGCD Command System:Added /fgcd command to create, delete, and list command events
  • FGCD commands support persistent storage, surviving server restarts
  • FGCD commands support world-specific command events, different worlds can have different commands

2. NPC Function Optimization

  • Optimized NPC Interaction System:Modified NPC click event handling logic
  • Fixed NPC Command Execution:Resolved issues with NPC command executor settings
  • Updated NPC NBT Structure:Optimized NPC data storage structure, supporting permission levels and executor information

3. Interactive Item Function Optimization

  • Modified Interactive Item Handling:Optimized ButtonItem click events
  • Fixed Permission Check Issues:Resolved problems with non-OP players using OP permission items
  • Optimized Command Parameter Parsing:Fixed parameter parsing for quoted commands

4. Other Optimizations

  • Updated UI Permission System:Added support for setting np/op permission nodes for UIs, controlling who can open specific UIs
  • Improved Command Completion:Enhanced auto-completion for /fg commands
  • Fixed Command Format Errors:Updated /fg set command parameter format to /fg set id <source_ui_name> <new_name>

5. Version Compatibility

  • Full Support for 1.21.x:This version has been tested on all 1.21.x versions
  • Stability Improvements:Fixed multiple stability issues, enhancing plugin reliability

测试状态

  • ✅ 已在所有 1.21.x 版本测试通过
  • ✅ 新增功能测试完成
  • ✅ 修复的问题已验证
  • ✅ 性能优化已确认

注意事项

  • 建议在更新前备份原有数据
  • 本版本与之前版本完全兼容,无需额外配置
  • 如需帮助,请使用 /fg help 命令查看帮助信息
6.8.6Релиз1.21.1 · 25 декабря 2025 г.

FastGUI v6.8.6 Update Log

New Features

1. Container Compatibility

  • Supports UI interfaces for small chests, large chests, dispensers, and droppers
  • Removed support for hopper containers (due to technical limitations preventing stable compatibility)
  • No longer supports UI interfaces for other container types

2. UI Interface Optimization

  • Dispenser/dropper interfaces use a clean 9-slot single row layout
  • Optimized UI data storage format for improved loading efficiency
  • Removed compatibility layers for old UI data versions, focusing on version 5 UI data format

3. User Experience

  • Added version too low prompt to help users understand they need to recreate UI
  • Improved error messages to provide clearer operation guidance
  • Supports multilingual display, all prompts have both Chinese and English translations

Notes

  • When using /fg add command, you can only create UI on supported containers
  • UI created in old versions will automatically use the default container type (chest)
  • Dispenser/dropper interfaces use a 9-slot single row layout, no longer attempts to restore 3x3 structure

*Note: This version focuses on stable usage of core containers and no longer provides full container compatibility. Additionally, we have updated the language files. The server may need to delete the lang folder and regenerate it to synchronize the translations.

5.8.6Релиз1.21.1 · 21 декабря 2025 г.

FastGUI v5.8.6 Update Log

New Features

1. Cache Management Command

  • Added /fg refresh command: Added functionality to clear all cached loaded UIs
  • Cache clearing feedback: Displays the number of cleared UIs after command execution
  • Debug logging support: Records detailed information about cache clearing operations when debug mode is enabled

Feature Details

/fg refresh Command

  • Functionality: Clears all cached loaded UIs, forcing reload from files on next access
  • Purpose: Allows administrators to force the plugin to re-read UI files when they've been modified externally
  • Permission requirement: Requires fastgui.admin permission
  • Feedback information: Shows the number of cleared UIs to help administrators understand the scope of the operation
  • Debug information: When debug mode is enabled, logs which administrator performed the cache clearing and how many UIs were affected

Bug Fixes

1. Language File Extraction Issue

  • Fixed issue where only en.yml was extracted on first install: Now both zh.yml and en.yml language files are extracted
  • Fixed default language setting issue: Default language is now correctly set to zh.yml instead of en.yml
  • Root cause: In the LanguageManager.extractDefaultLanguageFilesIfNeeded method, previously only the en.yml file was extracted, not the zh.yml file

2. Removed Redundant Interface Command

  • Removed /fg set Interface command: Because the Display functionality has already replaced the Interface functionality
  • Simplified command structure: Now only ID and Display property setting options are retained
  • Updated help information: Removed Interface-related help text

Compatibility

  • Minecraft Version: 1.13 - 1.20
  • Dependencies: No additional dependencies required
  • Backward Compatibility: Fully compatible with existing UI files and configurations

*Note: Language files have been updated. Server administrators need to delete the lang folder to allow the plugin to regenerate it with the new translations.

5.7.6Релиз1.21.1 · 21 декабря 2025 г.

FastGUI v5.7.6 Update Log

Release Date: December 21, 2025

Major Updates

1. UI Data Structure Optimization

  • Added Display Name Field: Added a display name field to the header of UI DAT files
  • Improved Name Management: Interface display names are now stored independently from filenames, providing a more flexible naming system
  • Backward Compatibility: Existing UI files are automatically compatible with the new structure, and old files will automatically add the display name field on first access

2. /fg set Command Enhancement

  • Display Name Update: The /fg set <interface_name> id <newID> command now updates both filename and display name
  • Independent Display Name Setting: Added /fg set <interface_name> display <display_name> subcommand to set interface display name separately
  • Smart Name Handling: When only setting ID, the display name automatically updates to the new ID; when setting display name, the filename remains unchanged

3. UI Display System Improvement

  • Dynamic Name Reading: When players open an interface, the system now reads and displays from the display name field in the DAT file
  • Enhanced Multi-language Support: Display names support multi-language variable replacement, such as {player}, {time}, etc.
  • Name Formatting: Support for color codes and formatting codes in display names

Technical Improvements

  • Data Structure Optimization: Restructured DAT file format, adding version identifier and display name field
  • Memory Usage Optimization: Improved UI data loading and caching mechanisms
  • Enhanced Error Handling: Added more comprehensive file corruption detection and repair mechanisms
  • Performance Boost: Optimized UI opening and name reading performance

Compatibility Notes

  • This version is fully compatible with existing interface data and configuration files
  • After upgrade, existing UI files will automatically add display name field on first access (defaulting to filename)
  • New display name functionality does not affect existing plugins and commands
  • Table.dat registration information will automatically update to support the new display name system

Known Issues

  • None

Upgrade Recommendations

  1. Backup existing FastGUI data folder
  2. Stop the server
  3. Replace plugin files
  4. Start the server and check console logs
  5. Test interface renaming and display name setting functionality
  6. Verify normal opening and display of existing interfaces

New Command Examples

# Rename interface (updates both filename and display name)
/fg set oldname id newname

# Set only display name (filename unchanged)
/fg set myui display "My Custom Interface"

# Set display name with color codes
/fg set myui display "&6&lGolden Interface"
4.7.6Релиз1.21.1 · 21 декабря 2025 г.

FastGUI v4.7.6 Update Log

Release Date: December 21, 2025

Major Fixes

1. /fg set Command Fix

  • Fixed issue where /fg set command did not update Table.dat registration information when modifying interface names
  • Fixed issue where interface renaming did not synchronize folder names in "FastGUI\Fast GUI Database Folder"
  • Fixed issue where interface renaming did not synchronize .dat data file names
  • Now executing /fg set <interface_name> id <newID> command will completely update all related files and registration information

2. Multi-language Switching Bug Fix

  • Fixed issue where custom language files (like jp.yml) appeared in command tab completion but showed "not found" when switching
  • Improved language file loading mechanism to ensure language file list is reloaded before switching languages
  • Removed zh/en language code restrictions, now supports any custom language files
  • Optimized language switching error messages, now maintains current language instead of forcing default language

3. Code Structure Optimization

  • Complete Removal of JSON Compatibility Code:
    • Removed JSON string parameters and processing logic from ERRORNULL.NULL
    • Removed JSON parsing methods from ERRORNULL.NULL (ERRORNULL.NULL, ERRORNULL.NULL)
    • Removed JSON compatibility check code from ERRORNULL.NULL
    • Updated all related comments, changing JSON format to NBT format
  • Unified use of NBT tag system for managing item properties, improving code consistency and performance
  • Optimized item creation and property setting processes
  • Reduced code redundancy and improved maintainability

Technical Improvements

  • NBT System Unification: All item properties are now completely managed through NBT tags, no longer relying on JSON strings
  • Enhanced Error Handling: Improved error handling mechanisms during language switching and interface renaming processes
  • Performance Optimization: Reduced unnecessary string parsing and object creation
  • Code Comment Updates: Updated all outdated comments to ensure documentation remains consistent with code

Compatibility Notes

  • This version is fully compatible with existing interface data and configuration files
  • After upgrade, existing JSON format items will be automatically converted to NBT format (if they exist)
  • Language file format remains unchanged, but it's recommended to check the integrity of custom language files

Known Issues

  • None

Upgrade Recommendations

  1. Backup existing FastGUI data folder
  2. Stop the server
  3. Replace plugin files
  4. Start the server and check console logs
  5. Test language switching and interface renaming functionality

Комментарии

Загружаем…