Commit graph

17 commits

Author SHA1 Message Date
kuwacom 49f41b8bce add: add nlohmann/json json lib 2026-03-08 01:08:23 +09:00
kuwacom 71cd0d3630 update: add note about issue 2026-03-07 20:24:10 +09:00
kuwacom 891052e208 add: create Minecraft.Server developer guide in English and Japanese 2026-03-07 20:18:35 +09:00
kuwacom 35f81c6e4f update: converted Japanese comments to English 2026-03-07 20:12:17 +09:00
kuwacom fa09e28572 add: implement StringUtils for string manipulation and refactor usages
Unified the scattered utility functions.
2026-03-07 17:39:37 +09:00
kuwacom 5f118ca6a4 update: enhance command line completion with predictive hints
Like most command line tools, it highlights predictions in gray.
2026-03-07 16:56:56 +09:00
kuwacom 965a859b40 add: add implementing interactive command line using linenoise
- Integrated linenoise library for line editing and completion in the server console.
- Updated ServerLogger to handle external writes safely during logging.
- Modified ServerMain to initialize and manage the ServerCli for command input.
- The implementation is separate from everything else, so it doesn't affect anything else.
- The command input section and execution section are separated into threads.
2026-03-07 16:48:58 +09:00
kuwacom 9e4052ece5 update: add LAN advertising configuration for server.properties
LAN-Discovery, which isn’t needed in server mode and could potentially be a security risk, has also been disabled(only server mode).
2026-03-07 11:51:38 +09:00
kuwacom 31bfb7e428 update: add basically all configuration options that are implemented in the classes to server.properties 2026-03-07 01:21:04 +09:00
kuwacom b8d62896dd fix: add initial save for newly created worlds in dedicated server
on the server side, I fixed the behavior introduced after commit aadb511, where newly created worlds are intentionally not saved to disk immediately.
2026-03-06 21:55:00 +09:00
kuwacom 392dfdad1f update: changed the virtual screen to 720p
Since the crash caused by the 720p `skinHud.swf` not being included in `MediaWindows64.arc` has been resolved, switching back to 720p to reduce resource usage.
2026-03-06 19:13:41 +09:00
kuwacom b4eb98e4e2 fix: dedicated server build settings for miniaudio migration and missing sources
- remove stale Windows64 Miles (mss64) link/copy references from server build
- add Common/Filesystem/Filesystem.cpp to Minecraft.Server.vcxproj
- add Windows64/PostProcesser.cpp to Minecraft.Server.vcxproj
- fix unresolved externals (PostProcesser::*, FileExists) in dedicated server build
2026-03-06 18:45:50 +09:00
kuwacom 7cb41782c1 fix: change virtual screen resolution to 1920x1080(HD)
Since 31881af56936aeef38ff322b975fd0 , `skinHud.swf` for 720 is not included in `MediaWindows64.arc`,
the app crashes unless the virtual screen is set to HD.
2026-03-05 10:00:19 +09:00
kuwacom 965676f495 update: update keyboard and mouse input initialization 1dc8a005ed 2026-03-05 09:38:18 +09:00
kuwacom 1d9dccb7bd update: implement enhanced logging functionality with configurable log levels 2026-03-05 07:43:37 +09:00
kuwacom 6d44e40b4e add: refactor world loader & add server properties
- Introduced ServerLogger for logging startup steps and world I/O operations.
- Implemented ServerProperties for loading and saving server configuration from `server.properties`.
- Added WorldManager to handle world loading and creation based on server properties.
- Updated ServerMain to integrate server properties loading and world management.
- Enhanced project files to include new source and header files for the server components.
2026-03-05 07:31:49 +09:00
kuwacom e4c8229e52 add: Dedicated Server implementation
- Introduced `ServerMain.cpp` for the dedicated server logic, handling command-line arguments, server initialization, and network management.
- Created `postbuild_server.ps1` script for post-build tasks, including copying necessary resources and DLLs for the dedicated server.
- Added `CopyServerAssets.cmake` to manage the copying of server assets during the build process, ensuring required files are available for the dedicated server.
- Defined project filters in `Minecraft.Server.vcxproj.filters` for better organization of server-related files.
2026-03-04 18:12:26 +09:00