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

ChestSort:修订间差异

来自Minecraft插件百科
跳转到导航 跳转到搜索
(创建页面,内容为“{{Bukkit Plugin Infobox |插件名=ChestSort |图标= |版本= 1.5.7 |前置插件= |兼容服务端版本=1.12.2-1.13 |作者= mfnalex |網址= [https://www.spigot...”)
 
(更新配置)
第20行: 第20行:
={{mCColor|&4|权限}}=
={{mCColor|&4|权限}}=
={{mCColor|&b|配置}}=
={{mCColor|&b|配置}}=
==默认配置==
<spoiler>
#########################
#####  ChestSort  #####
#########################
#
# Please note that players will need the chestsort.use permission
# or have to be OP to be able to use automatic chest sorting.
#
# when set to false, new players will have to run /chestsort
# once to enable automatic chest sorting.
sorting-enabled-by-default: false
# when set to true, players with sorting DISABLED will be
# 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
# when set to true, players with sorting ENABLED will be
# 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 ######
#########################
# Available color codes:
# &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
# Available formatting codes:
# &k Obfuscated  &m Strikethrough
# &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/
#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."
##### German
#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."
##### Italian - Translated with Google. Please tell me if something is wrong :)
#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."
#########################
#####    Done!    #####
#########################
# please do not change the following line manually!
config-version: 2
</spoiler>
==汉化配置==
==汉化配置==
#########################
#########################
#####  ChestSort  #####
#####  ChestSort  #####
#####  箱子整理   #####
#####  箱子整理   #####
#########################
#########################
 
# 当设置为false时,新玩家必须输入 /chestsort
#
# 才能启用箱子整理功能.
# 玩家需要 chestsort.use 权限
sorting-enabled-by-default: false
# 或OP权限才能使用该插件的功能.
#
# 当设置为true, 关闭自动整理功能的玩家(包括第一次使用该功能的玩家)
 
# 会获取到如何启用这个功能的提示消息
# 当设置为false时,新玩家必须输入 /chestsort
# consider setting this to true when you disable sorting by default.
# 才能启用箱子整理功能.
# see also -> message-when-using-chest
sorting-enabled-by-default: false
show-message-when-using-chest: true
 
# 当设置为true, 关闭自动整理功能的玩家(包括第一次使用该功能的玩家)
# when set to true, players with sorting ENABLED will be
# 会获取到如何启用这个功能的提示消息
# shown a message on how to disable automatic chest sorting
show-message-when-using-chest: true
# when they use a chest for the first time.
 
# consider setting this to true when you enable sorting by default.
# 当设置为true, 第一次启用整理功能的玩家会
# 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, ...
# 如果你想要编辑这些配置
# 可用颜色代码:
# 你可以关闭生成这些文件
# &0 Black       &6 Gold       &c Red
# 否则你的编辑会被覆盖.
# &1 Dark Blue   &7 Gray       &d Light Purple
auto-generate-category-files: true
# &2 Dark Green   &8 Dark Gray &e Yellow
 
# &3 Dark Aqua   &9 Blue       &f White
# 是否检测更新?
# &4 Dark Red     &a Green   
check-for-updates: true
# &5 Dark Purple &b Aqua
 
# 是否在启动时显示一些信息
# 可用格式代码:
verbose: true
# &k Obfuscated   &m Strikethrough
 
# &l Bold        &o Italic
##########################
# &n Underline    &r Reset
#####    分类方式    #####
##########################
##### 简体中文
 
message-when-using-chest: "&7提示: 输入 &6/chestsort&7 来启用自动整理箱子."
# Advanced: 如何分类整理?敬请查看以下例子.
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错误: 指令只能由玩家运行."
# {category}    根据 plugins/ChestSort/categories/<category>.txt 内的物品定义分类
# {itemsFirst}  先整理装备后整理方块
##### 法语 - Thanks to automatizer for translating! -> https://www.spigotmc.org/members/automatizer.26188/
# {blocksFirst} 先整理方块后整理其他装备
#message-when-using-chest: "&7Astuce: Écris &6/chestsort&7 pour activer le classement automatique."
# {name}        返回名称 (例如. DIRT, GRASS_BLOCK, BIRCH_LOG, DIAMOND_SWORD, ...)
#message-when-using-chest2: "&7Astuce: Écris &6/chestsort&7 pour désactiver le classement automatique."
# {color}        返回颜色, 例如. light_blue 为蓝色羊毛. 如果物品无法被染色则为空白
#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."
#    '{name},{color}'
#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."
#    '{itemsFirst},{name},{color}'
#message-error-players-only: "&cFehler: Dieser Befehl ist nur für Spieler verfügbar."
#
#  先按方块类型分类再按名称和颜色分类:
##### 意大利语 - 使用谷歌翻译. 如果有错请指正 :)
#    '{blocksFirst},{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."
#      '{category},{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."  
sorting-method: '{category},{itemsFirst},{name},{color}'
  #########################
 
#####    Done!    #####
#########################
#########################
##### 本地化 ######
#########################
# 不要人为地修改版本号!
 
config-version: 2
# 颜色代码:
# &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
={{mCColor|&9|链接}}=
={{mCColor|&9|链接}}=


[[image:Github2.png|250px|center|link=https://github.com/JEFF-Media-GbR/Spigot-ChestSort|Github源码]]
[[image:Github2.png|250px|center|link=https://github.com/JEFF-Media-GbR/Spigot-ChestSort|Github源码]]
----
----

2018年9月1日 (六) 04:52的版本

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

介绍

这个插件可以在你关闭箱子后自动整理箱子,每个玩家都可以用/chestsort指令来开关这一功能.
但玩家需要chestsort.use权限才能使用该指令.
如果有权限的话,玩家登录后第一次打开箱子会有信息提示如何使用这个功能

指令

/chestsort 或 /sort

权限

配置

汉化配置

          1. ChestSort #####
          2. 箱子整理 #####
  1. 玩家需要 chestsort.use 权限
  2. 或OP权限才能使用该插件的功能.
  1. 当设置为false时,新玩家必须输入 /chestsort
  2. 才能启用箱子整理功能.

sorting-enabled-by-default: false

  1. 当设置为true, 关闭自动整理功能的玩家(包括第一次使用该功能的玩家)
  2. 会获取到如何启用这个功能的提示消息

show-message-when-using-chest: true

  1. 当设置为true, 第一次启用整理功能的玩家会
  2. 收到如何关闭这一功能的信息

show-message-when-using-chest-and-sorting-is-enabled: false

  1. 当设置为true, 信息会在玩家重新登录后
  2. 使用箱子时再次显示.

show-message-again-after-logout: true

  1. 要想分类整理
  2. 你需要在category文件夹内修改配置
  3. 900-valuables.txt, 910-tools.txt, 920-combat.txt, ...
  4. 如果你想要编辑这些配置
  5. 你可以关闭生成这些文件
  6. 否则你的编辑会被覆盖.

auto-generate-category-files: true

  1. 是否检测更新?

check-for-updates: true

  1. 是否在启动时显示一些信息

verbose: true

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

sorting-method: '{category},{itemsFirst},{name},{color}'

          1. 本地化 ######
  1. 颜色代码:
  2. &0 黑 &6 金 &c 红
  3. &1 深蓝 &7 灰 &d 粉
  4. &2 暗绿 &8 深暗 &e 黄
  5. &3 水绿 &9 蓝 &f 白
  6. &4 深红 &a 绿
  7. &5 暗紫 &b 天蓝
  1. 格式代码:
  2. &k 随机字符 &m 中划线
  3. &l 粗体 &o 斜体
  4. &n 下划线 &r 重置
          1. 英语
  1. message-when-using-chest: "&7Hint: Type &6/chestsort&7 to enable automatic chest sorting."
    1. message-when-using-chest2: "&7Hint: Type &6/chestsort&7 to disable automatic chest sorting."
  2. message-sorting-disabled: "&7Automatic chest sorting has been &cdisabled&7."
  3. message-sorting-enabled: "&7Automatic chest sorting has been &aenabled&7."
  4. message-error-players-only: "&cError: This command can only be run by players."
          1. 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错误: 指令只能由玩家运行."

          1. 法语 - 感谢automatizer 的翻译! -> https://www.spigotmc.org/members/automatizer.26188/
  1. message-when-using-chest: "&7Astuce: ?cris &6/chestsort&7 pour activer le classement automatique."
  2. message-when-using-chest2: "&7Astuce: ?cris &6/chestsort&7 pour désactiver le classement automatique."
  3. message-sorting-disabled: "&7Le classement automatique a été &cdésactivé&7."
  4. message-sorting-enabled: "&7Le classement automatique a été &aactivé&7."
  5. message-error-players-only: "&cErreur: Cette commande ne peut être utilisée que par des joueurs."
          1. 德语
  1. message-when-using-chest: "&7Hinweis: Benutze &6/chestsort&7 um die automatische Kistensortierung zu aktivieren."
  2. message-when-using-chest2: "&7Hinweis: Benutze &6/chestsort&7 um die automatische Kistensortierung zu deaktivieren."
  3. message-sorting-disabled: "&7Automatische Kistensortierung &cdeaktiviert&7."
  4. message-sorting-enabled: "&7Automatische Kistensortierung &aaktiviert&7."
  5. message-error-players-only: "&cFehler: Dieser Befehl ist nur für Spieler verfügbar."
          1. 意大利语 - 感谢谷歌娘的翻译. 如果有错误请纠正 :)
  1. message-when-using-chest: "&7Nota: inserire &6/chestsort&7 per abilitare l'ordinamento automatico dei bauli."
  2. message-when-using-chest2: "&7Nota: inserire &6/chestsort&7 per disabilitare l'ordinamento automatico dei bauli."
  3. message-sorting-disabled: "&7L'ordinamento automatico dei bauli è stato &cdisattivato&7."
  4. message-sorting-enabled: "&7L'ordinamento automatico dei bauli è stato &aattivato&7."
  5. message-error-players-only: "&cErrore: questo comando è disponibile solo per i giocatori."
          1. 西班牙语 - 感谢 Bers_ 的翻译! -> https://www.spigotmc.org/members/bers_.146126/
  1. message-when-using-chest: "&7Pista: Usa &6/chestsort&7 para activar el orden automático de los cofres."
  2. message-when-using-chest2: "&7Pista: Usa &6/chestsort&7 para desactivar el orden automático de los cofres."
  3. message-sorting-disabled: "&7Orden automático de los cofres &cdesactivado&7."
  4. message-sorting-enabled: "&7Orden automático de los cofres &aactivado&7."
  5. message-error-players-only: "&cError: Este comando solo puede ser ejecutado por jugadores."
          1. 完成! #####
  1. 不要修改版本号!

config-version: 5

链接

Github源码
Github源码