SimpleColor v1.1.0
Release Date: 2026-01-26
What's New
Class Alias System
Introducing flexible class aliases for your preferred coding style:
Java:
// All equivalent - use whichever you prefer
ChatColor.RED CC.RED Color.RED
ChatColor.hex() CC.hex() Color.hex()
Available aliases:
•
ChatColor – Full enum with all methods
•
CC – Short alias for concise code
•
Color – Alternative naming style
Enhanced ChatColor API
New helper methods available on ChatColor (and all aliases):
hex(String)
Create a hex color code
Example:
gradient(String...)
Create a multi-color gradient
Example:
Code:
ChatColor.gradient("red", "blue")
link(String, String)
Create a clickable link
Example:
Code:
ChatColor.link("url", "text")
translate(String)
Parse color and format codes into a Message
Example:
Code:
ChatColor.translate("&aHello")
stripColor(String)
Strip legacy color codes
Example:
Code:
ChatColor.stripColor(text)
stripAll(String)
Strip all color and format codes
Example:
Package Reorganization
Cleaner package structure:
Code:
org.slamstudios.simplecolor
├── aliases/
│ ├── CC.java
│ └── Color.java
├── enums/
│ ├── ChatColor.java
│ └── ChatFormat.java
├── listeners/
│ └── ChatListener.java
├── ColorParser.java
├── GradientUtil.java
├── Permissions.java
├── SimpleColor.java
└── SimpleColorConfig.java
Documentation
• New comprehensive
Wiki with full documentation
• Streamlined README pointing to the wiki
• Complete API reference with examples
Quick Start
Java:
import org.slamstudios.simplecolor.aliases.CC;
// Simple colors
player.sendMessage(Message.raw(CC.GREEN + "Success!"));
// Advanced features
player.sendMessage(
CC.translate("&#FF5733Orange &*Rainbow &(url)[Link]")
);
Installation
Maven
XML:
<dependency>
<groupId>org.slamstudios</groupId>
<artifactId>SimpleColor</artifactId>
<version>2026-01-26-v1.1.0</version>
</dependency>
Gradle
Code:
implementation 'org.slamstudios:SimpleColor:2026-01-26-v1.1.0'
Full Changelog
• Added
CC alias class for shorter code
• Added
Color alias class for alternative naming
• Added
hex(),
gradient(),
link(),
translate() methods to ChatColor
• Added
RAINBOW constant to ChatColor and aliases
• Moved ChatColor to the
enums package
• Moved ChatFormat to the
enums package
• Moved ChatListener to the
listeners package
• Created the
aliases package
• Added comprehensive wiki documentation
• Streamlined README with wiki links
• Made mvnw executable