-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Miles Holder
committed
May 8, 2024
1 parent
139d621
commit e298cd6
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
| Command | Permission | | ||
|--------------------------|------------------| | ||
| `/chatcolor set <color>` | basics.chatcolor | | ||
| `/chatcolor reset` | basics.chatcolor | | ||
|
||
## Color Permissions | ||
|
||
Color permissions are given based upon certain permissions. Below will explain how you can grant permission | ||
to specific colors alongside ranges of colors. | ||
|
||
### Giving Ranges | ||
|
||
There are a few ranges provided in basic by default. | ||
|
||
- `basics.chatcolor.named`, gives access to all named colors, e.g. red, blue, dark_green. | ||
- `basics.chatcolor.hex`, gives access to all hex colors, e.g. #FF00FF, #00FF00, #EFABCE. | ||
- `basics.chatcolor.gradient.named`, gives access to any gradient that is named, e.g. red:blue, gold:light_purple, yellow:green. | ||
- `basics.chatcolor.gradient.hex`, gives access to any hex that is named, e.g. #FFF000:#000FFF, #EEFF00:#00FFEE. | ||
|
||
### Giving Specific Colors | ||
|
||
If you don't want to give players ranges, but rather specific colors you can do the following. An example will be given for each type | ||
|
||
- **Named**: `basics.chatcolor.red` | ||
- **Hex**: `basics.chatcolor.#987FFE` | ||
- **Named Gradient**: `basics.chatcolor.blue:red` | ||
- **Hex Gradient**: `basics.chatcolor.#FFF000:#000FFF` |