From 2e6aa1f1e4d0fa5b04305fa098dcaa0249993e8d Mon Sep 17 00:00:00 2001 From: wish Date: Sun, 4 Sep 2022 03:32:43 +1000 Subject: [PATCH] remove unused config options --- config.json | 1 - config/config.go | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/config.json b/config.json index 00e541adf..6c3b4ecd6 100644 --- a/config.json +++ b/config.json @@ -4,7 +4,6 @@ "DisableSoftCrash": false, "devmode": true, "devmodeoptions": { - "serverName" : "", "EnableLauncherServer": false, "hideLoginNotice": false, "loginNotice": "
Welcome to Erupe SU9.1 Beta!
Erupe is experimental software, we are not liable for any
issues caused by installing the software!

■Report bugs on Discord!

■Test everything!

■Don't talk to softlocking NPCs!

■Fork the code on GitHub!

Thank you to all of the contributors,

this wouldn't exist without you.", diff --git a/config/config.go b/config/config.go index bfbf8086a..33bf22abe 100644 --- a/config/config.go +++ b/config/config.go @@ -24,13 +24,11 @@ type Config struct { // DevModeOptions holds various debug/temporary options for use while developing Erupe. type DevModeOptions struct { - ServerName string // To get specific instance server about (Current Players/Event Week) EnableLauncherServer bool // Enables the launcher server to be served on port 80 HideLoginNotice bool // Hide the Erupe notice on login LoginNotice string // MHFML string of the login notice displayed CleanDB bool // Automatically wipes the DB on server reset. - MaxLauncherHR bool // Sets the HR returned in the launcher to HR9 so that you can join non-beginner worlds. - FixedStageID bool // Causes all move_stage to use the ID sl1Ns200p0a0u0 to get you into all stages + MaxLauncherHR bool // Sets the HR returned in the launcher to HR7 so that you can join non-beginner worlds. LogInboundMessages bool // Log all messages sent to the server LogOutboundMessages bool // Log all messages sent to the clients MaxHexdumpLength int // Maximum number of bytes printed when logs are enabled @@ -53,10 +51,7 @@ type SaveDumpOptions struct { type Discord struct { Enabled bool BotToken string - ServerID string RealtimeChannelID string - DevRoles []string - DevMode bool } // Database holds the postgres database config.