Skip to content

[问题]: 3.9.19往后的版本会使标题资源包字体图片被染黑 #257

@TATyKeFei

Description

@TATyKeFei

🚀 是否已尝试最新的版本

  • 我已更新 TrMenu 至最新的版本, 并且同样复现该问题.

📚 是否已查阅 Wiki

  • 我已查阅 Wiki 对于该问题的相关内容, 并确定该问题是存在的.

🔗 是否存在重复 issue

  • 我已翻阅现有的 issue 没有发现内容重复, 亦或是对现有 issue 的更详细的描述.

📰 服务端详细信息

TrMenu Dump Information (Date: 2026-02-11 19:50:41)

| Server OS: Linux amd64 6.14.0-37-generic
| Server software: Leaf - 1.21.11-41-3f10943 (MC: 1.21.11) (1.21.11-R0.1-SNAPSHOT)
| Java version: Eclipse Adoptium (OpenJDK Runtime Environment 21.0.8+9-LTS)

| TrMenu: 3.9.24
Installed Plugins: 
· AntiSeedCracker - 1.2.1
· BKCommonLib - 1.21.11-v1
· BetterDamage - 1.3.1
· BetterHud - 1.14.2-SNAPSHOT-441
· BetterRTP - 3.6.13
· CarbonChat - 3.0.0-beta.36
· ChatHeadFont - 0.0.5-SNAPSHOT
· Chunky - 1.4.40
· CraftEngine - 0.0.67.5
· CraftSlotCommands4 - 250.0
· CustomCrops - 3.6.48
· CustomNameplates - 3.0.37
· CyberWorldReset - 0.6.3
· FancyHolograms - 2.9.0
· HoloDropsX - 3.0.0
· InteractiveBooks - 1.7.12
· KukeCDK - 1.3-SNAPSHOT
· Lands - 7.22.3
· LiteSignIn - 1.8.9.0
· LuckPerms - 5.5.21
· My_Worlds - 1.21.11-v3-SNAPSHOT
· NBTAPI - 2.15.5
· Pl-Hide-Pro - 2.13.0
· PlaceholderAPI - 2.12.2
· PlugManX - 2.4.1
· ProtocolLib - 5.4.1-SNAPSHOT-1257506
· PumpkinCore - 1.21.11-94
· SimpleTpa - 8.0
· Skript - 2.14.1
· SweetMail - 1.1.3
· TAB - 5.5.0
· TrMenu - 3.9.17
· Typewriter - 0.9.0-beta-170
· Vault - 2.17.0
· VeinMiner - 2.3.1
· Vulcan - 2.9.7.11
· WorldEdit - 7.4.0+7381-3decaf0
· WorldGuard - 7.0.16-beta-01+ce4622f
· XConomy - 2.26.3
· packetevents - 2.11.1
· prism - 4.1
· skript-reflect - 2.6.2

🔍 详细的描述

我在这个版本3.9.19以及往后的所有版本都出现了图片变黑的问题
Image

3.3.17以及之前的版本是正常的
Image

🗄 服务端日志

[19:36:41] [Server thread/INFO]: TATyKeFei issued server command: /trmenu reload
[19:36:42] [Server thread/WARN]: [TrMenu] §x§f§f§f§f§f§f is not a color.
[19:36:56] [Server thread/WARN]: [TrMenu] §x§f§f§f§f§f§f is not a color.
[19:36:58] [Server thread/WARN]: [TrMenu] §x§f§f§f§f§f§f is not a color.

⚙ 配置文件

Title:
  - "%shift_md_-13%[ꀀ](font=minecraft:gui;color=#ffffff) %shift_md_-170%&f獭兔电信 4G%shift_md_120%&f用户: %chathead% %player_name%"

Layout:
  - "hhLLQQRR "
  - "hhLLQQRR "
  - "FFeessww "
  - "FFeessww "
  - "mmBBggTT "
  - "mmBBggTT "

PlayerInventory:
  - "ZZXXVVtt "
  - "DD11pp   "
  - "DD11pp   "
  - "         "

Options:
  Hide-Player-Inventory: true

Icons:
  "a":
    display:
      material: "stone"
      hide_tooltip: true

  "h":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: ''
    actions:
      all:
        - 'json: {"text":"功能暂未开放!"}'

  #商店
  "s":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f商店"
    actions:
      all:
        - 'json: {"text":"功能暂未开放!"}'

  #签到
  "L":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f签到"
      lore:
        - '[1] 进行签到'
        - '[2] 打开签到日历'
    actions:
      NUMBER_KEY_1:
        - "command: litesignin click"
      NUMBER_KEY_2:
        - "command: litesignin gui"

  #任务
  "Q":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f任务"
    actions:
      all:
        - 'json: {"text":"功能暂未开放!"}'

  #好友
  "F":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f好友"
    actions:
      all:
        - 'json: {"text":"功能暂未开放!"}'

  #邮箱
  "e":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f邮箱"
      lore: 
      - ""
      - "&f共 %sweetmail_inbox_unread% 封邮件未读"
      - ""
      - "&f左键 &7| &f打开收件箱"
      - "&f右键 &7| &f发送邮件"
    actions:
      left:
        - "command: mail inbox"
      right:
        - "command: mail draft"

  #点歌姬
  "m":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f点歌姬"
    actions:
      all:
        - 'json: {"text":"功能暂未开放!"}'

  #领地
  "R":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f领地"
    actions:
      all:
        - "command: lands"

  #导航
  "w":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f獭兔地图"
    actions:
      all:
        - "open: navigation"

  #通行证
  "B":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f通行证"
    actions:
      all:
        - 'json: {"text":"功能暂未开放!"}'

  #转账
  "g":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f转账"
    actions:
      all:
        - 'sound: ENTITY_EXPERIENCE_ORB_PICKUP'
      left:
        - close
        - catcher:
            player:
              type: CHAT
              start: 'tell: &3请输入收款对象'
              cancel: 'tell: &7已取消操作'
              end:
                - condition: '$ utils.isPlayerOnline(vars("{meta:input}"))'
                  deny:
                    - 'tell: &c{meta:input} 不在线'
                    - 'return'
            money:
              type: CHAT
              start: 'tell: &a请输入转账金额'
              cancel: 'tell: &7已取消操作'
              end:
                - condition: 'all [ mtc int &input check &input > *0 ]'
                  actions:
                    - 'command: pay %trmenu_meta_input-player% %trmenu_meta_input-money%'
                  deny:
                    - 'tell: &c无效金额或太穷了'


  #传送
  "T":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f玩家传送"
    actions:
      all:
        - "close"
        - catcher:
            playerA:
              type: CHAT
              start: "tell: &f输入想要传送的人"
              end:
                - "command: tpa {meta:input}"

  #时装
  "Z":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f时装"
    actions:
      all:
        - 'json: {"text":"功能暂未开放!"}'

  #喊话
  "X":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f喊话"
      lore:
        - ""
        - "&7描述"
        - "&f花费 100 TCoin "
        - "&f全服喊话一次"
    actions:
      all:
        - 'json: {"text":"功能维护中!"}'
        # - condition: 'money 100'
        #   action:
        #     - "command: eco take %player_name% 100"
        #     - "close"
        #     - catcher:
        #         playerA:
        #           type: CHAT
        #           start: "tell: &f在聊天栏中输入想要全服喊话的内容"
        #           end:
        #             - "command: shoutother 普通喇叭 %player_name% {meta:input}"
        #   deny:
        #     - 'tell: &c无效金额或太穷了'

  #空
  "V":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f动作"
      lore:
      - ''
      - '&f[左键] 打开所有动作'
      - '&f[右键] 打开收藏的动作'
    actions:
      all:
        - 'json: {"text":"功能暂未开放!"}'

  #宠物
  "t":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f宠物"
      lore:
      - ''
      - '&f点击打开宠物菜单'
    actions:
      all:
        - 'json: {"text":"功能暂未开放!"}'


  #游戏
  "p":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f游戏"
      lore:
      - ''
      - '&f点击游玩游戏'
    actions:
      all:
        - 'json: {"text":"功能暂未开放!"}'

  #设置
  "1":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&f设置"
      lore:
      - ''
      - '&f点击打开设置'
    actions:
      all:
        - 'open: setting'

  #CDK
  "D":
    display:
      material: "source:CRAFTENGINE:tatyrealms:icon_null"
      name: "&fCDK"
      lore:
      - ''
      - '&f兑换CDK~'
    actions:
      all:
        - 'json: {"text":"功能暂未开放!"}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions