Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for GabrielSyay

Professional integration between platforms, freedom of configuration, keep your community active!

Report BotMotherDiscord?

Release
1.2.1

GabrielSyay released BotMotherDiscord version 1.2.1 on December 4, 2025

Bot Mother DC - Release Notes

Version 1.2.1 - Stability & Auto-Recovery Update

Release Date: December 4, 2025

Overview

This update focuses on stability improvements, configuration auto-recovery, and fixes for the cryptocurrency payment system. Existing server installations will now automatically recover from corrupted configuration files.


New Features

Configuration Auto-Recovery System

The plugin now automatically detects and recovers corrupted configuration files.

How it works:

  • On startup, plugin validates all YAML configuration files
  • If a corrupted file is detected, it's automatically backed up (.backup extension)
  • The corrupted file is replaced with the correct default version
  • New configuration keys are automatically merged into existing files

Affected files:

  • All language files (languages/*.yml)
  • All config files (configs/*.yml)

Console output examples:

[Bot Mother DC] Backed up corrupted language file to: pt_br.yml.backup
[Bot Mother DC] Replaced corrupted language file: pt_br.yml
[Bot Mother DC] Updated language file with new keys: en.yml

Configuration Auto-Update System

Existing configuration files are now automatically updated with new keys from updates:

  • LanguageManager - Auto-merges new translation keys
  • ConfigManager - Auto-merges new config options
  • CryptoConfigManager - Auto-merges crypto settings
  • StripeConfigManager - Auto-merges Stripe settings
  • PositionsConfigManager - Auto-merges position settings
  • NormsConfigManager - Auto-merges moderation settings
  • ChatConfigManager - Auto-merges chat settings

Bug Fixes

Shop System

  • Fixed shop and Config-Shop only appearing when Stripe was configured
  • Shop now works correctly with crypto-only mode (payment-mode: crypto)

Language Files

  • Fixed YAML syntax error in pt_br.yml that caused plugin startup failure
  • Added missing translation keys to en.yml
  • Fixed orphan text lines causing YAML parsing errors

Cryptocurrency System

  • Added sender wallet address verification modal
  • Fixed session expiration handling
  • Improved error messages for invalid wallet addresses

Changes

Updated Files

File Changes
LanguageManager.java Auto-recovery and auto-update for language files
ConfigManager.java Auto-update for main config
CryptoConfigManager.java Auto-update for crypto config
StripeConfigManager.java Auto-update for Stripe config
PositionsConfigManager.java Auto-update for positions config
NormsConfigManager.java Auto-update for norms config
ChatConfigManager.java Auto-update for chat config
ShopChannelManager.java Fixed crypto-only mode support
languages/pt_br.yml Fixed YAML syntax errors
languages/en.yml Added missing translation keys

Technical Details

Auto-Recovery Algorithm

// 1. Try to load existing config
try {
    existingConfig = YamlConfiguration.loadConfiguration(file);
} catch (Exception e) {
    isCorrupted = true;
}

// 2. If corrupted, backup and replace
if (isCorrupted) {
    Files.copy(file.toPath(), backupFile.toPath(), REPLACE_EXISTING);
    file.delete();
    plugin.saveResource("languages/" + lang + ".yml", true);
}

// 3. If valid, merge new keys
for (String key : defaultConfig.getKeys(true)) {
    if (!existingConfig.contains(key)) {
        existingConfig.set(key, defaultConfig.get(key));
    }
}

Upgrade Notes

For Server Administrators

No action required! Simply replace the old JAR with the new one.

  • Corrupted files will be automatically fixed
  • Old configurations will be backed up before replacement
  • New configuration options will be merged automatically
  • Existing customizations are preserved where possible

Breaking Changes

None. This is a fully backwards-compatible update.


Compatibility

  • Minecraft: 1.17.x - 1.21.x
  • Server: Spigot, Paper, Purpur
  • Java: 17+

Previous Versions

Version 1.1.0 (December 3, 2025)

  • Cryptocurrency payment system
  • Support for 7 blockchain networks
  • Real-time price conversion
  • Payment mode configuration

Version 1.0.0 (December 2, 2025)

  • Initial release with all core features
  • Account synchronization
  • Ticket support system
  • VoIP voice channels
  • Shop with Stripe integration
  • Chat bridge
  • Content moderation
  • CAPTCHA verification
  • Staff role system

Thank you for using Bot Mother DC!

Information

Published onDecember 4, 2025
Downloads4

Platforms

Paper Paper (1.17-1.21.10)