1.21.1 - ★ Clan Plugin v1 ( Early Beta ) + Api icon

1.21.1 - ★ Clan Plugin v1 ( Early Beta ) + Api -----

The ultimate clan experience for Minecraft 1.21.1 - Now in Early Beta!




ClanSystem Patch Notes – Version 1.23.0
Bug Fixes:
  • Fixed a bug preventing PLAYER_HEAD textures from loading correctly.
----------, Dec 17, 2024

ClanSystem Patch Notes – Version 1.22.9
Changes:
  • Moved database connection settings from config.json to a new file named database.json.
    • The plugin automatically migrates data from config.json to database.json during an update if database settings are present. No manual action is required by users.
New Features:
  • Clan Alliances:
    • Prepared the system for clan alliances.
    • A new database table is created for alliances.
    • PvP between allied clans is automatically disabled if alliances are manually added to the table.
----------, Dec 7, 2024

Bug Fixes:
  • Fixed an issue during startup caused by an incorrect database connection.
  • Fixed an issue during plugin stop caused by an http server close.
Improvements:
  • Adjusted the error message displayed in the console during startup to clarify when the database connection cannot be established.
----------, Nov 29, 2024

Bug Fixes:
  • Fixed the /clan setbase command to ensure it can only be executed by players with Admin permissions or higher.
  • Removed two empty items from the language file that were left over and unnecessary.
Improvements:
  • Moved the text for the /clan setbase command into the language file for better customization.
  • Moved the text for the /clan rewards command into the language file for better customization.
  • Moved the text for the /clan base command into the language file for better customization.
Changes:
  • Removed the /clan contract command from production it is now only available in Debug mode.
    • This command is not yet suitable for production use. Please use the GUI for managing contracts.
----------, Nov 28, 2024

Bug Fixes:
  • Removed a debug message from production that appeared when clicking on "contracts" in the GUI.
New Features:
  • Added new text for the commands /clan rewards and /clan claim <rewardId>.
Update Instructions:
  • After updating the plugin, manually delete the commands.clan.usage entry in the commands.json file, then restart the server.
----------, Nov 26, 2024

## Bug Fixes:
- Fixed an issue where "Generated keys not requested" errors occurred.
----------, Nov 26, 2024

Bug Fixes:
- Fixed an issue that prevented the plugin from creating tables in the database.
----------, Nov 26, 2024

# ClanSystem Patch Notes – Version 1.22.3

## New Features:
- **Contract Rewards:**
- Added contract rewards
- /clan rewards || clan claim <RewardID>

## Changes:
- **Database Update:**
- The database tables need to be deleted manually due to adjustments made for the new RewardSystem.
----------, Nov 25, 2024

ClanSystem Patch Notes – Version 1.22.2
New Features:
  • Contract Inventory:
    • Added a new Contract Inventory to enhance functionality.
  • Contract Manager:
    • Logic for creating, managing, and updating contracts.
    • Method: createInitialContractsForClan generates the first three contracts for a clan.
    • Method: incrementProgress updates contract progress based on player actions (e.g., kills or resource gathering).
    • Method: generateRewardsForContractCompletion generates rewards for all clan members after a contract is completed.
  • Contract Scheduler:
    • Monitors contract deadlines
    • Marks expired contracts as "FAILED."
    • Checks completed contracts and assigns rewards.
    • Dynamically assigns new contracts **12 hours** after completion or failure for clans with completed or failed contracts.
Bug Fixes:
  • Fixed an error in the InventoryClickListener that occurred when the inventory was not available as a file.
Changes:
  • Updated the Main Inventory.
    • Note: The old inventory file must be deleted manually for the changes to take effect.
  • Database Update:
    • The database tables need to be deleted manually due to adjustments made for the new Contract System.
Bug Fixes:
  • Connection-Handling für SQL-Queries:
    • Correctly implemented connection closure to avoid errors like "No operations allowed after connection closed."
  • Foreign-Key-Constraints:
    • Adjusted database tables to ensure all foreign keys are correctly defined.
  • Zeitlogik im Scheduler:
    • Scheduler now accurately processes contracts even when checks occur shortly after 12:00 AM or midnight.
----------, Nov 23, 2024

ClanSystem Patch Notes – Version 1.22.1
New Features:
  • /clan leave Command:
    • Added a new command that allows players to leave their clan.
    • Note: Clan founders cannot leave their clan.
Updates to Language File:
  • Added two new language entries:
    • commands.clan.leave.failure.leader:
      • Default: :prefix: &cYou cannot leave your own clan.
    • commands.clan.leave.success.left:
      • Default: :prefix: &7You left the clan.
----------, Nov 19, 2024

ClanSystem Patch Notes – Version 1.22
New Features:
  • HTTP API Integration:
    • Added a new endpoint to the HTTP API:
      • /v1/plugin/clan/{clan_id}
    • This endpoint allows external requests to retrieve information about a specific clan by its ID.
New Config Settings:
  • settings.api.http.endpoints.clan.info.path
    • Defines the endpoint path for retrieving clan information.
[​IMG]
----------, Nov 18, 2024

ClanSystem Patch Notes – Version 1.21.9
New Features:
  • HTTP API Integration:
    • Introduced an HTTP API using Javalin to allow external requests to the ClanSystem.

    • Responses are returned in JSON format and include rate-limiting for security and performance.
      • Rate Limit: 5 requests per minute, per route, per IP.
    • Javalin will utilize Virtual Threads if running on JDK 21 or higher, improving concurrency and scalability.
New Config Settings:
  • settings.api.http.activated
    • Default: false
    • Enables or disables the HTTP API.
  • settings.api.http.port
    • Default: 8080
    • Specifies the port on which the HTTP API runs.
  • settings.api.http.endpoints.player.info.path
    • Default: /v1/plugin/player/{uuid}
    • Defines the endpoint path for retrieving player information.
----------, Nov 18, 2024

ClanSystem Patch Notes – Version 1.21.8
New Features:
  • /clan delete Command:
    • Added a command that allows a clan owner to delete their clan.

    • A new config value determines the maximum number of members a clan can have for the owner to delete it.
      • Default: 1
    • This ensures larger clans cannot be deleted without meeting the member limit condition.
Changes:
  • Changed the default clan tag from MiniMessage format to a standard format.
  • Replaced the .zip file with a .jar file. Inventories are now fully integrated into the system, making them independent of external files.
Improvements:
  • Added a check to the /clan setbase and /clan base commands to verify whether the user is in a clan before execution.
----------, Nov 17, 2024

ClanSystem Patch Notes – Version 1.21.7
New Features:
  • Webhook Integration for Clan Creation:
    • Added a webhook that triggers when clans are created.

    • This feature is disabled by default but can be configured under:
      • settings.defaults.webhooks.clancreate.*
    • For existing users, the config.yml will automatically update with the default values, keeping the feature disabled.

    • In the webhook text, the following placeholders are available:
      • %nl% - Inserts a new line.
      • %clan_name% - Displays the name of the newly created clan.
Improvements:
  • Removed unused code to improve maintainability and reduce clutter.
Upcoming Features:
  • /clan delete Command:
    • A new command to delete clans will be added in the next update.
----------, Nov 17, 2024

ClanSystem Patch Notes – Version 1.21.6
New Features:
  • Webhook Integration:
    • Webhook functionality has been added but is not yet configurable.
    • Configuration options for webhooks will be available in the next update.
Changes:
  • Removed remaining broadcast messages from production.
    • Broadcasts will now only appear when debug mode is enabled.
Improvements:
  • Optimized the code and removed unused code to improve performance and maintainability.
----------, Nov 17, 2024


ClanSystem Patch Notes – Version 1.21.5
New Features:
  • /clan base Command:
    • Players will now be teleported within 3 seconds if they don't move after using the command.

    • The teleport delay can be customized in the config.yml under:
      • settings.defaults.clan.base_command.teleport_seconds
    • New Permission:
      • system.commands.base.fasttp:
        • Grants the ability to skip the 3-second teleport delay when using the /clan base command.
----------, Nov 16, 2024

ClanSystem Patch Notes – Version 1.21.4
New Features:
  • Made texts translatable for the following sub-commands:
    • /clan create
    • /clan invite
    • /clan kick
    • /clan members
    • /clan stats
    • Plus a few other items for better localization support.
----------, Nov 16, 2024

ClanSystem Patch Notes – Version 1.21.3
New Features:
  • Settings Inventory:
    • The placeholder item in the top-left corner has been completed.
    • It now displays:
      • The clan owner's name.
      • The number of clan members.
    • Note: To apply this change, you need to replace the inventory file for Admin Settings.
Bug Fixes:
  • Fixed an issue in the settings menu where clicking outside the screen caused unexpected behavior.
----------, Nov 16, 2024

ClanSystem Patch Notes – Version 1.21.2
Bug Fixes:
  • /clan ri
    • Fixed an issue where items were not placed in the inventory, and only the chest name was updated.
----------, Nov 16, 2024

ClanSystem Patch Notes – Version 1.21.1
New Features:
  • Command: /clan ri <filename>
    • Loads an inventory from the folder plugins/ClanSystem/inventories/saver using the specified filename.
    • The next chest you click will be filled with the inventory items, allowing you to edit the inventory directly.
    • Save the edited inventory again using /clan si <filename>.
Quality of Life Improvements:
  • Command: /clan si <filename>
    • If the specified filename already exists, you will be asked if the file should be overwritten. Simply confirm by typing yes in the chat.
PlaceholderAPI Integration:
  • %clansystem_member_rank%: Displays the clan rank of a member.
  • %clansystem_tag%: Displays the clan tag.
Changes:
  • Updated the grid name in the main inventory to improve user experience and provide clearer labeling.
    • Note: :rotating_light: You will need to manually replace the file for this change to take effect.
----------, Nov 16, 2024

Added missing invs.
----------, Nov 15, 2024

Resource Information
Author:
----------
Total Downloads: 1,006
First Release: Nov 15, 2024
Last Update: Dec 17, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings