名副其实
本帖最后由 名副其实 于 2023-3-2 23:13 编辑
| Help Chat |

Unofficial Simplified Chinese Wiki Version



| About HelpChat | 关于 HelpChat

   HelpChat 是一个为国外玩家提供在线援助的组织,同时也是 Clip 所创建的插件 PlacholderAPI 的官方网站。
   目前它分为许多板块,具体的索引可在楼下目录中找到。
   目前 FurryIsland 致力于翻译其中 Wiki 部分的内容。

   2020/3/2 23:11
   除 ChatChat 外的翻译工作基本完成。
   将会在近期开展格式修整的工作,以及配置文本再翻译。
   除原文本外,还会额外提供一份翻译好的配置文本供玩家参阅以及下载。

| Links | 相关链接

   HelpChat 的官方 Discord 群组: https://helpch.at/discord
   HelpChat 的官网: https://helpch.at/
   HelpChat 的官方 Wiki: https://wiki.helpch.at/
   HelpChat 的官方 JavaDoc: https://helpch.at/docs/
   HelpChat 的官方剪贴板: https://paste.helpch.at/
   HelpChat 的 PlaceholderAPI Wiki 帮助页面: https://helpch.at/placeholders
   E-Cloud 变量拓展云官方页面: https://api.extendedclip.com/home
   HelpChat YAML 文件格式检查修复器: https://yaml.helpch.at/

名副其实
本帖最后由 名副其实 于 2023-2-22 22:41 编辑
| Help Chat |

Unofficial Simplified Chinese Wiki Version



| HelpChat Wiki Contents | HelpChat 维基页面目录

   # 点击可在页面之间跳转!
   Clip's Plugins | Clip 制作的插件
       AutoSell [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Placeholders | 变量列表 [跳转]
         Plugin's files | 示例配置 [跳转]
       ActionAnnouncer [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Plugin's files | 示例配置 [跳转]
         API | 接口 [跳转]
       ChatReaction [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Plugin's files | 示例配置 [跳转]
       DeluxeChat [跳转]
         Installation | 安装插件 [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Placeholders | 变量列表 [跳转]
         Config options | 配置选项 [跳转]
         Plugin's files | 示例配置 [跳转]
       DeluxeCommands [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Plugin's files | 示例配置 [跳转]
       DeluxeJoin [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Plugin's files | 示例配置 [跳转]
       DeluxeTags [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Placeholders | 变量列表 [跳转]
         Plugin's files | 示例配置 [跳转]
       DeluxeMenus [跳转] # 实际页面顺序有点问题
         Commands & Permissions | 命令与权限 [跳转]
         Options & Configurations | 设定与配置 [跳转]
            GUI | GUI 样式 [跳转]
            Item | 菜单物品 [跳转]
            Requirements | 条件判断 [跳转]
         External menus | 导入菜单 [跳转]
         Example GUI menus | 示例菜单 [跳转]
         Plugin's files | 示例配置 [跳转]
       EzRanksPro [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Configurations | 配置文件 [跳转]
       EzPrestige [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Configurations | 配置文件 [跳转]
       InventoryFull [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Configurations | 配置文件 [跳转]
       MessageAnnouncer [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Configurations | 配置文件 [跳转]
       MineCrates [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Configurations | 配置文件 [跳转]
       NoFlyZone [跳转]
         Commands & Permissions | 命令与权限 [跳转]
         Configurations | 配置文件 [跳转]

   FunnyCube's Plugins | FunnyCube 制作的插件
       CowPunch
         Commands & Permissions | 命令与权限
       Firework Chests
         Commands & Permissions | 命令与权限
         Configurations | 配置文件
       Fish Slapper
         Commands & Permissions | 命令与权限
         Configurations | 配置文件
       RawMsg
         Commands & Permissions | 命令与权限
       Spit
         Commands & Permissions | 命令与权限
       Temp MOTD
         Commands & Permissions | 命令与权限
         Configurations | 配置文件

   Glare's Plugins | Glare 制作的插件
       Guilds 已翻译
         Installation | 安装插件 已翻译
         Configurations | 配置文件 已翻译
         Commands & Permissions | 命令与权限
         Placeholders | 变量列表
         Developer API | 开发者 API
       VoteParty
         Commands & Permissions | 命令与权限
         Placeholders | 变量列表
         Configurations | 配置文件
         API | API
         Changelogs | 更新记录

   Helpchat Plugins | 官方团队制作的插件
       ChatChat
         Commands | 插件命令
         Permissions | 插件权限
         Formats | 聊天格式
         Channels | 聊天频道
         Mentions | 聊天提及
         Placeholders | 插件变量
         API | API
         Files | 插件文件

名副其实
本帖最后由 名副其实 于 2023-3-2 22:56 编辑

AutoSell
对监狱挖矿和出售的终极解决方法!/sellall + 出售告示牌 + 方块发送至背包 + 原 "AutoSell" 功能


Description
AutoSell is the selling solution for all prison servers, allows server owners to create permission-based shops were players are able to sell their items. AutoSell is also fully equipped with a wide range of extra features.

插件介绍
本插件是一个适合所有监狱风云类型的服务器的插件,允许腐竹们创建使用权限控制的玩家商店,玩家可以在商店内自由出售物品并获得回报。
本插件同时也携带了各种各样有用的额外功能。

Features
Highly customizable.
Auto selling.
Multiplier system.
Blocks to inventory.
Automatic ingots to blocks converter system.
Auto smelt system.
Supports all enchantments.
Easy to setup command-based shop system.
WorldGuard support.
PlaceholderAPI support.
VKBackPack support.

插件特点
高度可自定义性自动出售功能增强效果系统掉落物直接进入背包矿锭自动转化为矿块功能自动熔炼功能支持所有附魔安装方便,通过命令操作商店支持 WorldGuard 支持 PlaceholderAPI支持 VKBackPack

Dependencies
Required dependencies
Vault
Any vault compatible economy plugin
Optional dependencies
WorldGuard
MineResetLite
PrisonMines
AsylumMines

插件前置
插件硬依赖
Vault
任意一款支持Vault的经济插件
插件软依赖
WorldGuard
MineResetLite (1.13重制版点此) (1.16重制版点此)
PrisonMines
AsylumMines

Setup
Put the AutoSell jar file in your plugins folder.
Restart the server.
Open the config file found in plugins/AutoSell/.
Enable the plugin you want to use to setup AutoSell shop regions (from hooks: section).
Restart the server.
Modify the other options and files to fit your server's layout.
Reload AutoSell /ASA Reload (Some options might require a restart to apply the changes).
Create your AutoSell shops (Look at Commands & Permissions page for the create command and other related commands for this).
To set the shop's region, name it with the same name of the region/mine (of the plugin you chose in hooks) you want to take its region.
Check the Commands & Permissions page, to give your players access to commands/features you want them to use.
And you're done! Give us a review about the plugin here.

安装教程
将插件放入你的服务器插件文件夹下。
重启服务器。
打开位于 plugins/AutoSell/ 的配置文本
在设置内启用你想要建立商店的选区 (联动: 选区)
重启服务器。
修改其他选项,使其能更好贴合服务器设计。
使用命令 /asa reload 可重载配置文本 (有些选项需要重启服务器才能生效)
创建你的插件商店 (参照下方命令与权限部分以获取命令与相关帮助)
为了设置商店区域,请将其命名为与矿区/区域相同的名称(取决于你使用的依赖插件)
检查命令与权限页面,并给予玩家相对应的权限。
完成!如果觉得插件好用,你可以在这里给我们一些评价。


名副其实
本帖最后由 名副其实 于 2023-3-2 22:59 编辑

命令与权限
本插件的命令与权限列表

玩家命令

命令权限描述相似用法
/sellallautosell.sellall将你背包中的物品出售至你有权使用的商店。Sell, SellItems, SellInv, SellInventory
/autosellautosell.toggle切换自动出售模式。AS, ASell, AutoS
/autosmeltautosell.autosmelt切换自动熔炼模式。ASmelt, Smelt
/autoblocksautosell.autoblocks切换锭块自动合并模式。I2B, ToBlocks, 2Blocks, Ingots2Blocks
/items [商店名]autosell.items在菜单内显示该商店对应物品价格。Prices, ItemPrices, ShopPrices, ShopItems
/asmultiplierautosell.multiplier.self显示你当前的翻倍器。Multi, ASMulti, Multiplier
/asworthautosell.worth检查你手上的物品价值。ShopWorth, ShopPrice, ASPrice
/bptoggleautosell.bptoggle切换自动出售 VKBackPack 插件的背包中的物品。BackPackToggle


管理员命令

# /asa 与 /autoselladmin 等效
命令权限描述
/asa versionautosell.admin显示插件版本。
/asa reloadautosell.reload重载插件文档。
/asa shopsautosell.admin列出已载入商店。
/asa addshop <名称>autosell.admin添加新商店。
/asa delshop <名称>autosell.admin删除已有商店。
/asa items [商店名称]autosell.admin列出商店商品。
/asa additem <商店名称> <价格>autosell.admin将手上物品添加至商店。
/asa delitem <商店名称>autosell.admin将手上物品从商店中移除。
/asa setmultiplier <player(玩家)/global(全局)> <multiplier(增强效果种类)> <days(天)>:<hours(小时)>:<minutes(分钟)>autosell.admin为玩家或全局设置增强效果。
/asa addmultiplier <player(玩家)/global(全局)> <multiplier(增强效果种类)> <days(天)>:<hours(小时)>:<minutes(分钟)>autosell.admin为玩家或全局添加增强效果。
/asa stackmultiplier <player(玩家)/global(全局)> <multiplier(增强效果种类)> <days(天)>:<hours(小时)>:<minutes(分钟)>autosell.admin在玩家或全局已激活的增强效果上叠加时间。
/asa delmultiplier <player(玩家)/global(全局)>autosell.admin为玩家或全局移除增强效果。
/asa addsign <商店名称>autosell.signs.admin在你所看向的位置设置一个出售全部物品的牌子。
/asa delsignautosell.signs.admin删除你所看着的牌子。
/asa whatareaautosell.whatarea获取你所在的矿区/区域名称。


权限列表

权限描述
autosell.fortune允许使用本插件的时运功能。
autosell.signs.sell允许通过快捷牌子出售所有物品。
autosell.blockstoinventory允许直接将掉落物发送至背包而非掉落在地上。
autosell.shop.商店名称若玩家没有在任何商店区域,该权限可设置玩家的默认所处商店。
autosell.autosmelt.all允许自动熔炼配置文本内提到的所有物品种类。需要先设置自动熔炼功能为开。
autosell.autosmelt.材料名称允许自动熔炼配置文本内提到的特定物品种类。需要先设置自动熔炼功能为开。


名副其实
本帖最后由 名副其实 于 2023-3-2 23:04 编辑

变量列表
本插件的变量

本插件通过 PlaceholderAPI 提供变量支持,需要下载变量拓展。

译者注:
名词解释:
Boolean 即布尔值,返回值只有两种,为 true (满足条件时输出) 和 false (不满足条件时输出)
Text 即文本,返回值为一串可读的正常文本
Number 即数字,返回值为实数

变量名称值类型描述
%autosell_in_autosell_mode%Boolean返回玩家是否处于自动出售模式。
%autosell_in_autoblocks_mode%Boolean返回玩家是否处于自动矿锭转矿块模式。
%autosell_in_automelt_mode%Boolean返回玩家是否处于自动熔炼模式。
%autosell_current_shop%Text返回玩家当前所在商店。
%autosell_total_multiplier%Number返回玩家当前所有的效果增强。
%autosell_time_multiplier%Number返回玩家当前所有的限时效果增强。
%autosell_perm_multiplier%Number返回玩家通过权限拥有的效果增强。
%autosell_perm_multiplier_name%Text返回玩家通过权限拥有的效果增强名称。
%autosell_time_multiplier_minsleft%Number返回玩家当前限时效果增强的剩余有效总时长。
%autosell_time_multiplier_timeleft%Text返回玩家当前限时效果增强的剩余有效时间。


下载拓展

Download
To use these placeholders, you have to download AutoSell Expansion. You can download it automatically by running:
/papi ecloud download AutoSell
/papi reload
Or you can download it manually from the eCloud, and put it inside the expansions folder (folder path: /plugins/PlaceholderAPI/expansions/).

若要使用变量,你需要先下载变量拓展。在服务器内,你可以输入下列指令让插件自动帮你完成安装操作:
/papi ecloud download AutoSell
/papi reload

(译者注: 该指令为重载PlaceholderAPI 用,确保变量拓展被正确安装以及能够读取。)或者,你也可以在 eCloud官网 下载该变量拓展,并手动放入 PlaceholderAPI 的变量拓展件夹 expansions 下。
路径通常为: [你的服务器]/plugins/PlaceholderAPI/expansions/

若要使用这些变量,你需要安装 PlaceholderAPI 以正常使用这些变量。


名副其实
本帖最后由 名副其实 于 2023-3-19 19:47 编辑

示例配置
插件的示例文档

(译者注:此处仅为插件原文档,供预览参考用)

主配置文件
  1. # AutoSell version: 1.9.1 Main Configuration

  2. check_updates: true
  3. block_listener_priority: HIGHEST
  4. hooks:
  5.   mine_reset_lite:
  6.     enabled: true
  7.   worldguard:
  8.     enabled: false
  9.   prisonmines:
  10.     enabled: false
  11.   asylum_mines:
  12.     enabled: false
  13.   jets_prison_mines:
  14.     enabled: false
  15. tools_never_break: true
  16. ignore_custom_items: true
  17. multiplier_save_on_interval: true
  18. multiplier_save_interval: 300
  19. multiplier_default_limit: 100
  20. autosell:
  21.   allow_creative: false
  22.   require_tools: true
  23.   take_sold_items: true
  24.   disabled_worlds:
  25.   - someworld
  26.   - someotherworld
  27.   multipliers_enabled: true
  28.   interval_announcements:
  29.     enabled: true
  30.     interval: 60
  31.     has_multiplier_message:
  32.     - '&8&m-----------------------------------------------------'
  33.     - '&eYour AutoSell stats...'
  34.     - '&bItems Sold&7: &f%items%'
  35.     - '&bAmount&7: &a$ &f%amount%'
  36.     - '&bMultiplier: &f%multiplier%'
  37.     - '&8&m-----------------------------------------------------'
  38.     no_multiplier_message:
  39.     - '&8&m-----------------------------------------------------'
  40.     - '&eYour AutoSell stats...'
  41.     - '&bItems Sold&7: &f%items%'
  42.     - '&bAmount&7: &a$ &f%amount%'
  43.     - '&8&m-----------------------------------------------------'
  44. signsell:
  45.   per_shop_permissions: true
  46.   has_multiplier_message:
  47.   - '&8&m-----------------------------------------------------'
  48.   - '&bItems Sold&7: &f%items%'
  49.   - '&bAmount&7: &a$ &f%amount%'
  50.   - '&bMultiplier: &f%multiplier%'
  51.   - '&8&m-----------------------------------------------------'
  52.   no_multiplier_message:
  53.   - '&8&m-----------------------------------------------------'
  54.   - '&bItems Sold&7: &f%items%'
  55.   - '&bAmount&7: &a$ &f%amount%'
  56.   - '&8&m-----------------------------------------------------'
  57. sellall:
  58.   enabled: true
  59.   use_perm_shop_when_no_shop_is_at_location: true
  60.   has_multiplier_message:
  61.   - '&8&m-----------------------------------------------------'
  62.   - '&bItems Sold&7: &f%items%'
  63.   - '&bAmount&7: &a$ &f%amount%'
  64.   - '&bMultiplier: &f%multiplier%'
  65.   - '&8&m-----------------------------------------------------'
  66.   no_multiplier_message:
  67.   - '&8&m-----------------------------------------------------'
  68.   - '&bItems Sold&7: &f%items%'
  69.   - '&bAmount&7: &a$ &f%amount%'
  70.   - '&8&m-----------------------------------------------------'
  71. item_drops:
  72.   drops2inv:
  73.     enabled: true
  74.     require_permission_node: false
  75.     autosell_areas_only: false
  76.     disabled_worlds:
  77.     - someworld
  78.     - someotherworld
  79.     ignored_blocks:
  80.     - SKULL_ITEM
  81.     - SKULL
  82.     allowed_instead_of_ignored: false
  83.   silk_touch:
  84.     enabled: true
  85.   auto_smelt:
  86.     enabled: true
  87.     toggle_on_join: true
  88.     disabled_worlds:
  89.     - someworld
  90.     - someotherworld
  91.     smelt_list:
  92.     - GOLD_ORE,GOLD_INGOT
  93.     - IRON_ORE,IRON_INGOT
  94.     - WOOL;3,WOOL;5
  95.     - STONE,STONE
  96.   fortune:
  97.     enabled: true
  98.     minimum_drops: 1
  99.     maximum_drops: 1000
  100.     multiplier: 1.2
  101.     modifier: 1
  102.     random_drop_amount: true
  103.     disabled_worlds:
  104.     - someworld
  105.     - someotherworld
  106.     fortune_blocks:
  107.     - DIAMOND_ORE
  108.     - EMERALD_ORE
  109.     - GOLD_ORE
  110.     - IRON_ORE
  111.     - LAPIS_ORE
  112.     - REDSTONE_ORE
  113.     - QUARTZ_ORE
  114.     - COAL_ORE
  115.     - DIAMOND_BLOCK
  116.     - EMERALD_BLOCK
  117.     - GOLD_BLOCK
  118.     - IRON_BLOCK
  119.     - LAPIS_BLOCK
  120.     - REDSTONE_BLOCK
  121.     - QUARTZ_BLOCK
  122.     - COAL_BLOCK
  123.   ingot_to_block:
  124.     enabled: true
  125.     toggle_on_join: true
  126.     auto_blocks_interval: 30
  127. shop_items_info:
  128.   use_gui: true
  129.   message:
  130.   - '&8&m-----------------------------------------------------'
  131.   - '&aShop: &f%shop%'
  132.   - '%items%'
  133.   - '&8&m-----------------------------------------------------'
  134.   item_format: '&7%material%&f:&7%data% &f- &a$ &f%price_1%'
  135. vkbackpack:
  136.   bptoggle_on_join: true
  137. shops:
  138.   Shop1:
  139.     priority: 1
  140.     shop_list:
  141.     - STONE,0.50
  142.     - COBBLESTONE,0.20
  143.     - IRON_ORE,0.35
  144.     - COAL_ORE,0.20
  145. money:
  146.   fix_money: true
  147.   use_custom_format: false
  148.   custom_format: '#,###.00'
  149.   thousands_format: k
  150.   millions_format: M
  151.   billions_format: B
  152.   trillions_format: T
  153.   quadrillions_format: Q
复制代码

翻译后的版本
  1. # AutoSell 版本: 1.9.1 主配置文件

  2. check_updates: true
  3. # 更新检查(译者注:可能会消耗网络性能)
  4. block_listener_priority: HIGHEST
  5. # 方块监听器优先级(译者注:在出现问题时应当降低优先级)
  6. hooks:
  7. # 插件联动
  8.   mine_reset_lite:
  9.     enabled: true
  10.   worldguard:
  11.     enabled: false
  12.   prisonmines:
  13.     enabled: false
  14.   asylum_mines:
  15.     enabled: false
  16.   jets_prison_mines:
  17.     enabled: false
  18. tools_never_break: true
  19. # 出售的工具不损坏
  20. ignore_custom_items: true
  21. # 是否仅接受原版物品
  22. multiplier_save_on_interval: true
  23. # 间隔保存多倍物品
  24. multiplier_save_interval: 300
  25. # 翻倍保存间隔
  26. multiplier_default_limit: 100
  27. # 翻倍数量上限
  28. autosell:
  29. # 插件主体设置
  30.   allow_creative: false
  31.   # 允许创造模式下出售物品
  32.   require_tools: true
  33.   # 需要工具才可出售物品
  34.   take_sold_items: true
  35.   # 是否消耗商品
  36.   disabled_worlds:
  37.   # 不启用本插件的世界
  38.   - someworld
  39.   - someotherworld
  40.   multipliers_enabled: true
  41.   # 多物品出售
  42.   interval_announcements:
  43.   # 内置公告功能
  44.     enabled: true
  45.     # 是否启用该功能
  46.     interval: 60
  47.     # 发布公告的间隔
  48.     has_multiplier_message:
  49.     - '&8&m-----------------------------------------------------'
  50.     - '&e你的出售状态...'
  51.     - '&b已售出&7: &f%items% &7种物品'
  52.     - '&b总数量&7: &a$ &f%amount% &7个'
  53.     - '&b翻倍量&7: &f%multiplier% &7倍'
  54.     - '&8&m-----------------------------------------------------'
  55.     no_multiplier_message:
  56.     - '&8&m-----------------------------------------------------'
  57.     - '&e你的出售状态...'
  58.     - '&b已售出&7: &f%items% &7种物品'
  59.     - '&b总数量&7: &a$ &f%amount% &7个'
  60.     - '&8&m-----------------------------------------------------'
  61. signsell:
  62. # 告示牌商店相关设置
  63.   per_shop_permissions: true
  64.   # 每个商店分别索各自的权限
  65.   has_multiplier_message:
  66.   - '&8&m-----------------------------------------------------'
  67.   - '&b已售出&7: &f%items% &7种物品'
  68.   - '&b总数量&7: &a$ &f%amount% &7个'
  69.   - '&b翻倍量&7: &f%multiplier% &7倍'
  70.   - '&8&m-----------------------------------------------------'
  71.   no_multiplier_message:
  72.   - '&8&m-----------------------------------------------------'
  73.   - '&bItems Sold&7: &f%items%'
  74.   - '&bAmount&7: &a$ &f%amount%'
  75.   - '&8&m-----------------------------------------------------'
  76. sellall:
  77. # 全部出售相关设置
  78.   enabled: true
  79.   use_perm_shop_when_no_shop_is_at_location: true
  80.   # 当没有商店位于附近时是否使用权限商店
  81.   has_multiplier_message:
  82.   - '&8&m-----------------------------------------------------'
  83.   - '&bItems Sold&7: &f%items%'
  84.   - '&bAmount&7: &a$ &f%amount%'
  85.   - '&bMultiplier: &f%multiplier%'
  86.   - '&8&m-----------------------------------------------------'
  87.   no_multiplier_message:
  88.   - '&8&m-----------------------------------------------------'
  89.   - '&bItems Sold&7: &f%items%'
  90.   - '&bAmount&7: &a$ &f%amount%'
  91.   - '&8&m-----------------------------------------------------'
  92. item_drops:
  93. # 物品掉落设置
  94.   drops2inv:
  95.   # 直接进入背包设置
  96.     enabled: true
  97.     # 是否启用
  98.     require_permission_node: false
  99.     # 是否需要权限
  100.     autosell_areas_only: false
  101.     # 仅自动出售区域才启用该功能
  102.     disabled_worlds:
  103.     # 不启用本功能的世界
  104.     - someworld
  105.     - someotherworld
  106.     ignored_blocks:
  107.     # 无视本功能的物品
  108.     - SKULL_ITEM
  109.     - SKULL
  110.     allowed_instead_of_ignored: false
  111.     # 是否改为白名单,设置为 true 后上方列表变为可触发该功能的物品
  112.   silk_touch:
  113.   # 精准采集
  114.     enabled: true
  115.   auto_smelt:
  116.   # 自动熔炼
  117.     enabled: true
  118.     # 是否启用
  119.     toggle_on_join: true
  120.     # 加入时启用
  121.     disabled_worlds:
  122.     # 不启用本功能的世界
  123.     - someworld
  124.     - someotherworld
  125.     smelt_list:
  126.     # 自动熔炼列表,格式为 原物品,熔炼后物品
  127.     - GOLD_ORE,GOLD_INGOT
  128.     - IRON_ORE,IRON_INGOT
  129.     - WOOL;3,WOOL;5
  130.     - STONE,STONE
  131.   fortune:
  132.   # 时运兼容
  133.     enabled: true
  134.     # 是否启用
  135.     minimum_drops: 1
  136.     # 最小掉落量
  137.     maximum_drops: 1000
  138.     # 最大掉落量
  139.     multiplier: 1.2
  140.     # 翻倍倍率
  141.     modifier: 1
  142.     # 修正系数
  143.     random_drop_amount: true
  144.     # 掉落随机数量
  145.     disabled_worlds:
  146.     # 不启用本功能的世界
  147.     - someworld
  148.     - someotherworld
  149.     fortune_blocks:
  150.     # 受到该功能影响的方块
  151.     - DIAMOND_ORE
  152.     - EMERALD_ORE
  153.     - GOLD_ORE
  154.     - IRON_ORE
  155.     - LAPIS_ORE
  156.     - REDSTONE_ORE
  157.     - QUARTZ_ORE
  158.     - COAL_ORE
  159.     - DIAMOND_BLOCK
  160.     - EMERALD_BLOCK
  161.     - GOLD_BLOCK
  162.     - IRON_BLOCK
  163.     - LAPIS_BLOCK
  164.     - REDSTONE_BLOCK
  165.     - QUARTZ_BLOCK
  166.     - COAL_BLOCK
  167.   ingot_to_block:
  168.   # 锭转化为块功能
  169.     enabled: true
  170.     # 是否启用本功能
  171.     toggle_on_join: true
  172.     # 加入后自动启用
  173.     auto_blocks_interval: 30
  174.     # 触发该功能的间隔
  175. shop_items_info:
  176. # 商店物品展示信息
  177.   use_gui: true
  178.   # 使用 GUI 展示物品
  179.   message:
  180.   # 商店展示格式
  181.   - '&8&m-----------------------------------------------------'
  182.   - '&a商店名称: &f%shop%'
  183.   - '%items%'
  184.   - '&8&m-----------------------------------------------------'
  185.   item_format: '&7%material%&f:&7%data% &f- &a$ &f%price_1%'
  186.   # 物品展示格式
  187. vkbackpack:
  188. # VBackPack 背包插件兼容
  189.   bptoggle_on_join: true
  190.   # 加入游戏后自动切换背包
  191. shops:
  192. # 商店列表
  193.   Shop1:
  194.   # ID,可任填,不建议使用中文
  195.     priority: 1
  196.     # 优先级
  197.     shop_list:
  198.     # 商品列表,格式为 物品,价格
  199.     - STONE,0.50
  200.     - COBBLESTONE,0.20
  201.     - IRON_ORE,0.35
  202.     - COAL_ORE,0.20
  203. money:
  204. # 经济相关设置
  205.   fix_money: true
  206.   # 自动约去过长小数
  207.   use_custom_format: false
  208.   # 是否使用自定义格式
  209.   custom_format: '#,###.00'
  210.   # 自定义格式, # 代表一位数字
  211.   thousands_format: K
  212.   # 1000 自动转化为 1K
  213.   millions_format: M
  214.   # 1000000 自动转化为 1M
  215.   billions_format: B
  216.   # 1000000000 自动转化为 1B
  217.   trillions_format: T
  218.   # 1000000000000 自动转化为 1T
  219.   quadrillions_format: Q
  220.   # 1000000000000000 自动转化为 1Q
复制代码

消息文本
  1. # AutoSell language file
  2. # You can edit all the messages here!
  3. # You must restart for changes to take affect when editing this file!
  4. autosell_disabled_in_world: '&cAutoSell is disabled in your current world!'
  5. autosell_no_permission: '&cYou don''t have &7{0} &cto use AutoSell!'
  6. autosell_no_shop: '&cYou don''t have a shop to sell to!'
  7. autosell_toggle_on: '&aAutoSell enabled'
  8. autosell_toggle_off: '&7AutoSell disabled'
  9. autosmelt_disabled: '&cAutoSmelt is currently disabled!'
  10. autosmelt_disabled_in_world: '&cAutoSmelt is disabled in your current world!'
  11. autosmelt_no_permission: '&cYou don''t have &7{0} &cto use AutoSmelt!'
  12. autosmelt_toggle_on: '&aAutoSmelt enabled'
  13. autosmelt_toggle_off: '&cAutoSmelt disabled'
  14. multiplier_disabled: '&cMultipliers are currently disabled!'
  15. multiplier_expired: '&7Your AutoSell multiplier has expired...'
  16. multiplier_others_incorrect_usage: '&cIncorrect usage! Use &7/multiplier <player>'
  17. multiplier_no_permission_self: '&cYou don''t have &7{0} &cto check your multiplier!'
  18. multiplier_no_permission_others: '&cYou don''t have &7{0} &cto check another players
  19.   multiplier!'
  20. multiplier_no_multiplier_self: '&cYou don''t have a multiplier at the moment...'
  21. multiplier_no_multiplier_others: '&7{0} &cdoesn''t have a multiplier at the moment...'
  22. multiplier_has_multiplier_self: '&aYour current multiplier is &f{0} &aand will expire
  23.   in &f{1}'
  24. multiplier_has_multiplier_others: '&7{0}''s &acurrent multiplier is &f{1} &aand will
  25.   expire in &f{2}'
  26. global_multiplier_message: '&aGlobal multiplier: &f{0} &7expires in &f{1}'
  27. global_multiplier_expired: '&7The global multiplier has expired!'
  28. permission_multiplier_message: '&aYou have a permission based multiplier of &f{0}'
  29. signs_no_break_permission: '&cYou don''t have permission to break that sign!'
  30. signs_no_sell_permission: '&cYou don''t have &7{0} &cto sell at that sign!'
  31. signs_no_shop_error: '&cThere is no shop associated with that sign! Please contact
  32.   an admin.'
  33. signs_no_shop_items_error: '&cThere are no items listed in the shop you are trying
  34.   to sell to!'
  35. signs_sold_with_multiplier: '&aYou sold &f{0} &aitems for $ &f{1} &awith a multiplier
  36.   of &f{2}&a!'
  37. signs_sold_without_multiplier: '&aYou sold &f{0} &aitems for $ &f{1}&a!'
  38. signs_no_items_to_sell: '&cYou don''t have any items to sell to shop &f{0}&c!'
  39. autoblocks_disabled: '&c/block is currently disabled!!'
  40. autoblocks_no_permission: '&cYou don''t have &7{0} &cto use /blocks!'
  41. autoblocks_toggle_on: '&aAuto ingots to blocks enabled!'
  42. autoblocks_toggle_off: '&7Auto ingots to blocks disabled!'
  43. autoblocks_help_1: '&7Ingots to blocks help'
  44. autoblocks_help_2: '&7/autoblocks &c- &fconvert all ingots in your inventory to blocks'
  45. autoblocks_help_3: '&7/autoblocks toggle &c- &ftoggle ingots to blocks on/off'
  46. autoblocks_incorrect_command: '&cIncorrect usage! Use &7/autoblocks help'
  47. sellall_disabled: '&c/sellall is currently disabled!!'
  48. sellall_no_permission: '&cYou don''t have &7{0} &cto use /sellall'
  49. sellall_no_shop_error: '&cYou don''t have a shop to sell to!.'
  50. sellall_no_shop_items_error: '&cThere are no items listed in the shop you are trying
  51.   to sell to!'
  52. sellall_sold_with_multiplier: '&aYou sold &f{0} &aitems for $ &f{1} &awith a multiplier
  53.   of &f{2}&a!'
  54. sellall_sold_without_multiplier: '&aYou sold &f{0} &aitems for $ &f{1}&a!'
  55. sellall_no_items_to_sell: '&cYou don''t have any items to sell at shop &f{0}&c!'
  56. sellall_shop_incorrect_shopname: '&f{0} &cis not a valid shop!'
  57. sellall_shop_no_permission: '&cYou don''t have &f{0} &cto use &f/sellall <shop>&c!'
  58. items_no_permission: '&cYou don''t have &7{0} &cto use /items'
  59. items_no_shop_at_location: '&cThere is not a shop at your location, use &7/items <shop>&c!'
  60. items_incorrect_shop_name: '&cThere is no shop named &7{0}&c!'
  61. items_no_shop_items_error: '&cThere are no items listed in the shop you are trying
  62.   to view!'
  63. items_lore_format: '&7Sell &f1 &7for: &a$ &f{0}, &7Sell &f64 &7for: &a$ &f{1}'
  64. admin_addmultiplier_global_multiplier_set: '&aA &fGLOBAL &amultiplier of &f{0} &$ &
  65.   been set!'
  66. admin_addmultiplier_global_multiplier_set_no_expiry: '&aAnd will not expire!'
  67. admin_addmultiplier_global_multiplier_set_has_expiry: '&aAnd will expire in &f{0}&a!'
  68. admin_addmultiplier_player_multiplier_set: '&bYou now have a multiplier of &f{0}'
  69. admin_addmultiplier_player_multiplier_set_no_expiry: '&aAnd will not expire!'
  70. admin_addmultiplier_player_multiplier_set_has_expiry: '&aAnd will expire in &f{0}&a!'
  71. player_not_online: '{0} &cis not online!'
  72. vkbackpacks_no_permission: '&cYou don''t have &7{0} &cto toggle backpack selling on
  73.   or off!'
  74. vkbackpacks_no_backpacks: '&cYou don''t have any backpacks!'
  75. vkbackpacks_toggle_on: '&aBackpack selling enabled'
  76. vkbackpacks_toggle_off: '&cBackpack selling disabled'
  77. worth_no_permission: '&cYou don''t have &7{0} &cto view the worth of an item!'
  78. worth_no_shop: '&cNo shop found to check the worth of the item in your hand'
  79. worth_no_item_in_hand: '&cYou must be holding an item to check the value'
  80. worth_no_value: '&cNo price found for the item in your hand'
  81. worth_has_value: '&7Worth for: &f%material% &ex1/&a$ &f%price_1% &ex64/&a$ &f%price_64%
  82.   &7at shop: &f%shop%'
复制代码

翻译后的版本
  1. # AutoSell 语言文件
  2. # 所有消息文本都可以在这里配置!
  3. # 应用更改之前需要先重启服务器!
  4. autosell_disabled_in_world: '&c自动出售功能在当前世界被禁用!'
  5. autosell_no_permission: '&c你没有权限 &7{0} &c使用自动出售!'
  6. autosell_no_shop: '&c你没有商店可出售!'
  7. autosell_toggle_on: '&a自动出售已启用'
  8. autosell_toggle_off: '&7自动出售已禁用'
  9. autosmelt_disabled: '&c自动熔炼当前已被禁用!'
  10. autosmelt_disabled_in_world: '&c自动熔炼功能在当前世界被禁用!'
  11. autosmelt_no_permission: '&c你没有权限 &7{0} &c使用自动熔炼!'
  12. autosmelt_toggle_on: '&a自动熔炼已启用'
  13. autosmelt_toggle_off: '&c自动熔炼已禁用'
  14. multiplier_disabled: '&c出售翻倍当前已被禁用!'
  15. multiplier_expired: '&7你的自动出售翻倍已被禁用...'
  16. multiplier_others_incorrect_usage: '&c错误用法! 请使用 &7/multiplier <玩家名>'
  17. multiplier_no_permission_self: '&c你没有权限 &7{0} &c检查你当前的翻倍!'
  18. multiplier_no_permission_others: '&c你没有权限 &7{0} &c检查他人翻倍!'
  19. multiplier_no_multiplier_self: '&c当前无翻倍...'
  20. multiplier_no_multiplier_others: '&c玩家 &7{0} &c当前无翻倍...'
  21. multiplier_has_multiplier_self: '&a当前翻倍为 &f{0} &a,将会在 &f{1} &a后消失'
  22. multiplier_has_multiplier_others: '&a玩家 &7{0} 的 &a当前翻倍为 &f{1} &a,将会在 &f{2} &a后消失'
  23. global_multiplier_message: '&a全局翻倍: &f{0} &7将会在 &f{1} &a后消失'
  24. global_multiplier_expired: '&7全局翻倍已过期!'
  25. permission_multiplier_message: '&a你有一个受权限控制的翻倍 &f{0}'
  26. signs_no_break_permission: '&c你没有权限破坏该告示牌!'
  27. signs_no_sell_permission: '&c你没有权限 &7{0} &c在该告示牌处出售!'
  28. signs_no_shop_error: '&c无商店与该告示牌关联! 请联系管理员获取帮助.'
  29. signs_no_shop_items_error: '&c你尝试出售物品的商店没有收购的物品!'
  30. signs_sold_with_multiplier: '&a你出售了 &f{0} &a个物品,获得了 $ &f{1} &a,并享受了 &f{2}&a 倍的加成!'
  31. signs_sold_without_multiplier: '&a你出售了 &f{0} &a个物品,获得了 $ &f{1}&a!'
  32. signs_no_items_to_sell: '&c你没有可出售至商店 &f{0}&c 的物品!'
  33. autoblocks_disabled: '&c/block 命令已被禁用!!'
  34. autoblocks_no_permission: '&c你没有权限 &7{0} &c使用命令 /blocks!'
  35. autoblocks_toggle_on: '&a自动锭转块已禁用!'
  36. autoblocks_toggle_off: '&7自动锭转块已启用!'
  37. autoblocks_help_1: '&7锭转块功能帮助:'
  38. autoblocks_help_2: '&7/autoblocks &c- &f将你背包中所有矿物锭转化为矿物块'
  39. autoblocks_help_3: '&7/autoblocks toggle &c- &f切换该功能的开关状态'
  40. autoblocks_incorrect_command: '&c错误用法! 请使用 &7/autoblocks help'
  41. sellall_disabled: '&c/sellall 命令已被禁用!!'
  42. sellall_no_permission: '&c你没有权限 &7{0} &c使用命令 /sellall'
  43. sellall_no_shop_error: '&c你尚未指定要出售的商店!'
  44. sellall_no_shop_items_error: '&c你尝试出售物品的商店没有收购的物品!'
  45. sellall_sold_with_multiplier: '&a你出售了 &f{0} &a个物品,获得了 $ &f{1} &a,并享受了 &f{2}&a 倍的加成!'
  46. sellall_sold_without_multiplier: '&a你出售了 &f{0} &a个物品,获得了 $ &f{1}&a!'
  47. sellall_no_items_to_sell: '&c你没有可出售至商店 &f{0}&c 的物品!'
  48. sellall_shop_incorrect_shopname: '&f{0} &c不是一个有效的商店!'
  49. sellall_shop_no_permission: '&c你没有权限 &f{0} &ct使用命令 &f/sellall <商店>&c!'
  50. items_no_permission: '&c你没有权限 &7{0} &c使用命令 /items'
  51. items_no_shop_at_location: '&c当前位置无可用商店, 请输入命令 &7/items <shop>&c!'
  52. items_incorrect_shop_name: '&c没有叫做 &7{0}&c 的商店!'
  53. items_no_shop_items_error: '&c你尝试浏览的商店没有待出售的物品!'
  54. items_lore_format: '&7出售 &f1 &7个可获得: &a$ &f{0}, &7出售 &f一组 &7可获得: &a$ &f{1}'
  55. admin_addmultiplier_global_multiplier_set: '&a一个 &f全局 &a的翻倍 &f{0} &$ &
  56.   已被设置!'
  57. admin_addmultiplier_global_multiplier_set_no_expiry: '&a将不会过期!'
  58. admin_addmultiplier_global_multiplier_set_has_expiry: '&a将会在 &f{0}&a 后过期!'
  59. admin_addmultiplier_player_multiplier_set: '&b你现在有 &f{0} &b的翻倍'
  60. admin_addmultiplier_player_multiplier_set_no_expiry: '&a将不会过期!'
  61. admin_addmultiplier_player_multiplier_set_has_expiry: '&a将会在 &f{0}&a 后过期!'
  62. player_not_online: '&a玩家 {0} &c不在线!'
  63. vkbackpacks_no_permission: '&c你没有权限 &7{0} &c切换背包出售是否启用!'
  64. vkbackpacks_no_backpacks: '&c你没有背包!'
  65. vkbackpacks_toggle_on: '&a背包出售已启用'
  66. vkbackpacks_toggle_off: '&c背包出售已禁用'
  67. worth_no_permission: '&c你没有权限 &7{0} &c浏览物品价格!'
  68. worth_no_shop: '&c没有商店可查询你手上物品的价格'
  69. worth_no_item_in_hand: '&c你必须手持一个物品才可检查其价值'
  70. worth_no_value: '&c你手中的物品无有效定价'
  71. worth_has_value: '&7价值: &f%material% &ex1/&a$ &f%price_1% &ex64/&a$ &f%price_64%
  72.   &7位于商店: &f%shop%'
复制代码

权限翻倍配置
  1. # AutoSell permission_multipliers.yml file
  2. # This file allows you to create custom multipliers that can be attached to players or groups by permission
  3. #
  4. # The format for a multiplier must follow this format:
  5. # <unique identifier>:
  6. #   priority: <unique number>
  7. #   permission: <your custom permission for this multiplier>
  8. #   multiplier: <the multiplier amount>
  9. #
  10. # You can list as many multipliers you like.
  11. # Each multiplier must have a unique priority set!!!
  12. # The priority determines what multiplier comes first in your list
  13. # If a player happens to have permission for many multipliers
  14. # the lowest number priority will always be applied


  15. permission_multipliers:
  16.   example:
  17.     priority: 1
  18.     permission: some.multiplier.permission
  19.     multiplier: 1.5
复制代码

翻译后的版本
  1. # AutoSell permission_multipliers.yml 配置文件
  2. # 该文件允许你创建可被用于权限组或特定权限用户的自定义翻倍
  3. #
  4. # 配置一个翻倍需使用以下格式(译者注:否则会导致错误):
  5. # <翻倍ID,不可重复>:
  6. #   priority: <优先等级,不可和其他翻倍的数字重复>
  7. #   permission: <使用该翻倍的自定义权限>
  8. #   multiplier: <使用该翻倍后获得的翻倍倍率>
  9. #
  10. # 你可以在这里加上任何你想要的翻倍,数量不限.
  11. # 注意:每个优先级的数字都不可以重复!!!
  12. # 这个值决定了翻倍生效的顺序
  13. # 若同时满足多个权限翻倍的要求,则插件将优先添加优先级数字最小的一个翻倍给予玩家。


  14. permission_multipliers:
  15.   example:
  16.     priority: 1
  17.     permission: some.multiplier.permission
  18.     multiplier: 1.5
复制代码

可购买的翻倍配置
  1. # AutoSell shop_multipliers.yml file
  2. # This file allows you to create custom multipliers that can be attached to players or groups by permission
  3. #
  4. # These multipliers will only take effect in the shops listed for the multiplierThe format for a multiplier must follow this format:
  5. # <unique identifier>:
  6. #   priority: <unique number>
  7. #   permission: <your custom permission for this multiplier>
  8. #   multiplier: <the multiplier amount>
  9. #   shops:
  10. #   - 'shop1'
  11. #   - 'shop2'
  12. #
  13. # You can list as many multipliers you like.
  14. # Each multiplier must have a unique priority set!!!
  15. # The priority determines what multiplier comes first in your list
  16. # If a player happens to have permission for many multipliers
  17. # the lowest number priority will always be applied if that multiplier has the shop listed the player
  18. # is trying to sell to!


  19. shop_multipliers:
  20.   example:
  21.     priority: 1
  22.     permission: some.shopmultiplier.permission
  23.     multiplier: 1.5
  24.     shops:
  25.     - shop1
  26.     - shop2
复制代码
翻译后的版本
  1. # AutoSell shop_multipliers.yml 配置文件
  2. # 该文件允许你创建可被用于权限组或特定权限用户的自定义翻倍
  3. #
  4. # 这些翻倍效果将只能在特定的商店中被购买,当然也能限制它们只能在特定的商店生效。
  5. # 配置一个翻倍需使用以下格式(译者注:否则会导致错误):
  6. # <翻倍ID,不可重复>:
  7. #   priority: <优先等级,不可和其他翻倍的数字重复>
  8. #   permission: <使用该翻倍的自定义权限>
  9. #   multiplier: <使用该翻倍后获得的翻倍倍率>
  10. #   shops:
  11. #   - 'shop1'
  12. #   - 'shop2'
  13. #
  14. # 你可以在这里加上任何你想要的翻倍,数量不限.
  15. # 注意:每个优先级的数字都不可以重复!!!
  16. # 这个值决定了翻倍生效的顺序
  17. # 若同时满足多个权限翻倍的要求,则插件将优先使优先级数字最小的一个翻倍对玩家生效。


  18. shop_multipliers:
  19.   example:
  20.     priority: 1
  21.     permission: some.shopmultiplier.permission
  22.     multiplier: 1.5
  23.     shops:
  24.     - shop1
  25.     - shop2
复制代码

名副其实
本帖最后由 名副其实 于 2023-3-5 22:34 编辑

ActionBarAnnouncer
多合一的 ActionBar 公告插件!

Description
ActionAnnouncer is another way of announcing in your server! It sends the announcements to the player's action bar instead of sending a message.
It has an automated announcement system that uses the announcements you set in a configuration file. You can also make a special announcement using a smile command.

插件介绍
本插件是另一个发送公告的好选择!该插件会将公告内容发送至玩家的 ActionBar,而不是发送至聊天栏。
它拥有一个自动化的公告系统,能够自动发送你在配置文本内设置好的公告。当然你也可以通过命令来制作自定义的特殊公告。

Features
On join action bar announcement.
Sends the announcements randomly, or by the order you want!
In-game editable announcements.
Changeable interval between announcements.
Ability to send an announcement to a specific player only using a command.
Ability to send an announcement to all online players at any time using a  command.
PlaceholderAPI support.

插件特点
- 加入时显示 ActionBar 公告
- 随机选择配置文本内的公告发送,或只是按你想要的顺序发送!
- 游戏内可编辑的公告列表以及内容。
- 公告发送间隔可修改。
- 使用命令可以对特定玩家发送公告消息。
- 使用命令也可以对所有玩家发送临时公告。
- 支持 PlaceholderAPI

名副其实
本帖最后由 名副其实 于 2023-3-5 22:35 编辑

命令与权限
有关本插件的命令与权限列表。

注: /aa 与 /actionannouncer 等效。
命令权限描述
/aa quiet-切换公告音效。
/aa helpactionannouncer.help显示插件命令。
/aa reloadactionannouncer.reload重载配置文件。
/aa startactionannouncer.start开启自动公告模式。
/aa stopactionannouncer.stop关闭自动公告模式。
/aa listactionannouncer.list列出可用的公告信息。
/aa add <信息>actionannouncer.add添加一条新的公告。
/aa remove <序号>actionannouncer.remove用序号删除已存在的公告。
/aa send <玩家> <显示时长> <信息/序号>actionannouncer.send将公告发送至对应玩家。
/aa announce <显示时长> <信息/序号>actionannouncer.announce将公告发送至全体玩家。
/aa pannounce <玩家> <显示时长> <信息/序号>actionannouncer.pannounce将公告发送至全体玩家。其中的变量使用特定玩家作为目标。


名副其实
本帖最后由 名副其实 于 2023-3-5 22:38 编辑

示例配置
插件的示例配置。

主配置文件
  1. # ActionAnnouncer v1.14.0 Main configuration
  2. announcer_enabled: true
  3. announcer_random: true
  4. announce_interval: 60
  5. announcement_length: 4
  6. announcements:
  7. - '&aHave you voted today? &b/vote&a!'
  8. - '&bThere are currently &e%online% &bplayers online!'
  9. announce_on_join: true
  10. join_announcement: '&eWelcome to the server &b%player%! There are &f%online% &epeople
  11.   online!'
  12. disable_sounds: false
复制代码


汉化版本:
  1. # ActionAnnouncer v1.14.0 主配置文件
  2. announcer_enabled: true
  3. # 是否启用公告
  4. announcer_random: true
  5. # 是否随机公告
  6. announce_interval: 60
  7. # 公告间隔
  8. announcement_length: 4
  9. # 公告长度?
  10. announcements:
  11. - '&a你今天投票了吗? &b/vote&a!'
  12. - '&b当前有 &e%online% &b名玩家在线!'
  13. announce_on_join: true
  14. # 玩家上线时是否发送公告
  15. join_announcement: '&e欢迎来到服务器, &b%player%! 当前有 &f%online% &e名玩家在线!'
  16. disable_sounds: false
  17. # 发送公告时不播放音效
复制代码

名副其实
本帖最后由 名副其实 于 2023-3-5 22:39 编辑

API

本插件为你提供了一些你在使用时能帮助到你的 API 接口。

方法描述
ActionAPI.sendPlayerAnnouncement(Player player, String message);发送特定公告内容至玩家。
ActionAPI.sendServerAnnouncement(String message);发送特定公告至全服。
ActionAPI.sendTimedPlayerAnnouncement(Plugin plugin, Player player, String message, int seconds)向特定玩家发送持续特定时长的公告。


名副其实
本帖最后由 名副其实 于 2023-3-6 22:20 编辑

ChatReaction
抢先回答单词或解出字谜来获得奖励!

Description
Who is the fastest writer in your server? Find out with ChatReaction!
Add a fun chat game to your server where players have to type/unscramble words and gain rewards.

插件介绍
想知道在服务器里谁才是打字最快的人吗?本插件无疑是最好的选择!
本插件在游戏中添加了一个有趣的打字游戏,谁能最快答出特定单词或问题答案,就能得到奖励!
Features
Customizable rewards.
Make your own words list!
Top winners command.
Randomly scramble words.
Highly customizable.
MySQL support.
Hooks into Q&APlugin.

插件特点
- 支持自定义奖励。
- 允许自定义词汇列表。
- 随机拼写字符。
- 高度可自定义性。
- 支持数据库存储。
- 可以和 Q&APlugin 联动。

名副其实
本帖最后由 名副其实 于 2023-3-6 22:21 编辑

命令与权限
本插件的命令与权限列表。

命令权限描述
/Reaction Help-显示插件帮助命令。
/Reaction WinsChatReaction.Wins显示你的胜利总场数。
/Reaction Wins <Player>ChatReaction.Wins.Others显示特定玩家的胜利总场数。
/Reaction Top [Page]ChatReaction.Top显示胜利次数最多玩家的排行榜。
/Reaction ReloadChatReaction.Admin重载插件配置文件。
/Reaction StartChatReaction.Admin启动本插件的定时发起抢答功能。
/Reaction StopChatReaction.Admin停止本插件的定时发起抢答功能。
/Reaction StatusChatReaction.Admin显示当前本插件的状态。



名副其实
本帖最后由 名副其实 于 2023-3-6 22:31 编辑

示例配置
插件的配置文件。

主配置文件
  1. # ChatReaction version 1.8.0 configuration file
  2. debug: false
  3. check_updates: true
  4. reaction_stats:
  5.   track_stats: false
  6.   top_players_size: 100
  7.   hostname: localhost
  8.   port: 3306
  9.   database: chatreaction
  10.   prefix: ''
  11.   username: root
  12.   password: ''
  13.   ssl: false
  14. reaction:
  15.   interval: 500
  16.   time_limit: 30
  17.   players_needed_to_start: 4
  18.   word_character_length: 10
  19.   ignore_case: false
  20.   use_custom_words: true
  21.   split_words_by_line: true
  22.   scramble_custom_words: true
  23.   scramble_at_random: true
  24.   scramble_spaces: false
  25.   disabled_worlds:
  26.   - world_nether
  27.   - world_the_end
  28.   reward_amount: 2
  29.   rewards:
  30.   - eco give @p 500
  31.   - give @p diamondblock 100
  32. messages:
  33.   reaction_start:
  34.   - '&8[&e&lReaction&8] &bHover for the word to type!'
  35.   reaction_start_tooltip: '&f%word%'
  36.   scramble_start:
  37.   - '&8[&e&lReaction&8] &bHover for the word to unscramble!'
  38.   scramble_start_tooltip: '&f%word%'
  39.   reaction_end:
  40.   - '&8[&e&lReaction&8] &cNobody got the word in time &4:('
  41.   scramble_end:
  42.   - '&8[&e&lReaction&8] &cNobody got the word in time &4:('
  43.   - '&cThe word was &f%word%'
  44.   reaction_win:
  45.   - '&8[&e&lReaction&8] &f%player% &awon in &f%time% &aseconds!'
  46.   scramble_win:
  47.   - '&8[&e&lReaction&8] &f%player% &aunscrambled the word &f%word% &ain &f%time% &aseconds!'
  48. hooks:
  49.   qaplugin:
  50.     enabled: true
  51.     hint:
  52.       charge: true
  53.       charge_amount: 100.0
复制代码


汉化版本
  1. # ChatReaction 版本 1.8.0 主配置文件
  2. debug: false
  3. # 调试模式
  4. check_updates: true
  5. # 更新检查
  6. reaction_stats:
  7.   track_stats: false
  8.   # 是否记录玩家抢答数据
  9.   top_players_size: 100
  10.   # 记录的排行榜玩家数量
  11.   hostname: localhost
  12.   # 数据库相关选项
  13.   port: 3306
  14.   database: chatreaction
  15.   prefix: ''
  16.   username: root
  17.   password: ''
  18.   ssl: false
  19. reaction:
  20.   # 打字游戏相关设置
  21.   interval: 500
  22.   # 每次抢答间隔的时间,单位为秒
  23.   time_limit: 30
  24.   # 抢答时长限制
  25.   players_needed_to_start: 4
  26.   # 触发该游戏开始的最小玩家数
  27.   word_character_length: 10
  28.   # 所猜单词最大长度
  29.   ignore_case: false
  30.   # 所猜单词无视大小写
  31.   use_custom_words: true
  32.   # 猜单词使用自定义词汇,即 words.txt 文本中的内容。
  33.   split_words_by_line: true
  34.   # 换行分隔多个需要猜测的词汇
  35.   scramble_custom_words: true
  36.   # 填词是否使用自定义词汇
  37.   scramble_at_random: true
  38.   # 填词是否随机挖空
  39.   scramble_spaces: false
  40.   # 缺字部位是否可以为空格
  41.   disabled_worlds:
  42.   # 禁用本功能的世界
  43.   - world_nether
  44.   - world_the_end
  45.   reward_amount: 2
  46.   # 奖励数量,默认值为2,即随机从下列内容中随机选择两项命令并执行。
  47.   rewards:
  48.   - eco give @p 500
  49.   - give @p diamondblock 100
  50. messages:
  51. # 消息文本
  52.   reaction_start:
  53.   - '&8[&e&lReaction&8] &b鼠标移至此来显示需要抢答的单词!'
  54.   reaction_start_tooltip: '&f%word%'
  55.   scramble_start:
  56.   - '&8[&e&lReaction&8] &b鼠标移至此来显示需要填空的单词!'
  57.   scramble_start_tooltip: '&f%word%'
  58.   reaction_end:
  59.   - '&8[&e&lReaction&8] &c本轮问答无人答对 &4:('
  60.   scramble_end:
  61.   - '&8[&e&lReaction&8] &c本轮问答无人答对 &4:('
  62.   - '&c答案为 &f%word%'
  63.   reaction_win:
  64.   - '&8[&e&lReaction&8] &f%player% &a在 &f%time% &a秒内成功猜出!'
  65.   scramble_win:
  66.   - '&8[&e&lReaction&8] &f%player% &a在 &f%time% &a秒内成功解出字谜 &f%word% &a!'
  67. hooks:
  68. # 联动插件相关设置
  69.   qaplugin:
  70.   # Q&APlugin
  71.     enabled: true
  72.     # 是否启用联动
  73.     hint:
  74.     # 提示机制
  75.       charge: true
  76.       # 提示是否需要收费
  77.       charge_amount: 100.0
  78.       # 每次提示所收取的费用
复制代码


关键词文件

该文件默认是空的。若有需要,你可以自行向其中添加新的词汇。

名副其实
本帖最后由 名副其实 于 2023-3-25 21:24 编辑

DeluxeChat
原 "JSON" 聊天格式插件。

插件介绍
DeluxeChat 是一个能够完全自定义服务器聊天格式的插件。它非常强大,甚至能够往每一个聊天组件内加入悬浮提示框。

Features
Hover tooltips.
Click actions.
Private messaging.
Ability to toggle receiving private messages.
Social spy.
Unlimited chat formats.
Chat filtering.
BungeeCord compatibility for cross-server chat!​
Multiple chat sections for different tooltips and click actions.
PlaceholderAPI support.
TownyChat compatibility.

插件特点
悬浮提示框
可点击的聊天栏内容
私聊信息美化
允许切换时接收私聊信息
喊话
无限制的聊天格式设置
支持BC群组服实现跨服聊天
多样化的聊天组件,允许创建不同的悬浮提示以及点击操作
PlaceholderAPI 支持
TownyChat 支持

Dependencies
PlaceholderAPI

硬依赖
PlaceholderAPI

Incompatible plugins
EssentialsChat/EssentialsXChat

不兼容的插件
EssentialsChat/EssentialsXChat

名副其实
本帖最后由 名副其实 于 2023-3-11 23:37 编辑

安装插件
本页面将会引导你安装本插件。

1. Put the DeluxeChat jar file you downloaded in your plugins folder. If you want to use it with BungeeCord, you'll have to put it in your BungeeCord's plugins folder too.
2. Download PlaceholderAPI plugin and put it in your plugins folder (not on BungeeCord).
3. Restart the servers.
4. Modify the config.yml and the messages.yml files that were generated to fit your server's layout (Files path: /plugins/DeluxeChat/).
5. Reload DeluxeChat /dchat reload (Some options require a restart to apply the changes).
6. Give your players the permission for their chat format chatformat.<format-name>. (Note: Players need the chatformat.default to gain access to the default format. Also, operators do not get the chatformat permissions by default.)
7. Check the Commands & Permissions page, to give players access to the commands you want them to use.
8. And you're done! Give us a review about the plugin here.

1. 将该插件放置于 你的服务器文件夹/plugins/ 下,若你要在BC中使用,你同样需要将它放在BC的插件文件夹中。
2. 下载 PlaceholderAPI 插件并按照第一步那样,将此插件安装于服务器。
3. 重启服务器。
4. 根据服务器实际需求,修改 config.yml 以及 messages.yml。这些文件位于 你的服务器文件夹/plugins/DeluxeChat 下。
5. 输入指令重载本插件,因为有些变动需要重启生效。
6. 为玩家分配对应聊天格式的权限,例如 chatformat.<格式名称> ,若输入 chatformat.default ,那么玩家将会拥有默认的聊天格式。OP默认没有聊天格式权限。
7. 阅读 命令&权限 页面以进一步配置玩家权限。
8. 完成!如果觉得插件好用,可以在这里给我们一些评分鼓励。

名副其实
本帖最后由 名副其实 于 2023-3-11 23:40 编辑

命令与权限
本插件的命令与权限列表。

玩家命令

命令权限描述相似用法
/msg <玩家名称> <信息>deluxechat.pm向特定玩家发送私聊信息..message, pm, tell, whisper, m, t, w
/reply <信息>deluxechat.pm回复一条私聊信息.r
/msgtoggledeluxechat.pm.toggle切换私聊信息接收状态.mtoggle, pmtoggle
/gtoggledeluxechat.bungee.toggle切换全体聊天.globaltoggle


管理员命令

命令权限描述
/dchatdeluxechat.admin/*显示帮助命令.
/dchat reloaddeluxechat.admin/*重载插件配置.
/dchat listdeluxechat.admin/*显示已载入的聊天格式.
/dchat test <格式名称> <信息>deluxechat.admin/*测试特定的聊天格式.
/socialspydeluxechat.socialspy切换喊话模式.


(注:/dchat 等效于 /deluxechat , /socialspy 等价于 /deluxesocialspy)

权限一览

权限节点描述
chatformat.<格式名称>允许在聊天时使用特定的聊天格式.
deluxechat.color允许在聊天内使用颜色代码.
deluxechat.formatting允许在聊天内使用格式符.
deluxechat.utf允许在聊天内使用特殊的UTF字符
deluxechat.url允许在聊天内发送可点击的链接.
deluxechat.hex允许在聊天内使用RGB彩色字符.
deluxechat.pm.color允许在私聊内使用RGB彩色字符.
deluxechat.pm.formatting允许在私聊内使用格式符.
deluxechat.pm.url允许在私聊内发送可点击的链接.
deluxechat.bungee.chat若跨服聊天被启用,允许玩家跨服聊天.
deluxechat.pm.ignoretoggle允许向已经设置了不接受私聊消息的玩家发送私聊消息.
deluxechat.ignore.bypass允许向已经屏蔽你的玩家发送私聊消息.
deluxechat.vanish.bypass允许向隐身玩家发送消息.
deluxechat.filter.bypass允许绕过聊天过滤器.
deluxechat.bungee.override允许总是向全局玩家发送喊话消息.
deluxechat.socialspy.onjoin进入游戏自动切换窃听模式.
deluxechat.admin管理员权限,给予所有命令权限.
deluxechat.*管理员权限,给予所有命令权限.


All text between the less-than and greater-than signs (<>) is a placeholder/variable, replace it with the requested value without the less-than and greater-than signs (<>).

所有在尖角括号之间的字符(<>)都是变量。你需要将它们替换为你需要的值,同时不需要保留尖角括号(<>)。

名副其实
本帖最后由 名副其实 于 2023-3-11 23:45 编辑

变量列表
本插件的变量列表。

插件内置变量
本插件内置了一些变量。(译者注:仅可在插件内部使用。)

变量描述
%server%仅对开启 BungeeCord 的服务器有效。在玩家聊天时显示该服务器的前缀(配置文本内的 server_prefix)(使用 /gtoggle 来切换)。
%recipient_<PAPI 变量>%该变量用于私聊模式下的聊天格式。 返回以被私聊者为目标的聊天变量。 例如, %recipient_vault_prefix% 显示被私聊者的聊天前缀。


PlaceholderAPI 变量
本插件提供了能在其他地方显示的 PlaceholderAPI 变量,只要这些显示的地方支持 PlaceholderAPI
当然,在本插件内你也可以使用其他任意的 PlaceholderAPI 的变量。(变量大全点这里查看

变量值类型描述
%deluxechat_is_pm_toggled%布尔型显示玩家是否允许接收私聊消息。
%deluxechat_social_spy_enabled%布尔型显示玩家是否开启了窃听模式。
%deluxechat_pm_recipient%文本显示被回复者名称。(在私聊格式内有效)


下载变量
To use these placeholders, you have to download DeluxeChat Expansion. You can download it automatically by running:
/papi ecloud download DeluxeChat
/papi reload
Or you can download it manually from the eCloud, and put it inside the expansions folder (folder path: /plugins/PlaceholderAPI/expansions/).

若要使用这些变量,你需要输入下列指令下载 DeluxeChat 的 PlaceholderAPI 拓展变量
/papi ecloud download DeluxeChat
/papi reload

或者你也可以从 eCloud 处下载, 并将它们放入 expansions 文件夹下 (位于: 你的服务器文件夹/plugins/PlaceholderAPI/expansions/ ).

名副其实
本帖最后由 名副其实 于 2023-3-11 23:55 编辑

配置选项
本章节将指导你更好地了解本插件的配置文件。

选项描述
check_updates允许检查插件更新。
relation_placeholders_enabled允许启用 PlaceholderAPI 变量。
timestamp_format设置时间戳的格式。
boolean选择布尔值对应的显示样式。
ops_use_group_format若启用该选项,那么OP也需要权限来使用聊天格式。

聊天过滤器 选项解释
enabled是否启用聊天过滤,阻止玩家脏话等不适宜内容。
ignore_case忽略被屏蔽单词的大小写。
list存储哪些词语被屏蔽,以及它们将被替换为什么文本。接下来为设置格式:被替换词语;替换后的文本 按照该顺序,若输入 小可爱;*** 则会在游戏内把触发该规则的关键词替换为 ***。

BungeeCord 选项解释
enabled是否启用。 注意:需要同时在蹦极服和子服务器安装.
server_name用于替换显示 bungeecord.server_whitelist 内名称的字符串。
server_prefix当使用上面提到的内置变量符 %server% 将会显示的文本。
join_global决定玩家加入服务器后默认是否位于全局聊天频道中。
use_server_whitelist决定是否启用 bungeecord.server_whitelist。
server_whitelist决定连接至本蹦极服全局聊天的子服务器。

私聊信息 选项解释
enable是否启用本模块。
bungeecord启用蹦极服私聊消息。

格式 选项解释
priority当拥有多个格式的权限时,该格式的优先级。优先级越高将越优先显示,否则将越不优先显示。
channel在前缀前显示的文本。
prefix在名字后面将会显示的内容。
name在后缀前显示的文本。
suffix在聊天信息前显示的内容。
name_color名称选项对应显示的颜色。
chat_color聊天信息的颜色。
channel_tooltip鼠标悬浮在聊天频道上将会显示的信息。
prefix_tooltip鼠标悬浮在前缀上将会显示的信息。
name_tooltip鼠标悬浮在名字上将会显示的信息。
suffix_tooltip鼠标悬浮在后缀上将会显示的信息。
channel_click_commands点击聊天频道将会执行的命令。
prefix_click_commands点击前缀将会执行的命令。
name_click_commands点击名字将会执行的命令。
suffix_click_commands点击后缀将会执行的命令。


The click commands you can use one of the following actions:
[EXECUTE] /command  - Will execute the command when clicked
[url=https://url-here.com]https://url-here.com - Will open the url when clicked

点击命令可以执行下列的操作之一
[EXECUTE] /所执行的命令 - 点击后执行命令
[URL] 网址 - 点击后打开网址

Some of the options like tooltips and click commands are not required.

部分选项,例如悬浮文本以及点击执行命令为非必要参数。

名副其实
本帖最后由 名副其实 于 2023-3-11 23:56 编辑

示例配置
本插件的示例文档。

主配置文件
  1. # DeluxeChat version 1.15.0 config file
  2. # Created by extended_clip
  3. # List as many format configurations you in the formats: config section.
  4. # Each format configuration requires a specific layout which can be seen below.
  5. # Format priority must be specified per format and each priority must be unique.
  6. # higher value = lower priority
  7. # ex: guest-100, owner-1
  8. #   YOU MUST KEEP A 'default' TEMPLATE!
  9. #   
  10. # Social Spy only allows %player% and %recipient% as placeholders
  11. #
  12. # You must download the placeholder expansion through PlaceholderAPI for which
  13. # placeholders you want to use. The example below uses Player placeholders, so
  14. # we need to download the player expansion: /papi ecloud download Player, /papi reload
  15. #
  16. # [URL] and [EXECUTE] are actions you can add to your click commands.
  17. # [URL] will open the link after the action name.
  18. # [EXECUTE] will execute the command that comes after the action name.
  19. #
  20. # example format template:
  21. # formats:
  22. #   default:
  23. #     priority: 2147483647
  24. #     channel: ''
  25. #     prefix: '&8[&7Guest&8] '
  26. #     name_color: '&7'
  27. #     name: '%player_name%'
  28. #     suffix: '&7> '
  29. #     chat_color: '&f'
  30. #     channel_tooltip:
  31. #     - '&7%player_name% &bis a Guest'
  32. #     prefix_tooltip:
  33. #     - '&7%player_name% &bis a Guest'
  34. #     name_tooltip:
  35. #     - ''
  36. #     suffix_tooltip:
  37. #     - ''
  38. #     channel_click_command: '
  39. #     prefix_click_command: '/ranks
  40. #     name_click_command: '/msg %player_name%
  41. #     suffix_click_command: '
  42. #   Member:
  43. #     priority: 100
  44. #     channel: ''
  45. #     prefix: '&8[&aMember&8] '
  46. #     name_color: '&7'
  47. #     name: '%player_name%'
  48. #     suffix: '&7> '
  49. #     chat_color: '&f'
  50. #     channel_tooltip:
  51. #     - ''
  52. #     prefix_tooltip:
  53. #     - '&7%player_name% &bis a Member'
  54. #     name_tooltip:
  55. #     - '/msg %player_name%'
  56. #     suffix_tooltip:
  57. #     - ''
  58. #     channel_click_command: '[URL]https://www.spigotmc.org/resources/deluxetags.4390'
  59. #     prefix_click_command: '/ranks'
  60. #     name_click_command: '/msg %player_name%'
  61. #     suffix_click_command: '[EXECUTE]/tags'
  62. check_updates: true
  63. bungeecord:
  64.   enabled: false
  65.   server_name: Server
  66.   server_prefix: '&8[&cServer&8]'
  67.   join_global: true
  68.   use_server_whitelist: true
  69.   server_whitelist:
  70.   - Server2
  71.   - Server3
  72. relation_placeholders_enabled: true
  73. timestamp_format: MM/dd/yy HH:mm:ss
  74. boolean:
  75.   'true': '&atrue'
  76.   'false': '&cfalse'
  77. ops_use_group_format: false
  78. chat_filter:
  79.   enabled: false
  80.   ignore_case: true
  81.   list:
  82.   - '.; '
  83.   - **;**
  84. private_message:
  85.   enabled: true
  86.   bungeecord: false
  87. private_message_formats:
  88.   to_sender:
  89.     format: '&7you &e-> &7%recipient_player_name% &7:'
  90.     tooltip:
  91.     - '%player_name%'
  92.     click_command: '/r '
  93.     chat_color: '&f'
  94.   to_recipient:
  95.     format: '&7%player_name% &e-> &7you &7:'
  96.     tooltip:
  97.     - '%player_name%'
  98.     click_command: '/r '
  99.     chat_color: '&f'
  100.   social_spy: '&8[&cspy&8] &f%player% &e-> &f%recipient%&7:'
  101. formats:
  102.   default:
  103.     priority: 2147483647
  104.     channel: ''
  105.     prefix: '&7[%vault_group%&7] '
  106.     name_color: '&b'
  107.     name: '%player_name%'
  108.     suffix: '&7> '
  109.     chat_color: '&f'
  110.     channel_tooltip:
  111.     - ''
  112.     prefix_tooltip:
  113.     - '%player_name%'
  114.     - '&bRank: %vault_group%'
  115.     name_tooltip:
  116.     - ''
  117.     suffix_tooltip:
  118.     - ''
  119.     channel_click_command: /ranks
  120.     prefix_click_command: /ranks
  121.     name_click_command: '/msg %player_name% '
  122.     suffix_click_command: ''
复制代码


消息文本
  1. # DeluxeChat language file
  2. # You can edit all the messages here!
  3. # You must restart for changes to take affect when editing this file!
  4. no_permission: '&cYou don''t have permission to do that!'
  5. msg_incorrect_usage: '&cIncorrect usage! &7/msg <player> <message>'
  6. msg_recipient_not_online: '&c{0} &cis not online!'
  7. msg_recipient_ignoring_sender: '&c{0} &cdoes not wish to speak to you!'
  8. msg_recipient_is_sender: '&cYou can''t message yourself!'
  9. reply_incorrect_usage: '&cIncorrect usage! &7/r <message>'
  10. reply_no_recipient: '&cYou don''t have a recipient to reply to!'
  11. socialspy_toggle_on: '&aSocialspy toggled on!'
  12. socialspy_toggle_off: '&7Socialspy toggled off!'
  13. bungee_global_toggle_on: '&aChat set to global'
  14. bungee_global_toggle_off: '&aChat set to local'
  15. pm_toggle_on: '&aPrivate messaging toggled on.'
  16. pm_toggle_off: '&7Private messaging toggled off.'
  17. pm_toggled_sender: '&7You can not send pm''s with private messages turned off.'
  18. pm_toggled_recipient: '{0} &7has private messages turned off.'
  19. url_incorrect_usage: Hover for url command usage info!
  20. url_incorrect_usage_tooltip_1: '&7/url <link>'
  21. url_incorrect_usage_tooltip_2: '&7/url <link> <message>'
  22. chat_illegal_characters: You can't use special characters in chat!
复制代码


名副其实
本帖最后由 名副其实 于 2023-3-27 22:42 编辑

DeluxeCommands
创建可嵌入 JSON 信息,可显示玩家变量的自定义命令!

Description
Ever wanted to create custom text commands which allow you to utilize JSON formatting? Now you can create text-based commands which allow you to have tooltips, click events, and much more!
This can be used/ for awesome info-packed /vote command, or even a cool /stats command, and much more!

插件描述
想要制作让你允许用JSON编写的自定义的命令吗?现在你可以创建这些基于字符的命令,让它们能够显示悬浮字,点击触发事件,以及更多!
这个插件可以用在那些想要制作一个显示一堆自定义文本的命令里面,例如/info(展示服务器信息),甚至是炫酷的/stats(展示个人属性)命令,还有更多用法等你发挥脑洞!

Features
Hover tooltips.
Click actions.
Ability to create unlimited commands.
Supports running the command as another player with different actions.
Supports various actions, like running a command as console/player.
PlaceholderAPI support.

插件特点
- 悬浮提示框
- 点击触发式操作
- 允许创建无限多的命令
- 允许不同玩家有不同的执行结果
- 支持使用别的身份执行命令,例如以控制台或管理员身份执行命令
- 支持 PlaceholderAPI

Creating JSON message
JSON message is the kind of messages that have hovering tooltips and clicking actions, you can simply create them from minecraftjson.com (or any JSON creation website).
Follow the steps below to create your JSON message and use it in DeluxeCommands:
Create the JSON message using the website you like.
Copy the text after @p  from the Command: box. e.g.

/tellraw @p ["",{"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}]

Copy this part only:
["",{"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}]

Now paste it in your command in DeluxeCommands config file like this:
- '["",{"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}]'

Reload DeluxeCommands /DeluxeCommands reload.
That's it! Enjoy your beautiful JSON command.

创建自定义 JSON 信息
JSON 格式允许你在你的文本中添加悬浮提示框以及点击操作,可以在 minecraftjson.com (或其他制作 JSON 文本的网站例如 MCMOD)制作这些JSON信息。
下列操作将会教你如何创建JSON信息并将其应用于本插件中:
1. 在这些网站上制作好相关的文本
2. 将玩家选择器 @p 后的所有内容复制下来,像下图:
  1. /tellraw @p ["",{"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}]
复制代码

这是原来的代码,现在我们需要留下 @p 后方的东西,就像这样:
  1. ["",{"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}]
复制代码

3. 然后将它们复制进你的命令配置文件里面,通常应该是这样的:
  1. - '["",{"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}]
复制代码


4. 输入命令 /deluxecommands reload 重载本插件。
5. 大功告成,好好欣赏你的自定义命令吧!


名副其实
本帖最后由 名副其实 于 2023-3-12 08:41 编辑

命令与权限
本创建的命令与权限列表。

命令列表
命令权限描述
/deluxecommands-显示插件信息
/deluxecommands Helpdeluxecommands.admin显示插件所有可用命令
/deluxecommands Listdeluxecommands.admin显示所有载入的自定义命令
/deluxecommands Reloaddeluxecommands.admin重载所有配置文档


名副其实
本帖最后由 名副其实 于 2023-3-12 08:51 编辑

示例配置
插件的示例配置文件。

  1. # DeluxeCommands v1.9.0 Main configuration
  2. # Created by extended_clip
  3. #
  4. # Create commands below!
  5. # Command format is as follows:
  6. #
  7. # commands:
  8. #   <command_with_no_slash>:
  9. #     permission: <permission to use the command>
  10. #     no_permission_message: <message to send when players do not have permission>
  11. #     message:
  12. #     - '[text]<regular text here if you start the line with the [text] identifier'
  13. #     - '[playercommand] spawn'
  14. #     - '[consolecommand] eco give %executor% 100'
  15. #     - '{"text": "JSON text here"}'
  16. #     - '{"text": "To have multiple JSON components in the same line"}&&{"text": "you must use the && operator between them!"}'
  17. #     target_permission: <permission to use the command with a player argument at the end: /<command> (player)>
  18. #     target_no_permission_message: <message to send when players do not have permission to specify a target to set placeholders for>
  19. #     target_message:
  20. #     - '[text]<You do not have to specify this option, only if you want separate messages when a target is defined>'
  21. #     - '{"text": "%player%'s stats:"}'
  22. #     - '{"text": "This message is only if you want a separate message defined when a"}&&{"text": " target player is specified in the command!"}'
  23. #     aliases:
  24. #     - 'somealiasforthiscommand'
  25. #
  26. # You can now add a new entry to define different aliases per command!
  27. #  simply add the "aliases" option to the commands you would like to define aliases for!
  28. # DeluxeCommands will detect if you have DeluxeChat or PlaceholderAPI installed! You can use any placeholders you have enabled!
  29. commands:
  30.   somecustomcommand:
  31.     permission: some.custom.permission
  32.     no_permission_message: '&cYou don''t have permission to use this command!'
  33.     target_permission: some.custom.target_permission
  34.     target_no_permission_message: '&cYou don''t have permission to view this command
  35.       with a target player argument!'
  36.     message:
  37.     - '{"text": "--------"}'
  38.     - '{"text": "This is your "}&&{"text": "custom JSON text command showing placeholders
  39.       specific to you!!"}'
  40.     - '{"text": "--------"}'
  41.     target_message:
  42.     - '{"text": "--------"}'
  43.     - '{"text": "This message is optional if you want to show a different message
  44.       when"}&&{"text": " %player% is specified at the end of the command"}'
  45.     - '{"text": "--------"}'
复制代码


翻译后的文档
  1. # DeluxeCommands v1.9.0 主配置文件
  2. # 插件作者 extended_clip
  3. #
  4. # 在下方创建命令!
  5. # 命令格式如下:
  6. #
  7. # commands:
  8. #   <没有斜杠的命令名称>:
  9. #     permission: <使用此命令的权限>
  10. #     no_permission_message: <玩家没有使用权限时返回的信息>
  11. #     message:
  12. #     - '[text] 向玩家发送这条普通消息'
  13. #     - '[playercommand] spawn' 以玩家身份执行命令
  14. #     - '[consolecommand] eco give %executor% 100' 以控制台身份执行命令
  15. #     - '{"text": "在此处插入 JSON 文本"}' JSON 格式的文本
  16. #     - '{"text": "若要使用多行 JSON 文本"}&&{"text": "你必须在两段 JSON 文本之间使用符号 '&&'!"}'
  17. #     target_permission: <允许使用末端指定玩家参数的权限: /<命令> (玩家名)>
  18. #     target_no_permission_message: <没有权限使用末端指定玩家参数命令的消息>
  19. #     target_message:
  20. #     - '[text]<你没有权限指定该选项, 除非你想要向不同的目标发送不同的信息>'
  21. #     - '{"text": "%player_name% 的状态:"}'
  22. #     - '{"text": "该命令仅在玩家"}&&{"text": "参数指定时显示!"}'
  23. #     aliases:
  24. #     - '命令等效用法'
  25. #
  26. # 现在可向命令添加不同的等效用法!
  27. #  只需简单地添加 "aliases"(别称) 选项至你的命令配置下即可开启该内容!
  28. # DeluxeCommands 会检查你是否安装了 DeluxeChat 或 PlaceholderAPI 插件! 可在本插件中使用任意的外部 PlaceholderAPI 变量!
  29. # 提示: 为使用玩家变量 %player_name% ,你需要安装 Player 变量拓展. 该拓展可通过 PlaceholderAPI 插件的 /papi ecloud download Player 命令来获取。
  30. commands:
  31.   somecustomcommand:
  32.     permission: some.custom.permission
  33.     no_permission_message: '&c你没有权限使用此命令!'
  34.     target_permission: some.custom.target_permission
  35.     target_no_permission_message: '&c你没有指定玩家的权限!'
  36.     message:
  37.     - '{"text": "--------"}'
  38.     - '{"text": "这是本插件所制作的"}&&{"text": "带着自定义变量的消息文本, %player_name%!"}'
  39.     - '{"text": "--------"}'
  40.     target_message:
  41.     - '{"text": "--------"}'
  42.     - '{"text": "这条文本是可选的"}&&{"text": "每当你在命令后指定了玩家 %player_name% 参数即可显示"}'
  43.     - '{"text": "--------"}'
复制代码

名副其实
本帖最后由 名副其实 于 2023-3-17 22:34 编辑

DeluxeJoin
高自定义且支持权限限制的自定义加入退出“操作”的插件!

Description
DeluxeJoin is the all in one plugin for join and leave actions. You can create group based join and leave action lists that are performed from a wide variety of things. It also features a permission-based in-game MOTD system which allows players to view MOTD messages on join and by command.

插件描述
DeluxeJoin 是一个加入退出消息的多合一插件。你可以创建不同权限组不同样式的加入与退出消息,同时也能执行一些多样化的操作。本插件同时也有一个富有特色的游戏内标语显示,支持使用命令显示这些内容。

Features
Hover tooltips.
Click actions.
Unlimited permission-based join/leave messages.
Unlimited permission-based MOTD messages on join.
Unique first join message.
Supports all the actions you would need!
PlacehoolderAPI​ support.

插件特点
- 悬浮提示框
- 点击执行操作
- 可设置不限数量的不同权限不同加入/退出消息
- 可设置不限数量的不同权限不同加入欢迎标语
- 独特的首次加入提示
- 支持所有你可能需要用到的操作!
- 支持插件 PlacehoolderAPI

Creating a JSON message
JSON message is the kind of messages that have hovering tooltips and clicking actions, you can simply create them from  (or any JSON creation website).
Follow the steps below to create your JSON message and use it in DeluxeJoin:
Create the JSON message using the website you like.
Copy the text between ["", and ] from the Command: box. e.g.

/tellraw @p ["",{"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}]

Copy this part only:
{"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}

Note: If you have more than one JSON text in the same line, split them with && (Check the default config).
Now paste it in your format in DeluxeJoin config file like this:
- '[JSON] {"text":"Welcome %player_name%!","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}'

Reload DeluxeJoin /DeluxeJoin reload.
That's it! Enjoy your beautiful JSON messages.

创建一条 JSON 文本
JSON 文本是一种允许你添加悬浮提示以及点击操作的文本。可以在 minecraftjson.com 创建这样的文本(译者注:其他网站例如 mcmod 也可以实现)
按下列步骤创建 JSON 文本,然后把这些内容添加到本插件的配置文本中。
首先,在你想要的网站创建 JSON 文本。
复制 ["",] 之间的文本,就像这样:

  1. /tellraw @p ["",{"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}]
复制代码


你需要复制出像如下部分的文本:

  1. {"text":"This is a JSON text","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}
复制代码


提示: 若在一行之内有多条 JSON 文本,请用 && 符号将其隔开。(可在示例配置中找到关于这个符号的参考用法)
然后,将这段文本复制进你的配置文件中,并修改为类似于下文的格式:

  1. - '[JSON] {"text":"Welcome %player_name%!","color":"blue","clickEvent":{"action":"suggest_command","value":"/command"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Hey there!","color":"aqua"}]}}}'
复制代码


进入游戏或在后台输入命令 /deluxejoin reload 重载本插件。
完成!现在你可以享受你炫酷的 JSON 文本做成的消息提醒了。

名副其实
本帖最后由 名副其实 于 2023-3-17 22:38 编辑

命令与权限
本插件的命令与权限列表。

命令

命令权限描述相似用法
/motddeluxejoin.motd显示玩家欢迎标语。dmotd
/djoin
/
显示插件信息。deluxejoin, deluxejoin version, djoin version
/djoin help
/
显示插件帮助命令。deluxejoin help
/djoin reloaddeluxejoin.admin重载插件配置文件。deluxejoin reload
/djoin checkformat (玩家名)deluxejoin.admin显示你自己或其他玩家的加入退出消息。deluxejoin checkformat


权限列表

权限描述
deluxejoin.format.default允许玩家使用默认样式的加入/退出消息。
deluxejoin.format.<名字>允许玩家使用特定样式的加入/退出消息。
deluxejoin.motd.default允许玩家使用默认样式的加入显示标语。
deluxejoin.motd.<名字>允许使用特定样式的欢迎标语。


名副其实
本帖最后由 名副其实 于 2023-3-17 22:44 编辑

示例配置
插件的示例配置文件。

主配置文件
  1. # DeluxeJoin configuration
  2. #
  3. # You can create as many formats for motd and join/leave you like.
  4. # All formats must contain action lists with valid actions
  5. #
  6. # All actions must start with a valid action tag!
  7. #
  8. # Valid Actions:
  9. #
  10. # JSON message: [JSONMESSAGE], [JSON]
  11. #
  12. #     DESCRIPTION: Send a JSON message to the target player
  13. #
  14. #     EXAMPLE:  - '[JSON] {"text":"this is sent to the target player"}'
  15. #
  16. # JSON broadcast: [JSONBROADCAST], [JSONBC]
  17. #
  18. #     DESCRIPTION: Send a JSON broadcast to the entire server specific to the target player
  19. #
  20. #     EXAMPLE:  - '[JSONBROADCAST] {"text":"this is sent all players"}'
  21. #
  22. # Chat message: [MESSAGE], [MSG]
  23. #
  24. #     DESCRIPTION: Send a message to the target player
  25. #
  26. #     EXAMPLE:  - '[MESSAGE] &aThis is sent to the player joining/leaving/viewing the MOTD'
  27. #
  28. # Chat broadcast: [BROADCAST], [BC]
  29. #
  30. #     DESCRIPTION: Send a broadcast to the entire server specific to the target player
  31. #
  32. #     EXAMPLE:  - '[BROADCAST] &aThis is sent to all players'
  33. #
  34. # Actionbar message: [ACTIONBARMSG], [ACTIONMSG]
  35. #
  36. #     DESCRIPTION: Send an actionbar message to the target player
  37. #
  38. #     EXAMPLE:  - '[ACTIONMSG] &aThis is sent to the target player'
  39. #
  40. # Actionbar broadcast: [ACTIONBARBROADCAST], [ACTIONBROADCAST]
  41. #
  42. #     DESCRIPTION: Send an actionbar broadcast to the server specific to the target player
  43. #
  44. #     EXAMPLE:  - '[ACTIONBROADCAST] &aThis is sent to all players'
  45. #
  46. # Title message: [TITLEMESSAGE], [TITLEMSG]
  47. #
  48. #     DESCRIPTION: Send a title and/or subtitle message to the target playe
  49. #
  50. #     EXAMPLE:  - '[TITLEMSG] title:&aWelcome to the server subtitle:&bsubtitle here fadein:10 stay:20 fadeout:10'
  51. #
  52. # Title broadcast: [TITLEBROADCAST], [TITLEBC]
  53. #
  54. #     DESCRIPTION: Send a title broadcast to the entire server specific to the target player
  55. #
  56. #     EXAMPLE:  - '[TITLEBC] title:&a%player% joined! subtitle:&bsubtitle here fadein:10 stay:20 fadeout:10'
  57. #
  58. # Player command: [PLAYERCOMMAND], [PLAYERCMD]
  59. #
  60. #     DESCRIPTION: Force the target player to execute a command
  61. #
  62. #     EXAMPLE:  - '[PLAYERCMD] /spawn'
  63. #
  64. # Console command: [CONSOLECOMMAND], [CONSOLECMD]
  65. #
  66. #     DESCRIPTION: Execute a console command where target specific placeholders can be used
  67. #
  68. #     EXAMPLE:  - '[CONSOLECMD] spawn %player%'
  69. #
  70. # Player sound: [SOUND], [PLAYERSOUND]
  71. #
  72. #     DESCRIPTION: Play a sound to the target player
  73. #
  74. #     EXAMPLE:  - '[SOUND] NOTE_PLING 10 10'
  75. #
  76. # Broadcast sound: [BROADCASTSOUND], [BCASTSOUND]
  77. #
  78. #     DESCRIPTION: Play a sound to the entire server
  79. #
  80. #     EXAMPLE:  - '[BROADCASTSOUND] NOTE_PLING 10 10'
  81. #
  82. #
  83. #
  84. #
  85. # If you want to display a line with normal text and color codes
  86. # you must start the line with the [MESSAGE] tag
  87. # formatName:
  88. #     join_actions:
  89. #     - '[MESSAGE] &eWelcome to the server %player%!'
  90. #
  91. # If you want to use multiple JSON components in one String
  92. # you must separate them with an And operator -> &&
  93. # formatName:
  94. #     join_actions:
  95. #     - '[JSONMESSAGE] {"text":"Welcome","color":"green"}&&{"text":" player","color":"yellow"}'
  96. #
  97. # template
  98. # ================
  99. # deluxejoin_formats:
  100. #   <formatIdentifier>:
  101. #     priority: <unique number here>
  102. #     join_actions:
  103. #     - '[JSONBROADCAST] {"text":"%player% joined the game","color":"yellow"}'
  104. #     leave_actions:
  105. #     - '[JSONBROADCAST] {"text":"%player% left the game","color":"yellow"}'
  106. # ================
  107. # The priority system is very important! It works just like
  108. # the DeluxeChat format priority system. This allows players to
  109. # have multiple permissions and DeluxeJoin will know what join/leave
  110. # format to assign the player. 1 would be the highest priority (first)
  111. # 1000 would be the lowest priority (last)
  112. #
  113. # The permission node for a format is:
  114. # deluxejoin.format.<identifier>
  115. #
  116. # Placeholders are available if you have DeluxeChat or PlaceholderAPI installed on your server!
  117. # You may use any placeholders anywhere inside of your formats.
  118. # All placeholders are specific to the target player joining, leaving, or viewing the MOTD
  119. #
  120. # If the MOTD system is enabled, it follows the same format as join/leave formats.
  121. # You can create as many MOTDs you like, the player needs permission for a motd to
  122. # view it. The permission node is:
  123. # deluxejoin.motd.<identifier>
  124. #
  125. # The following actions CAN NOT be used in leave_actions as the player has already left the server:
  126. # JSON message, chat message, actionbar message, title message, player command, player sound
  127. #
  128. # The following actions CAN NOT be used in motd_actions as these actions would affect all players online:
  129. # JSON broadcast, chat broadcast, actionbar broadcast, title broadcast, broadcast sound
  130. #
  131. # If you need an easy way to create JSON messages,
  132. # visit http://minecraftjson.com/
  133. deluxejoin_formats:
  134.   default:
  135.     priority: 1
  136.     join_actions:
  137.     - '[JSONBROADCAST] {"text":"[","color":"dark_gray"}&&{"text":"+","color":"green","bold":"true"}&&{"text":"]","color":"dark_gray"}&&{"text":"  %player%","color":"gray","hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Players
  138.       online: &f%online%","color":"aqua"}]}}}'
  139.     leave_actions:
  140.     - '[JSONBROADCAST] {"text":"[","color":"dark_gray"}&&{"text":"-","color":"red","bold":"true"}&&{"text":"]","color":"dark_gray"}&&{"text":"  %player%","color":"gray","hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Players
  141.       online: &f%online%","color":"aqua"}]}}}'
  142. first_join:
  143.   announce_on_join: true
  144.   actions:
  145.   - '[JSONBROADCAST] {"text":"This is %player%s first time joining!","color":"green","hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Welcome
  146.     %player%!","color":"yellow"}]}}}'
  147. motd:
  148.   enabled: true
  149.   delay: 1
  150. motds:
  151.   default:
  152.     priority: 1
  153.     motd_actions:
  154.     - '[MESSAGE] &8&m+---------------------------------------------------+'
  155.     - '[JSONMESSAGE] {"text":"               Welcome to the server ","color":"green"}&&{"text":"%player%","color":"white","hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"That
  156.       is your name right?","color":"yellow"}]}}}'
  157.     - '[MESSAGE] &f'
  158.     - '[MESSAGE] &f'
  159.     - '[MESSAGE]           &eThis motd was brought to you by &7DeluxeJoin'
  160.     - '[JSONMESSAGE] {"text":"               &6Visit &7DeluxeJoin &6on Spigot "}&&{"text":"Click
  161.       here!","color":"white","clickEvent":{"action":"open_url","value":"http://www.spigotmc.org/resources/deluxejoin.4846/"}}'
  162.     - '[MESSAGE] &8&m+---------------------------------------------------+'
复制代码

名副其实
本帖最后由 名副其实 于 2023-3-25 21:30 编辑

DeluxeTags
允许玩家佩戴可通过权限限制的聊天称号!


Description
DeluxeTags gives players the ability to have an extra tag in chat! Tags can be given to players by permissions so you have several ways of giving them to the players. Also, players can have access to multiple tags! they can switch between them using a GUI menu.

插件介绍
本插件能够让玩家在聊天栏拥有一个额外的称号!插件依赖权限给予称号,所以你可以通过多种多样的方式通过给予玩家权限然后使他们获得称号。同时,玩家允许拥有多个称号,甚至还可以使用GUI来切换想要的称号。

Features
Ability to create unlimited tags.
Highly customizable.
Players can have access to multiple tags.
Permission-based tags.
Force tag.
Supports any chat plugin.

插件特点
允许创建无限多的称号。
高度自定义
玩家允许拥有多个称号
基于权限的称号
强制佩戴称号
支持任何聊天插件

Setup
DeluxeChat
Put the DeluxeTags jar file you downloaded in your plugins folder.
Restart the server.
Modify the config.yml and messages.yml files that were generated to fit your server's layout (Files path: /plugins/DeluxeTags/).
Download DeluxeTags expansion by running the following commands:
/papi ecloud download DeluxeTags
/papi reload
Add the placeholders you want to your chat format. DeluxeTags placeholders can be found here.
Reload DeluxeChat /DChat reload.
Give tag permissions to your players DeluxeTags.Tag.Name.
Select your tag from /Tags and enjoy!!

Essentials Chat
Put DeluxeTags jar file you downloaded in your plugins folder.
Restart the server.
Modify the config.yml and messages.yml files that were generated to fit your server's layout (Files path: /plugins/DeluxeTags/).
Disable DeluxeChat option in config.yml file.
deluxe_chat: false
Disable Format Chat option in config.yml file.
format_chat:
  enabled: false
Change all the placeholder in config.yml file from %placeholder% to {placeholder} (e.g. from %deluxetags_amount% to {deluxetags_amount}).
Add the placeholders you want to your chat format. DeluxeTags placeholders can be found here.
Note: You'll have to use {} for the placeholders instead of %%.
Restart the server.
Give tag permissions to your players DeluxeTags.Tag.Name.
Select your tag from /Tags and enjoy!!

Other Chat Plugins (As long as they support PlaceholderAPI)
Put DeluxeTags jar file you downloaded in your plugins folder.
Restart the server.
Modify the config.yml and messages.yml files that were generated to fit your server's layout (Files path: /plugins/DeluxeTags/).
Disable DeluxeChat option in config.yml file.
deluxe_chat: false
Disable Format Chat option in config.yml file.
format_chat:
  enabled: false
Change all the placeholder in config.yml file from %placeholder% to {placeholder} (e.g. from %deluxetags_amount% to {deluxetags_amount}).
Add the placeholders you want to your chat format. DeluxeTags placeholders can be found here.
Restart the server.
Give tag permissions to your players DeluxeTags.Tag.Name.
Select your tag from /Tags and enjoy!!

安装步骤
DeluxeChat:
  1. 将插件安装入服务器 (放置于 plugins/ 下)
  2. 重启服务器
  3. 修改插件的配置(config.yml)以及信息文件(messages.yml),使其符合你的服务器风格。(文件路径: /plugins/DeluxeTags/)
  4. 使用下列命令安装 PlaceholderAPI 变量拓展并重启服务器:
      /papi ecloud download DeluxeTags
      /papi reload
  5. 将你想要的变量添加至DeluxeChat的配置文件下。所有变量可以在这里被找到。
  6. 使用命令 /dchat reload 重载 DeluxeChat
  7. 将对应权限 deluxetags.tag.称号名称 给予玩家.
  8. 输入命令 /tags 佩戴你想要的称号!

EssentialsChat / EssentialsXChat:
  1. 将插件安装入服务器 (放置于 plugins/ 下)
  2. 重启服务器
  3. 修改插件的配置(config.yml)以及信息文件(messages.yml),使其符合你的服务器风格。(文件路径: /plugins/DeluxeTags/)
  4. 将配置文本 config.ymlDeluxeChat 一项修改为:
      deluxe_chat: false
  5. 将配置文本 config.ymlChat Format 一项修改为:
      format_chat:
        enabled: false
  6. 将配置文本 config.yml 内所有变量从 %% 更换为 {}.(例如: %deluxetags_amount% 需要修改为 {deluxetags_amount})
  7. 将你想要的变量添加至EssentialsChat的配置文件下。所有变量可以在这里被找到。
      提示: 你需要用 {} 来代替原本变量中的 %%.
  8. 重启服务器
  9. 将对应权限 deluxetags.tag.称号名称 给予玩家.
  10. 输入命令 /tags 佩戴你想要的称号!

其他支持 PlaceholderAPI 的任何聊天插件:
  1. 将插件安装入服务器 (放置于 plugins/ 下)
  2. 重启服务器
  3. 修改插件的配置(config.yml)以及信息文件(messages.yml),使其符合你的服务器风格。(文件路径:
  4. 将配置文本 config.ymlDeluxeChat 一项修改为:
      deluxe_chat: false
  5. 将配置文本 config.ymlChat Format 一项修改为:
      format_chat:
        enabled: false
  6. 将配置文本 config.yml 内所有变量从 %% 更换为 {}.(例如: %deluxetags_amount% 需要修改为 {deluxetags_amount})
  7. 将你想要的变量添加至EssentialsChat的配置文件下。所有变量可以在这里被找到。
      提示: 你需要用 {} 来代替原本变量中的 %%.
  8. 重启服务器
  9. 将对应权限 deluxetags.tag.称号名称 给予玩家.
  10. 输入命令 /tags 佩戴你想要的称号!

名副其实
本帖最后由 名副其实 于 2023-3-25 21:36 编辑

命令与权限
本插件命令与权限的列表。

命令列表

命令权限描述
/tagsdeluxetags.gui打开选择称号的gui
/tags listdeluxetags.list显示你可以佩戴的称号
/tags list alldeluxetags.list.all显示所有已载入的称号
/tags list <玩家名>deluxetags.list.player显示指定玩家可用称号
/tags select <称号id>deluxetags.select选择使用特定的称号
/tags set <玩家名> <称号id>deluxetags.set强制为玩家佩戴特定称号
/tags clear <玩家名>deluxetags.clear清除玩家正佩戴的称号
/tags create <称号id> <tag>deluxetags.create创建一个新称号
/tags delete <称号id>deluxetags.delete删除指定的称号
/tags setdesc <称号id> <desc>deluxetags.setdescription设置称号描述
/tags reloaddeluxetags.reload重载插件文档
/tags version-显示插件版本
/tags help-显示玩家可用命令


权限列表

权限描述
deluxetags.tag.<称号id>允许使用特定称号
deluxetags.forcetag.<称号id>如果 force_tag 选项开启, 该权限可强制玩家使用特定称号

名副其实
本帖最后由 名副其实 于 2023-3-25 21:48 编辑

变量列表
本插件提供的所有变量。

变量集群

变量名称返回值描述
%deluxetags_tag%文本返回玩家当前佩戴称号。
%deluxetags_amount%数字返回玩家可用称号数量。
%deluxetags_order%文本返回玩家当前称号的序号。
%deluxetags_description%文本返回玩家当前称号描述。
%deluxetags_identifier%文本返回玩家当前称号 ID。
%deluxetags_tag_<称号id>%文本返回特定称号的显示名称。
%deluxetags_order_<称号id>%文本返回特定称号的序号。
%deluxetags_description_<称号id>%文本返回特定称号的描述。
%deluxetags_has_tag_<称号id>%布尔值(true 或 false)显示玩家是否拥有此称号。


Download
To use these placeholders, you have to download DeluxeTags Expansion. You can download it automatically by running:

/papi ecloud download DeluxeTags
/papi reload

Or you can download it manually from the eCloud, and put it inside the expansions folder (folder path: /plugins/PlaceholderAPI/expansions/).

变量拓展下载
若要使用这些变量,你需要下载 DeluxeTags 变量拓展。你可以使用下列命令下载变量拓展:

    /papi ecloud download DeluxeTags
    /papi reload

或者,你也可以从 eCloud 官方下载站下载变量拓展,下载完成后将它放置在变量 expansions 拓展文件夹下。(译者注:文件夹路径:/plugins/PlaceholderAPI/expansions/

内建变量
[注1]
变量名称返回值描述
%player%文本返回玩家真实名称。
%displayname%文本返回玩家的显示名称。
%previous_page%数字仅在 GUI 内有效。若当前 GUI 有上一页,则返回上一页的页码。
%current_page%数字仅在 GUI 内有效。返回 GUI 所在页面的页码。
%next_page%数字仅在 GUI 内有效。若当前 GUI 有下一页,则返回下一页的页码。
%page%数字仅在 GUI 内的翻页按钮上有效。若有可翻页的内容,则分别返回上一页或下一页。



脚注
1 该段文本中重复引用了五个外部变量,实际上与插件提供的 PlaceholderAPI 变量等价,故此翻译省略这些内容。

名副其实
本帖最后由 名副其实 于 2023-3-25 21:50 编辑

插件配置文件
本插件的配置文件列表。

主配置文件
  1. # DeluxeTags version: 1.8.2-Release Main Configuration
  2. #
  3. # Create your tags using the following format:
  4. #
  5. # deluxetags:
  6. #   VIP:
  7. #     order: 1
  8. #     tag: '&7[&eVIP&7]'
  9. #     description: 'This tag is awarded by getting VIP'
  10. #
  11. # Placeholders for your chat plugin that supports PlaceholderAPI (Including DeluxeChat)
  12. #
  13. # %deluxetags_identifier% - display the players active tag identifier
  14. # %deluxetags_tag% - display the players active tag
  15. # %deluxetags_description% - display the players active tag description
  16. # %deluxetags_amount% - display the amount of tags a player has access to
  17. #
  18. # Placeholders for your essentials/chat handling formats config:
  19. #
  20. # {deluxetags_identifier} - display the players active tag identifier
  21. # {deluxetags_tag} - display the players active tag
  22. # {deluxetags_description} - display the players active tag description
  23. # {deluxetags_amount} - display the amount of tags a player has access to

  24. force_tags: false
  25. check_updates: true
  26. legacy_hex: false
  27. papi_chat: true
  28. format_chat:
  29.   enabled: false
  30.   format: '{deluxetags_tag} <%1$s> %2$s'
  31. load_tag_on_join: true
  32. gui:
  33.   name: '&6Available tags&f: &6%deluxetags_amount%'
  34.   tag_select_item:
  35.     material: NAME_TAG
  36.     data: 0
  37.     displayname: '&6Tag&f: &6%deluxetags_identifier%'
  38.     lore:
  39.     - '%deluxetags_tag%'
  40.     - '%deluxetags_description%'
  41.   divider_item:
  42.     material: BLACK_STAINED_GLASS_PANE
  43.     data: 0
  44.     displayname: ''
  45.     lore: []
  46.   has_tag_item:
  47.     material: PLAYER_HEAD
  48.     data: 0
  49.     displayname: '&eCurrent tag&f: &6%deluxetags_identifier%'
  50.     lore:
  51.     - '%deluxetags_tag%'
  52.     - Click to remove your current tag
  53.   no_tag_item:
  54.     material: PLAYER_HEAD
  55.     data: 0
  56.     displayname: '&cYou don''t have a tag set!'
  57.     lore:
  58.     - '&7Click a tag above to select one!'
  59.   exit_item:
  60.     material: IRON_DOOR
  61.     data: 0
  62.     displayname: '&cClick to exit'
  63.     lore:
  64.     - '&7Exit the tags menu'
  65.   next_page:
  66.     material: PAPER
  67.     data: 0
  68.     displayname: '&6Next page: %page%'
  69.     lore:
  70.     - '&7Move to the next page'
  71.   previous_page:
  72.     material: PAPER
  73.     data: 0
  74.     displayname: '&6Previous page: %page%'
  75.     lore:
  76.     - '&7Move to the previous page'
  77. deluxetags:
  78.   example:
  79.     order: 1
  80.     tag: '&8[&bDeluxeTags&8]'
  81.     description: '&cAwarded for using DeluxeTags!'
  82.     permission: deluxetags.tag.example
复制代码


消息文本
  1. # DeluxeTags messages.yml
  2. # Edit the plugin messages to your liking!

  3. cmd:
  4.   no_permission: '&cYou don''t have &7{0} &cto do that!'
  5.   target_not_online: '&f{0} &cis not online!'
  6.   no_tags_loaded: '&cThere are no tags loaded!'
  7.   no_tags_available: '&cYou don''t have any tags available!'
  8.   no_tags_available_target: '&f{0} &cdon''t have any tags available!'
  9.   tag_list_fail: '&cYou don''t have any tags loaded.'
  10.   tag_list_fail_target: '&c{0} has no tags loaded.'
  11.   tags_list: '&f{0} &aavailable tags: &f{1}'
  12.   tags_list_all: '&f{0} &atotal tags loaded: &f{1}'
  13.   tags_list_others: '&f{0} &ahas &f{1} &atotal tags loaded: &f{2}'
  14.   tag_select_incorrect_usage: '&cIncorrect usage! &7/tags select <tagname>'
  15.   tag_select_success: '&7Your tag was set to: &r{1}'
  16.   tag_select_invalid_name: '&f{0} &cis not a valid tag name!'
  17.   tag_select_already_set: '&f{0} &cis already set as your current tag!'
  18.   help_title: '&5&lDeluxeTags &f&oHelp'
  19.   help_color: '&8> &d&l'
  20.   help_tags: '&f&oOpen your tags GUI'
  21.   help_list: '&f&oView tags available to you'
  22.   help_select: '&f&oSelect a tag as your active tag'
  23.   help_admin_set: '&f&oSet a players tag'
  24.   help_admin_clear: '&f&oClear a players tag'
  25.   help_admin_create: '&f&oCreate a new tag'
  26.   help_admin_delete: '&f&oDelete an existing tag'
  27.   help_admin_setdesc: '&f&oSet a description for a tag'
  28.   help_admin_setorder: '&f&oChange the order for a tag'
  29.   help_admin_setdisplay: '&f&oChange a tag''s display'
  30.   help_version: '&f&oView DeluxeTags version and author information'
  31.   help_reload: '&f&oReload the tags config'
  32.   admin_set_incorrect_usage: '&cIncorrect usage! &7/tags set <player> <tag>'
  33.   admin_set_no_tags_avail: '&f{0} &cdoesn''t have any tags available!'
  34.   admin_set_success: '&f{0}s &atag has been set to: {1} &7({2}&7)'
  35.   admin_set_success_to_target: '&7Your tag has been set to &f{1} &aby &f{2}'
  36.   admin_set_success_fail: '&f{0} &cis not a valid tag for &f{1}&c!'
  37.   admin_clear_incorrect_usage: '&cIncorrect usage! &7/tags clear <player>'
  38.   admin_clear_no_tag_set: '&f{0} &cdoesn''t have a tag set!'
  39.   admin_clear_success: '&f{0}s &atag has been cleared!'
  40.   admin_clear_success_to_target: '&7Your tag has been cleared &aby &f{0}'
  41.   admin_create_tag_incorrect_usage: '&cIncorrect usage! &7/tags create <identifier>
  42.     <tag>'
  43.   admin_create_tag_success: '&aTag created&7: &f{0}&7:&f{1}'
  44.   admin_create_tag_fail: '&f{0} &cis already a loaded tag name!'
  45.   admin_delete_tag_incorrect_usage: '&cIncorrect usage! &7/tags delete <identifier>'
  46.   admin_delete_tag_success: '&7Tag &f{0} &7has been deleted!'
  47.   admin_delete_tag_fail: '&f{0} &cis not a loaded tag name!'
  48.   admin_set_description_incorrect_usage: '&cIncorrect usage! &7/tags setdesc <identifier>
  49.     <description>'
  50.   admin_set_description_success: '{0} &adescription set to &7: &f{2}'
  51.   admin_set_description_fail: '&f{0} &cis not a loaded tag name!'
  52.   admin_set_order_incorrect_usage: '&cIncorrect usage! &7/tags setorder <identifier>
  53.     <order>'
  54.   admin_set_order_success: '&aOrder &f{0}&a set for &7: &f{1}'
  55.   admin_set_order_fail: '&f{0} &cis not a loaded tag name!'
  56.   admin_set_order_not_a_number: '&f{0} &cis not a valid order! It should be a number.'
  57.   admin_set_order_already_exists: '&cOrder &f{0}&c is already in use.'
  58.   admin_set_display_incorrect_usage: '&cIncorrect usage! &7/tags setdisplay <identifier>
  59.     <display>'
  60.   admin_set_display_success: '{0} &adisplay set to &7: &f{1}'
  61.   admin_set_display_fail: '&f{0} &cis not a loaded tag name!'
  62.   admin_reload: '&aConfiguration successfully reloaded! &f{0} &atags loaded!'
  63.   incorrect_usage: '&cIncorrect usage! Use &7/tags help'
  64. gui:
  65.   placeholders:
  66.     tag:
  67.       available: '&aAvailable'
  68.       unavailable: '&cUnavailable'
  69.   tag_selected: '&aYour tag has been set to &f{0} &7({1}&7)'
  70.   tag_disabled: '&7Your tag has been disabled!'
  71.   page_error: '&cThere was a problem getting the previous page number!'
复制代码

名副其实
本帖最后由 名副其实 于 2023-3-25 21:52 编辑

DeluxeMenus
多合一菜单插件。

!   汉化提示
该项目存在其他的翻译版本,点击此处来获得更多信息。


Description
DeluxeMenus is the all in one inventory GUI menu plugin!
You can create GUI menus that open with custom commands that will show stats or perform actions specific to the player who opened it. Your menus are fully configurable. You can create menus that show specific items to different players, or perform different actions depending on what requirement they have for the specific slot in a certain GUI.

插件介绍
DeluxeMenus 是一个多合一的 GUI 菜单插件!
你可以制作包含自定义命令、能显示自定义变量、根据不同玩家执行不同操作的 GUI 菜单。所有的菜单都是高度可自定义的。你还可以制作一个同时具有在面对不同开菜单玩家时显示不同物品,或者根据他们所达到的各种要求执行多样操作功能的 GUI。

Features
Ability to create unlimited GUI menus with various tasks.
Argument support in GUI menu's open command (e.g. /Menu <Player>).
Has no limit with what you can make with it! It's up to your creativity.
Highly customizable.
PlaceholderAPI support.

插件特点
- 允许创建无限多的 GUI,并能够执行各种各样的操作。
- 支持在自定义菜单命令内携带参数 (例如 /menu <玩家名>)。
- 没有什么是你做不到的,只有你想不到的!
- 高度可自定义。
- 支持 PlaceholderAPI

Dependencies
PlaceholderAPI.

插件依赖
PlaceholderAPI


名副其实
本帖最后由 名副其实 于 2023-3-27 22:43 编辑

设定与配置

DeluxeMenus is a highly customizable plugin, it has many options and configurations to give you the ability to change everything you want to make your custom menus that fits your server's layout.
It has GUI options to manage the GUI menu, and Item options to manage every single item on the GUI menu.

DeluxeMenus 是一个高度可自定义的插件,它有很多选项与配置能让你修改你想要的一切东西,制作出与你服务器主题贴合的菜单。
它有 GUI 选项可供管理 GUI 菜单,以及 Item 选项来管理菜单内的一切物品图标。

有用的链接
               
变量一览表
Materials | 物品ID一览表
1.8.8版本
1.12.2版本
1.13.2版本
1.14.4版本
最新版本
附魔一览表(请注意:一些物品可能不兼容某些附魔。)
染料颜色一览表
旗帜样式一览表
声音种类一览表

值与关键词

关键词描述
BOOLEAN将该值以 true 或 false 代替之。若使用 PlaceholderAPI 变量,则可能为 yes 或 no。
TEXT将该值以文本代替之。 检查描述文本以确定该文本插入处是否支持彩色代码/换行符号。
#将该值以一位阿拉伯数字代替之。 检查描述文本以确定该数字插入处是否有条件限制。
COMMAND将该值以一个不带斜杠 (“/”) 的命令代替。
SOUND将该值以一个声音名称代替。
EXPRESSION将该值以 Placeholder 变量或 JavaScript 表达式代替。 见此处了解更多。


操作种类

操作描述
[player] <命令>以玩家身份执行命令。
[console] <命令>以控制台身份执行命令。
[commandevent] <命令>以玩家身份执行未注册的命令。
[placeholder] <PlaceholderAPI 变量>无输出地判断玩家的变量。
[message] <纯文本>发送给玩家一条消息。可在此处使用彩色字符/格式符等。
[broadcast] <纯文本>将信息发送至包括控制台在内的所在线有玩家。可在此处使用彩色字符/格式符等。
[openguimenu] <菜单名>打开其他来自 DeluxeMenus 的菜单 GUI。
[connect] <子服名>将玩家传送至同一 BungeeCord 下的其他子服务器。
[close]关闭当前正打开的 GUI。
[json] <JSON 文本>向玩家发送 JSON 信息。可使用该网站快速生成 JSON 信息。
[jsonbroadcast] <JSON 文本>将信息发送至包括控制台在内的所在线有玩家。可使用该网站快速生成 JSON 信息。
[refresh]刷新当前菜单内的物品。这将更新物品本身。
[broadcastsound] <音效名> <音调大小> <音量大小>向整个服务器发送一个声音。
[broadcastsoundworld] <音效名> <音调大小> <音量大小>向整个世界发送一条声音。
[sound] <音效名> <音调大小> <音量大小>为一名玩家播放声音。
[takemoney] <数量>拿走玩家一定数量的钱。需要安装 Vault 以及任意一款经济插件以使该功能起效。
[givemoney] <数量>给予玩家一定数量的钱。需要安装 Vault 以及任意一款经济插件以使该功能起效。
[takeexp] #L从玩家处拿走任意数量的经验。若要移除整个等级,请在数字末尾标上大写"L"。
[giveexp] #L给予玩家任意数量的经验。若要移除整个等级,请在数字末尾标上大写"L"。
[givepermission] <权限节点>将一个权限给予玩家。需要安装 Vault 以及任意一款权限插件以使该功能起效。
[takepermission] <权限节点>移除玩家的一个权限。需要安装 Vault 以及任意一款权限插件以使该功能起效。
[meta] <set/remove/add/subtract/switch> <关键词> <种类> <值>修改玩家数据. add/subtract 仅能填入数字。 switch 仅能填入布尔值,仅会在 true/false 间切换。检阅此处获得更多信息。
[chat] <信息>以玩家的身份发送聊天信息。


操作附加标签

! 每条操作概率独立。若你有两条各为 50% 执行几率的操作,它们不一定只会选择一条执行,相反,有可能出现不执行/两条都执行/各执行一条 三种情况中的一种。

标签描述
<delay=<时长>>在特定延时之后执行该操作(单位为刻(ticks), 20 刻 = 1 秒).
<chance=<几率>>设置执行该操作的几率.


全彩字符/HEX

If you want to use RGB/Hex colors in DeluxeMenus on 1.16+ you can use the following format: "&#aaFF00"

若要在 1.16+ 服务器内安装的 DeluxeMenus 中使用 RGB/HEX 字符,可使用该格式: "&#aaFF00"

变量

There is one available placeholder from DeluxeMenus:
%deluxemenus_meta_<key>_<dataType>_<default_value>%

这里只有一个来自于本插件的变量:
%deluxemenus_meta_<关键词>_<数据类型>_<默认值>%

全局设置

调试模式
  
debug: 布尔值

默认值: false
启用或禁用调试模式。
将会向控制台发送调试信息。

检查更新

check_updates: 布尔值

默认值: true
启用或禁用插件更新检查。
向在线的所有管理员发送可用更新提醒。

名副其实
本帖最后由 名副其实 于 2023-3-27 22:50 编辑

GUI 样式
所有与菜单相关的配置以及选项。

语法

(译者注:此处所做标记在开头已有介绍。)


  1.   menu_title: "TEXT"
  2.   open_command: COMMAND
  3.   open_requirement: EXPRESSION
  4.   open_commands:
  5.     - "[操作种类] 操作参数"
  6.     - "[操作种类] 操作参数"
  7.   inventory_type: "TEXT"
  8.   size: #
  9.   update_interval: #
  10.   items:
复制代码


菜单标题

  1. menu_title: "TEXT"
复制代码
The menu title that is shown at the top of the GUI. You can use color and formatting codes here, and PlaceholderAPI placeholders.

菜单标题显示在GUI上方。此处可使用彩色字符以及格式符,以及 PlaceholderAPI 变量。

开启命令

单个命令开启菜单示例:
  1. open_command: COMMAND
复制代码


多个命令开启菜单示例:
  1. open_command:
  2.   - COMMAND
  3.   - COMMAND_2
复制代码
The command used to open the GUI menu. It can only be a single word.

用以打开菜单的命令。仅能包含一个单词。

To disable the open command, simply delete the line of this option.

备注: 该项为选填项,若不需要该选项可直接删除。

Open Requirements

  1. open_requirement:
  2. requirements:
  3.    TEXT:
  4.      type: <种类>
复制代码

Sets requirements a player should have to open the GUI menu. Check the Requirements page for more info.

设置一个玩家打开菜单必须有的条件。检阅条件页面以获得更多信息。

打开执行命令

很容易和上面的 open_command 搞混。
  1. open_commands:
  2.   - "[ACTIONTYPE] ACTION"
  3.   - "[ACTIONTYPE] ACTION"
复制代码

Runs the command(s) you set when the player opens the menu.

设置玩家在打开菜单后执行的命令。

关闭执行命令 [close_commands]

  1. close_commands:
  2.   - "[ACTIONTYPE] ACTION"
  3.   - "[ACTIONTYPE] ACTION"
复制代码

Runs the command(s) you set when the player close the menu by clicking an item that have the close action ([close]).

在菜单内以 [close] (关闭菜单动作)退出菜单时执行的指令。

GUI 种类

  1. inventory_type: "TEXT"
复制代码

默认值为: CHEST (箱子)
可使用的GUI类型:
  - ANVIL (铁砧)
  - BARREL (木桶)
  - BEACON (信标)
  - BLAST_FURNACE (高炉)
  - BREWING (炼药台)
  - CARTOGRAPHY ( 制图台)
  - DISPENSER (发射器)
  - DROPPER (投掷器)
  - ENCHANTING (附魔台)
  - ENDER_CHEST (末影箱)
  - FURNACE (熔炉)
  - GRINDSTONE (磨石)
  - HOPPER (漏斗)
  - LOOM (织布机)
  - PLAYER (玩家背包)
  - SHULKER_BOX (潜影盒)
  - SMOKER (烟熏炉)
  - WORKBENCH (工作台)

Allows you to define a different type of Inventory.

允许你设置 GUI 的类型。

GUI 大小

  1. size: #
复制代码

默认值: 54
可用值:
  - 9 (一行)
  - 18 (两行)
  - 27 (普通箱子)
  - 36 (四行)
  - 45 (五行)
  - 54 (大型箱子)

Size option only works for CHEST inventory types. Even for that it is optional and will default to 54.

Size 参数仅对 箱子(CHEST) 类型的 GUI 有效,另外该参数为可选参数,不填则默认为 54 格。

注册命令选项

  1. register_command: true
复制代码
Registers the open command with the server.

将打开菜单的命令注册至服务器(译者注:注册后可按 TAB 键补全命令)

Must be manually added to the menu.

仅能手动地添加至菜单。

参数

  1. args:
  2. - "TEXT"
  3. - "TEXT"
  4. - "TEXT"
复制代码
TEXT The argument name (Should be unique).

TEXT 即为参数名称 (不可重复)。

Gives you the ability to set arguments after the open command, and use them inside the menu by adding the argument placeholder (the argument name inside curly braces {TEXT}).
You can have multiple arguments, and they will be set in the same order in the open command.

允许你在开启菜单的命令后设置参数,之后再将这些命令以内建变量 {输入文本} 的形式,注入菜单供其使用。
允许你有多个参数,它们在开启菜单命令后的顺序遵循配置文本内的设置,分别将这些输入的参数赋值给对应的内建变量。

  1. /COMMAND FirstArg SecondArg And the rest
复制代码
  1. args:
  2. - first
  3. - second
  4. - last
复制代码

{first} returns FirstArg
{second} returns SecondArg
{last} returns And the rest

于是,{first}  返回值为 FirstArg
{second}  返回值为 SecondArg
{last}  返回值为 And the rest

It's highly recommended to add the Args Usage Message option.
Requires Register Command to be true.

在上述参数加入时,我们非常推荐加入下述的参数信息功能。
上述参数需要 Register Command 项为 true。

参数用法提示

  1. args_usage_message: "TEXT"
复制代码

Sets the usage message for the menu. If the player didn't set the required arguments. It will be sent to the player if he didn't set the arguments. You can use color and formatting codes here. Requires Arguments to be defined.

为菜单设置参数用法信息。若玩家没有正确输入参数,那么该信息将会被发送以提醒玩家输入正确的参数。此处可使用彩色字符和格式符。需要设置 Arguments 才可启用该项。

刷新间隔

  1. update_interval: #
复制代码

This is for any items that use the update: option (Check it here).
The number defines the delay (in seconds) between each refresh of the placeholders in an item's lore/display name.
Note: This refreshes/updates the placeholders only.

该选项用于任意使用 update: 选项的物品。
数字决定刷新物品 Lore/名称 内变量的时间间隔,单位为秒。
注意: 该选项仅用于刷新/更新物品中的变量。

物品
  1. items:
复制代码

This line should be left as is. It is merely telling the plugin you are about to begin defining items.
Check the Item page for more information.

该参数不应当被修改为其他名字。仅用于告诉插件此处往下开始定义菜单内的物品。
检阅 Item 页面以获得更多信息。

下一页 最后一页