? ViScriptShop - 重新定义你的交易体验
ViScriptShop 是一款专为 Minecraft 1.21.1 NeoForge 设计的高级商店模组。它摒弃了繁琐的配置文件,转而采用内置可视化编辑器和现代化的购物车 UI。旨在为玩家提供流畅的购物体验,同时为整合包创作者提供极其灵活的自定义能力。
✨ 核心特性
?️ WYSIWYG 可视化编辑器
告别枯燥的代码配置!ViScriptShop 拥有类似游戏引擎的内置可视化编辑器。
项目管理:采用将“项目文件 (.shopproj)”与“结果文件 (.shop)”分离的逻辑,确保开发与发布互不干扰。
实时预览:在编辑器内直接调整物品分类、排序和定价。支持拖拽排序和撤销历史。
状态持久化:编辑器支持最小化。重新打开时无需重新加载项目,显著提升配置效率。
?️ 现代化购物体验
购物车系统:可将多个物品加入购物车并一次性结算。清晰显示所需总货币量,并预览将要获得的物品。
灵活定价:不仅支持传统经济货币,还全面支持物品互换(Item Barter)。
阶段控制:内置进度阶段(Stage)系统,允许你根据玩家的游戏进度解锁或隐藏特定物品。
? 强大的模组集成
ViScriptShop 并非孤岛;它与主流模组深度集成,以确保最佳兼容性:
⚡ KubeJS 脚本支持:提供丰富的客户端/服务器事件钩子(如 opening, buyPre, buySuccess 等)及 Util API,允许开发者通过脚本实现极其复杂的交易逻辑。
? 背包模组兼容:直接从 Sophisticated Backpacks 和 Beyond Dimension 读取物品作为支付手段。玩家无需在主手持有货币。
? JEI 集成:在商店界面内直接使用 JEI 快捷键查看物品配方,无需关闭窗口。
?️ 管理命令
模组提供了方便的管理和调试命令:
/viscript_shop editor:打开可视化编辑器。
/viscript_shop reload:热重载商店数据(清除缓存),允许你在不重启游戏的情况下测试新商店。
/viscript_shop setStage & /viscript_shop money:快速管理玩家阶段和经济数据。
? ViScriptShop - Redefine Your Trading Experience
ViScriptShop is an advanced shop mod designed specifically for Minecraft 1.21.1 NeoForge. It abandons tedious configuration files in favor of a built-in visual editor and a modern shopping cart UI. It aims to provide players with a smooth shopping experience while offering modpack creators extremely flexible customization capabilities.
✨ Core Features
?️ WYSIWYG Visual Editor
Say goodbye to boring code configurations! ViScriptShop features a built-in visual editor similar to game engines.
Project Management: Uses a logic that separates "Project Files (.shopproj)" from "Result Files (.shop)" to ensure development and release do not interfere with each other.
Real-time Preview: Adjust item categories, sorting, and pricing directly within the editor. Supports drag-and-drop sorting and undo history.
State Persistence: The editor supports minimization. Re-opening it does not require reloading the project, significantly boosting configuration efficiency.
?️ Modern Shopping Experience
Shopping Cart System: Add multiple items to the cart and checkout in one go. Clearly displays the total currency required and previews the items to be obtained.
Flexible Pricing: Supports not only traditional economy currency but also full Item Barter support.
Stage Control: Features a built-in progression Stage system, allowing you to unlock or hide specific items based on a player's game progress.
? Powerful Mod Integration
ViScriptShop is not an island; it deeply integrates with mainstream mods to ensure the best compatibility:
⚡ KubeJS Scripting Support: Provides rich client/server event hooks (such as opening, buyPre, buySuccess, etc.) and Util APIs, allowing developers to implement extremely complex trading logic via scripts.
? Backpack Mod Compatibility: Directly reads items from Sophisticated Backpacks and Beyond Dimension for payment. Players do not need to hold currency in their main hand.
? JEI Integration: Check item recipes using JEI shortcuts directly within the shop interface without needing to close the window.
?️ Management Commands
The mod provides convenient commands for server management and debugging:
/viscript_shop editor: Open the visual editor.
/viscript_shop reload: Hot-reload shop data (clears cache), allowing you to test new shops without restarting the game.
/viscript_shop setStage & /viscript_shop money: Quickly manage player stages and economic data.
评论 0
登录后参与评分
还没有评论,来抢沙发吧