Commit graph

7 commits

Author SHA1 Message Date
kuwacom 20c2e4653a add: add new CLI Console Commands for Dedicated Server
Most of these commands are executed using the command dispatcher implemented on the `Minecraft.World` side. When registering them with the dispatcher, the sender uses a permission-enabled configuration that treats the CLI as a player.

- default game.
- enchant
- experience.
- give
- kill(currently, getting a permission error for some reason)
- time
- weather.
- update tp & gamemode command
2026-03-14 00:55:30 +09:00
kuwacom 26dc63af6b refactor: refactor command path structure
As the number of commands has increased and become harder to navigate, each command has been organized into separate folders.
2026-03-13 00:14:20 +09:00
kuwacom cfa0a7de7f add: add Whitelist to Dedicated Server 2026-03-11 17:16:36 +09:00
kuwacom 590241c5ef fix: fix stop command shutdown process
add dedicated server shutdown request handling
2026-03-08 18:23:29 +09:00
kuwacom 8b68b81ffa add: add ban and pardon commands for Player and IP 2026-03-08 17:14:14 +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