mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 09:44:10 +00:00
Implement a shared config between servers (#795)
* Implement a shared config between servers * Auto move config file on CMake run
This commit is contained in:
@@ -1,27 +1,6 @@
|
||||
# MySQL connection info:
|
||||
mysql_host=
|
||||
mysql_database=
|
||||
mysql_username=
|
||||
mysql_password=
|
||||
|
||||
# The public facing IP address. Can be 'localhost' for locally hosted servers
|
||||
external_ip=localhost
|
||||
|
||||
# Port number. The client has the authserver port hardcoded to 1001
|
||||
port=1001
|
||||
|
||||
# Where to put crashlogs
|
||||
dump_folder=
|
||||
|
||||
# How many clients can be connected to the server at once
|
||||
max_clients=999
|
||||
|
||||
# 0 or 1, should log to console
|
||||
log_to_console=1
|
||||
|
||||
# 0 or 1, should log debug (developer only) statements to console for debugging, not needed for normal operation
|
||||
log_debug_statements=0
|
||||
|
||||
# 0 or 1, should ignore playkeys
|
||||
# If 1 everyone with an account will be able to login, regardless of if they have a key or not
|
||||
dont_use_keys=0
|
||||
|
@@ -1,26 +1,2 @@
|
||||
# MySQL connection info:
|
||||
mysql_host=
|
||||
mysql_database=
|
||||
mysql_username=
|
||||
mysql_password=
|
||||
|
||||
# The public facing IP address. Can be 'localhost' for locally hosted servers
|
||||
external_ip=localhost
|
||||
|
||||
# Port number
|
||||
port=2005
|
||||
|
||||
# Where to put crashlogs
|
||||
dump_folder=
|
||||
|
||||
# How many clients can be connected to the server at once
|
||||
max_clients=999
|
||||
|
||||
# 0 or 1, should log to console
|
||||
log_to_console=1
|
||||
|
||||
# 0 or 1, should log debug (developer only) statements to console for debugging, not needed for normal operation
|
||||
log_debug_statements=0
|
||||
|
||||
# 0 or 1, should not compile chat hash map to file
|
||||
dont_generate_dcf=0
|
||||
|
@@ -1,12 +1,3 @@
|
||||
# MySQL connection info:
|
||||
mysql_host=
|
||||
mysql_database=
|
||||
mysql_username=
|
||||
mysql_password=
|
||||
|
||||
# The public facing IP address. Can be 'localhost' for locally hosted servers
|
||||
external_ip=localhost
|
||||
|
||||
# The internal ip of the master server
|
||||
master_ip=localhost
|
||||
|
||||
@@ -26,17 +17,5 @@ use_sudo_chat=0
|
||||
# Use sudo when launching world servers
|
||||
use_sudo_world=0
|
||||
|
||||
# Where to put crashlogs
|
||||
dump_folder=
|
||||
|
||||
# How many clients can be connected to the server at once
|
||||
max_clients=999
|
||||
|
||||
# 0 or 1, should log to console
|
||||
log_to_console=1
|
||||
|
||||
# 0 or 1, should log debug (developer only) statements to console for debugging, not needed for normal operation
|
||||
log_debug_statements=0
|
||||
|
||||
# 0 or 1, should autostart auth, chat, and char servers
|
||||
prestart_servers=1
|
||||
|
23
resources/sharedconfig.ini
Normal file
23
resources/sharedconfig.ini
Normal file
@@ -0,0 +1,23 @@
|
||||
# MySQL connection info:
|
||||
mysql_host=
|
||||
mysql_database=
|
||||
mysql_username=
|
||||
mysql_password=
|
||||
|
||||
# 0 or 1, should log to console
|
||||
log_to_console=1
|
||||
|
||||
# 0 or 1, should log debug (developer only) statements to console for debugging, not needed for normal operation
|
||||
log_debug_statements=0
|
||||
|
||||
# The public facing IP address. Can be 'localhost' for locally hosted servers
|
||||
external_ip=localhost
|
||||
|
||||
# 0 or 1, should not compile chat hash map to file
|
||||
dont_generate_dcf=0
|
||||
|
||||
# How many clients can be connected to the server at once
|
||||
max_clients=999
|
||||
|
||||
# Where to put crashlogs
|
||||
dump_folder=
|
@@ -1,9 +1,3 @@
|
||||
# MySQL connection info:
|
||||
mysql_host=
|
||||
mysql_database=
|
||||
mysql_username=
|
||||
mysql_password=
|
||||
|
||||
# URL to the code repository for the hosted server
|
||||
# If you fork this repository and/or make changes to the code, reflect that here to comply with AGPLv3
|
||||
source=https://github.com/DarkflameUniverse/DarkflameServer
|
||||
@@ -11,21 +5,6 @@ source=https://github.com/DarkflameUniverse/DarkflameServer
|
||||
# Port to the chat server, same as in chatconfig.ini
|
||||
chat_server_port=2005
|
||||
|
||||
# Where to put crashlogs
|
||||
dump_folder=
|
||||
|
||||
# How many clients can be connected to the server at once
|
||||
max_clients=999
|
||||
|
||||
# 0 or 1, should log to console
|
||||
log_to_console=1
|
||||
|
||||
# 0 or 1, should log debug (developer only) statements to console for debugging, not needed for normal operation
|
||||
log_debug_statements=0
|
||||
|
||||
# 0 or 1, should not compile chat hash map to file
|
||||
dont_generate_dcf=0
|
||||
|
||||
# 0 or 1, should disable chat
|
||||
disable_chat=0
|
||||
|
||||
@@ -63,4 +42,4 @@ pets_take_imagination=1
|
||||
|
||||
# If you would like to increase the maximum number of best friends a player can have on the server
|
||||
# Change the value below to what you would like this to be (5 is live accurate)
|
||||
max_number_of_best_friends=5
|
||||
max_number_of_best_friends=5
|
||||
|
Reference in New Issue
Block a user