Releases: KeyouXZ/Group-Config
Release list
v1.0.2
Release Notes: GroupConfig Plugin v1.0.2
This update improves group management by integrating TShock.Groups.UpdateGroup, reducing manual updates while preserving direct modifications for superadmin.
What's New in Version 1.0.2
🔧 Enhancements
- Improved Group Updating Mechanism
- Switched to using
TShock.Groups.UpdateGroupfor handling group updates efficiently. - Manual updates are now only performed for
superadmin, ensuring its configuration remains intact.
- Switched to using
Installation Guide
- Download the latest release from the [Release Page]
- Place the
GroupConfig.dllfile into theServerPluginsfolder of your TShock installation. - Restart your TShock server to enable the plugin.
Usage Tips
- Ensuring Changes Apply: If modifications to groups aren't reflected immediately, try using
/reloadto refresh the configuration. - Superadmin Manual Updates: The
superadmingroup still requires manual updates to maintain full administrative control.
License
This project is licensed under the MIT License. By contributing, you agree that your contributions will be licensed under the MIT License.
Thank you for using GroupConfig Plugin! If you encounter any issues or have feedback, please open an issue on our GitHub repository.
v1.0.1
Release Notes: GroupConfig Plugin v1.0.1
This update focuses on enhancing functionality and adding a convenient blacklist feature to simplify group management.
What's New in Version 1.0.1
🚀 New Features
-
Blacklist Feature
- Introduced support for excluding specific groups from the configuration using a
Blacklist. - Supports wildcard patterns (e.g.,
rank_*will exclude all groups starting with "rank_").
- Introduced support for excluding specific groups from the configuration using a
-
Configuration Rewrite Improvements
- The plugin now intelligently rewrites the configuration file, removing only blacklisted groups while preserving existing data for non-blacklisted groups.
🔧 Enhancements
- Improved file handling to ensure seamless reading and writing of the
GroupConfig.jsonfile. - Optimized group-loading logic to maintain server performance and reduce unnecessary operations.
Installation Guide
- Download the latest release from the [releases page](https://github.com/KeyouXZ/Group-Config/releases).
- Place the
GroupConfig.dllfile into theServerPluginsfolder of your TShock installation. - Restart your TShock server to enable the plugin.
Configuration Example
The plugin will generate a GroupConfig.json file on the first run. Customize this file to suit your server's needs. Here's an updated snippet:
{
"Blacklist": [
"rank_*",
"test_group"
],
"Groups": {
"admin": {
"Parent": "newadmin",
"Commands": "tshock.admin.ban,tshock.cfg.whitelist,tshock.npc.spawnboss,tshock.npc.spawnmob",
"Chat Color": [255, 255, 255],
"Prefix": null,
"Suffix": null
},
"trustedadmin": {
"Parent": "admin",
"Commands": "tshock.cfg.*,tshock.world.*,tshock.item.spawn,tshock.heal",
"Chat Color": [255, 255, 255],
"Prefix": null,
"Suffix": null
}
}
}Usage Tips
- Blacklist Usage: Add wildcard patterns to the
Blacklistto exclude matching groups during configuration updates. - Reload Configuration: Use the
/reloadcommand to apply changes to the configuration without restarting the server.
License
This project is licensed under the MIT License. By contributing, you agree that your contributions will be licensed under the MIT License.
Thank you for using GroupConfig Plugin! If you encounter any issues or have feedback, please open an issue on our GitHub repository.
v1.0.0 - Initial Release
Release Notes: GroupConfig Plugin
I am excited to announce the latest release of the GroupConfig Plugin for TShock! This plugin is designed to simplify the management and configuration of groups in Terraria, making it easier to handle group permissions, chat colors, prefixes, and suffixes.
What's New in This Release
Key Features
- JSON Configuration: Load and configure groups seamlessly using a JSON file.
- Customizable Chat Attributes: Set unique chat colors, prefixes, and suffixes for each group.
- Permission Management: Easily manage group permissions with a user-friendly structure.
Installation Guide
- Download the latest release from the releases page.
- Place the
GroupConfig.dllfile into theServerPluginsfolder of your TShock installation. - Restart your TShock server to enable the plugin.
Configuration Example
The plugin will generate a GroupConfig.json file on the first run. Customize this file to suit your server's needs. Here's a snippet:
{
"Groups": {
"admin": {
"Parent": "newadmin",
"Commands": "tshock.admin.ban,tshock.cfg.whitelist,tshock.npc.spawnboss,tshock.npc.spawnmob",
"Chat Color": [255, 255, 255],
"Prefix": null,
"Suffix": null
},
"trustedadmin": {
"Parent": "admin",
"Commands": "tshock.cfg.*,tshock.world.*,tshock.item.spawn,tshock.heal",
"Chat Color": [255, 255, 255],
"Prefix": null,
"Suffix": null
}
}
}Usage Tips
- Automatic Loading: The plugin loads groups from the configuration file when the server starts.
- Reload On-the-Fly: Use the
/reloadcommand to apply changes without restarting the server.
License
This project is licensed under the MIT License. By contributing, you agree that your contributions will be licensed under the MIT License.
Thank you for using GroupConfig Plugin! If you encounter any issues or have feedback, please open an issue on our GitHub repository.