I am cureating a small plugin and I need help with the perrmittons and the code for plugin. What is the perrmition for making a chat message directly to a ONE player.
In the 'plugin.yml' it asks for a perrmition and I want when you run the command it displays a message.
I honestly dont understand what your asking...lol just wrap the code above in a command function.... I dont understand what you mean by permissions in a config.yml file
Following: PHP: commands:info:description: "Shows information about the server"usage: "/info"permission: myplugin.example The perm part there what would I write there and how would I implement a chat message to only one player. The project: https://github.com/DunxGit/InfComs/
You don't need perms. Just filter out who receives the message in your onCommand() function. Permissions decide who can run the command.