Permission Question

Discussion in 'Spigot Plugin Help' started by BitLong, Mar 18, 2020.

  1. Hey, new user here. After doing some research, I still have a question about permissions and how they can be applied.

    Context
    I've created a plugin that defines a permission for two commands. By default the permission value is "false" or "not op" indicating that the user does not seemingly have to be OP to access this.

    Code (YAML):
    permissions:
      harvestxp.config
    :
        description
    : "Allows the user to modify harvest_xp configuration values."
        default
    : false
    Question(s)
    • How can a user be granted the permission node harvestxp.config?
    • How can the end-user that downloads the plugin change the default permission of this command? Is it done via the permissions YAML file?
    Any response is appreciated, especially if it's just a link to documentation.

    Thank you,

    Jason