• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

ChestSort

来自Minecraft插件百科
跳转至: 导航搜索
ChestSort
外文名ChestSort
作者mfnalex
插件类型Spigot / CraftBukkit
最新版本1.5.7
兼容服务端1.12.2-1.13
源地址http://dev.bukkit.org/bukkit-plugins/ChestSort

ChestSort是一款由mfnalex开发的自动整理箱子的Bukkit插件。

介绍

Cs1.jpg

这个插件可以在你关闭箱子后自动整理箱子,每个玩家都可以用/chestsort指令来开关这一功能。

但玩家需要chestsort.use权限才能使用该指令。

如果有权限的话,玩家登录后第一次打开箱子会有信息提示如何使用这个功能。

指令

/chestsort 或 /sort

配置

汉化配置

#########################
#####   ChestSort   #####
#####   箱子整理    #####
#########################

#
# 玩家需要 chestsort.use 权限
# 或OP权限才能使用该插件的功能.
#

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

# 当设置为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

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

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

##########################
#####    分类方式    #####
##########################

# Advanced: 如何分类整理?敬请查看以下例子.
# 如果你看不懂就不要乱改.
#
# 可用变量:
# {category}     根据 plugins/ChestSort/categories/<category>.txt 内的物品定义分类
# {itemsFirst}   先整理装备后整理方块
# {blocksFirst}  先整理方块后整理其他装备
# {name}         返回名称 (例如. DIRT, GRASS_BLOCK, BIRCH_LOG, DIAMOND_SWORD, ...)
# {color}        返回颜色, 例如. light_blue 为蓝色羊毛. 如果物品无法被染色则为空白
#
# 注意: 你不能使用空格,你只能用逗号分隔.
#
# 例如:
#  按名称和颜色分类:
#     '{name},{color}'
#
#  先按物品分类再按名称和颜色分类:
#     '{itemsFirst},{name},{color}'
#
#   先按方块类型分类再按名称和颜色分类:
#     '{blocksFirst},{name},{color}'
#
#   先按类型分类,再按物品、名称和颜色分类:
#      '{category},{itemsFirst},{name},{color}'
#
sorting-method: '{category},{itemsFirst},{name},{color}'

#########################
##### 本地化 ######
#########################

# 颜色代码:
# &0 黑        &6 金       &c 红
# &1 深蓝    &7 灰       &d 粉
# &2 暗绿   &8 深暗  &e 黄
# &3 水绿    &9 蓝       &f 白
# &4 深红     &a 绿    
# &5 暗紫  &b 天蓝

# 格式代码:
# &k 随机字符   &m 中划线
# &l  粗体        &o 斜体
# &n 下划线   &r 重置

##### 英语
#message-when-using-chest: "&7Hint: Type &6/chestsort&7 to enable automatic chest sorting."
##message-when-using-chest2: "&7Hint: Type &6/chestsort&7 to disable automatic chest sorting."
#message-sorting-disabled: "&7Automatic chest sorting has been &cdisabled&7."
#message-sorting-enabled: "&7Automatic chest sorting has been &aenabled&7."
#message-error-players-only: "&cError: This command can only be run by players."

##### Chinese - 感谢 qsefthuopq 带来的翻译! -> https://www.spigotmc.org/members/qsefthuopq.339953/
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-error-players-only: "&c错误: 指令只能由玩家运行."

##### 法语 - 感谢automatizer 的翻译! -> https://www.spigotmc.org/members/automatizer.26188/
#message-when-using-chest: "&7Astuce: ?cris &6/chestsort&7 pour activer le classement automatique."
#message-when-using-chest2: "&7Astuce: ?cris &6/chestsort&7 pour désactiver le classement automatique."
#message-sorting-disabled: "&7Le classement automatique a été &cdésactivé&7."
#message-sorting-enabled: "&7Le classement automatique a été &aactivé&7."
#message-error-players-only: "&cErreur: Cette commande ne peut être utilisée que par des joueurs."

##### 德语
#message-when-using-chest: "&7Hinweis: Benutze &6/chestsort&7 um die automatische Kistensortierung zu aktivieren."
#message-when-using-chest2: "&7Hinweis: Benutze &6/chestsort&7 um die automatische Kistensortierung zu deaktivieren."
#message-sorting-disabled: "&7Automatische Kistensortierung &cdeaktiviert&7."
#message-sorting-enabled: "&7Automatische Kistensortierung &aaktiviert&7."
#message-error-players-only: "&cFehler: Dieser Befehl ist nur für Spieler verfügbar."

##### 意大利语 - 感谢谷歌娘的翻译. 如果有错误请纠正 :)
#message-when-using-chest: "&7Nota: inserire &6/chestsort&7 per abilitare l'ordinamento automatico dei bauli."
#message-when-using-chest2: "&7Nota: inserire &6/chestsort&7 per disabilitare l'ordinamento automatico dei bauli."
#message-sorting-disabled: "&7L'ordinamento automatico dei bauli è stato &cdisattivato&7."
#message-sorting-enabled: "&7L'ordinamento automatico dei bauli è stato &aattivato&7."
#message-error-players-only: "&cErrore: questo comando è disponibile solo per i giocatori."

##### 西班牙语 - 感谢 Bers_ 的翻译! ->  https://www.spigotmc.org/members/bers_.146126/
#message-when-using-chest: "&7Pista: Usa &6/chestsort&7 para activar el orden automático de los cofres."
#message-when-using-chest2: "&7Pista: Usa &6/chestsort&7 para desactivar el orden automático de los cofres."
#message-sorting-disabled: "&7Orden automático de los cofres &cdesactivado&7."
#message-sorting-enabled: "&7Orden automático de los cofres &aactivado&7."
#message-error-players-only: "&cError: Este comando solo puede ser ejecutado por jugadores."

#########################
#####     完成!     #####
#########################

# 不要修改版本号!
config-version: 5

注释与外部链接