test: update test suite to Paper 1.20.6

feat/data-edit-commands
William 7 months ago
parent fa5cea2aa3
commit 043b51d812
No known key found for this signature in database

@ -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:

Loading…
Cancel
Save