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

Difference between revisions of "ChestSort"

From Minecraft插件百科
Jump to: navigation, search
(创建页面,内容为“{{Bukkit Plugin Infobox |插件名=ChestSort |图标= |版本= 1.5.7 |前置插件= |兼容服务端版本=1.12.2-1.13 |作者= mfnalex |網址= [https://www.spigot...”)
 
 
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
|網址= [https://www.spigotmc.org/resources/1-13-chestsort.59773/ spigotmc]
 
|網址= [https://www.spigotmc.org/resources/1-13-chestsort.59773/ spigotmc]
 
}}
 
}}
 +
'''ChestSort'''是一款由mfnalex开发的自动整理箱子的Bukkit插件。
  
[[Category:机械]]
+
== 介绍 ==
 +
[[image:cs1.jpg|缩略图]]
 +
这个插件可以在你关闭箱子后自动整理箱子,每个玩家都可以用/chestsort指令来开关这一功能。
 +
 
 +
但玩家需要chestsort.use权限才能使用该指令。
 +
 
 +
如果有权限的话,玩家登录后第一次打开箱子会有信息提示如何使用这个功能。
  
[[image:cs1.jpg]]
+
== 指令 ==
={{mCColor|&2|介绍}}=
 
这个插件可以在你关闭箱子后自动整理箱子,每个玩家都可以用/chestsort指令来开关这一功能.<br />
 
但玩家需要chestsort.use权限才能使用该指令.<br />
 
如果有权限的话,玩家登录后第一次打开箱子会有信息提示如何使用这个功能
 
={{mCColor|&8|指令}}=
 
 
/chestsort 或 /sort
 
/chestsort 或 /sort
={{mCColor|&4|权限}}=
+
 
={{mCColor|&b|配置}}=
+
== 配置 ==
==默认配置==
+
=== 汉化配置 ===
<spoiler>
 
 
  #########################
 
  #########################
 
  #####  ChestSort  #####
 
  #####  ChestSort  #####
 +
#####  箱子整理    #####
 
  #########################
 
  #########################
 
   
 
   
 
  #
 
  #
  # Please note that players will need the chestsort.use permission
+
  # 玩家需要 chestsort.use 权限
  # or have to be OP to be able to use automatic chest sorting.
+
  # 或OP权限才能使用该插件的功能.
 
  #
 
  #
 
   
 
   
  # when set to false, new players will have to run /chestsort
+
  # 当设置为false时,新玩家必须输入 /chestsort
  # once to enable automatic chest sorting.
+
  # 才能启用箱子整理功能.
 
  sorting-enabled-by-default: false
 
  sorting-enabled-by-default: false
 
   
 
   
  # when set to true, players with sorting DISABLED will be
+
  # 当设置为true, 关闭自动整理功能的玩家(包括第一次使用该功能的玩家)
  # shown a message on how to enable automatic chest sorting
+
  # 会获取到如何启用这个功能的提示消息
# when they use a chest for the first time.
 
# consider setting this to true when you disable sorting by default.
 
# see also -> message-when-using-chest
 
 
  show-message-when-using-chest: true
 
  show-message-when-using-chest: true
 
   
 
   
  # when set to true, players with sorting ENABLED will be
+
  # 当设置为true, 第一次启用整理功能的玩家会
  # shown a message on how to disable automatic chest sorting
+
  # 收到如何关闭这一功能的信息
# when they use a chest for the first time.
 
# consider setting this to true when you enable sorting by default.
 
# see also -> message-when-using-chest2
 
 
  show-message-when-using-chest-and-sorting-is-enabled: false
 
  show-message-when-using-chest-and-sorting-is-enabled: false
 
   
 
   
  # when set to true, the messages are shown again when a player
+
  # 当设置为true, 信息会在玩家重新登录后
  # logs out and back in and then uses a chest again.
+
  # 使用箱子时再次显示.
 
  show-message-again-after-logout: true
 
  show-message-again-after-logout: true
 
   
 
   
  #########################
+
  # 要想分类整理
  ##### localization ######
+
# 你需要在category文件夹内修改配置
  #########################
+
# 900-valuables.txt, 910-tools.txt, 920-combat.txt, ...
 +
# 如果你想要编辑这些配置
 +
# 你可以关闭生成这些文件
 +
  # 否则你的编辑会被覆盖.
 +
  auto-generate-category-files: true
 
   
 
   
  # Available color codes:
+
  # 是否检测更新?
  # &0 Black        &6 Gold      &c Red
+
  check-for-updates: true
# &1 Dark Blue    &7 Gray      &d Light Purple
 
# &2 Dark Green  &8 Dark Gray  &e Yellow
 
# &3 Dark Aqua    &9 Blue      &f White
 
# &4 Dark Red    &a Green   
 
# &5 Dark Purple  &b Aqua
 
 
   
 
   
  # Available formatting codes:
+
  # 是否在启动时显示一些信息
  # &k Obfuscated  &m Strikethrough
+
  verbose: true
# &l Bold        &o Italic
 
# &n Underline    &r Reset
 
 
   
 
   
  ##### English
+
  ##########################
  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."
 
 
   
 
   
  ##### French - Thanks to automatizer for translating! -> https://www.spigotmc.org/members/automatizer.26188/
+
  # Advanced: 如何分类整理?敬请查看以下例子.
  #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."
+
# {category}    根据 plugins/ChestSort/categories/<category>.txt 内的物品定义分类
  #message-error-players-only: "&cErreur: Cette commande ne peut être utilisée que par des joueurs."
+
# {itemsFirst}  先整理装备后整理方块
   
+
  # {blocksFirst}  先整理方块后整理其他装备
  ##### German
+
  # {name}        返回名称 (例如. DIRT, GRASS_BLOCK, BIRCH_LOG, DIAMOND_SWORD, ...)
  #message-when-using-chest: "&7Hinweis: Benutze &6/chestsort&7 um die automatische Kistensortierung zu aktivieren."
+
  # {color}        返回颜色, 例如. light_blue 为蓝色羊毛. 如果物品无法被染色则为空白
  #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."
+
  # 例如:
   
+
  # 按名称和颜色分类:
  ##### Italian - Translated with Google. Please tell me if something is wrong :)
+
  #     '{name},{color}'
  #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."
+
  #     '{itemsFirst},{name},{color}'
  #message-sorting-enabled: "&7L'ordinamento automatico dei bauli è stato &aattivato&7."
+
  #
  #message-error-players-only: "&cErrore: questo comando è disponibile solo per i giocatori."
+
  #   先按方块类型分类再按名称和颜色分类:
 +
  #     '{blocksFirst},{name},{color}'
 +
  #
 +
  #   先按类型分类,再按物品、名称和颜色分类:
 +
  #     '{category},{itemsFirst},{name},{color}'
 +
  #
 +
sorting-method: '{category},{itemsFirst},{name},{color}'
 
   
 
   
 
  #########################
 
  #########################
  #####     Done!    #####
+
  ##### 本地化 ######
 
  #########################
 
  #########################
 
   
 
   
  # please do not change the following line manually!
+
  # 颜色代码:
  config-version: 2
+
  # &0 黑        &6 金      &c 红
</spoiler>
+
  # &1 深蓝    &7 灰      &d 粉
==汉化配置==
+
  # &2 暗绿   &8 深暗  &e 黄
  #########################
+
# &3 水绿    &9 蓝      &f 白
  #####  ChestSort   #####
+
  # &4 深红    &a 绿   
  #####  箱子整理  #####
+
  # &5 暗紫  &b 天蓝
  #########################
 
 
   
 
   
  # 当设置为false时,新玩家必须输入 /chestsort
+
  # 格式代码:
  # 才能启用箱子整理功能.
+
  # &k 随机字符  &m 中划线
  sorting-enabled-by-default: false
+
  # &l  粗体        &o 斜体
 +
# &n 下划线  &r 重置
 
   
 
   
  # 当设置为true, 关闭自动整理功能的玩家(包括第一次使用该功能的玩家)
+
  ##### 英语
  # 会获取到如何启用这个功能的提示消息
+
  #message-when-using-chest: "&7Hint: Type &6/chestsort&7 to enable automatic chest sorting."
  # consider setting this to true when you disable sorting by default.
+
  ##message-when-using-chest2: "&7Hint: Type &6/chestsort&7 to disable automatic chest sorting."
  # see also -> message-when-using-chest
+
  #message-sorting-disabled: "&7Automatic chest sorting has been &cdisabled&7."
  show-message-when-using-chest: true
+
#message-sorting-enabled: "&7Automatic chest sorting has been &aenabled&7."
 +
  #message-error-players-only: "&cError: This command can only be run by players."
 
   
 
   
  # when set to true, players with sorting ENABLED will be
+
  ##### Chinese - 感谢 qsefthuopq 带来的翻译! -> https://www.spigotmc.org/members/qsefthuopq.339953/
# shown a message on how to disable automatic chest sorting
 
# when they use a chest for the first time.
 
# consider setting this to true when you enable sorting by default.
 
# see also -> message-when-using-chest2
 
show-message-when-using-chest-and-sorting-is-enabled: false
 
 
# when set to true, the messages are shown again when a player
 
# logs out and back in and then uses a chest again.
 
show-message-again-after-logout: true
 
 
#########################
 
##### localization ######
 
#########################
 
 
# 可用颜色代码:
 
# &0 Black        &6 Gold      &c Red
 
# &1 Dark Blue    &7 Gray      &d Light Purple
 
# &2 Dark Green  &8 Dark Gray  &e Yellow
 
# &3 Dark Aqua    &9 Blue      &f White
 
# &4 Dark Red    &a Green   
 
# &5 Dark Purple  &b Aqua
 
 
# 可用格式代码:
 
# &k Obfuscated  &m Strikethrough
 
# &l Bold        &o Italic
 
# &n Underline    &r Reset
 
 
##### 简体中文
 
 
  message-when-using-chest: "&7提示: 输入 &6/chestsort&7 来启用自动整理箱子."
 
  message-when-using-chest: "&7提示: 输入 &6/chestsort&7 来启用自动整理箱子."
 
  message-when-using-chest2: "&7提示: 输入 &6/chestsort&7 来关闭自动整理箱子."
 
  message-when-using-chest2: "&7提示: 输入 &6/chestsort&7 来关闭自动整理箱子."
Line 156: Line 125:
 
  message-error-players-only: "&c错误: 指令只能由玩家运行."
 
  message-error-players-only: "&c错误: 指令只能由玩家运行."
 
   
 
   
  ##### 法语 - Thanks to automatizer for translating! -> https://www.spigotmc.org/members/automatizer.26188/
+
  ##### 法语 - 感谢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-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-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-disabled: "&7Le classement automatique a été &cdésactivé&7."
 
  #message-sorting-enabled: "&7Le classement automatique a été &aactivé&7."
 
  #message-sorting-enabled: "&7Le classement automatique a été &aactivé&7."
Line 170: Line 139:
 
  #message-error-players-only: "&cFehler: Dieser Befehl ist nur für Spieler verfügbar."
 
  #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-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-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-disabled: "&7L'ordinamento automatico dei bauli è stato &cdisattivato&7."
 
  #message-sorting-enabled: "&7L'ordinamento automatico dei bauli è stato &aattivato&7."
 
  #message-sorting-enabled: "&7L'ordinamento automatico dei bauli è stato &aattivato&7."
  #message-error-players-only: "&cErrore: questo comando è disponibile solo per i giocatori."  
+
  #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."
 +
 
  #########################
 
  #########################
  #####    Done!    #####
+
  #####    完成!    #####
 
  #########################
 
  #########################
 
   
 
   
  # 不要人为地修改版本号!
+
  # 不要修改版本号!
  config-version: 2
+
  config-version: 5
={{mCColor|&9|链接}}=
 
  
[[image:Github2.png|250px|center|link=https://github.com/JEFF-Media-GbR/Spigot-ChestSort|Github源码]]
+
== 注释与外部链接 ==
----
+
* [https://github.com/JEFF-Media-GbR/Spigot-ChestSort Github源码]
 +
* [https://www.paypal.me/mfnalex 插件作者的paypal投喂链接]
 +
 
 +
[[Category:机械]]

Latest revision as of 12:46, 5 June 2021

ChestSort
外文名ChestSort
作者mfnalex
插件类型Spigot / CraftBukkit
最新版本1.5.7
兼容服务端1.12.2-1.13
源地址http://dev.bukkit.org/bukkit-plugins/ChestSort

分类:插件分类:插件分类:Spigot插件分类:CraftBukkit插件

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

介绍

Error creating thumbnail: Unable to save thumbnail to destination

这个插件可以在你关闭箱子后自动整理箱子,每个玩家都可以用/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

注释与外部链接