Skip to content

Add .env handling for game variables #79

@Exeloo

Description

@Exeloo

Which command is this feature request for?

start

Feature

Add .env and environment handling for game variables.

Ideal solution or implementation

Each variables for the client must be prefixed with NANOFORGE_CLIENT_
Each variables for the server must be prefixed with NANOFORGE_SERVER_

The cli will parse the variables and remove the CLIENT_ and SERVER_ part in the name before put in the env of the loader when started.

Alternative solutions or implementations

No response

Other context

No response

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions