wItemGive
wItemGive 是一款全面且用户友好的 Minecraft 服务器插件,旨在简化物品分发。它允许管理员通过直观的图形用户界面(GUI)为游戏中的任何物品创建自定义命令。
? 玩家须知
如果你拥有所需的权限,该插件提供了一种无缝获取特殊服务器物品的途径。
- 自定义命令:如果管理员创建了一个名为“Special Sword”的物品,你可能可以使用
/specialsword 来获取它。
- 丰富的格式支持:得益于对 HEX 渐变色和 MiniMessage 格式的支持,物品通常具有鲜艳的名称和描述。
? 管理员指南
wItemGive 通过提供游戏内管理系统,旨在最大限度地减少在配置文件中花费的时间。
管理 GUI
使用 /witemgive 或 /wig 访问主界面(权限:witemgive.admin)。
- 添加物品:
- 将所需物品握在手中。
- 点击 GUI 中的 绿色绿宝石。
- 在聊天栏中输入所需的命令名称(不带
/)。
- 物品现已保存,并且命令已即时注册。
- 分发物品:
- 在 GUI 中 左键点击 物品可将其给自己。
- 使用
/{command} {player} 将该物品给其他玩家。
- 移除物品: 在 GUI 中 右键点击 物品可删除它及其关联的命令。
权限说明
witemgive.admin:完全访问 GUI 并能够向其他玩家发放物品的权限。
wig.{command_name}:使用特定动态命令给自己发放物品的权限。
⚙️ 开发者与配置
该插件高度灵活,遵循清晰的数据结构,便于调整或集成。
文件结构
plugins/wItemGive/
├── config.yml # 主配置文件(消息、前缀、设置)
└── items/ # 包含各个物品数据的目录
├── legendary_bow.yml # 每个物品都存储在其单独的 YAML 文件中
└── super_potion.yml
动态命令系统
当添加物品时,插件会动态注册一个命令。这些命令支持玩家名称的 Tab 补全,并自动处理权限验证。
配置 (config.yml)
你可以自定义以下方面:
- 前缀:更改插件的聊天前缀以匹配你的服务器品牌风格。
- 本地化:发送给玩家的所有消息(成功、错误、无权限)均可完全自定义。
- 格式引擎:切换以下支持:
- 传统格式 (Legacy):标准的
&c 代码。
- HEX 格式:
#RRGGBB 格式。
- MiniMessage:高级
<gradient> 和 <hover> 标签。
支持
如果遇到任何问题或有疑问,欢迎加入我们的社区!
由 wStudio 制作
wItemGive
wItemGive is a comprehensive and user-friendly Minecraft server plugin designed to simplify item distribution. It allows administrators to create custom commands for any item in the game through an intuitive Graphical User Interface (GUI).
? For Players
The plugin offers a seamless way to receive special server items if you have the required permissions.
- Custom Commands: If an admin creates an item named "Special Sword", you might be able to use
/specialsword to receive it.
- Rich Formatting: Items often feature vibrant names and descriptions thanks to support for HEX gradients and MiniMessage formatting.
? For Administrators
wItemGive is designed to minimize the time spent in configuration files by providing an in-game management system.
Management GUI
Access the main interface using /witemgive or /wig (Permission: witemgive.admin).
- Adding Items:
- Hold the desired item in your hand.
- Click the Green Emerald in the GUI.
- Type the desired command name in the chat (without the
/).
- The item is now saved, and the command is instantly registered.
- Distributing Items:
- Left-click an item in the GUI to give it to yourself.
- Use
/{command} {player} to give the item to someone else.
- Removing Items: Right-click an item within the GUI to delete it and its associated command.
Permissions
witemgive.admin: Full access to the GUI and the ability to give items to other players.
wig.{command_name}: Permission to use a specific dynamic command to give an item to oneself.
⚙️ For Developers & Configuration
The plugin is highly flexible and follows a clean data structure, making it easy to tweak or integrate.
File Structure
plugins/wItemGive/
├── config.yml # Main configuration (Messages, Prefix, Settings)
└── items/ # Directory containing individual item data
├── legendary_bow.yml # Each item is stored in its own YAML file
└── super_potion.yml
Dynamic Command System
When an item is added, the plugin dynamically registers a command. These commands support tab-completion for player names and handle permissions automatically.
Configuration (config.yml)
You can customize the following aspects:
- Prefix: Change the plugin's chat prefix to match your server's branding.
- Localization: Every message sent to players (success, error, no permission) is fully configurable.
- Formatting Engines: Toggle support for:
- Legacy: Standard
&c codes.
- HEX:
#RRGGBB format.
- MiniMessage: Advanced
<gradient> and <hover> tags.
Support
If you encounter any issues or have questions, feel free to join our community!
Created by wStudio
评论 0
登录后参与评分
还没有评论,来抢沙发吧