Skip to content

Commit

Permalink
Adjust some server defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
geneotech committed Aug 7, 2024
1 parent 98b24d1 commit ddce0a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hypersomnia/default_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
"autostart_when": "NEVER",
// "TEAMS_EQUAL | SERVER_FULL | SERVER_FULL_EQUAL_TEAMS | ALWAYS"
// Only "NEVER" and "ALWAYS" are implemented right now.
"countdown_time": 81,
"countdown_time": 40,
"rejoin_time_limit": 120,
"max_rejoins": 5,
"match_unfreezes_in_secs": 5,
Expand All @@ -311,7 +311,7 @@
"allow_webrtc_clients": true,
"webrtc_udp_mux": false,
"webrtc_port_range_begin": 9000,
"webrtc_port_range_end": 9020,
"webrtc_port_range_end": 9050,
"server_name": "", // Will be "Nickname's server" by default.
"notified_server_list": "masterserver.hypersomnia.xyz:8430",
"suppress_new_community_server_webhook": false,
Expand Down
4 changes: 2 additions & 2 deletions src/application/setups/server/server_vars.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ struct server_ranked_vars {

// GEN INTROSPECTOR struct server_ranked_vars
ranked_autostart_type autostart_when = ranked_autostart_type::NEVER;
uint16_t countdown_time = 81;
uint16_t countdown_time = 40;
uint16_t rejoin_time_limit = 150;
uint8_t max_rejoins = 1;
uint8_t match_unfreezes_in_secs = 5;
Expand Down Expand Up @@ -114,7 +114,7 @@ struct server_vars {

bool webrtc_udp_mux = false;
port_type webrtc_port_range_begin = 9000;
port_type webrtc_port_range_end = 9020;
port_type webrtc_port_range_end = 9050;

server_name_type server_name;
address_string_type notified_server_list;
Expand Down

0 comments on commit ddce0a5

Please sign in to comment.