Repository navigation
Version 1.0.3: Universal server support and custom language system - #1
Merged
Merged
Conversation
added 4 commits
September 30, 2025 21:10
…овых файлов, улучшен менеджер языков, добавлены GitHub Actions для автоматизированных сборок и релизов, обновлена документация и CHANGELOG.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog:
New Features
Added universal Paper and Spigot server support - single JAR works on both server types with automatic detection
Added custom language file system - users can now create translations for any language beyond English and Russian
Added automatic template.yml creation - translation template is generated on first startup with helpful comments
Added GitHub Actions CI/CD pipeline - automated builds, releases, and quality checks on every commit
Added MessageUtil adapter - intelligent message routing using Paper's Adventure API or Spigot's ChatColor based on server type
Improvements
Enhanced language detection - plugin automatically discovers and loads any custom language files in the lang/ directory
Improved language manager - dynamic loading of .yml language files without validation restrictions
Optimized message system - uses reflection for Paper features while maintaining Spigot compatibility
Updated build configuration - added Spigot repository and bukkit plugin-yml for broader compatibility
Enhanced documentation - added CONTRIBUTING.md, RELEASE_GUIDE.md, and comprehensive README updates
Technical Changes
Removed hard dependency on Paper's Adventure API - now uses reflection for graceful degradation
Created MessageUtil class for cross-platform message compatibility with automatic fallback
Language files no longer restricted to en_EN and ru_RU - accepts any valid language code format (de_DE, fr_FR, es_ES, etc.)
Added three GitHub Actions workflows: build, release, and quality-check for automated deployment
Implemented automatic configuration and language file updates that preserve user customizations
Bug Fixes
Fixed template.yml not being created on plugin initialization
Fixed plugin compatibility issues with Spigot servers
Fixed language file detection to properly ignore template file in custom language list
Migration Notes
Plugin now generates plugin.yml using bukkit specification instead of paper for broader compatibility
Single JAR file works on both Paper 1.21.5+ and Spigot 1.21.5+ without modifications
Existing configurations and custom languages are automatically preserved during updates
Bumped version from 1.0.2 to 1.0.3