Added SERVER_PATH to .env
This commit is contained in:
parent
dbc82a3bfa
commit
6a80582fbe
2 changed files with 3 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ class Config:
|
|||
data = dotenv_values()
|
||||
MINECRAFTD_PASSWORD: str | None = data.get("MINECRAFTD_PASSWORD")
|
||||
START_COMMAND_FILE: str = data.get("START_COMMAND_FILE") or "start.sh"
|
||||
SERVER_PATH: str = data.get("SERVER_PATH") or "."
|
||||
SERVER_HOST: str = data.get("SERVER_HOST") or "localhost"
|
||||
SERVER_PORT: int = int(data.get("SERVER_PORT") or 25565)
|
||||
SERVER_RCON_PORT: int = int(data.get("SERVER_RCON_PORT") or 25575)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue