Christmas Season

Lightweight Christmas event plugin for Paper and Spigot 1.21 with biome snow, global snowstorms, decoration drops, gifts, elves and snowmen, controlled via the /xmas command, requires Java 21.

File Details

christmas-season-1.4.1.jar

  • R
  • Dec 12, 2025
  • 12.94 MB
  • 113
  • 1.21.11+11

File Name

christmas-season-1.4.1.jar

Supported Versions

  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21
## [1.4.1] - 2025-12-12

### Fixed
- **CRITICAL: Fixed database corruption during biome snapshot save/load**
  - Fixed stream misalignment causing garbled biome names (e.g., "MEADOWMEADOWMEADOW", "SNOWY_SLOPESFROZEN_PEAKS")
  - Fixed MEADOW biomes being incorrectly restored as PLAINS
  - Root cause: `InputStream.read()` can return fewer bytes than requested (partial reads)
  - Solution: Read in loop until all bytes are received to maintain stream alignment
  - Added validation for biome name length (max 50 bytes) to detect corruption early

- **Fixed "Unerwartetes Ende in 3D Biome-Daten!" errors**
  - Stream now properly handles partial reads without losing alignment
  - One corrupted biome no longer corrupts all following biomes (no more domino effect)

### Changed
- Improved error messages for database corruption
  - Clear instructions: `/xmas biome clearsnap` to delete corrupted database
  - Detection of stream misalignment with detailed logging

### Migration Notes
- **Old corrupted databases cannot be repaired** - they must be deleted and recreated
- Steps to migrate:
  1. `/xmas biome clearsnap` - Delete old corrupted database
  2. Restart server
  3. `/xmas on` - Create fresh snapshots with fixed code
  4. `/xmas off` - Test restore functionality
  5. Verify biomes (e.g., MEADOW) are now correctly restored