mcman run
See here for more info
Supports the same arguments as mcman build
Builds the server and runs it. This is kind of the same as running mcman build && cd server && start
mcman run --test
You can use the --test
option to test if your server works. mcman will build and run the server and see if it fully starts up. If it crashes, stops, or doesnt succeed, mcman will report the issue and exit with code 1
.
If options.upload_to_mclogs
is true
in server.toml
, mcman will upload latest.log
and the crash log (if it crashed) to mclo.gs and print the URL to the console.
You can use CI/CD to test if your server works. For example, this is a github workflow that tests if the BlanketCon 23 server boots up successfully.
mcman's criteria for a "successful boot" is this line: