JellyChats is a highly customizable Redis-based private chats plugin for Velocity proxies.
For building from source:
- JDK 17 or higher
- An Internet connection
For running the plugin:
- A Redis instance
- JRE 17 or higher
- A Velocity proxy
Grab the latest release from here, then drop it into your plugins/ folder.
Go to the plugins/jelly-chats/config.yml file in your server, then add a new entry inside the chats section:
moderator:
enabled: true
name: "Moderators"
channel: "jelly-chats/mods"
permission: "jelly-chats.chat.moderator"
command:
main: "mod-chat"
aliases:
- "m"
- "mc"
- "modchat"
- "mods"
- "mod"You can also simplify it to:
moderator:
enabled: trueIn these cases:
- The name will be set to the chat ID
moderatorin this example
- The Redis channel will be set to the value of
default-channel-prefix+ the chat IDjelly-chats/moderatorin this example
- The permission will be set to
jelly-chats.chat.+ the chat IDjelly-chats.chat.moderatorin this example
- The command will be the chat ID +
-chat/moderator-chatin this example
- The command will have no aliases
Simply add a new entry under messages → formatting with the same chat ID:
messages:
# ...
formatting:
# Supported placeholders are:
# - <server> (the server the player is in)
# - <name> (the name of the private chat)
# - <author> (the author of the message)
# - <content> (the content of the message)
# - <prefix> (the prefix of the player, requires LuckPerms)
# - <suffix> (the suffix of the player, also requires LuckPerms)
moderator: "<gold>[MOD] (<server>)</gold> <prefix><yellow><author>:</yellow> <content>"This example assumes you're using the same chat created earlier.
You can replace the default RankManager by using
something like:
RankManager rankManager = new MyRankManager();
JellyChatsPlugin plugin = JellyChatsPluginProvider.getInstance();
plugin.setRankManager(rankManager);Clone the repository:
$ git clone https://github.com/azurejelly/jelly-chats
$ cd jelly-chats/Build the project using Gradle:
$ ./gradlew buildYou should be able to find a distributable JAR under ./build/libs/