From 9b21193be2c45c039d875141df34b78870c45ef6 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Sun, 29 Dec 2024 07:07:47 -0500 Subject: [PATCH] [+] Props for matching --- config/application.properties | 15 +++++++-------- .../icu/samnyan/aqua/sega/chusan/ChusanProps.kt | 2 ++ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/config/application.properties b/config/application.properties index 484f64fb..0340d592 100644 --- a/config/application.properties +++ b/config/application.properties @@ -46,16 +46,15 @@ aquaviewer.api.enable=false game.chunithm.team-name= ## Chusan -## The version of your client data. If this doesn't match with your game, you will not be able to play some game modes. -## Match this with data.conf file in latest option. -## For example, if data.conf says "VerMajor = 2, VerMinor = 5, VerRelease = 4" then this need to be 2.05.04 -game.chusan.version=2.00.00 -## The version of your client rom. Same applies as above. -## Match this with version in "Game system information" of test menu. -game.chusan.rom-version=2.00.01 -## This enables team function if you set team name here. Leave this blank to disable it. +## This enables team function if you set team name here. Leave this blank to use default game.chusan.team-name= +## This sets the reflector url for global matching +game.chusan.reflector-url=http://reflector.naominet.live:18080/ +## This sets the matching server url. +## When this is set, we will sync with the external matching url so that we can match with more players. +game.chusan.external-matching=https://chu3-match.sega.ink/ ## This enables user use login bonus function if set to true. +## NOTE: THIS IS NOT TESTED, it's implemented by someone very inexperienced and might not work. game.chusan.loginbonus-enable=false ## Ongeki diff --git a/src/main/java/icu/samnyan/aqua/sega/chusan/ChusanProps.kt b/src/main/java/icu/samnyan/aqua/sega/chusan/ChusanProps.kt index 72cb1004..c94b0786 100644 --- a/src/main/java/icu/samnyan/aqua/sega/chusan/ChusanProps.kt +++ b/src/main/java/icu/samnyan/aqua/sega/chusan/ChusanProps.kt @@ -8,4 +8,6 @@ import org.springframework.context.annotation.Configuration class ChusanProps { var teamName: String? = null var loginBonusEnable = false + var externalMatching: String? = null + var reflectorUrl: String? = null } \ No newline at end of file