diff --git a/LaunchServer/src/main/resources/ru/gravit/launchserver/defaults/config.cfg b/LaunchServer/src/main/resources/ru/gravit/launchserver/defaults/config.cfg index 59778166..76431adc 100644 --- a/LaunchServer/src/main/resources/ru/gravit/launchserver/defaults/config.cfg +++ b/LaunchServer/src/main/resources/ru/gravit/launchserver/defaults/config.cfg @@ -1,71 +1,55 @@ -address: "x"; -bindAddress: "0.0.0.0"; -port: 7240; -mirrors: ["http://launcher.sashok724.net/download/"]; -# Auth rate limit -authRateLimit: 2; -authRateLimitMilis: 5000; -authRejectString: "Вы превысили лимит авторизаций. Подождите некоторое время перед повторной попыткой"; - -isUsingWrapper: true; -isDownloadJava: false; -isWarningMissArchJava: true; - -# White list testers -whitelistRejectString: "Вас нет в белом списке"; - -# Proguard -proguardPrintMappings: false; - -# Auth handler -authHandler: "textFile"; -authHandlerConfig: { - file: "authHandler.cfg"; - offlineUUIDs: true; -}; - -# Auth provider -authProvider: "reject"; -authProviderConfig: { - message: "You need to change auth provider in LaunchServer.cfg"; -}; - -#HWID handler -hwidHandler: "accept"; -hwidHandlerConfig: { - -}; - -# Texture provider -textureProvider: "request"; -textureProviderConfig: { - skinsURL: "http://skins.minecraft.net/MinecraftSkins/%username%.png"; - cloaksURL: "http://skins.minecraft.net/MinecraftCloaks/%username%.png"; -}; - -# Build operation -buildExtendedOperation: { - enabled: false; - script: []; -}; - -# Binaries name -binaryName: "Launcher"; - -# Launch4J EXE binary building -launch4J: { - enabled: true; - productName: "sashok724's Launcher v3 mod by Gravit"; - productVer: "4.1.0.0"; - fileDesc: "sashok724's Launcher v3 mod by Gravit"; - fileVer: "1.1.0.0"; - internalName: "Launcher"; - copyright: "© sashok724 LLC"; - trademarks: "This product is licensed under GNU GPL v3.0 License"; - # version and build number - txtFileVersion: "%s, build %d"; - txtProductVersion: "%s, build %d"; -}; - -# Compress files when updating using Inflate algorithm -compress: true; +{ + "port": 7420, + "authHandler": { + "type": "memory" + }, + "authProvider": [ + { + "message": "Настройте authProvider", + "type": "reject" + } + ], + "permissionsHandler": { + "filename": "permissions.json", + "type": "json" + }, + "textureProvider": { + "skinURL": "http://example.com/skins/%username%.png", + "cloakURL": "http://example.com/cloaks/%username%.png", + "type": "request" + }, + "hwidHandler": { + "type": "accept" + }, + "threadCount": 0, + "threadCoreCount": 0, + "launch4j": { + "enabled": false, + "fileDesc": "GravitLauncher 4.1.0", + "fileVer": "4.1.0", + "internalName": "Launcher", + "copyright": "© GravitLauncher Team", + "trademarks": "This product is licensed under GPLv3", + "txtFileVersion": "%s, build %d", + "txtProductVersion": "%s, build %d" + }, + "buildPostTransform": { + "enabled": false + }, + "compress": false, + "authRateLimit": 0, + "authRateLimitMilis": 0, + "authRejectString": "Превышен лимит авторизаций", + "whitelistRejectString": "Вас нет в белом списке", + "genMappings": false, + "isUsingWrapper": false, + "isDownloadJava": false, + "mirrors": [ + "http://mirror.gravitlauncher.ml/" + ], + "binaryName": "Launcher", + "address": "localhost", + "bindAddress": "0.0.0.0", + "env": "STD", + "isWarningMissArchJava": false +} \ No newline at end of file