PLEASE RATE AND COMMENT
THANKS
If you find any bugs or if you have a problem, just write it in the plugin Discussion and I will help you!
Description :
With this plugin, you can make "Chat Groups". That means, that only the players in the same group can see the messages. But certainly, you can write a global message to all players (default with a '+' at the beginning of the message). MySQL Support!
Commands:
Note: You can use instead of "/chatgroups" "/cgs"!
- /chatgroups
give you a list of all commands.
- /chatgroups add <Group Name> [<color>]
adds a group with the name and if you wan't with a specific color
(&0-9 or&a-f).
- /chatgroups remove <Group Name>
removes the group.
- /chatgroups set <Player> <Group>
sets the player in the chat group.
- /chatgroups invite <Player> < Group>
invites a player to a chat group. He has two minutes to join the group.
- /chatgroups join <Group>
join a group if you have an invitation. If you have no invitation, you can
only join with enough permissions.
- /chatgroups kick <Player>
kicks a player from his group and sets him to the default group.
- /chatgroups leave
leave your chatgroup. Then you are in the default group.
- /chatgroups get <Player>
sends you the group name of the player.
- /chatgroups list
sends you the names of all chat groups.
- /chatgroups synchronize FileToSQL <add|overwrite>
uploads all groups and players from the file (groups.yml) to MySQL.
With "add" you just add the groups and players, with "overwrite" you overwrite all groups and players on MySQL.
- /chatgroups synchronize SQLToFile <add|overwrite>
downloads all groups and players from the MySQL to the file (groups.yml).
With "add" you just add the groups and players, with "overwrite" you overwrite all groups and players in the file.
- /chatgroups GetDefaultGroup
sends you the name of the default group.
Permissions:
- chatgroups.add
Permission to add a group.
- chatGroups .remove
Permission to remove a group.
- chatGroups.set
Permission to invite a player to a group.
- chatGroups.invite
Permission to invite a player to a group.
- chatGroups.join
Permissions to join WITHOUT invitation.
- chatGroups.kick
Permission to kick a player.
- chatGroups.get
Permission to get the group of a player.
- chatGroups.list
Permission to get the list of all groups.
- chatGroups.synchronize
Permission to use "/chatgroups synchronize"
- chatGroups.getDefaultGroup
Permission to use "/chatgroups getDefaultGroup"
Config:
- DefaultChatGroup
Name of the default chat group (Default: "Default").
- GlobalMessageCharacter
Character to write a global message (Default: "+").
- GlobalChatFormat
Chat format for global messages (Default: "%ChatGroup% | %Player%: %Message%").
- GroupChatFormat
Chat format group messages (Default: "%Player%: %Message%").
- MySQL.enabled
If true, MySQL is enabled, if false, MySQL is disabled.
- MySQL.host
The MySQL host.
- MySQL.port
The port of your MySQL (Default: 3306).
- MySQL.database
The name of your MySQL database (Default: ChatGroups)
- MySQL.user
The username of your MySQL (Default: root)
- MySQL.password
The password of your MySQL user.
NOTE:
Don't edit anything in the "groups.yml", only in the "config.yml"!!
How to enable MySQL?
1.) Go in the plugins folder of the Server.
2.) Then go in the "ChatGroups"- folder and open the "config.yml"-file
3.) Set at the "MySQL" settings "enabled" to true and enter host, port, database, username and password.
4.) Reload or restart the server. If you see the line "[ChatGroups] Succesfully connected to MySQL!", you know that MySQL is working.
Tipp: If you create a group or something, and MySQL is enabled and connected, at the end of the message you will see "(MySQL)"
How to transfer all old groups to MySQL?
1.) Make sure MySQL is enabled and succesfully connected (see above).
2.) Go to the console or join the server and open the chat.
3.) Enter "/cgs synchronize FileToSQL add"
4.) That's it!
Common MySQL Errors:
If the plugin has an error with MySQL, in the console is a error report. In the most cases in the first or second line is something like "java.sql.SQLException: Access denied..."
Here are some common errors:
- "Access denied for user 'root'@'localhost' (using password: YES)"
means that...
... the password is incorrect
... the user doesn't exist
- "Unknown database 'YourDatabaseName' "
means that...
... the database you've entered in the config.yml doesn't exist.
If you get any other errors or have problem, just write in the discussion and I will help you!
Todo list:
- Adding MySQL support Finished
- Finding and fixing bugs Always working on
Screenshots:
Create and join a group:
THANKS
If you find any bugs or if you have a problem, just write it in the plugin Discussion and I will help you!
Description :
With this plugin, you can make "Chat Groups". That means, that only the players in the same group can see the messages. But certainly, you can write a global message to all players (default with a '+' at the beginning of the message). MySQL Support!
Commands:
Note: You can use instead of "/chatgroups" "/cgs"!
- /chatgroups
give you a list of all commands.
- /chatgroups add <Group Name> [<color>]
adds a group with the name and if you wan't with a specific color
(&0-9 or&a-f).
- /chatgroups remove <Group Name>
removes the group.
- /chatgroups set <Player> <Group>
sets the player in the chat group.
- /chatgroups invite <Player> < Group>
invites a player to a chat group. He has two minutes to join the group.
- /chatgroups join <Group>
join a group if you have an invitation. If you have no invitation, you can
only join with enough permissions.
- /chatgroups kick <Player>
kicks a player from his group and sets him to the default group.
- /chatgroups leave
leave your chatgroup. Then you are in the default group.
- /chatgroups get <Player>
sends you the group name of the player.
- /chatgroups list
sends you the names of all chat groups.
- /chatgroups synchronize FileToSQL <add|overwrite>
uploads all groups and players from the file (groups.yml) to MySQL.
With "add" you just add the groups and players, with "overwrite" you overwrite all groups and players on MySQL.
- /chatgroups synchronize SQLToFile <add|overwrite>
downloads all groups and players from the MySQL to the file (groups.yml).
With "add" you just add the groups and players, with "overwrite" you overwrite all groups and players in the file.
- /chatgroups GetDefaultGroup
sends you the name of the default group.
Permissions:
- chatgroups.add
Permission to add a group.
- chatGroups .remove
Permission to remove a group.
- chatGroups.set
Permission to invite a player to a group.
- chatGroups.invite
Permission to invite a player to a group.
- chatGroups.join
Permissions to join WITHOUT invitation.
- chatGroups.kick
Permission to kick a player.
- chatGroups.get
Permission to get the group of a player.
- chatGroups.list
Permission to get the list of all groups.
- chatGroups.synchronize
Permission to use "/chatgroups synchronize"
- chatGroups.getDefaultGroup
Permission to use "/chatgroups getDefaultGroup"
Config:
- DefaultChatGroup
Name of the default chat group (Default: "Default").
- GlobalMessageCharacter
Character to write a global message (Default: "+").
- GlobalChatFormat
Chat format for global messages (Default: "%ChatGroup% | %Player%: %Message%").
- GroupChatFormat
Chat format group messages (Default: "%Player%: %Message%").
- MySQL.enabled
If true, MySQL is enabled, if false, MySQL is disabled.
- MySQL.host
The MySQL host.
- MySQL.port
The port of your MySQL (Default: 3306).
- MySQL.database
The name of your MySQL database (Default: ChatGroups)
- MySQL.user
The username of your MySQL (Default: root)
- MySQL.password
The password of your MySQL user.
NOTE:
Don't edit anything in the "groups.yml", only in the "config.yml"!!
How to enable MySQL?
1.) Go in the plugins folder of the Server.
2.) Then go in the "ChatGroups"- folder and open the "config.yml"-file
3.) Set at the "MySQL" settings "enabled" to true and enter host, port, database, username and password.
4.) Reload or restart the server. If you see the line "[ChatGroups] Succesfully connected to MySQL!", you know that MySQL is working.
Tipp: If you create a group or something, and MySQL is enabled and connected, at the end of the message you will see "(MySQL)"
How to transfer all old groups to MySQL?
1.) Make sure MySQL is enabled and succesfully connected (see above).
2.) Go to the console or join the server and open the chat.
3.) Enter "/cgs synchronize FileToSQL add"
4.) That's it!
Common MySQL Errors:
If the plugin has an error with MySQL, in the console is a error report. In the most cases in the first or second line is something like "java.sql.SQLException: Access denied..."
Here are some common errors:
- "Access denied for user 'root'@'localhost' (using password: YES)"
means that...
... the password is incorrect
... the user doesn't exist
- "Unknown database 'YourDatabaseName' "
means that...
... the database you've entered in the config.yml doesn't exist.
If you get any other errors or have problem, just write in the discussion and I will help you!
Todo list:
- Adding MySQL support Finished
- Finding and fixing bugs Always working on
Screenshots:
Create and join a group:
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Chat Groups is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11. Downloaded 593 times (via Spigot). Download it and open it directly in the game.