SimpleGroupChat
PluginMIT

SimpleGroupChat

Plugin that adds text group chats where groupmates can communicate through toggleable group mode

49
Downloads
1
Followers
9 months ago
Updated
📦
1
Versions

📖About SimpleGroupChat

SimpleGroupChat

GitHub | Future Links will be placed here

This plugin is NOT associated with SimpleVoiceChat

This plugin is a logical continuation of SimpleGlobChat. So if you plan to use any global chat alongside this plugin, SimpleGlobChat is the best choice. However, it's not required.

This plugin enables the creation of text-based group chats in Minecraft, where only members can send and receive messages.

All images in Gallery were done in the same server (if important)

You can choose language in config. Supported languages are ru and eng.

I wrote this code according to my needs and added the most useful features in my opinion. If you think that plugin needs some features feel free to suggest!

Commands and Features

Ghelp Shows a list of all available commands

Usage: /ghelp

Gchat Enables, disables, or checks the status of group chat. When enabled, your messages are sent only to your group.

Usage: /gchat on|off|status

Gcreate Creates a new group with the specified name. You will automatically become the owner of the group.

Usage: /gcreate <Group name>

Glist Displays a list of all existing groups on the server. Useful for discovering groups you might want to join.

Usage: /glist

Glistmembers Displays a paginated list of all members in your current group. If the group has many members, use the page number to navigate through the list.

Usage: /glistmembers [page]

Grequest Sends a join request to a specific group. The group's owner can then accept or deny it.

Usage: /grequest <Group name>

Gacceptrequest Accepts a join request from a player. Use this if you're a group owner.

Usage: /gacceptrequest <Player>

Gdenyrequest Denies a pending join request from a specific player. Use this if you're a group owner.

Usage: /gdenyrequest <Player>

Ginvite Invites a player to join your group.

Usage: /ginvite <Player>

Gacceptinvite Accepts a pending group invitation you've received from groups owner.

Usage: /gacceptinvite <Groupname>

Altenative usage: /gacceptinvite <Owner's nickname>

Gdenyinvite Declines a group invitation you've received from groups owner.

Usage: /gdenyinvite <Groupname>

Altenative usage: /gdenyinvite <Owner's nickname>

Gkick Removes a player from your group. Only the owner can use this command.

Usage: /gkick <Player>

Ginvites Shows a list of all group invitations you’ve received but haven't responded to yet.

Usage: /ginvites

Gleave Leaves the group you are currently a member of. You will lose access to its chat and privileges.

Usage: /gleave

Grequests Displays all incoming join requests to your group. Only visible to group owners.

Usage: /grequests

Hex colors support This plugin supports not only minecraft color code §0-f (&0-f too)

But hex colors too! (For example: &#7cdaf7)

Configuration

Turn off if you will not use placeholderapi

use-placeholderapi: true

You can change it between eng and ru

#available variants: eng and ru, you can find them in lang foulder
language: "ru"

You can turn off or slightly change this template. (List is providen bellow)

group:
  #for eng verion use "§7[§7{group} &#00ffccGROUP§7]"
  #for ru version use "§7[&#00ffccГруппа §7{group}§7]"
  prefix: "§7[§7{group} &#00ffccGROUP§7]"
  placeholder-prefix: "%luckperms_prefix%"
  name-color: "&#00ffcc"
  receiver-color: "§7"
  message-color: "&#ffffff"
  world-prefix:
    enabled: false
    format: "§8[{world}]"
  msgformat: "{prefix} §r{placeholder-prefix}{name-color}{player} §7>> {message-color}{message}"

Here is list of things that you can change.

#Available placeholders for usage:
#"{world-color}"
#{world-prefix}"
#"{prefix}"
#{group}"
#{placeholder-prefix}"
#name-color}"
#{message-color}"
#{player}"
#{receiver-prefix}"
#{receiver-color}"
#{receiver}"
#{sender}"
#{message}"
#You can change their order anyway you want, write them in msgformat or delete, and write them into each other as shown in:
#prefix: "§7[§7{group} &#00ffccGROUP§7]"
#Here {group} is used in {prefix}

Language settings

You can change messages if you want. They will be provided in folder lang.
You can find there ru.yml and eng.yml files.

This is messages that will be shown when you use commands.

messages:

This is info that will be shown when you use "/ghelp" command. (Not recommended to change)

commands:

Helpful info to maintain and change content of messages.

#  Colors:
# 0 Black                 8 dark gray
# 1 dark blue             9 light blue
# 2 dark green            a light green
# 3 dark cyan (бирюзовый) b light cyan (голубой)
# 4 dark red              c light red
# 5 purple                d magenta
# 6 dark yellow           e light yellow
# 7 light gray            f white
# you can use hex colors with this syntax: "&#ffffff"
#f.e: "&#f2e77ePlayer not found."

Compatibility with other plugins

If player have LuckPerms prefix and PlaceholderAPI is installed on server, it can be showed in chat.

If you want to use Global chat, it is highly recomended to use SimpleGlobalChat .