@minecraft-docker/mcctl 1.6.11 → 1.6.13

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 +81 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -5,6 +5,87 @@ 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.13] - 2026-01-31
9
+
10
+ ### Fixed
11
+ - Sync CHANGELOG.md to CLI package for npm page display
12
+ - Add automatic CHANGELOG sync to release workflow
13
+
14
+ ## [1.6.12] - 2026-01-31
15
+
16
+ ### Fixed
17
+ - **Critical**: Add missing `EXTRA_ARGS=--universe /worlds/` to npm package template (#165)
18
+ - **Problem**: Servers created with `mcctl create` stored worlds in `/data/` instead of shared `/worlds/` directory
19
+ - **Impact**: Shared world storage feature was non-functional; worlds were recreated on server restart
20
+ - **Affected versions**: 1.6.8 ~ 1.6.11 (npm package users only)
21
+
22
+ ### Migration Guide for Affected Users
23
+
24
+ If you created servers with mcctl versions 1.6.8 ~ 1.6.11, follow these steps:
25
+
26
+ #### Option 1: Use Migration Command (Recommended)
27
+
28
+ ```bash
29
+ # Check which servers need migration
30
+ mcctl migrate status
31
+
32
+ # Migrate all servers (moves world data and updates config)
33
+ mcctl migrate worlds --all
34
+
35
+ # Or migrate specific server
36
+ mcctl migrate worlds myserver
37
+ ```
38
+
39
+ #### Option 2: Manual Fix
40
+
41
+ **Step 1**: Add `EXTRA_ARGS` to server's config.env:
42
+
43
+ ```bash
44
+ # For each affected server
45
+ echo 'EXTRA_ARGS=--universe /worlds/' >> ~/minecraft-servers/servers/<server-name>/config.env
46
+ ```
47
+
48
+ Or add to global `.env` (applies to all servers):
49
+
50
+ ```bash
51
+ echo 'EXTRA_ARGS=--universe /worlds/' >> ~/minecraft-servers/.env
52
+ ```
53
+
54
+ **Step 2**: Move existing world data:
55
+
56
+ ```bash
57
+ cd ~/minecraft-servers
58
+
59
+ # Stop server first
60
+ mcctl stop <server-name>
61
+
62
+ # Move world from data/ to worlds/
63
+ mv servers/<server-name>/data/<level-name> worlds/<level-name>
64
+
65
+ # Start server
66
+ mcctl start <server-name>
67
+ ```
68
+
69
+ **Step 3**: Verify world is loading correctly:
70
+
71
+ ```bash
72
+ mcctl logs <server-name> -f
73
+ # Should NOT see "No existing world data, creating new world"
74
+ ```
75
+
76
+ #### How to Check if Affected
77
+
78
+ Your server is affected if:
79
+
80
+ 1. Created with `mcctl create` (versions 1.6.8 ~ 1.6.11)
81
+ 2. World data exists in `servers/<name>/data/<world>/` instead of `worlds/<world>/`
82
+ 3. Server logs show "No existing world data, creating new world" on restart
83
+
84
+ ```bash
85
+ # Quick check: If this shows world folders, you're affected
86
+ ls ~/minecraft-servers/servers/*/data/*/level.dat 2>/dev/null
87
+ ```
88
+
8
89
  ## [1.6.11] - 2026-01-31
9
90
 
10
91
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft-docker/mcctl",
3
- "version": "1.6.11",
3
+ "version": "1.6.13",
4
4
  "description": "CLI tool for managing Docker Minecraft servers with mc-router",
5
5
  "type": "module",
6
6
  "bin": {
@@ -51,7 +51,7 @@
51
51
  "dependencies": {
52
52
  "@clack/prompts": "^0.8.0",
53
53
  "@minecraft-docker/mod-source-modrinth": "^1.0.0",
54
- "@minecraft-docker/shared": "^1.6.11",
54
+ "@minecraft-docker/shared": "^1.6.13",
55
55
  "commander": "^12.0.0",
56
56
  "js-yaml": "^4.1.0",
57
57
  "picocolors": "^1.1.0",