Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perm:XX! not working when executed from console #8541

Closed
3 tasks done
bobhenl opened this issue Mar 12, 2024 · 1 comment
Closed
3 tasks done

perm:XX! not working when executed from console #8541

bobhenl opened this issue Mar 12, 2024 · 1 comment
Labels
bug report Reports of bugs/inconsistencies

Comments

@bobhenl
Copy link

bobhenl commented Mar 12, 2024

Description of Issue

Hello, perm:XX! seems not working when executing from console. It's probably due to the recipient isn't known, BUT cannot we specify it using _$1 or by the ptarget:$1! or something? Neither seems working now.

There's workaround how it can be done:
- check:%parseother_{$1}_{luckperms_has_permission_XX}%==yes#!
but it would be good if the perm:XX! can work too, for example with combination of ptarget. So may there would be a way to implement it so we don't need to use this workaround?

Yeah, this workaround can be used, I just want to point out if there isn't way to let it work even without it.

Version Information

[16:00:12 INFO]: CMI: 9.6.10.8 Unknown  SqLite-> 9.6.10.9
[16:00:12 INFO]: CMILib: 1.4.5.1 -> 1.4.5.2
[16:00:12 INFO]: Server: Purpur(2062) 1.20.1-R0.1-SNAPSHOT-
[16:00:12 INFO]: CMI economy: Enabled Vault: 1.7.3-CMI CMI Chat: Disabled 
[16:00:12 INFO]: Modules -> 45 enabled 14 disabled: customMessages, mirror, tablist, skin, playerChatTag, deathMessages, disabledEnchants, chatBubble, ranks, firstJoinMessages, playerCombat, votifier, sitAnimation, namePlates

Errors

No response

Relevant Config Sections

No response

Relevant Plugins

No response

Agreements

  • My server is supported by CMI.
  • My version of CMI at the time of this report is up to date.
  • I have searched the github and asked around before making this report.
@bobhenl bobhenl added the bug report Reports of bugs/inconsistencies label Mar 12, 2024
@Zrips
Copy link
Owner

Zrips commented Mar 12, 2024

Try doing like check:%parseother_{$1}_{luckperms_has_permission_some.com}%==%parseother_{$1}_yes%! as that placeholder returns it like %parseother_{Zrips}_yes% and not just yes

@bobhenl bobhenl closed this as completed Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Reports of bugs/inconsistencies
Projects
None yet
Development

No branches or pull requests

2 participants