From 90103d16f4b28671347389b2159ac15a20a32bc5 Mon Sep 17 00:00:00 2001 From: Gravit Date: Wed, 26 Dec 2018 21:13:50 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=81=D0=BD=D0=BE=D0=B2=D0=BD=D0=BE?= =?UTF-8?q?=D0=B3=D0=BE=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gravit/launchserver/defaults/config.cfg | 126 ++++++++---------- 1 file changed, 55 insertions(+), 71 deletions(-) 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