Add permission and config option in the config file.

This commit is contained in:
alexcrea 2024-07-26 04:24:44 +02:00
parent c7f1b63c78
commit 7a19632150
No known key found for this signature in database
GPG key ID: 43FD265DB0DBF91F
3 changed files with 103 additions and 37 deletions

View file

@ -39,6 +39,14 @@ permissions:
ca.config.edit:
default: op
description: Allow administrator to edit the plugin's config in game
# color permissions
ca.color.code:
default: op
description: Allow player to use color code if permission is required (toggleable)
ca.color.hex:
default: op
description: Allow player to use hexadecimal color if permission is required (toggleable)
# soft depend on old name, so I can disable it if it is on the same server
# as it is the old name for this plugin