招式导师 [Cobblemon]

招式导师 [Cobblemon]

Tutor Moves 是一个 Cobblemon Fabric 服务端模组,它引入了招式教学功能!

经济

功能特性

  • 通用导师(Pokémon 可学习的全部导师招式)
  • 文件驱动的导师(由你定义的招式导师)
  • 招式排序:按字母、按分类、按属性
  • Pokémon 与招式黑名单
  • 实体支持
  • 原创宝可梦(Fakemon)支持
  • 可自定义语言
  • 支持 Impactor + Pebbles 经济系统

config.yml

# 请勿改动 Config-Version,否则会导致功能损坏
Config-Version: 2.0
# 通用导师设置
TutorMoves:
  # 用于“购买”导师招式的货币。
  # 可选值:impactor:{currency}、pebbles、ITEMS:{item id}。
  currencyKey: impactor:dollars
  # 教授招式的费用
  cost: 5000
  # 不应出现在通用导师中的招式
  Blacklisted-Moves:
    - wish
  # 不能使用通用导师的 Pokemon
  Blacklisted-Pokemon:
    - pikachu
# 哪些类型的招式应出现在导师 GUI 中
Move-Options:
  tutorMoves: true
  eggMoves: false
  tmMoves: false
  evolutionMoves: false
  levelUpMoves: false
  formChangeMoves: false
  legacyMoves: false
  specialMoves: false
General-Tutor-GUI:
  # GUI 标题
  title: "<gold>General Tutor"
  # 主导师 GUI 的大小(2-6)
  size: 6
  # GUI 元素
  previous-page-item: "minecraft:arrow"
  next-page-item: "minecraft:arrow"
  exit-item: "minecraft:barrier"
  alphabetical-sort-item: "minecraft:paper"
  category-sort-item: "minecraft:name_tag"
  type-sort-item: "minecraft:gold_ingot"
  filler-item: "minecraft:light_gray_stained_glass_pane"
Selection-GUI:
    # GUI 标题
    title: "<green>Select a Pokemon"
    # GUI 元素
    filler-item: "minecraft:red_stained_glass_pane"
Confirmation-GUI:
    # GUI 标题
    title: "<yellow>Confirm Move"
    # GUI 元素
    confirm-item: "minecraft:lime_wool"
    cancel-item: "minecraft:red_wool"
    filler-item: "minecraft:gray_stained_glass_pane"
# 覆盖特定招式的费用
# 格式 - move:cost
Move-Overrides:
  - outrage: 6000
  - dracometeor: 10000

lang.yml

# 请勿改动 Config-Version,否则会导致功能损坏
Config-Version: 2.2.0
# 我们支持 Legacy 和 MiniMessage 格式!
Success-Learned: "<dark_aqua>{pokemon} <aqua>was taught <dark_aqua>{move}!"
Insufficient-Funds: "<red>You do not have enough money to purchase this move."
Insufficient-Items: "<red>You must have <dark_red>{itemcost} <red>to purchase this move. "
Error-No-Pokemon: "<red>No Pokemon found in slot <dark_red>{slot}."
Error-Not-Tutor: "<dark_red>{move} <red>is not a tutor move for <dark_red>{pokemon}!"
Error-No-Tutor-Moves: "<dark_red>{pokemon} <red>does not learn any tutor moves."
Error-Already-Knows: "<dark_red>{pokemon} <red>already knows <dark_red>{move}."
Blacklisted-Pokemon: "<dark_red>{pokemon} <red>can not use this move tutor."

specifictutor.yml

# 请勿改动 Config-Version,否则会导致功能损坏
Config-Version: 2.2.0
# 特定导师设置
SpecificTutor:
  # 打开所需的权限
  permission: tutormoves.open.dragonmaster
  # 可选值:impactor:{currency}、ITEMS:{item id}
  currencyKey: ITEMS:minecraft:diamond
  # 教授招式的费用
  cost: 3
  # 该导师提供的招式列表
  moves:
    - dracometeor
    - dragonclaw
    - dragondance
  # 不能使用该导师的 Pokemon
  Blacklisted-Pokemon:
    - jirachi
GUI:
  # GUI 标题
  title: "Dragon Master"
  # 主导师 GUI 的大小(2-6)
  size: 6
  # GUI 元素
  filler-item: "minecraft:gray_stained_glass_pane"
# 覆盖特定招式的费用
# 格式 - move:cost
Move-Overrides:
  outrage: 6000
  dracometeor: 10000

权限

  • tutormoves.reload 用于 /tutormoves reload
  • tutormoves.menu 用于 /tutormoves menu
  • tutormoves.menuothers 用于 /tutormoves menu <tutor> <player>
  • tutormoves.npc 用于 /tutormoves npc <npc name>

请注意:如果某个权限节点没有为你注册,请先取消自己的 OP,然后重新登录/重启服务器。为了让 LuckPerms 缓存该权限节点,它需要确认该节点存在;而如果在 LuckPerms 检查权限时只有 OP 玩家在线,这一条件就不会成立!