
兼容 CraftBukkit 1.7.9 R0.1 (+1.7.2 R0.3)
2014年4月1日。该项目依然活跃 ;)
About ToggleInventory
This is a plugin for multiple inventory. You can get 4 inventories and easy to switch them.
The amount of inventories is configurable using permission.
If you use a permissions plugin you can set enable/disable to toggle inventory.

<Tutorial video on YouTube (Thanks VariationVault!)>
<Tutorial video on YouTube (Thanks AbsintoJ!)>
<Tutorial video on YouTube (Thanks UltiByte!)>
安装方法
只需下载 JAR 文件,将其复制到 Bukkit 服务器的 "plugins" 目录中,然后重新加载插件或重启服务器。
配置和库存保存文件会在需要时为每个玩家自动生成。
功能特性
- 支持多组库存(库存数量可通过权限进行配置)
- 支持特殊库存(类似于套装/Kit)
- 易于使用:只需输入 "/ti" 即可切换库存。
- 支持所有物品,包括使用 NBTTag 的自定义物品。
- 支持所有药水效果 (自 1.3.0 版本起)
- 支持权限控制
特殊库存
您可以输入 /tis 来切换特殊库存。
默认情况下,仅对管理员(op)启用。
特殊库存是一种临时库存。
在使用期间获得的物品无法保存,因此在切换特殊库存时请注意这一点。
如果您无法使用特殊库存,请尝试以下命令。
1. /tis reset-default -f
2. /tis reset -f
3. /tis
命令参考
| 命令 | 描述 | 用法 | 所需权限 | 权限默认值 |
| /ti <number> | 切换库存 | /ti 1 | toggle_inventory.toggle | Operators |
| /ti help | 显示用法帮助 | /ti h | toggle_inventory.toggle | Operators |
| /ti <enable/disable> gamemode | 启用/禁用按游戏模式切换库存 | /ti e g | toggle_inventory.toggle | Operators |
| /it | 切换库存(反向切换) | /it | toggle_inventory.toggle | Operators |
| /tis <name> | 切换特殊库存 | /tis /tis foobar | toggle_inventory.toggle_special | Operators |
| /its | 切换特殊库存(反向切换) | /its | toggle_inventory.toggle_special | Operators |
| /tis copy <name> <number> | 将特殊库存的内容复制到普通库存 | /tis copy foobar 1 | toggle_inventory.toggle_special | Operators |
| /tis add <name> | 将当前库存添加到特殊库存 | /tis add foobar | toggle_inventory.toggle_special | Operators |
| /tis delete <name> | 从特殊库存中删除 | /tis delete foobar | toggle_inventory.toggle_special | Operators |
| /tis reset [-f] | 重置特殊库存为默认状态 | /tis reset -f | toggle_inventory.toggle_special | Operators |
| /tis add-default <name> | 将当前物品栏添加到默认特殊物品栏 | /tis add-default foobar | toggle_inventory.toggle_special | 操作员 |
| /tis delete-default <name> | 从默认特殊物品栏中删除 | /tis delete-default foobar | toggle_inventory.toggle_special | 操作员 |
| /tis reset-default [-f] | 重置默认特殊物品栏 | /tis reset-default -f | toggle_inventory.toggle_special | 操作员 |
配置:物品栏数量
toggle_inventory.[2-30]
这些权限决定了玩家拥有的物品栏数量。如果未设置,玩家仅有 4 个物品栏。
示例:
如果玩家拥有 "toggle_inventory.2" 权限,则意味着他只有 2 个物品栏。
源代码 (GitHub)
本插件是开源软件。
源代码可在 github.com 找到。
如果你喜欢本插件,请给我一个星标 :)
隐私政策
本插件具有更新检查、自动更新以及统计数据收集功能(见下文章节)。
你可以在 plugins/ToggleInventory/config.yml 中禁用这些功能。
以下示例展示了如何禁用上述功能。
[config.yml]
update-check: false
auto-update: false
disable-mcstats: true
隐私:统计数据收集
本插件使用 Hidendra 的插件指标系统(MCStats,)。
要退出此服务,可以编辑 plugins/Plugin Metrics/config.yml 并将 opt-out 更改为 true。
以下信息会被收集并发送至 mcstats.org:
- 唯一标识符
- 服务器的 Java 版本
- 服务器处于离线模式还是在线模式
- 插件的版本
- 服务器的版本
- 操作系统版本/名称及架构
- CPU 核心数
- 在线玩家数量
- Metrics 版本
更新日志
v1.3.2
适配 1.7.5-R0.1,并添加禁用 mcstats 的选项。
v1.3.1
适配 1.7.1-R0.1,但不兼容旧版本。
v1.3.0
支持通过药水/游戏模式切换。兼容 1.6.4-R2.0
v1.2.2
适配 1.6.2
v1.2.2
适配 1.6.2
v1.2.1
已更新以支持 1.6.1

Compatible with CraftBukkit 1.7.9 R0.1 (+1.7.2 R0.3)
April 1st 2014. This project is still alive ;)
About ToggleInventory
This is a plugin for multiple inventory. You can get 4 inventories and easy to switch them.
The amount of inventories is configurable using permission.
If you use a permissions plugin you can set enable/disable to toggle inventory.

<Tutorial video on YouTube (Thanks VariationVault!)>
<Tutorial video on YouTube (Thanks AbsintoJ!)>
<Tutorial video on YouTube (Thanks UltiByte!)>
Installation
Simply download the JAR file, copy to your Bukkit server's "plugins" directory and reload plugins/restart server.
Configuration and inventory-save-files is automatically generated when needed for each players.
Features
- Multiple inventory (amount of inventories are configurable using permission)
- Special inventory (= like a kit) is available
- Easy to use: Just type "/ti" to toggle inventory.
- ALL ITEMS support include custom items which using NBTTag.
- ALL potion effects support (from 1.3.0)
- Permissions support
Special Inventories
You can toggle special inventories just type /tis.
It's only enabled for operators(op) by default.
Special inventory is a temporary inventory.
You can't save any items you get while using it, so you should pay attention when you toggle special inventory.
If you couldn't use special invs, try below commands.
1. /tis reset-default -f
2. /tis reset -f
3. /tis
Command Reference
| Command | Description | Usage | Permission | Permission Default |
| /ti <number> | toggle inventory | /ti 1 | toggle_inventory.toggle | Operators |
| /ti help | show usage | /ti h | toggle_inventory.toggle | Operators |
| /ti <enable/disable> gamemode | enable/disable toggle with gamemode | /ti e g | toggle_inventory.toggle | Operators |
| /it | toggle inventory (reverse) | /it | toggle_inventory.toggle | Operators |
| /tis <name> | toggle special inventory | /tis /tis foobar | toggle_inventory.toggle_special | Operators |
| /its | toggle special inventory (reverse) | /its | toggle_inventory.toggle_special | Operators |
| /tis copy <name> <number> | copy a special inventory contents to normal inventory | /tis copy foobar 1 | toggle_inventory.toggle_special | Operators |
| /tis add <name> | add current inventory to special inventory | /tis add foobar | toggle_inventory.toggle_special | Operators |
| /tis delete <name> | delete from special inventory | /tis delete foobar | toggle_inventory.toggle_special | Operators |
| /tis reset [-f] | reset special inventory by default | /tis reset -f | toggle_inventory.toggle_special | Operators |
| /tis add-default <name> | add current inventory to default-special-inventory | /tis add-default foobar | toggle_inventory.toggle_special | Operators |
| /tis delete-default <name> | delete from default-special-inventory | /tis delete-default foobar | toggle_inventory.toggle_special | Operators |
| /tis reset-default [-f] | reset default-special-inventory | /tis reset-default -f | toggle_inventory.toggle_special | Operators |
Config: Amount of Inventories
toggle_inventory.[2-30]
These permissions are the player's amount of inventories. If set not, players have only 4 invs.
Example:
If a player have the permission "toggle_inventory.2", this means he has only 2 inventories.
Source code (GitHub)
This plugin is an Open Source Software.
Source code can be found on github.com.
If you like this plugin, please give me a star :)
Privacy
This plugin has update-checking, auto-updating, and stats collection(see below section).
You can disable these features in plugins/ToggleInventory/config.yml.
Below example shows disable above features.
[config.yml]
update-check: false
auto-update: false
disable-mcstats: true
Privacy: stats collection
This plugin uses Hidendra's plugin metrics system (MCStats, ).
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Change Log
v1.3.2
updated for 1.7.5-R0.1, and add disable options for mcstats.
v1.3.1
updated for 1.7.1-R0.1 but no compatibility with older version.
v1.3.0
toggle with potion/gamemode support. compatible with 1.6.4-R2.0
v1.2.2
updated for 1.6.2
v1.2.2
updated for 1.6.2
v1.2.1
updated for 1.6.1
评论 0
登录后参与评分
还没有评论,来抢沙发吧