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

"Sorry. You can't use that Command in this World!" when adding additional lines to CustomAlias #9440

Open
3 tasks done
ArZorMC opened this issue Jan 23, 2025 · 1 comment
Open
3 tasks done
Labels
bug report Reports of bugs/inconsistencies

Comments

@ArZorMC
Copy link

ArZorMC commented Jan 23, 2025

Description of Issue

Im trying to add some additional funtionallity to the spawn command so I did the following:
In CMI/Settings/Alias.yml i set Spawn to the following:
spawn:
Enabled: false
Tab: false

Then in CMI/CustomAlias/CustomAlias.yml i added the following:
spawn:
Cmds:
- cmi spawn
- asConsole! cmi effect [playerName] speed 60 -s

When players use the command /spawn they are still teleported and given speed to the command works, but the player is told in chat "Sorry. You can't use that Command in this World!"

Version Information

https://github.com/user-attachments/assets/5baca328-9a44-48fa-afcc-7c3fb46dfa56

Errors

Relevant Config Sections

spawn:
    Cmds:
    - cmi spawn
    - asConsole! cmi effect [playerName] speed 60 -s
    - asConsole! cmi bossbarmsg [playerName] -cancel:ResourceOverworld
    - asConsole! cmi bossbarmsg [playerName] -cancel:ResourceNether
    - asConsole! cmi bossbarmsg [playerName] -cancel:ResourceEnd
    - asConsole! cmi bossbarmsg [playerName] -cancel:Arena

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.
@ArZorMC ArZorMC added the bug report Reports of bugs/inconsistencies label Jan 23, 2025
@ArZorMC
Copy link
Author

ArZorMC commented Jan 24, 2025

I've also confirmed tried setting the custom alias to:
spawn:
Cmds:
- cmi spawn
And with that players are not given any warnings.
However, when I then tried:
spawn:
Cmds:
- cmi spawn
- cmi spawn
Players once again received the "Sorry. You can't use that Command in this World!" message in their chat

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

1 participant