diff --git a/test/spin_network.py b/test/spin_network.py index 9d3d3aaf..7884455e 100644 --- a/test/spin_network.py +++ b/test/spin_network.py @@ -13,7 +13,7 @@ from tqdm import tqdm class Parameters: root_dir = './servers/' proxy_version = "1.20" - minecraft_version = '1.20.5' + minecraft_version = '1.20.6' eula_agreement = 'true' backend_names = ['alpha', 'beta'] @@ -101,9 +101,9 @@ def create_backend_server(name, port, parameters): # Download the latest paper for the version and place it in the server folder server_jar = "paper.jar" - #download_paper_build("paper", parameters.minecraft_version, - # get_latest_paper_build_number("paper", parameters.minecraft_version), - # f"{server_dir}/{server_jar}") + download_paper_build("paper", parameters.minecraft_version, + get_latest_paper_build_number("paper", parameters.minecraft_version), + f"{server_dir}/{server_jar}") # Create eula.text and set eula=true with open(server_dir + "/eula.txt", "w") as file: @@ -175,9 +175,9 @@ def create_proxy_server(parameters): # Download the latest paper for the version and place it in the server folder proxy_jar = "waterfall.jar" - #download_paper_build("waterfall", parameters.proxy_version, - # get_latest_paper_build_number("waterfall", parameters.proxy_version), - # f"{server_dir}/{proxy_jar}") + download_paper_build("waterfall", parameters.proxy_version, + get_latest_paper_build_number("waterfall", parameters.proxy_version), + f"{server_dir}/{proxy_jar}") # Create the config.yml with open(server_dir + "/config.yml", "w") as file: