AnhyRepo 插件文档
概述
AnhyRepo 插件旨在创建和管理“仓库”——用于在 Minecraft 中存储命令或文本消息的个人空间。这些仓库可用于快速将文本插入命令行或聊天栏,并支持预先编辑。
AnhyRepo 正常运行的主要要求是安装版本为 1.5.2 或更高版本的 AnhyLibAPI 库。如果没有 AnhyLibAPI,AnhyRepo 将无法运行。
此外,AnhyRepo 与 AnhyLingo 兼容。然而,即使没有它,也不会以丝毫方式影响 AnhyRepo 的运行。此外,AnhyRepo 插件拥有自己的命令来更改玩家的语言设置,这些命令会修改与 AnhyLingo 插件相同的玩家数据,因此在这一点上可作为 AnhyLingo 插件的替代品。插件之间不存在冲突。
功能
- 仓库创建: 用户最多可以创建 9 个不同的仓库。
- 记录管理: 每个仓库最多可包含 27 条条目。
- 用户界面: 通过自定义库存实现仓库管理菜单。
命令
完整命令格式:/anhyrepo args...,别名:/repo args... 或最短版本 /ar args...
/ar gui [i]:打开仓库菜单。如果指定了 [i](即仓库编号),则打开该特定仓库。
/ar new <repo_name> 或 /ar n <repo_name>:创建新仓库。
/ar regroup <repo_index> <new_name> 或 /ar rg <repo_index> <new_name>:重命名仓库。
/ar add <repo_index> <name>/<text> 或 /ar a <repo_index> <name>/<text>:添加新条目。名称和文本用斜杠 "/" 分隔输入。
/ar rename <repo_index> <item_index> <new_name> 或 /ar rn <repo_index> <item_index> <new_name>:重命名条目。
/ar retext <repo_index> <item_index> <new_text> 或 /ar rt <repo_index> <item_index> <new_text>:更改条目中的文本。
/ar reitem <repo_index> <item_index> 或 /ar ri <repo_index> <item_index>:将条目的图标更改为手中所持物品的类型。
/ar remove <repo_index> <item_index>:删除条目。
用法
- 打开菜单: 输入命令
/repo gui 访问主仓库菜单,或输入 /repo gui <i> 访问特定仓库。
- 添加条目: 输入命令
/repo add <repo_index> <name>/<text>,其中 <name> 是条目的简短名称,<text> 是要存储的文本或命令。
- 编辑和删除: 使用命令
/repo rename、/repo retext 和 /repo remove 来管理现有条目。
界面
- 库存点击: 左击库存中的物品会将所需文本插入命令行。右击可返回主菜单。
- 可视化: 条目图标各不相同:命令方块代表命令,纸张代表短消息,带羽毛笔的书代表长文本。
使用场景
AnhyRepo 插件在多种场景下可能特别有效:
- 对于服务器管理员: 提供便捷的重复杂冗长命令的存储和快速访问,这些命令通常用于服务器管理和配置调整。
- 对于内容创作者和开发者: 能够高效地存储和执行用于脚本事件、管理 NPC 或详细世界构建所需的冗长复杂命令。
- 对于参与大量游戏的普通玩家: 有助于存储和快速访问长文本消息或复杂的命令序列,从而提高游戏效率和互动性。
AnhyRepo Plugin Documentation
Overview
The AnhyRepo plugin is designed to create and manage "repositories" — personal storage spaces for commands or text messages in Minecraft. These repositories can be used for quickly inserting text into the command line or chat, with the option for prior editing.
Essential Dependencies for AnhyRepo
The primary requirement for AnhyRepo to function is the installation of the AnhyLibAPI library version 1.5.2 or higher. Without AnhyLibAPI, AnhyRepo will not operate.
In addition, AnhyRepo is compatible with AnhyLingo. However, its absence does not affect the operation of AnhyRepo in any way. Moreover, the AnhyRepo plugin has its own commands to change the language settings of players, which change the same player data as the AnhyLingo plugin, making it an alternative to the AnhyLingo plugin in this regard. There are no conflicts between plugins.
Features
- Repository Creation: Users can create up to 9 different repositories.
- Record Management: Each repository can contain up to 27 entries.
- User Interface: Repository management menu implemented through a custom inventory.
Commands
The full version of the command: /anhyrepo args..., aliases: /repo args... or the shortest version /ar args...
/ar gui [i]: Opens the repository menu. If [i] — the number of a repository is specified, it opens that particular repository.
/ar new <repo_name> or /ar n <repo_name>: Creates a new repository.
/ar regroup <repo_index> <new_name> or /ar rg <repo_index> <new_name>: Renames a repository.
/ar add <repo_index> <name>/<text> or /ar a <repo_index> <name>/<text>: Adds a new entry. The name and text are entered separated by a slash "/".
/ar rename <repo_index> <item_index> <new_name> or /ar rn <repo_index> <item_index> <new_name>: Renames an entry.
/ar retext <repo_index> <item_index> <new_text> or /ar rt <repo_index> <item_index> <new_text>: Changes the text in an entry.
/ar reitem <repo_index> <item_index> or /ar ri <repo_index> <item_index>: Changes the icon of an entry to the type of item held in hand.
/ar remove <repo_index> <item_index>: Removes an entry.
Usage
- Opening the Menu: Enter the command
/repo gui to access the main repository menu or /repo gui <i> to access a specific repository.
- Adding an Entry: Enter the command
/repo add <repo_index> <name>/<text>, where <name> is the short name of the entry, and <text> is the text or command to be stored.
- Editing and Deleting: Use the commands
/repo rename, /repo retext, and /repo remove to manage existing entries.
Interface
- Inventory Clicks: A left-click on an item in the inventory inserts the necessary text into the command line. Use a right-click to return to the main menu.
- Visualization: Icons for entries vary: a command block for commands, a sheet of paper for short messages, and a book with a quill for long texts.
Use Cases
The AnhyRepo plugin can be particularly effective in various scenarios:
- For server administrators: It offers convenient storage and quick access to repetitive, long commands required for server management and configuration adjustments.
- For content creators and developers: Enables the efficient storage and execution of lengthy, complex commands needed for scripting events, managing NPCs, or detailed world-building activities.
- For regular players who engage in extensive gameplay: Helps in storing and quickly accessing long text messages or intricate command sequences, which enhances gameplay efficiency and interaction.
评论 0
登录后参与评分
还没有评论,来抢沙发吧