Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coasterfreakde/minecraft-spigot-rgb-chat-support
Use RGB Color Codes in Chat. Requires Minecraft Java 1.16+
https://github.com/coasterfreakde/minecraft-spigot-rgb-chat-support
Last synced: about 2 months ago
JSON representation
Use RGB Color Codes in Chat. Requires Minecraft Java 1.16+
- Host: GitHub
- URL: https://github.com/coasterfreakde/minecraft-spigot-rgb-chat-support
- Owner: CoasterFreakDE
- License: mit
- Created: 2020-08-30T21:15:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-06T10:49:27.000Z (over 3 years ago)
- Last Synced: 2024-05-01T18:07:08.355Z (8 months ago)
- Language: Kotlin
- Homepage:
- Size: 34.2 KB
- Stars: 8
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# minecraft-spigot-rgb-chat-support
Use RGB Color Codes in Chat. Requires Minecraft Java 1.16+Just a simple utility package to send colored rgb text into a minecraft chat.
Supported patterns:
- `#RRGGBB`, `RRGGBB`, `{#RRGGBB}`, `&x&r&r&g&g&b&b`Gradients:
- `Text to apply gradient on`Usage:
- `player.sendMessage(*TextComponent.fromLegacyText(RGBApi.toColoredMessage(rawChatMessageWithColorCodes)))`![Chat Gradient](https://i.imgur.com/ASTODE7.png)
## Import in your Gradle/Maven Project
### Gradle:
#### Add Jitpack as Maven repo
```
repositories {
maven { url 'https://jitpack.io' }
}
```#### Add it to your dependencies
```
dependencies {
compile 'com.github.CoasterFreakDE:minecraft-spigot-rgb-chat-support:1.0.5'
}
```### Maven:
#### Add Jitpack as Maven repo
```
jitpack.io
https://jitpack.io
```
#### Add it to your dependencies
```com.github.CoasterFreakDE
minecraft-spigot-rgb-chat-support
1.0.5```