Skip to content

Resourceloader 2.2

Choose a tag to compare

@DefectiveVortex DefectiveVortex released this 13 Jul 17:45
· 2 commits to main since this release

Resource Pack Validation System

  • Added /checkpack <packname> command for comprehensive pack validation
  • Validates pack structure, JSON files, and texture references
  • Checks pack.mcmeta format and compatibility with server version
  • Provides detailed error reports and warnings
  • Supports both local and URL-based pack validation

Performance Optimizations

  • Implemented SHA1 hash caching system to prevent redundant downloads
  • Added automatic cache cleanup with configurable retention periods
  • Optimized pack serving with reduced memory footprint
  • Enhanced file system event batching to reduce server load

Improved Pack Merging

  • Enhanced JSON merging with intelligent handling of model files and blockstates
  • Automatic pack format detection and compatibility adjustment
  • Better conflict resolution for duplicate textures and assets
  • Improved metadata preservation during merge operations

File System Operations

  • Resolved recursive renaming loops and duplicate notifications
  • Fixed file watcher to properly batch events and prevent spam
  • Added processing locks and delays to handle rapid file system changes
  • Improved file operation error handling and recovery

Monitoring and Statistics

  • Added pack usage tracking and performance metrics
  • Implemented player preference history with configurable limits
  • Enhanced cache statistics and monitoring capabilities
  • Improved validation result reporting with formatted output

Security and Stability

  • Added input sanitization for pack names and file paths
  • Enhanced permission validation throughout command execution
  • Implemented safer file operations with atomic writes where possible
  • Improved configuration protection against corruption