diff --git a/nova/src/main/kotlin/xyz/xenondevs/nova/data/resources/upload/AutoUploadManager.kt b/nova/src/main/kotlin/xyz/xenondevs/nova/data/resources/upload/AutoUploadManager.kt index 3e9cad12ba..886be0b330 100644 --- a/nova/src/main/kotlin/xyz/xenondevs/nova/data/resources/upload/AutoUploadManager.kt +++ b/nova/src/main/kotlin/xyz/xenondevs/nova/data/resources/upload/AutoUploadManager.kt @@ -13,7 +13,6 @@ import xyz.xenondevs.nova.data.config.entry import xyz.xenondevs.nova.data.resources.ResourceGeneration import xyz.xenondevs.nova.data.resources.builder.ResourcePackBuilder import xyz.xenondevs.nova.data.resources.upload.service.CustomMultiPart -import xyz.xenondevs.nova.data.resources.upload.service.ResourcePackDotHost import xyz.xenondevs.nova.data.resources.upload.service.S3 import xyz.xenondevs.nova.data.resources.upload.service.SelfHost import xyz.xenondevs.nova.data.resources.upload.service.Xenondevs @@ -37,7 +36,7 @@ private val ENABLE_PROMPT_BYPASS_PERMISSION by MAIN_CONFIG.entry("resou ) internal object AutoUploadManager { - internal val services = arrayListOf(Xenondevs, SelfHost, CustomMultiPart, S3, ResourcePackDotHost) + internal val services = arrayListOf(Xenondevs, SelfHost, CustomMultiPart, S3) private val resourcePackCfg by MAIN_CONFIG.map { it.node("resource_pack") } private val autoUploadCfg by MAIN_CONFIG.map { it.node("resource_pack", "auto_upload") } diff --git a/nova/src/main/kotlin/xyz/xenondevs/nova/data/resources/upload/service/MultiPart.kt b/nova/src/main/kotlin/xyz/xenondevs/nova/data/resources/upload/service/MultiPart.kt index bdb1733cec..869c48da05 100644 --- a/nova/src/main/kotlin/xyz/xenondevs/nova/data/resources/upload/service/MultiPart.kt +++ b/nova/src/main/kotlin/xyz/xenondevs/nova/data/resources/upload/service/MultiPart.kt @@ -54,16 +54,4 @@ internal object CustomMultiPart : MultiPart() { } } -} - -internal object ResourcePackDotHost : MultiPart() { - - override val names = listOf("resourcepack.host") - override val url = "https://resourcepack.host/index.php" - override var filePartName = "pack" - override var urlRegex = Regex("""(http://resourcepack\.host/dl/[^"]+)""") - override val extraParams = emptyMap() - - override fun loadConfig(cfg: ConfigurationNode) = Unit - } \ No newline at end of file diff --git a/nova/src/main/resources/configs/config.yml b/nova/src/main/resources/configs/config.yml index 8d6e029375..7c26b2f51a 100644 --- a/nova/src/main/resources/configs/config.yml +++ b/nova/src/main/resources/configs/config.yml @@ -4,8 +4,7 @@ resource_pack: # The auto uploader automatically uploads the resource pack after generation. # READ SETUP GUIDE: https://xenondevs.xyz/docs/nova/admin/setup/#automatic-resource-pack-hosting auto_upload: - enabled: true - service: resourcepack.host + enabled: false # Settings affecting the resource pack prompt prompt: