Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
⚠️ 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.
Information
Published on | May 23, 2023 |
---|---|
Downloads | 0 |
Platforms
Paper (1.8-1.19.4)
Dependencies
Paper