8000 Converted command entity selector flattening fails when an argument contains a space · Issue #557 · CommandAPI/CommandAPI · GitHub
[go: up one dir, main page]

Skip to content
Converted command entity selector flattening fails when an argument contains a space #557
Open
@Bafy78

Description

@Bafy78

CommandAPI version

9.4.1

Minecraft version

1.20.2

Are you shading the CommandAPI?

No

What I did

  • I wrote this in the configuration :
  - LuckPerms:
    - luckperms (user) <user>[api:players] <args>[api:greedy_string]

What actually happened

The command is converted, as the @... is suggested when using /execute run luckperms user
But if I actually use a vanilla target selector I get a luckperms error message saying @p is not a valid username/uuid

(in the screenshot the first output is when using /execute run luckperms user Bafy78 parent info, and the second one is when replacing Bafy78 by @p
image

What should have happened

@p should have been converted into the name of the nearest player

Server logs and CommandAPI config

No response

Other

LuckPerms uses the Commodore library for registering commands. It’s hard to tell on my phone :P, but when combined with CommandAPI conversion there’s definitely weird stuff that could happen (link). Might be possible for the CommandAPI to do something to work with Commodore commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0