Polymart is now Voxel Shop! We're upgrading many features of the site, and during this open beta you will experience occasional bugs. Learn more
Simple library for using hex color codes in spigot strings
Note: This resource is for developers only! It does not work as standalone resource and has to be included in a plugin to work
HexColorLib
Simple library for using hex color codes in spigot messages
Examples
("#B511BAThis is example monocolor message").color()
("#B511BAThis is example multi-color message#11BAB4").color()
Usage
To add as dependency
Maven
<repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> <dependency> <groupId>com.github.justADeni</groupId> <artifactId>HexColorLib</artifactId> <version>Tag</version> </dependency>Gradle
repositories { maven { url 'https://jitpack.io' } } dependencies { implementation 'com.github.justADeni:HexColorLib:Tag' }