Skip to content

[Bug]: 命令注册错误 #248

Description

@MvM37

🚀 Have you tried the latest version

  • I have updated TrMenu to the latest version and the same bug is reproduced.

📚 Have you checked the Wiki

  • I have checked the Wiki's related content about the problem and determined that the problem exists.

🔗 Is there a duplicate Issue

  • I have looked through the existing issue and found no duplicate content, or a more detailed description of the existing issue.

📰 Server details

TrMenu Dump Information (Date: 2026-01-18 23:01:41)

| Server OS: Windows 11 amd64 10.0
| Server software: Luminol - 1.21.11-DEV-85d9d8a (MC: 1.21.11) (1.21.11-R0.1-SNAPSHOT)
| Java version: BellSoft (OpenJDK Runtime Environment 25.0.1+13-LTS)

| TrMenu: 3.9.17
Installed Plugins: 
· CMI - 9.8.4.4
· CMILib - 1.5.8.2
· Craftorithm - 1.10.22-20251003
· CustomAnvil - 1.15.8
· MagicBlock - 3.3.0-fork
· PlaceholderAPI - 2.11.7
· ProtocolLib - 5.4.1-SNAPSHOT
· QuickShop-Hikari - 6.2.0.11-SNAPSHOT-14
· TrMenu - 3.9.17
· Vault - 2.17.0
· ViaBackwards - 5.6.1-SNAPSHOT
· ViaVersion - 5.6.1-SNAPSHOT
· XConomy - 2.26.3

🔍 Detailed description

主命令名称没有正确注册

1. 在settings注册cd为主名称,menu为子名称
2. 主名称能正常打开菜单,但无法补全或使用参数,子名称可以完全正常使用
Image Image

🗄 Server log


⚙ Configurations

settings.yml

RegisterCommands:
  cd:
    aliases:
      - menu
    permission: null
    execute:
    - 'open: mainmenu'
    arguments:
      example: 'open: servers'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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