diff --git a/config/application.properties b/config/application.properties index 0340d592..807b8ec1 100644 --- a/config/application.properties +++ b/config/application.properties @@ -53,6 +53,9 @@ 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/ +## When this is set to true, we will proxy all matching requests sent to the external matching server. +## This option enhances security by masking the user ID and keychip. +game.chusan.proxied-matching=false ## 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 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 c94b0786..f4bce972 100644 --- a/src/main/java/icu/samnyan/aqua/sega/chusan/ChusanProps.kt +++ b/src/main/java/icu/samnyan/aqua/sega/chusan/ChusanProps.kt @@ -10,4 +10,5 @@ class ChusanProps { var loginBonusEnable = false var externalMatching: String? = null var reflectorUrl: String? = null + var proxiedMatching: Boolean = false } \ No newline at end of file