3.1.0
- Added Web Server
- Environment Variable: BEDROCK_SERVER_MANAGER_USERNAME
- Required. Plain text username for web UI and API login.
- Environment Variable: BEDROCK_SERVER_MANAGER_PASSWORD
- Required. Hashed password for web UI and API login. Use the generate-password utility.
- Environment Variable: BEDROCK_SERVER_MANAGER_SECRET
- Strongly Recommended (Effectively Required for Web UI). A long, random, secret string. If not set, a temporary key is generated, and web UI sessions will not persist across restarts.
- Environment Variable: BEDROCK_SERVER_MANAGER_TOKEN
- Strongly Recommended. A long, random, secret string (different from _SECRET). If not set, a temporary key is generated, and JWT tokens used for API authentication will become invalid across restarts.
- JWT tokens expire every 4 weeks by default
- Set port in script_config.json : WEB_PORT
- Defaults to 11325
- Its recommended to run this behind a reverse proxy of your choice (NGINX, CADDY, etc etc)
- Uses Waitress WSGI server
- Customizable panorama
- Save any jpeg as panorama.jpeg in ./.config
- Mobile friendly experience
- Environment Variable: BEDROCK_SERVER_MANAGER_USERNAME
- Added generate-password command
- Used to generate a hash to set as the BEDROCK_SERVER_MANAGER_PASSWORD Environment Variable
- Added start-web-server command
- Command Arguments:
- -d | --debug : runs the server in the flask debug server
- Not recommend to use in production
- -m | --mode : direct, detached . Sets which mode to run the server
- direct: Directly runs the web server in the foreground
- detached: Runs the web server in a separate background process
- -H | --host : Which host to listen to
- Defaults to 127.0.0.1
- -d | --debug : runs the server in the flask debug server
- Command Arguments:
- Added stop-web-server command
- Stops a detached web server process
- Removed all related lingering configuration (linux only)
- Refactored cli.py and handlers.py into cli/api modules
- Added more detailed logging throughout code
- Added more detailed docstrings/comments throughout code
- Added html docs which covers the http apis, cli environment, and user guide
- Removed redundant commands
- Added WEB_PORT and TOKEN_EXPIRE_WEEKS to script_config.json
- Added various documentation accessible in the web server
- Added splash text to Main Menu in CLI