Tags
Creators
Details
0.4
Compatibility
Changes
⚠️ If UTF-8 characters are not working, add the "-Dfile.encoding=UTF8" startup flag to your server.
This update is a major stepping stone in the path to release, adding support for most commonly used versions, and a proper api. This update contains some substantial internal changes, so if you notice something not working quite right, make sure to open an issue here.
Additions:
- Added support for Spigot servers.
- Added support for versions 1.8-1.18
- Added "/jc list" as an alias for "/jc channels"
- Added "/jc test", which allows you to test chat formats in a channel. Usage: /jc test [channel] [format] [message]
Fixes:
- Fixed legacy color codes sometimes not translating.
- Fixed bungee messages being sent to all servers, not just online servers.
- Fixed the default configuration showing "STAFF" as the display name for the global channel.
API Changes:
- Renamed Channel.java to ChatChannel.java
- Renamed Format.java to ChatFormat.java
- Added the ChatChannelBuilder object, which allows you to easily build ChatChannel objects.
- Added the ChatFormatBuilder object, which allows you to easily build ChatFormat objects.
- Added the saveToFile(String fileName) method to ChatChannel objects, which saves a configuration file containing the channel's settings to the channels folder.
- Renamed various method names in ChatChannel.java and ChatFormat.java
- Added the method JadedChat.loadChannel(ChatChannel channel) method, which registers a channel with JadedChat.
- Added the method JadedChat.channelExists(String channelName) method, which checks if a channel with a given name already exists. Useful for checking if a channel configuration file exists before trying to recreate the ChatChannel object.
- Added the method JadedChat.getChannel(Player player), which gets the ChatChannel object that the player is currently in.
- Added the method JadedChat.getDefaultChannel(), which gets the default chat channel.
- Added the method JadedChat.setChannel(Player player, ChatChannel channel), which sets the ChatChannel the player is using.
- Added the method JadedChat.getChannel(String channelName), which gets a ChatChannel based on it's name.
- Added the method JadedChat.getLoadedChannels(), which returns a collection of all channels that have been loaded by JadedChat.
- Added the ChannelSwitchEvent, which is called every time a player switches channels.
- Added the ChannelBungeeSendEvent, which is called every time a channel message is sent over bungeecord. Has an optional data parameter that can be used by plugins to send additional data.
- Added the ChannelBungeeReceiveEvent, which is called every time a channel message is received from bungeecord. Has an optional data parameter than can be used by plugins to send additional data.
- Added the ChannelMessageSendEvent, which is called every time a message is sent to a channel.
Optional dependencies
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:lyju1jsm:Rkda4yxq"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:lyju1jsm:Rkda4yxq"
}

