@minecraft-docker/mcctl 2.4.1 → 2.6.0
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.
- package/CHANGELOG.md +36 -0
- package/README.md +13 -8
- package/package.json +3 -3
- package/scripts/create-server.sh +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,42 @@ 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
|
+
## [2.6.0] - 2026-02-17
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **Console Server Properties Full UI** - Complete server configuration management with 6 sections and ~40 fields using Progressive Disclosure pattern (#365, #366)
|
|
12
|
+
- General section: server name, MOTD, max players, difficulty, game mode, hardcore
|
|
13
|
+
- World section: level name, seed, level type, world generation settings
|
|
14
|
+
- Performance section: view distance, simulation distance, max tick time, network compression
|
|
15
|
+
- Network section: server port, enable query, enable RCON, connection settings
|
|
16
|
+
- Advanced section: spawn protection, max world size, entity limits, function permission level
|
|
17
|
+
- Operators section: enforce whitelist, enforce secure profile, OP permission level
|
|
18
|
+
- Collapsible sections with Progressive Disclosure for reduced cognitive load
|
|
19
|
+
- Real-time config updates via ConfigService REST API
|
|
20
|
+
|
|
21
|
+
### Tests
|
|
22
|
+
- **ConfigService Field Tests** - Add 22 unit tests for new ConfigService fields and 6 API integration tests (#367, #368)
|
|
23
|
+
- Full coverage for all ~40 config fields across 6 sections
|
|
24
|
+
- GET/PUT API endpoint tests for server configuration
|
|
25
|
+
|
|
26
|
+
## [2.5.0] - 2026-02-17
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
- **Console Security Settings UI** - Online Mode and Whitelist settings in server detail page (#357, #358, #362)
|
|
30
|
+
- Toggle Online Mode on/off with safety confirmation dialog
|
|
31
|
+
- Toggle Whitelist on/off directly from server settings
|
|
32
|
+
- Real-time config updates via REST API
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
- **API Memory Parameter** - Pass `--memory` parameter to `create-server.sh` when creating servers via REST API (#356, #360)
|
|
36
|
+
- **Console Player List Field** - Align player list field name (`players` to `list`) with backend API response format (#359, #361)
|
|
37
|
+
- **API Whitelist Remove RCON Fallback** - Detect RCON error in whitelist remove and fall back to direct file editing (#363, #364)
|
|
38
|
+
- RCON `whitelist remove` sometimes fails silently; now detects error response and edits whitelist.json directly
|
|
39
|
+
|
|
40
|
+
### Infrastructure
|
|
41
|
+
- **Scripts**: Add `--memory` option support to `create-server.sh`
|
|
42
|
+
- **Template**: Add `ONLINE_MODE` section to server `config.env` template
|
|
43
|
+
|
|
8
44
|
## [2.4.1] - 2026-02-14
|
|
9
45
|
|
|
10
46
|
### Fixed
|
package/README.md
CHANGED
|
@@ -77,22 +77,27 @@ mcctl logs myserver
|
|
|
77
77
|
|
|
78
78
|
## Changelog
|
|
79
79
|
|
|
80
|
+
### v2.6.0 (2026-02-17)
|
|
81
|
+
- **feat(console)**: Server Properties Full UI - 6 sections, ~40 fields with Progressive Disclosure (#365, #366)
|
|
82
|
+
- **test(api)**: Add 22 ConfigService tests + 6 API integration tests (#367, #368)
|
|
83
|
+
|
|
84
|
+
### v2.5.0 (2026-02-17)
|
|
85
|
+
- **feat(console)**: Add Online Mode and Whitelist security settings UI (#357, #358, #362)
|
|
86
|
+
- **fix(api)**: Pass memory parameter to create-server.sh (#356, #360)
|
|
87
|
+
- **fix(console)**: Align player list field name with backend (#359, #361)
|
|
88
|
+
- **fix(api)**: Detect RCON error in whitelist remove and fall back to file (#363, #364)
|
|
89
|
+
|
|
90
|
+
### v2.4.1 (2026-02-14)
|
|
91
|
+
- **fix(ci)**: Fix mcctl-api npm publish missing workspace replacement for mod-source-modrinth
|
|
92
|
+
|
|
80
93
|
### v2.4.0 (2026-02-14)
|
|
81
94
|
- **feat(cli)**: Add `mcctl upgrade` command for upgrading mcctl and all services (#326, #355)
|
|
82
95
|
- **feat(cli)**: Add creeper ASCII banner with version check on `mcctl init` (#353, #354)
|
|
83
96
|
- **feat(console)**: Implement Mods tab functionality (#351, #352)
|
|
84
|
-
- **refactor(console)**: Rename 'Content' tab to 'Mods' in server detail page (#349, #350)
|
|
85
97
|
- **feat(cli)**: Add `mcctl playit domain` subcommand (#347, #348)
|
|
86
|
-
- **docs**: Update documentation for v2.4.0 with upgrade command and playit.gg guides
|
|
87
|
-
|
|
88
|
-
### v2.3.5 (2026-02-12)
|
|
89
|
-
- **fix(shared)**: Use correct container name `playit-agent` in `getPlayitAgentStatus()` (#345, #346)
|
|
90
|
-
- **fix(console)**: Add error feedback for playit start/stop actions (#343)
|
|
91
|
-
- **fix(console)**: Improve playit section header layout and server domains display (#343, #344)
|
|
92
98
|
|
|
93
99
|
### v2.3.0 (2026-02-12) - External Play (playit.gg)
|
|
94
100
|
- **feat(cli)**: Add `mcctl playit` subcommand - start/stop/status/setup (#273, #331)
|
|
95
|
-
- **feat(cli)**: Add playit.gg setup option to `mcctl init` (#271, #329)
|
|
96
101
|
- **feat(api)**: Add playit.gg status and control API endpoints (#292, #332)
|
|
97
102
|
- **feat(console)**: Add playit.gg external access UI (#274, #333)
|
|
98
103
|
- **feat(api)**: Add comprehensive audit logging to all mutating routes (#324, #325)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft-docker/mcctl",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "CLI tool for managing Docker Minecraft servers with mc-router",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
],
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@clack/prompts": "^0.8.0",
|
|
58
|
-
"@minecraft-docker/mod-source-modrinth": "^2.
|
|
59
|
-
"@minecraft-docker/shared": "^2.
|
|
58
|
+
"@minecraft-docker/mod-source-modrinth": "^2.6.0",
|
|
59
|
+
"@minecraft-docker/shared": "^2.6.0",
|
|
60
60
|
"better-sqlite3": "^12.6.2",
|
|
61
61
|
"commander": "^12.0.0",
|
|
62
62
|
"js-yaml": "^4.1.0",
|
package/scripts/create-server.sh
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
# --modpack SLUG Modpack slug (required for MODRINTH/AUTO_CURSEFORGE)
|
|
22
22
|
# --modpack-version VER Modpack version (optional)
|
|
23
23
|
# --mod-loader LOADER Mod loader: fabric, forge, neoforge, quilt (optional)
|
|
24
|
+
# -m, --memory SIZE Memory allocation (e.g., 1G, 2G, 4G)
|
|
24
25
|
# --no-whitelist Disable whitelist (whitelist is enabled by default)
|
|
25
26
|
# --whitelist PLAYERS Initial whitelist players (comma-separated)
|
|
26
27
|
# --no-start Don't start the server after creation
|
|
@@ -261,6 +262,7 @@ show_usage() {
|
|
|
261
262
|
echo " --modpack SLUG Modpack slug (required for MODRINTH/AUTO_CURSEFORGE)"
|
|
262
263
|
echo " --modpack-version VER Modpack version (optional)"
|
|
263
264
|
echo " --mod-loader LOADER Mod loader: fabric, forge, neoforge, quilt (optional)"
|
|
265
|
+
echo " -m, --memory SIZE Memory allocation (e.g., 1G, 2G, 4G)"
|
|
264
266
|
echo " --no-whitelist Disable whitelist (whitelist is enabled by default)"
|
|
265
267
|
echo " --whitelist PLAYERS Initial whitelist players (comma-separated)"
|
|
266
268
|
echo " --no-start Don't start the server after creation"
|
|
@@ -328,6 +330,10 @@ while [[ $# -gt 0 ]]; do
|
|
|
328
330
|
MOD_LOADER="$2"
|
|
329
331
|
shift 2
|
|
330
332
|
;;
|
|
333
|
+
-m|--memory)
|
|
334
|
+
MEMORY_SIZE="$2"
|
|
335
|
+
shift 2
|
|
336
|
+
;;
|
|
331
337
|
--no-whitelist)
|
|
332
338
|
ENABLE_WHITELIST="false"
|
|
333
339
|
shift
|
|
@@ -474,6 +480,12 @@ if [ -f "$CONFIG_FILE" ]; then
|
|
|
474
480
|
sed -i "s/^LEVEL=.*/LEVEL=$SERVER_NAME/" "$CONFIG_FILE"
|
|
475
481
|
echo " World directory: worlds/$SERVER_NAME"
|
|
476
482
|
|
|
483
|
+
# Apply memory if specified
|
|
484
|
+
if [ -n "$MEMORY_SIZE" ]; then
|
|
485
|
+
sed -i "s/^MEMORY=.*/MEMORY=$MEMORY_SIZE/" "$CONFIG_FILE"
|
|
486
|
+
echo " Memory: $MEMORY_SIZE"
|
|
487
|
+
fi
|
|
488
|
+
|
|
477
489
|
# Apply version if specified
|
|
478
490
|
if [ -n "$MC_VERSION" ]; then
|
|
479
491
|
sed -i "s/^VERSION=.*/VERSION=$MC_VERSION/" "$CONFIG_FILE"
|