Target selectors aren't working properly sometimes #388


Open
  • ilzeron created this issue Aug 25, 2026

    For some reason target selectors are bugged in MyCommand. The best example that I found is:

    debug_cmd:

    command: /debg

    type: RUN_CONSOLE

    runcmd:

    - /execute as @r run tellraw @a {"text":"$player"}

    register: true

    permission-required: false

     

    because when you type /debg in chat it says my nickname, but when I run it in a command block it says "Console" in the chat. And I can't even use /mycmd-runas because target selectors don't work too! (e.g. /mycmd-runas player @s /say hello!)

    I really want it fixed so I can implement commands from multiverse-core more easily in a custom command.

  • ilzeron posted a comment Aug 25, 2026

    I bypassed it by using the executefor statement and nesting 2 commands, so it's not crucial to fix.


To post a comment, please login or register a new account.