• 周年纪念勋章活动已圆满结束,如有已购买但仍未申请的用户,可以通过对应勋章的下载链接申请~
ChestSort —— 自动箱子整理[1.8-1.21][汉化]

开源 工具 世界管理 其他 ChestSort —— 自动箱子整理[1.8-1.21][汉化] 1.16-1.21

版权类型
转载
插件中文名称
整理,按键整理,箱子整理
插件英文名称
ChestSort
原帖地址
https://www.spigotmc.org/resources/chestsort-api.59773
支持的核心(服务端)
  1. Spigot
  2. Paper
  3. 其他核心
语言支持
中文(简体)
前置组件
适配版本(Java)
  1. 1.21
  2. 1.20
  3. 1.19
  4. 1.18
  5. 1.17
  6. 1.16
  7. 1.15
  8. 1.14
  9. 1.13
  10. 1.12
  11. 1.11
  12. 1.10
  13. 1.9
  14. 1.8
搬运页面下载的插件已内核深度汉化,不保证插件版本为最新版!

不喜欢整理箱子?那就让我们少花点时间整理箱子,多花点时间玩游戏吧!
389aa74fb5a6a5d49051e321525599ab729e0965.gif

chestsort-screen1.jpg

QQ截图20240719132144.png

QQ截图20240719141646.png

ChestSort插件可以给容器和背包进行整理,玩家可以使用/sort或/isort命令对箱子或物品栏进行整理。插件支持快捷键整理。绝对不会出现物品丢失/刷物品的情况!保证!
默认情况下,玩家需要“chestsort.use”权限才能使用箱子整理功能,或“chestsort.use.inventory”权限才能对其物品栏整理。

命令
解释
/isort help
物品栏整理帮助
/sort help
容器整理帮助

权限
解释
chestsort.use
允许使用容器整理所有功能
chestsort.use.inventory
允许使用物品栏整理所有功能
chestsort.reload
插件重载

您可以使用快捷键对容器或者背包进行整理,而无需输入命令。每个热键都可以在 config.yml 中启用或禁用。默认情况下,所有快捷键都启用了的。此外,玩家可以通过执行/chestsort hotkeys命令修改按键设置
c7e0485c776f4aab5a2b0d908ad904e7881083df.gif

############################
##### 一般设置 #####
############################

# 如果你没有安装任何一款权限组插件又想玩家使用该插件则请设置为false
# 如果你有权限组插件则请设置成true,并给玩家予对应权限才能使用该插件
use-permissions: true

# 设置成false后任何玩家将不在允许自动整理容器
allow-automatic-sorting: true

# 设置成false后任何玩家将不在允许自动整理物品栏
allow-automatic-inventory-sorting: true

# 当设置为false时,新玩家必须输入/chestsort才能启用箱子整理功能
sorting-enabled-by-default: false

# 当设置为false时,新玩家必须输入/invsort才能整理物品栏
inv-sorting-enabled-by-default: false

# 设置成true则玩家将无法使用/chestsort和/invsort两个命令
allow-commands: true

# 是否关闭GUI设置功能
allow-gui: true

# 当设置为true,关闭自动整理功能的玩家(包括第一次使用该功能的玩家)会获取到如何启用这个功能的提示消息
show-message-when-using-chest: true

# 当设置为true,第一次启用整理功能的玩家会收到如何关闭这一功能的信息
show-message-when-using-chest-and-sorting-is-enabled: false

# 当设置为true,所有提示信息会在玩家重新登录后使用箱子时再次显示
show-message-again-after-logout: true

# 要想分类整理,你需要在category文件夹内修改配置:900-valuables.txt、910-tools.txt、920-combat.txt...
# 如果你想要编辑这些配置,你可以关闭生成这些文件,否则你的编辑会被覆盖
auto-generate-category-files: true

# 箱子多久才开始整理里面物品顺序,默认值是“close”
# close:关闭时
# open:打开时
# both:两者都可以
sort-time: close

# 是否在启动时显示一些信息
verbose: true

###########################
##### 默认按键设置 #####
###########################

# 是否允许使用快捷键操作物品整理
allow-sorting-hotkeys: true

sorting-hotkeys:
# 鼠标中间整理物品栏
# 权限:chestsort.hotkey.middleclick
middle-click: true
# Shift + 左键整理物品栏
# 权限:chestsort.hotkey.shiftclick
shift-click: true
# 双击左键整理物品栏
# 权限:chestsort.hotkey.doubleclick
double-click: true
# Shift + 右键整理物品栏
# 权限:chestsort.hotkey.shiftrightclick
shift-right-click: true

# 按键冷却时间,单位为“秒”
hotkey-cooldown: 0.2

# 开启该选项后,玩家可以左键点击容器进行物品整理
# 权限:chestsort.hotkey.outside
allow-left-click-to-sort: true

# 设置成true则默认启用左键整理容器权限
left-click-to-sort-enabled-by-default: false

# Additionally to sorting hotkeys, you can quickly unload your inventory into a chest and vice versa
# using left-click or right-click outside of a chest's inventory.
# A single click will only affect matching items (items that are already present in the other inventory)
# and a double click will try to store/take all items.
allow-additional-hotkeys: true

# 默认启用哪些快捷键
additional-hotkeys:
# 该选项含义见gui.yml翻译的约145行翻译解释
# 权限:chestsort.hotkey.leftclick
left-click: false
# 该选项含义见gui.yml翻译的约172行翻译解释
# 权限:chestsort.hotkey.leftclick
right-click: false

# 是否检测更新
check-for-updates: false

# 若开启自动更新检查,则每隔多少小时检查一次
check-interval: 16

# 插件不在哪些世界工作
# 格式:
#
# disabled-worlds:
# - world
# - PlotSquared
# - DIM1
disabled-worlds:

# CrackShot插件:https://www.spigotmc.org/resources/crackshot-guns.48301
# 当安装了CrackShot,所有CrackShot插件的武器都将被按名称排序
hook-crackshot: true

# You can define a custom name that will be used as prefix
# for all CrackShot weapon names.
# E.g. when you set this to "crackshot_weapon", an AK-47
# will be called "crackshot_weapon_AK-47"
hook-crackshot-prefix: "crackshot_weapon"

# InventoryPages插件:https://www.spigotmc.org/resources/inventorypages.32432
# 当安装了InventoryPages,ChestSort插件将不工作
hook-inventorypages: true

# Minepacks插件:https://www.spigotmc.org/resources/minepacks-backpack-plugin-mc-1-7-1-15.19286
# 当安装了Minepacks 2.3.8+时,ChestSort插件也能像原版箱子一样对背包物品进行排序
hook-minepacks: true

# PlayerVaults插件
# 当安装了PlayerVaults,ChestSort插件也能像原版箱子一样对物品进行排序
hook-playervaults: true

# EnderContainers插件:https://www.spigotmc.org/resources/endercontainers.4750
# 当安装了EnderContainers,ChestSort插件也能像原版箱子一样对物品进行排序
hook-endercontainers: true

# CrateReloaded插件:https://www.spigotmc.org/resources/free-crate-reloaded-mystery-crate-1-8-1-20-x.861
# 防止玩家在箱子上使用热键使其功能冲突
hook-cratereloaded: true

# GoldenCrates插件:https://www.spigotmc.org/resources/excellentcrates-⭐-best-free-crates-plugin.48732
# 禁止在它的抽奖页面上使用快捷键
hook-goldencrates: true

# HeadDatabase插件:https://www.spigotmc.org/resources/head-database.14280
# 是否允许在HeadDatabase GUI上使用快捷键
hook-headdatabase: true

# Slimefun插件:https://github.com/Slimefun/Slimefun4
# Some versions of Slimefun fail to prevent putting the backpack into itself
# when you do so immediately after ChestSort moved a backpack. You can
# prevent ChestSort from moving Slimefun backpacks until they fixed this.
dont-move-slimefun-backpacks: false

##### AdvancedChests #####
# When AdvancedChests is installed, ChestSort will not sort
# the buttons from the bottom row. You should not
# disable this behaviour unless you know what you are doing!
hook-advancedchests: true

##### Other backpack plugins #####
# ChestSort is able to detect backpacks from most backpack
# plugins like ShulkerPacks or Better Shulker Boxes.
# This detection is always enabled, you cannot turn it off.

##### Other GUI plugins #####
# ChestSort tries to detect if an inventory belongs to a
# 3rd party plugin's GUI and then prevents it from being sorted.
# If you encounter any problems, like a sortable GUI inventory,
# please open a new issue at Github:
# https://github.com/JEFF-Media-GbR/Spigot-ChestSort/issues
hook-generic: true

##### Plugins not using an InventoryHolder #####
# When you have a plugin that uses "null" as InventoryHolder for their
# GUIs, you can prevent those from being sorted. Please note that this
# will also disable sorting for certain other inventories, so only use
# it if it's the only possibility.
prevent-sorting-null-inventories: false

##### Protection Plugins #####
# ChestSort checks whether a player is allowed to interact with a block
# before attempting to sort a container when using the "outside"/"left-click-block"
# hotkey. This can result in messages from WorldGuard, CoreProtect, etc. being
# send to the player. To avoid this, set the following setting to true.
# This can however lead to some warnings from other plugins that do not
# properly check a Players' class before casting it to "CraftPlayer".
# Although this should NOT cause ANY problems, it's disabled by default.
mute-protection-plugins: false

##### Generic Detection by InventoryHolder #####
# ChestSort can detect inventories from other plugins by their InventoryHolder.
# If you encounter duplication issues with other plugins, or want to disabe sorting
# for certain inventories for any other reason, you can do that here.
# To find out the InventoryHolder name of an inventory, do the following:
# 1. Run /chestsort debug
# 2. Open the inventory and use a hotkey to sort
# 3. Check the console for the InventoryHolder name, it should say something
# like "Holder class: class com.someplugin.InventoryHolder"
# 4. Note the name of the InventoryHolder class, e.g. "com.someplugin.InventoryHolder"
# 5. Add \Q at the beginning, and \E at the end of the name, e.g. \Qcom.someplugin.InventoryHolder\E
# 6. Add that to the list below. You can also use advanced regexes, e.g. ".*[Bb]ack[Pp]ack.*" would blacklist all holders
# that contain the word "Backpack"
blocked-inventory-holders-regex:
- ".*[Bb]ack[Pp]ack.*"

##########################
##### 排序规则表 #####
##########################

# Advanced: how to sort things! See below for examples.
# Only change this if you know what you are doing.
#
# Available variables:
# {category} order stuff by category as defined in plugins/ChestSort/categories/<category>.txt
# {keepCategoryOrder} orders stuff in the same category according to their line numbers in the category file
# {itemsFirst} put items before blocks
# {blocksFirst} put blocks before items
# {tier} orders by material type from best to worst (netherite, diamond, gold, iron, stone, wood, then all remaining items)
# {name} returns the name (e.g. DIRT, GRASS_BLOCK, BIRCH_LOG, DIAMOND_SWORD, ...)
# {color} returns the color, e.g. light_blue for wool. Empty if block/item is not dyeable
# {customName} returns the display name if set (e.g. with an anvil)
# {lore} returns the lore if set
#
# Warning: You must not use spaces and fields have to be separated by commas.
#
# Examples:
# sort by name and color:
# '{name},{color}'
#
# sort by name and color, but put items before blocks:
# '{itemsFirst},{name},{color}'
#
# sort by name and color, but put blocks before items:
# '{blocksFirst},{name},{color}'
#
# sort by category, then put items before blocks and sort by name and color
# '{category},{itemsFirst},{name},{color}'
#
# sort by category, but keep exactly the same order as defined in each category file, then sort any undefined items by name and color
# '{category},{keepCategoryOrder},{name},{color}
#
sorting-method: '{category},{itemsFirst},{name},{color},{customName}'

message-when-using-chest: "&7提示: 输入 &6/chestsort&7 来启用自动整理箱子。"
message-when-using-chest2: "&7提示: 输入 &6/chestsort&7 来关闭自动整理箱子。"
message-sorting-disabled: "&7自动整理箱子已 &c关闭&7。"
message-sorting-enabled: "&7自动整理箱子已 &a启用&7。"
message-inv-sorting-disabled: "&7自动整理背包已 &c关闭&7。"
message-inv-sorting-enabled: "&7自动整理背包已 &a开启&7。"
message-player-inventory-sorted: "&7已成功整理你的背包。"
message-error-players-only: "&c错误: 指令只能由玩家运行。"
message-error-invalid-options: "&c错误: 未知的选项 %s,有效的选项为 %s。"
message-container-sorted: "&a已成功整理箱子!"
message-gui-enabled: "&a开启"
message-gui-disabled: "&c关闭"
message-gui-middle-click: "中键"
message-gui-shift-click: "Shift + 左键"
message-gui-double-click: "双击左键"
message-gui-shift-right-click: "Shift + 右键"
message-gui-left-click: "填充箱子 (左键/双击左键)"
message-gui-right-click: "清空箱子 (右键/双击右键)"
message-gui-left-click-outside: "对着箱子点击左键"

# 转存储;若你需要重载插件,可以临时启用
dump: false

# 是否开启DEBUG模式
debug: false
debug2: false

# 启用日志记录
log: false

# 配置文件和插件版本号,请勿修改!
config-version: 202406140918
plugin-version: 14.1.0

title: "<#007700>&l插件快捷键设置"
size: 45
items:
autosorting-enabled:
display-name: &autosorting-name "<#2e86c1>&l自动整理容器开关<#/85c1e9>"
material: PLAYER_HEAD
base64: &base64-enabled "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWZmMzE0MzFkNjQ1ODdmZjZlZjk4YzA2NzU4MTA2ODFmOGMxM2JmOTZmNTFkOWNiMDdlZDc4NTJiMmZmZDEifX19"
lore:
- &lore-enabled "<#229954>&l已开启<#/7dcea0>"
- &autosorting-lore-1 "<#d5dbdb>开启后将自动对容器内的物品进行整理"
autosorting-disabled:
display-name: *autosorting-name
material: PLAYER_HEAD
base64: &base64-disabled "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGU0YjhiOGQyMzYyYzg2NGUwNjIzMDE0ODdkOTRkMzI3MmE2YjU3MGFmYmY4MGMyYzViMTQ4Yzk1NDU3OWQ0NiJ9fX0="
lore:
- &lore-disabled "<#a93226>&l已关闭<#/e74c3c>"
- *autosorting-lore-1
autosorting-nopermission: &nopermission
display-name: *autosorting-name
material: BARRIER
lore:
- "<#a93226>你没有使用该功能的权限<#/e74c3c>"


autoinvsorting-enabled:
display-name: &autoinvsorting-name "<#2e86c1>&l自动整理物品栏开关<#/85c1e9>"
material: PLAYER_HEAD
base64: *base64-enabled
lore:
- *lore-enabled
- &autoinvsorting-lore-1 "<#d5dbdb>开启后将自动对容器内的物品进行整理"
autoinvsorting-disabled:
display-name: *autoinvsorting-name
material: PLAYER_HEAD
base64: *base64-disabled
lore:
- *lore-disabled
- *autoinvsorting-lore-1
autoinvsorting-nopermission:
<<: *nopermission
display-name: *autoinvsorting-name


shiftclick-enabled:
display-name: &shiftclick-name "<#2e86c1>&lShift + Click按键功能<#/85c1e9>"
material: PLAYER_HEAD
base64: *base64-enabled
lore:
- *lore-enabled
- &shiftclick-lore-1 "<#d5dbdb>开启后可使用Shift + Click快捷键对物品栏内物品整理"
shiftclick-disabled:
display-name: *shiftclick-name
material: PLAYER_HEAD
base64: *base64-disabled
lore:
- *lore-disabled
- *shiftclick-lore-1
shiftclick-nopermission:
<<: *nopermission
display-name: *shiftclick-name


middleclick-enabled:
display-name: &middleclick-name "<#2e86c1>&l鼠标中键按键功能<#/85c1e9>"
material: PLAYER_HEAD
base64: *base64-enabled
lore:
- *lore-enabled
- &middleclick-lore-1 "<#d5dbdb>开启后可使用鼠标中键快捷键对物品栏内物品整理"
- &middleclick-lore-2 "<#d5dbdb>注:需要用鼠标中间点击物品栏任意一个卡槽"
middleclick-disabled:
display-name: *middleclick-name
material: PLAYER_HEAD
base64: *base64-disabled
lore:
- *lore-disabled
- *middleclick-lore-1
- *middleclick-lore-2
middleclick-nopermission:
<<: *nopermission
display-name: *middleclick-name


doubleclick-enabled:
display-name: &doubleclick-name "<#2e86c1>&l双击键设置<#/85c1e9>"
material: PLAYER_HEAD
base64: *base64-enabled
lore:
- *lore-enabled
- &doubleclick-lore-1 "<#d5dbdb>开启后可以双击快捷键对物品栏内物品整理"
- &doubleclick-lore-2 "<#d5dbdb>注:需要用双击键点击物品栏任意一个空卡槽才可以"
doubleclick-disabled:
display-name: *doubleclick-name
material: PLAYER_HEAD
base64: *base64-disabled
lore:
- *lore-disabled
- *doubleclick-lore-1
- *doubleclick-lore-2
doubleclick-nopermission:
<<: *nopermission
display-name: *doubleclick-name


shiftrightclick-enabled:
display-name: &shiftrightclick-name "<#2e86c1>&lShift + Right + Click按键设置<#/85c1e9>"
material: PLAYER_HEAD
base64: *base64-enabled
lore:
- *lore-enabled
- &shiftrightclick-lore-1 "<#d5dbdb>开启后可以使用Shift + Right + Click按键对物品栏内物品整理"
- &shiftrightclick-lore-2 "<#d5dbdb>注:需要用使用Shift + Right + Click按键对物品栏内空卡槽操作才有效"
shiftrightclick-disabled:
display-name: *shiftrightclick-name
material: PLAYER_HEAD
base64: *base64-disabled
lore:
- *lore-disabled
- *shiftrightclick-lore-1
- *shiftrightclick-lore-2
shiftrightclick-nopermission:
<<: *nopermission
display-name: *shiftrightclick-name


outside-enabled:
display-name: &outside-name "<#2e86c1>&l左键点击方块整理容器<#/85c1e9>"
material: PLAYER_HEAD
base64: *base64-enabled
lore:
- *lore-enabled
- &outside-lore-1 "<#d5dbdb>开启后可左键点击方块整理容器内的物品"
outside-disabled:
display-name: *outside-name
material: PLAYER_HEAD
base64: *base64-disabled
lore:
- *lore-disabled
- *outside-lore-1
outside-nopermission:
<<: *nopermission
display-name: *outside-name


leftclick-enabled:
display-name: &leftclick-name "<#2e86c1>&l双击左键快速存物品<#/85c1e9>"
material: PLAYER_HEAD
base64: *base64-enabled
lore:
- *lore-enabled
- &leftclick-lore-1 "<#d5dbdb>启用该功能后,可以在打开容器的同时双击左键快速把物品栏(1-9栏除外)内所有物品快速存入容器内"
- &leftclick-lore-2 "<#d5dbdb>注意:双击左键位置在物品栏和容器的GUI外面"
leftclick-disabled:
display-name: *leftclick-name
material: PLAYER_HEAD
base64: *base64-disabled
lore:
- *lore-disabled
- *leftclick-lore-1
- *leftclick-lore-2
leftclick-nopermission:
<<: *nopermission
display-name: *leftclick-name


rightclick-enabled:
display-name: &rightclick-name "<#2e86c1>双击右键快速取物品<#/85c1e9>"
material: PLAYER_HEAD
base64: *base64-enabled
lore:
- *lore-enabled
- &rightclick-lore-1 "<#d5dbdb>启用该功能后,可以在打开容器的同时双击右键两下快速把容器内物品存放到物品栏中"
- &rightclick-lore-2 "<#d5dbdb>注意:双击右键位置在物品栏和容器的GUI外面"
rightclick-disabled:
display-name: *rightclick-name
material: PLAYER_HEAD
base64: *base64-disabled
lore:
- *lore-disabled
- *rightclick-lore-1
- *rightclick-lore-2
rightclick-nopermission:
<<: *nopermission
display-name: *rightclick-name


slots:
0: &placeholder
material: BLACK_STAINED_GLASS_PANE
display-name: "&a" # Prevents showing the item's name
1: *placeholder
2: *placeholder
3: *placeholder
4: *placeholder
5: *placeholder
6: *placeholder
7: *placeholder
8: *placeholder

9: *placeholder
10: *placeholder
11: autosorting
12: *placeholder
13: *placeholder
14: *placeholder
15: autoinvsorting
16: *placeholder
17: *placeholder

18: *placeholder
19: shiftclick
20: *placeholder
21: middleclick
22: *placeholder
23: doubleclick
24: *placeholder
25: shiftrightclick
26: *placeholder

27: *placeholder
28: *placeholder
29: leftclick
30: *placeholder
31: outside
32: *placeholder
33: rightclick
34: *placeholder
35: *placeholder

36: *placeholder
37: *placeholder
38: *placeholder
39: *placeholder
40: *placeholder
41: *placeholder
42: *placeholder
43: *placeholder
44: *placeholder

45: *placeholder
46: *placeholder
47: *placeholder
48: *placeholder
49: *placeholder
50: *placeholder
51: *placeholder
52: *placeholder

53: *placeholder
  • 喜欢
反馈: xiaojin吖
后退
顶部 底部