Rebrand project and refresh title presentation
This commit is contained in:
parent
17fef2c5d4
commit
7ae20789a9
138 changed files with 1511 additions and 1498 deletions
|
|
@ -1,7 +1,7 @@
|
|||
class_name DedicatedServerConfig
|
||||
extends RefCounted
|
||||
|
||||
const DEFAULT_NAME: String = "NETfishing Dedicated Server"
|
||||
const DEFAULT_NAME: String = "straywild Dedicated Server"
|
||||
const DEFAULT_BIND_ADDRESS: String = "*"
|
||||
const DEFAULT_PORT: int = 7777
|
||||
const DEFAULT_MAX_PLAYERS: int = 8
|
||||
|
|
@ -32,7 +32,7 @@ static func from_runtime() -> DedicatedServerConfig:
|
|||
"network/discovery/base_url", ""
|
||||
)).strip_edges()
|
||||
var config_path: String = OS.get_environment(
|
||||
"NETFISHING_SERVER_CONFIG"
|
||||
"straywild_SERVER_CONFIG"
|
||||
).strip_edges()
|
||||
for argument: String in OS.get_cmdline_user_args():
|
||||
if argument.begins_with("--config="):
|
||||
|
|
@ -87,36 +87,36 @@ func _load_file(path: String) -> bool:
|
|||
|
||||
func _apply_environment() -> void:
|
||||
server_name = _environment_string(
|
||||
"NETFISHING_SERVER_NAME", server_name
|
||||
"straywild_SERVER_NAME", server_name
|
||||
)
|
||||
bind_address = _environment_string(
|
||||
"NETFISHING_SERVER_BIND", bind_address
|
||||
"straywild_SERVER_BIND", bind_address
|
||||
)
|
||||
port = _environment_int("NETFISHING_SERVER_PORT", port)
|
||||
port = _environment_int("straywild_SERVER_PORT", port)
|
||||
max_players = _environment_int(
|
||||
"NETFISHING_SERVER_MAX_PLAYERS", max_players
|
||||
"straywild_SERVER_MAX_PLAYERS", max_players
|
||||
)
|
||||
world_seed = _environment_int(
|
||||
"NETFISHING_WORLD_SEED", world_seed
|
||||
"straywild_WORLD_SEED", world_seed
|
||||
)
|
||||
public_listing = _environment_bool(
|
||||
"NETFISHING_SERVER_PUBLIC", public_listing
|
||||
"straywild_SERVER_PUBLIC", public_listing
|
||||
)
|
||||
discovery_url = _environment_string(
|
||||
"NETFISHING_DISCOVERY_URL", discovery_url
|
||||
"straywild_DISCOVERY_URL", discovery_url
|
||||
)
|
||||
data_directory = _environment_string(
|
||||
"NETFISHING_DATA_DIR", data_directory
|
||||
"straywild_DATA_DIR", data_directory
|
||||
)
|
||||
chat_logging = _environment_bool(
|
||||
"NETFISHING_CHAT_LOGGING", chat_logging
|
||||
"straywild_CHAT_LOGGING", chat_logging
|
||||
)
|
||||
chat_log_path = _environment_string(
|
||||
"NETFISHING_CHAT_LOG_PATH", chat_log_path
|
||||
"straywild_CHAT_LOG_PATH", chat_log_path
|
||||
)
|
||||
if OS.has_environment("NETFISHING_SERVER_OPERATORS"):
|
||||
if OS.has_environment("straywild_SERVER_OPERATORS"):
|
||||
operator_fingerprints = _parse_fingerprint_list(
|
||||
OS.get_environment("NETFISHING_SERVER_OPERATORS")
|
||||
OS.get_environment("straywild_SERVER_OPERATORS")
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue