ClickSort
ClickSort 是一款 Bukkit 插件,让玩家只需单击或双击鼠标即可轻松整理自己的物品栏(玩家/箱子/发射器)。玩家可以按物品 ID、物品名称进行排序,切换单击与双击模式,或完全禁用排序功能。所有这些设置均针对每个玩家单独生效,无需使用任何命令——全部通过物品栏窗口中的鼠标点击完成。

最新版本
- ClickSort v1.6.1 for CraftBukkit 1.16.x~1.19.x
- ClickSort v1.5.0 for CraftBukkit 1.13.x~1.15.x
- ClickSort v1.3.4 for CraftBukkit 1.10.x~1.12.x
- ClickSort v1.3.2 for CraftBukkit 1.9.x
- ClickSort v1.3.1 for CraftBukkit 1.8.x
- ClickSort v1.3.0 for CraftBukkit 1.6.x/1.7.x
- ClickSort v1.1.2 for CraftBukkit 1.4.6+
上述所有版本均应在 Spigot 上兼容运行。
视频
v1.0.0 版本的评测视频,感谢 VariationVault:
安装
- 将 ClickSort.jar 复制到
bukkit/plugins文件夹中,然后重载或重启你的 CraftBukkit 服务器。 bukkit/plugins/ClickSort文件夹将被自动创建,其中包含一个config.yml文件。- 你可以随意编辑该文件,并运行
/clicksort reload以重新加载配置。详情请参阅 Configuration。
从 v1.3.2 版本开始,如果你希望按物品名称排序,则需要手动将物品名称添加到 items.yml 文件中。
使用方法
ClickSort 的操作方式如下:
- 在中键模式下(默认模式,自 ClickSort v1.5.1 起交换键为 'F'),玩家可以通过中键点击目标物品栏中的任意槽位来整理自己的物品栏、箱子/发射器/漏斗/投掷器的物品栏(包括含有物品的槽位)。
- 在双击模式下,玩家可以通过左键双击目标物品栏中的任意槽位来进行排序(包括含有物品的槽位)。
- 在单击模式下,玩家可以通过左键单击目标物品栏中的任意空槽位来整理物品栏。
- 默认情况下,物品按物品 ID 排序(完整 ID 列表请参阅 ),且点击模式为中键 (在 v1.1 及更早版本中,默认点击模式为双击)。
- 玩家可以 Shift+左键点击任意空的物品栏槽位,循环切换按物品 ID、物品名称、物品组或物品值排序(每种排序模式的更多详情请参阅 Sort Modes)。
- 玩家可以 Shift+右键点击任意空的物品栏槽位,循环切换双击模式和单击模式,或禁用排序功能。
任何模式更改都会向玩家发送一条反馈消息,指示新的排序或点击模式。玩家的排序/点击模式设置会在服务器重启后保持不变。
从 v1.1.0 版本开始,玩家还可以禁止自己更改 Shift 点击模式(针对每个玩家单独设置);部分玩家可能会因意外 Shift 点击空物品栏槽位而感到困扰。为避免这种情况,玩家可以使用 /clicksort shiftclick 命令来切换自身的 Shift 点击功能。
同样从 v1.1.0 版本开始,新增了两个命令,允许玩家直接设置其排序或点击模式;如果已禁用 Shift 点击模式切换,这些命令将非常有用:
/clicksort sort <id|name|group|value>/clicksort click <middle|double|single|swap|none>
保护机制
ClickSort 会尝试尊重那些通过取消 InventoryClickEvent 来提供保护的插件。它会在尽可能晚的阶段运行自身的事件处理器,并忽略已被取消的事件。
文档
计划中
- 可能的排序模式:合并同类物品?例如 9 个铁锭 → 铁块,9 个钻石 → 钻石块等。这可能要求玩家在物品栏中拥有工作台,或者站在附近。
- 或许可以添加一种排序“法杖”,以便在不打开物品栏的情况下整理箱子?例如一根设置了适当元数据的木棍。
源代码
更新日志
使用统计
使用 bStats 收集完全匿名的使用统计数据。
ClickSort
ClickSort is a Bukkit plugin which makes it very easy for players to sort their inventories (player/chest/dispenser) with a single or double click of the mouse. Players can sort by item ID, item name, switch between single- and double-clicking, or disable sorting entirely, all on a per-player basis and without needing any commands; it's all done with mouse clicks in inventory windows.

Latest Version
- ClickSort v1.6.1 for CraftBukkit 1.16.x~1.19.x
- ClickSort v1.5.0 for CraftBukkit 1.13.x~1.15.x
- ClickSort v1.3.4 for CraftBukkit 1.10.x~1.12.x
- ClickSort v1.3.2 for CraftBukkit 1.9.x
- ClickSort v1.3.1 for CraftBukkit 1.8.x
- ClickSort v1.3.0 for CraftBukkit 1.6.x/1.7.x
- ClickSort v1.1.2 for CraftBukkit 1.4.6+
All versions above should work on Spigot.
Video
A review of v1.0.0, with thanks to VariationVault :
Installation
- Copy ClickSort.jar into your
bukkit/pluginsfolder and reload/restart your CraftBukkit server. - The
bukkit/plugins/ClickSortfolder will be automatically created, containing aconfig.ymlfile. - You may edit this file as you please, and run
/clicksort reloadto reload. See Configuration for details.
As of v1.3.2, you'll have to put your item names into items.yml manually if you want to sort by item names.
Usage
ClickSort operates as follows:
- In middle-click mode (the default, or swap key 'F' since ClickSort v1.5.1) players can sort their own inventory, a chest/dispenser/hopper/dropper inventory by middle-clicking any slot in that inventory (including slots with items in).
- In double-click mode, players can sort by double-left-clicking any slot in that inventory (including slots with items in).
- In single-click mode, players can sort inventories by single-left-clicking any empty slot in that inventory.
- By default, items are sorted by item ID (see for a full list of ID's) and the click mode is middle-click (in v1.1 and earlier, the default click mode was double-click).
- Players can Shift-left-click any empty inventory slot to cycle through sorting by item ID, item name, item group, or item value (see Sort Modes for more detail on each sort mode).
- Players can Shift-right-click any empty inventory slot to cycle between double-click and single-click mode, or disabled sorting.
Any mode changes will give the player a feedback message indicating the new sort or click mode. Player sort/click modes are persistent across server restarts.
As of v1.1.0, it is also possible for players to disable shift-click mode changing (on a per-player basis); some players may find themselves annoyed by accidentally shift-clicking empty inventory slots. To avoid this, players can use the /clicksort shiftclick command to toggle shift-clicking for themselves.
Also as of v1.1.0, two commands have been added to allow players to set their sort or click modes directly; these are most useful if shift-click mode changing has been disabled:
/clicksort sort <id|name|group|value>/clicksort click <middle|double|single|swap|none>
Protection
ClickSort attempts to respect protection plugins which cancel InventoryClickEvent by running its own event handler as late as possible and ignoring cancelled events.
Documentation
Planned
- Possible sort mode to compact items? E.g. 9 iron ingot -> iron block, 9 diamond -> diamond block etc. Might require the player to have a crafting table in their inventory, or be standing near one.
- Maybe a sorting "wand" to have the option of sorting chests without having the inventory open? A stick with some appropriate metadata set on it, for example.
Source
Changelog
Usage Statistics
Fully anonymous usage statistics are collected using bStats.
下载 ClickSort
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ClickSort
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ClickSort
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ClickSort
下载 ClickSort
下载 ClickSort
下载 ClickSort
下载 ClickSort
下载 ClickSort
下载 ClickSort
ClickSort v1.6.2(2024年7月4日)
- 维护:将 Spigot API 升级至 1.20.6。
- 修复:整理骡子背包可能导致物品丢失。
-
特性:重构 InventorySortEvent,使其在整理后触发(而非整理前),并允许强制指定物品在其所在槽位。
感谢 @minoneer 的诸多贡献。
完整更新日志请参阅 Changelog。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
AbAcc AbAcc 是一款适用于 Minecraft 服务器的管理插件,可简化玩家作弊检测与举报管理工作。工作人员可以发起并管理对可疑玩家的检查流程,并在检查完成后将其释放。
评论 0
登录后参与评分
还没有评论,来抢沙发吧