Repository navigation
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.