Skip to content

Releases: KeyouXZ/Group-Config

v1.0.2

Choose a tag to compare

@KeyouXZ KeyouXZ released this 20 Mar 03:13

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.UpdateGroup for handling group updates efficiently.
    • Manual updates are now only performed for superadmin, ensuring its configuration remains intact.

Installation Guide

  1. Download the latest release from the [Release Page]
  2. Place the GroupConfig.dll file into the ServerPlugins folder of your TShock installation.
  3. Restart your TShock server to enable the plugin.

Usage Tips

  • Ensuring Changes Apply: If modifications to groups aren't reflected immediately, try using /reload to refresh the configuration.
  • Superadmin Manual Updates: The superadmin group 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

Choose a tag to compare

@KeyouXZ KeyouXZ released this 04 Jan 11:44

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_").
  • 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.json file.
  • Optimized group-loading logic to maintain server performance and reduce unnecessary operations.

Installation Guide

  1. Download the latest release from the [releases page](https://github.com/KeyouXZ/Group-Config/releases).
  2. Place the GroupConfig.dll file into the ServerPlugins folder of your TShock installation.
  3. 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 Blacklist to exclude matching groups during configuration updates.
  • Reload Configuration: Use the /reload command 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

Choose a tag to compare

@KeyouXZ KeyouXZ released this 01 Jan 04:09

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

  1. Download the latest release from the releases page.
  2. Place the GroupConfig.dll file into the ServerPlugins folder of your TShock installation.
  3. 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 /reload command 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.