Expand description
The serversβs entrypoint file.
ModulesΒ§
- args π
- commands π
- config π
- This module is the interface between the server.properties file. Querying for server settings.
- consts π
- This module is where we store constants, like filepaths or the the version of the current Minecraft version that the server is implementing.
- fs_
manager π - greetings π
- handlers π
- logging π
- net π
- This module manages the TCP server and how/where the packets are managed/sent.
- player π
- shutdown π
- time π
EnumsΒ§
- Exit
Code - Enum representing standardized server exit codes.
ConstantsΒ§
FunctionsΒ§
- early_
init π - Logic that must executes as early as possibe
- gracefully_
exit - Gracefully exits the server with an exit code.
- init π
- Essential server initialization logic.
- main π
- start π
- Starts up the server.
- test π
- A test fonction thatβll only run in debug-mode. (cargo run) and not (cargo run βrelease)