mrfdev / CMI

The 1MB CMI Project
58 stars 28 forks source link

Update 1MB-EssentialsX-cmds.yml #23

Closed MrCrazys closed 2 years ago

MrCrazys commented 2 years ago

Added an error message when players try to type the internal command, /_nocmifeature, without any arguments.

mrfloris commented 2 years ago

Hey, thank you for the contribution. Before I merge it (looks fine) can you confirm that you've tested this with the commands?

MrCrazys commented 2 years ago

Yes, I have, and it seems to work fine from what I can see.

mrfloris commented 2 years ago

Yes, I have, and it seems to work fine from what I can see.

Glad to hear, could you perhaps test with this:

Additionally, you can extend the check - statement:check1! check:$1!=null! with this trick; $check:$1!=[playerName] because when another command is remote called, it will be true, but when it's run by a player, it will be false.

  - statement:check1! check:$1!=null! $check:$1!=[playerName]
MrCrazys commented 2 years ago

Yes, that works too.