? 基本命令(聊天栏)
• /vmenu help — 显示命令列表。
• /vmenu create <name> — 开始创建新菜单(支持颜色代码)。
• /vmenu edit — 打开插件的控制面板。
• /vmenu reload — 从配置文件中重新加载所有菜单(如果你手动编辑了文件,这很有用)。
? 主菜单 (/vmenu edit)
用于导航插件的起始面板。
• Painting(视觉):打开一个菜单列表,以编辑其内部内容(槽位和物品)。
• Command Block(设置):打开一个菜单列表,以更改其全局参数(名称、命令、删除)。
• Barrier:“开发中”槽位。
? 菜单列表(视觉)
一个选择菜单,其中所有你的创作都以纸张的形式展示。
• 点击 Paper(任意鼠标按键):进入所选菜单,打开槽位编辑器。
⚙️ 菜单列表(设置)
在这里,每个菜单都显示在单独的列中(每页最多7个),控制按钮位于它们下方。
• Chest(图标):仅显示当前菜单名称及其命令(文本颜色指示自动补全是否启用)。
• Barrier(删除):打开删除确认菜单。
• Name Tag(重命名):关闭库存界面,并在聊天栏中提示你输入新的菜单名称。
• Repeater(更改命令):关闭库存界面,并在聊天栏中提示你输入新的打开命令(不带斜杠)。
• Wool(自动补全):切换命令在 Minecraft 客户端自动补全中的可见性。绿色 —— 玩家可以看到该命令(灰色聊天行);红色 —— 命令被隐藏(红色聊天行)。立即为服务器上的所有玩家更新。
• Clock(全局冷却):关闭库存界面,并在聊天栏中提示你输入以秒为单位的时间。立即将此冷却时间(CD)应用于此菜单中的所有物品。
• Arrows(底部角落):翻阅设置页面。
? 删除确认菜单
防止意外误触的保护机制。它会记住你是从哪个设置页面来的。
• Red Concrete(DELETE):永久从游戏中删除菜单并擦除其 .yml 文件。返回到设置页面。
• White Concrete(CANCEL):取消删除并返回到相同的设置页面。
? 槽位编辑器(菜单内部)
最重要的菜单,你可以在这里排列物品并将命令绑定到它们上。空槽位显示为 Barrier。在此编辑器中,专门在物品下方添加了一行来显示当前的冷却时间(玩家看不到这一行)。
• 使用光标上的物品对空槽位进行 LMB(左键单击):将光标中的物品副本放置到菜单中。
• 对现有物品进行 LMB:从菜单中移除物品并将其返回到你的光标。
• 对物品进行 RMB(右键单击):关闭库存界面,并在聊天栏中提示你输入当玩家点击时将要执行的命令。
• 对物品进行 Middle Click(中键单击):关闭库存界面,并在聊天栏中提示你输入专门针对此槽位的个体冷却时间(CD),单位为秒。
? 玩家菜单(普通玩家看到的内容)
通过你设置的命令打开(例如 /spawn 或 /donate)。玩家看到的是干净的物品,没有来自编辑器的额外冷却文本。
• 对物品进行任何点击:
o 检查冷却时间(CD)。如果时间尚未过去,则播放错误声音并发送一条聊天消息,说明还需要等待多少秒。不执行命令。
o 如果 CD 已过(或者没有 CD),则以玩家的名义执行命令并播放典型的点击(按钮声音)。菜单本身不会关闭,允许进一步点击。
? Basic Commands (Chat)
• /vmenu help — Shows the list of commands.
• /vmenu create <name> — Starts creating a new menu (& color codes are supported).
• /vmenu edit — Opens the plugin's control panel.
• /vmenu reload — Reloads all menus from the configuration files (useful if you edited the files manually).
? Main Menu (/vmenu edit)
The starting panel for navigating the plugin.
• Painting (Visual): Opens a list of menus to edit their internal content (slots and items).
• Command Block (Settings): Opens a list of menus to change their global parameters (name, commands, deletion).
• Barrier: "Work in Progress" slot.
? Menu List (Visual)
A selection menu where all your creations are displayed as sheets of paper.
• Click on Paper (Any mouse button): Dives into the selected menu, opening the Slot Editor.
⚙️ Menu List (Settings)
Here, each menu is displayed in a separate column (up to 7 per page), with control buttons located beneath them.
• Chest (Icon): Simply shows the current menu name and its command (the text color indicates whether the autocomplete is enabled or not).
• Barrier (Delete): Opens the deletion confirmation menu.
• Name Tag (Rename): Closes the inventory and prompts you in the chat to enter a new menu name.
• Repeater (Change Command): Closes the inventory and prompts you in the chat to enter a new opening command (without the slash).
• Wool (Autocomplete): Toggles the command's visibility in the Minecraft client's autocomplete. Green — players see the command (gray chat line); Red — command is hidden (red chat line). Updates instantly for all players on the server.
• Clock (Global Cooldown): Closes the inventory and prompts you in the chat to enter a time in seconds. Instantly applies this cooldown (CD) to all items within this menu.
• Arrows (Bottom corners): Flips through the settings pages.
? Deletion Confirmation Menu
Protection against accidental misclicks. It remembers which settings page you came from.
• Red Concrete (DELETE): Permanently deletes the menu from the game and erases its .yml file. Returns you to the settings page.
• White Concrete (CANCEL): Cancels the deletion and returns you to the same settings page.
? Slot Editor (Menu Internals)
The most important menu where you arrange items and bind commands to them. Empty slots are displayed as barriers. In this editor, a line displaying the current cooldown is specifically added below the items (players won't see this).
• LMB (Left Click) with an item on your cursor on an empty slot: Places a copy of the item from your cursor into the menu.
• LMB on an existing item: Removes the item from the menu and returns it to your cursor.
• RMB (Right Click) on an item: Closes the inventory and prompts you in the chat to enter the command that will be executed when a player clicks it.
• Middle Click on an item: Closes the inventory and prompts you in the chat to enter an individual cooldown (CD) in seconds specifically for this slot.
? Player Menu (What regular players see)
Opens via the command you set (e.g., /spawn or /donate). Players see clean items without the extra cooldown text from the editor.
• Any click on an item:
o Checks the cooldown (CD). If the time hasn't passed yet, it plays an error sound and sends a chat message stating how many seconds are left to wait. The command is not executed.
o If the CD has passed (or there is none), it executes the command on behalf of the player and plays a characteristic click (button sound). The menu itself does not close, allowing for further clicks.
评论 0
登录后参与评分
还没有评论,来抢沙发吧