@minecraft-docker/mcctl 1.6.12 → 1.6.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +90 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -5,6 +5,96 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.6.14] - 2026-01-31
9
+
10
+ ### Fixed
11
+ - Sync all package versions to tag version before npm publish
12
+ - CI workflow now automatically updates all monorepo package versions to match Git tag
13
+
14
+ ### Changed
15
+ - Split CLAUDE.md into modular files for better performance
16
+
17
+ ## [1.6.13] - 2026-01-31
18
+
19
+ ### Fixed
20
+ - Sync CHANGELOG.md to CLI package for npm page display
21
+ - Add automatic CHANGELOG sync to release workflow
22
+
23
+ ## [1.6.12] - 2026-01-31
24
+
25
+ ### Fixed
26
+ - **Critical**: Add missing `EXTRA_ARGS=--universe /worlds/` to npm package template (#165)
27
+ - **Problem**: Servers created with `mcctl create` stored worlds in `/data/` instead of shared `/worlds/` directory
28
+ - **Impact**: Shared world storage feature was non-functional; worlds were recreated on server restart
29
+ - **Affected versions**: 1.6.8 ~ 1.6.11 (npm package users only)
30
+
31
+ ### Migration Guide for Affected Users
32
+
33
+ If you created servers with mcctl versions 1.6.8 ~ 1.6.11, follow these steps:
34
+
35
+ #### Option 1: Use Migration Command (Recommended)
36
+
37
+ ```bash
38
+ # Check which servers need migration
39
+ mcctl migrate status
40
+
41
+ # Migrate all servers (moves world data and updates config)
42
+ mcctl migrate worlds --all
43
+
44
+ # Or migrate specific server
45
+ mcctl migrate worlds myserver
46
+ ```
47
+
48
+ #### Option 2: Manual Fix
49
+
50
+ **Step 1**: Add `EXTRA_ARGS` to server's config.env:
51
+
52
+ ```bash
53
+ # For each affected server
54
+ echo 'EXTRA_ARGS=--universe /worlds/' >> ~/minecraft-servers/servers/<server-name>/config.env
55
+ ```
56
+
57
+ Or add to global `.env` (applies to all servers):
58
+
59
+ ```bash
60
+ echo 'EXTRA_ARGS=--universe /worlds/' >> ~/minecraft-servers/.env
61
+ ```
62
+
63
+ **Step 2**: Move existing world data:
64
+
65
+ ```bash
66
+ cd ~/minecraft-servers
67
+
68
+ # Stop server first
69
+ mcctl stop <server-name>
70
+
71
+ # Move world from data/ to worlds/
72
+ mv servers/<server-name>/data/<level-name> worlds/<level-name>
73
+
74
+ # Start server
75
+ mcctl start <server-name>
76
+ ```
77
+
78
+ **Step 3**: Verify world is loading correctly:
79
+
80
+ ```bash
81
+ mcctl logs <server-name> -f
82
+ # Should NOT see "No existing world data, creating new world"
83
+ ```
84
+
85
+ #### How to Check if Affected
86
+
87
+ Your server is affected if:
88
+
89
+ 1. Created with `mcctl create` (versions 1.6.8 ~ 1.6.11)
90
+ 2. World data exists in `servers/<name>/data/<world>/` instead of `worlds/<world>/`
91
+ 3. Server logs show "No existing world data, creating new world" on restart
92
+
93
+ ```bash
94
+ # Quick check: If this shows world folders, you're affected
95
+ ls ~/minecraft-servers/servers/*/data/*/level.dat 2>/dev/null
96
+ ```
97
+
8
98
  ## [1.6.11] - 2026-01-31
9
99
 
10
100
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft-docker/mcctl",
3
- "version": "1.6.12",
3
+ "version": "1.6.14",
4
4
  "description": "CLI tool for managing Docker Minecraft servers with mc-router",
5
5
  "type": "module",
6
6
  "bin": {
@@ -50,8 +50,8 @@
50
50
  ],
51
51
  "dependencies": {
52
52
  "@clack/prompts": "^0.8.0",
53
- "@minecraft-docker/mod-source-modrinth": "^1.0.0",
54
- "@minecraft-docker/shared": "^1.6.12",
53
+ "@minecraft-docker/mod-source-modrinth": "^1.6.14",
54
+ "@minecraft-docker/shared": "^1.6.14",
55
55
  "commander": "^12.0.0",
56
56
  "js-yaml": "^4.1.0",
57
57
  "picocolors": "^1.1.0",