# InvSee++
一个用于操纵玩家物品栏的Bukkit插件。
即使目标玩家离线,甚至他们从未进入过服务器,此插件仍然可以工作。
## 特点
- 查看和编辑其他玩家的物品栏和末影箱。
- 包括玩家的盔甲内容和空手物品。
- 包括玩家的制作台/工作台/铁砧/附魔台/石刀/砂轮/织布机/商人物品。
- 包括玩家光标上持有的物品堆叠。
- 玩家重新登录时自动重新加载观众模式的物品栏。
- 自定义物品栏布局和标题。
- 简单但功能强大的应用程序编程接口。
适用于 CraftBukkit (及其分支) 以及 Glowstone。
- 对混合服务器 (Forge/Bukkit、Fabric/Bukkit) 的支持 [在此处](https://github.com/Jannyboy11/InvSee-plus-plus#supported-server-software)可用。
- 不适用于 Folia (目前:[#58]([https://github.com/Jannyboy11/InvSee-plus-plus/issues/58](https://github.com/Jannyboy11/InvSee-plus-plus/issues/58))).
- (可选) 与 PerWorldInventory 集成。
- [插件] 通过命令向 (离线) 玩家赠送物品。
- [插件] 通过命令从 (离线) 玩家的物品栏中清除物品。
### 运行插件
只需将 InvSee++.jar 文件放入您的服务器的 /plugins 文件夹中。
### 命令
- `/invsee | [PWI{...}]` - 浏览玩家的物品栏。
- `/endersee | [PWI{...}]` - 浏览玩家的末影箱。
注意,若要与 PerWorldInventory 集成,需要在其配置文件中将 `load-data-on-join` 设置为 `true`。
- `invseeplusplusreload` - 重新加载插件的配置。
### 权限
###### 基础权限:
- `invseeplusplus.invsee.view` 允许访问 `/invsee`。默认情况下仅限服务器运维人员。
- `invseeplusplus.invsee.edit` 允许玩家操纵目标玩家的物品栏。默认情况下仅限服务器运维人员。
- `invseeplusplus.endersee.view` 允许访问 `/endersee`。默认情况下仅限服务器运维人员。
- `invseeplusplus.endersee.edit` 允许玩家操纵目标玩家的末影箱。默认情况下仅限服务器运维人员。
- `invseeplusplus.exempt.invsee` 使不可能浏览具有此权限的拥有者的物品栏。
- `invseeplusplus.exempt.endersee` 使不可能浏览具有此权限的拥有者的末影箱。
- `invseeplusplus.bypass-exempt.invsee` 忽略目标玩家是否被排除在浏览其物品栏之外。
- `invseeplusplus.bypass-exempt.endersee` 忽略目标玩家是否被排除在浏览其末影箱之外。
- `invseeplusplus.reload` 允许访问 `/invseeplusplusreload`。
###### 聚合权限:
- `invseeplusplus.view` 提供 `invseeplusplus.invsee.view` 和 `invseeplusplus.endersee.view`。
- `invseeplusplus.edit` 提供 `invseeplusplus.invsee.edit` 和 `invseeplusplus.endersee.edit`。
- `invseeplusplus.exempt` 提供 `invseeplusplus.exempt.invsee` 和 `invseeplusplus.exempt.endersee`。
- `invseeplusplus.bypass-exempt` 提供 `invseeplusplus.bypass-exempt.invsee` 和 `invseeplusplus.bypass-exempt.endersee`。
- `invseeplusplus.*` 提供所有八个基础权限以及所有插件权限。
## 插件
#### InvSee++_Give
##### 命令:
- `/invgive - [
] []`
- `/endergive - [
] []`
###### 示例:
在 1.20.4 或更早版本:
- `/invgive Notch diamond 1 {"foo":"bar"}`
- `/endergive Jannyboy11 wool:14`
在 1.20.5 及更高版本:
- `/invgive Jannyboy11 minecraft:emerald[minecraft:max_stack_size=99] 65`
##### 权限:
- `invseeplusplus.give.*` 提供 `invseeplusplus.give.inventory` 和 `invseeplusplus.give.enderchest`。
- `invseeplusplus.give.inventory` 允许访问 `/invgive`。
- `invseeplusplus.give.enderchest` 允许访问 `/endergive`。
#### InvSee++_Clear
##### 命令:
- `/invclear - ?
?`
- `/enderclear - ?
?`
###### 示例:
- `/invclear Notch diamond 1`
- `/enderclear Jannyboy11 wool:14`
##### 权限:
- `invseeplusplus.clear.*` 提供 `invseeplusplus.clear.inventory` 和 `invseeplusplus.clear.enderchest`。
- `invseeplusplus.clear.inventory` 允许访问 `/invclear`。
- `invseeplusplus.clear.enderchest` 允许访问 `/enderclear`。
### 统计数据
此插件收集的匿名统计信息,并将它们提交到 [bStats](https://bstats.org/plugin/bukkit/InvseePlusPlus/9309)。它们帮助我了解插件的使用方式,从而实现未来的发展。 可以在 /plugins/bstats/config.yml 文件中禁用此功能。
### 联系方式
Bug 和功能请求:[GitHub issues](https://github.com/Jannyboy11/InvSee-plus-plus/issues)
其他任何问题可以通过 [SpigotMC 的讨论线程](https://www.spigotmc.org/threads/invsee.456148/) 或通过
[Discord](https://discord.gg/Z8WCDHHcdJ) 进行讨论。
### 开发人员 API
文档可在 [wiki](https://github.com/Jannyboy11/InvSee-plus-plus/wiki)!
### 版权信息
特别感谢 Icodak 制作了插件的 Logo!
您可以在 [Discord](https://discordapp.com/users/345308025331908619) 和 [SpigotMC](https://www.spigotmc.org/members/icodak.473813/) 上找到他们。