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:
![2024-05-20_13.22.56.png 2024-05-20_13.22.56.png](https://forums.papermc.io/data/attachments/0/582-e256a9dc11a9688cf75bdb12bd31dea2.jpg)
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:
![2024-05-20_13.22.56.png 2024-05-20_13.22.56.png](https://forums.papermc.io/data/attachments/0/582-e256a9dc11a9688cf75bdb12bd31dea2.jpg)
If i add the permission minecraft.command.tellraw i get: Selector not allowed
![2024-05-20-13-24-47.png](/proxy.php?image=https%3A%2F%2Fi.ibb.co%2FR4kJTvt%2F2024-05-20-13-24-47.png&hash=3f42e883e97cc73350567351d0295d8f)
But i not want to add the permission minecraft.command.tellraw because that will break the server