Hi, i am using PaperMC and I am trying to add the /discord command in the commands.yml. The code would be:
The /discord command works fine but only for me as administrator. I don't know what permission to add for users so they can use that command. I don't want to add plugins that execute that command.
This is what i get using /discord as user:

If i add the permission minecraft.command.tellraw i get: Selector not allowed
But i not want to add the permission minecraft.command.tellraw because that will break the server
Code:
command-block-overrides: []
ignore-vanilla-permissions: false
aliases:
icanhasbukkit:
- version $1-
discord:
- tellraw @p {"text":"Join our Discord. ","color":"gold","extra":[{"text":"Clic
Here.","color":"blue","underlined":true,"clickEvent":{"action":"open_url","value":"https://discord.gg/XXX"}}]}
The /discord command works fine but only for me as administrator. I don't know what permission to add for users so they can use that command. I don't want to add plugins that execute that command.
This is what i get using /discord as user:

If i add the permission minecraft.command.tellraw i get: Selector not allowed

But i not want to add the permission minecraft.command.tellraw because that will break the server