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

ChestSort

来自Minecraft插件百科
Qsefthuopq讨论 | 贡献2018年9月1日 (六) 12:52的版本 (更新配置)
跳转至: 导航搜索
ChestSort
外文名ChestSort
作者mfnalex
插件类型Spigot / CraftBukkit
最新版本1.5.7
兼容服务端1.12.2-1.13
源地址http://dev.bukkit.org/bukkit-plugins/ChestSort

Cs1.jpg

介绍

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