MatrixColorAPI
๐ Updated over a year ago๐ผ๏ธ Gallery (5 images)
๐ Analysis
- ๐ 0.1% endorsement rate
- ๐ #497 of 1452 bukkit mods in this game by downloads
๐ About This Mod
# ๐ MatrixColorAPI **MatrixColorAPI** is a powerful and flexible library for processing and applying custom colors, gradients, and text decorations in Minecraft servers. It supports hex colors, legacy Minecraft color codes, and more advanced formatting like gradients and solid colors. This library simplifies color management while allowing developers to build beautifully formatted text with ease! !(https://i.postimg.cc/WbT6DnYn/image-2024-10-25-072606092.png) ## โจ Features - ๐จ **Hex and Legacy Color Code Support** - ๐ **Gradients**: Apply smooth color transitions across text. - ๐ก **Solid Colors**: Easily apply static colors to any text. - ๐๏ธ **Text Decorations**: Support for bold, italic, underlined, strikethrough, and obfuscated text styles. - ๐ **Lightweight**: Minimal impact on performance. - ๐ **Easy to Use**: Clean and simple API to integrate into your project. - ๐ **Supports All Server Software**: Compatible with Spigot, Paper, Bukkit, Minestom, Fabric, and more. - ๐น๏ธ **Works with Every Minecraft Version Starting from 1.16.5**. - ๐ ๏ธ **Open to Contributions**: Licensed under Apache 2.0 License for open contributions, modifications, and commercial use! ## ๐ Getting Started > While **MatrixColorAPI** is designed to work with all Minecraft server software, it has currently been extensively tested only on Bukkit platforms. We encourage users on other platforms to try it out and report any issues they encounter. Your feedback is crucial in making MatrixColorAPI universally compatible! ### Installation !(https://img.shields.io/jitpack/v/MatrixCreations/MatrixColorAPI.svg?color=512BD4&label=API%20Version&style=for-the-badge) MatrixColorAPI is hosted on (https://jitpack.io), making it easy to integrate with your Maven or Gradle projects. Follow the steps below to add it to your project: ### Using Gradle 1. **Add the Jitpack repository** to your `build.gradle` file (inside `repositories` block): ```gradle repositories { maven { url 'https://jitpack.io' } } ``` 2. **Add the dependency** in your `dependencies` block: ```gradle dependencies { implementation 'com.github.MatrixCreations:MatrixColorAPI:v1.0.7' } ``` ### Using Maven 1. **Add the Jitpack repository** to your `pom.xml`: ```xml <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> ``` 2. **Add the dependency** in your `dependencies` block: ```xml <dependency> <groupId>com.github.MatrixCreations</groupId> <artifactId>MatrixColorAPI</artifactId> <version>v1.0.7</version> </dependency> ``` ### Additional Information - For the latest version, please scroll up to know the latest api version. - Ensure you're using Java 16 or higher to avoid compatibility issues. ### Example Usages - **Solid Color Example:** !(https://media.discordapp.net/attachments/1262415791731511347/1291383818502279218/image.png?ex=671c3ea7&is=671aed27&hm=3f0665dca694de2d917071776c46b98f0aaa34cdecdb0cee5c802e01b1e7e55f&=&format=webp&quality=lossless) ```java String text = "<SOLID:#FFD700>This is yellow text"; String processed = MatrixColorAPI.process(text); ``` - **Gradient Example:** !(https://media.discordapp.net/attachments/1262415791731511347/1291384051160055869/image.png?ex=671c3ede&is=671aed5e&hm=cc27f1669e839059c88bb4a465c2a9073d5afd8efbb8174c331607d513a2544e&=&format=webp&quality=lossless) ```java String gradientText = "<GRADIENT:#FF0000>This is a red to yellow gradient</GRADIENT:#FFFF00>"; String processedGradient = MatrixColorAPI.process(gradientText); ``` - **Legacy Code Support:** !(https://media.discordapp.net/attachments/1262415791731511347/1291384114905092096/image.png?ex=671c3eed&is=671aed6d&hm=b176621daa2f15709bc86170bdafcfdf5f23ab73697176fd57327ad567ae470d&=&format=webp&quality=lossless) ```java String legacyText = "&aThis is a green text with &lBOLD"; String processedLegacy = MatrixColorAPI.process(legacyText); ``` - **Hex Code Support:** !(https://media.discordapp.net/attachments/1262415791731511347/1291384163072610335/image.png?ex=671c3ef9&is=671aed79&hm=1fd9ae3a15a8f94727b308f795f2b1bbd51561fb4a736f40dfc7cdd622fd8ed8&=&format=webp&quality=lossless) ```java String hexText = "&#FFD700This is a yellow text with &lBOLD"; String processedLegacy = MatrixColorAPI.process(hexText); ``` ## ๐ ๏ธ Available Methods - `process(String text)`: Process a single string for color codes, gradients, and formatting. - `process(List<String> texts)`: Process a list of strings for color codes and formatting. ## ๐ฆ Contributing We welcome contributions! To get started: 1. Fork the repository. 2. Create a new branch for your feature or bugfix. 3. Submit a pull request with a clear explanation of your changes. Make sure to follow the coding standards and include tests where appropriate. ## ๐ License This proje
# ๐ MatrixColorAPI
MatrixColorAPI is a powerful and flexible library for processing and applying custom colors, gradients, and text decorations in Minecraft servers. It supports hex colors, legacy Minecraft color codes, and more advanced formatting like gradients and solid colors.
This library simplifies color management while allowing developers to build beautifully formatted text with ease!
!(https://i.postimg.cc/WbT6DnYn/image-2024-10-25-072606092.png)
## โจ Features
- ๐จ Hex and Legacy Color Code Support
- ๐ Gradients: Apply smooth color transitions across text.
- ๐ก Solid Colors: Easily apply static colors to any text.
- ๐๏ธ Text Decorations: Support for bold, italic, underlined, strikethrough, and obfuscated text styles.
- ๐ Lightweight: Minimal impact on performance.
- ๐ Easy to Use: Clean and simple API to integrate into your project.
- ๐ Supports All Server Software: Compatible with Spigot, Paper, Bukkit, Minestom, Fabric, and more.
- ๐น๏ธ Works with Every Minecraft Version Starting from 1. 16. 5.
- ๐ ๏ธ Open to Contributions: Licensed under Apache 2. 0 License for open contributions, modifications, and commercial use!
## ๐ Getting Started
> While MatrixColorAPI is designed to work with all Minecraft server software, it has currently been extensively tested only on Bukkit platforms. We encourage users on other platforms to try it out and report any issues they encounter. Your feedback is crucial in making MatrixColorAPI universally compatible!
### Installation
!(https://img.shields.io/jitpack/v/MatrixCreations/MatrixColorAPI.svg?color=512BD4&label=API%20Version&style=for-the-badge)
MatrixColorAPI is hosted on (https://jitpack.io), making it easy to integrate with your Maven or Gradle projects. Follow the steps below to add it to your project:
### Using Gradle 1. Add the Jitpack repository to your `build.gradle` file (inside `repositories` block): ```gradle repositories { maven { url 'https://jitpack.io' } } ```
2. Add the dependency in your `dependencies` block: ```gradle dependencies { implementation 'com.github. MatrixCreations:MatrixColorAPI:v1. 0. 7' } ```
### Using Maven
1. Add the Jitpack repository to your `pom.xml`:
```xml
2. Add the dependency in your `dependencies` block:
```xml
### Additional Information
- For the latest version, please scroll up to know the latest api version.
- Ensure you're using Java 16 or higher to avoid compatibility issues.
### Example Usages
- Solid Color Example:
!(https://media.discordapp.net/attachments/1262415791731511347/1291383818502279218/image.png?ex=671c3ea7&is=671aed27&hm=3f0665dca694de2d917071776c46b98f0aaa34cdecdb0cee5c802e01b1e7e55f&=&format=webp&quality=lossless)
```java
String text = "
- Gradient Example:
!(https://media.discordapp.net/attachments/1262415791731511347/1291384051160055869/image.png?ex=671c3ede&is=671aed5e&hm=cc27f1669e839059c88bb4a465c2a9073d5afd8efbb8174c331607d513a2544e&=&format=webp&quality=lossless)
```java
String gradientText = "
- Legacy Code Support:
!(https://media.discordapp.net/attachments/1262415791731511347/1291384114905092096/image.png?ex=671c3eed&is=671aed6d&hm=b176621daa2f15709bc86170bdafcfdf5f23ab73697176fd57327ad567ae470d&=&format=webp&quality=lossless)
```java String legacyText = "&aThis is a green text with &lBOLD"; String processedLegacy = MatrixColorAPI.process(legacyText); ```
- Hex Code Support:
!(https://media.discordapp.net/attachments/1262415791731511347/1291384163072610335/image.png?ex=671c3ef9&is=671aed79&hm=1fd9ae3a15a8f94727b308f795f2b1bbd51561fb4a736f40dfc7cdd622fd8ed8&=&format=webp&quality=lossless)
```java String hexText = "FFD700This is a yellow text with &lBOLD"; String processedLegacy = MatrixColorAPI.process(hexText); ```
## ๐ ๏ธ Available Methods
- `process(String text)`: Process a single string for color codes, gradients, and formatting.
- `process(List
texts)`: Process a list of strings for color codes and formatting.
## ๐ฆ Contributing
We welcome contributions! To get started:
1. Fork the repository. 2. Create a new branch for your feature or bugfix. 3. Submit a pull request with a clear explanation of your changes.
Make sure to follow the coding standards and include tests where appropriate.
## ๐ License
๐ Mod Details
- Game
- Minecraft Plugins
- Author
- ItsHarshXD
- Version
- 1.0.7
- Downloads
- 706
- Endorsements
- 1
- Category
- bukkit
- Created
- 10/6/2024
- Updated
- 10/6/2024
- Game Versions
- 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1
- Tags
- decoration, library, utility
๐ง How to Install Minecraft Plugins Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
๐ Full step-by-step install guide for Minecraft Plugins โ
Visit the official mod page for specific installation instructions for this mod.
๐ฎ Need cheat codes or console commands? Check ur gaming wiki for Minecraft Plugins commands, item IDs, and more.
โ Frequently Asked Questions
Which Minecraft Plugins versions does MatrixColorAPI support?
The author lists 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2. Other versions may work but are untested by the author.
What is the latest version of MatrixColorAPI?
Version 1.0.7, published 2024-10-06 with 706 downloads recorded at the source.
Keep browsing โ more Minecraft Plugins mods await




