Commit graph

12 commits

Author SHA1 Message Date
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 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 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