Adds a webhook notice for FTS mode being enabled
This commit is contained in:
parent
9568634240
commit
7cb11509a1
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,7 @@ import 'package:servermanager/game.dart';
|
|||
import 'package:servermanager/packets/ClientPackets.dart';
|
||||
import 'package:servermanager/structs/SessionData.dart';
|
||||
import 'package:servermanager/structs/credentials.dart';
|
||||
import 'package:servermanager/structs/discordHookHelper.dart';
|
||||
import 'package:servermanager/structs/settings.dart';
|
||||
|
||||
void main() async {
|
||||
|
@ -61,6 +62,9 @@ void main() async {
|
|||
if (settings.FTS) {
|
||||
print(
|
||||
"Aborting server startup procedure, initial server setup is not yet complete\n\n[ You must log in with the ServerManager to continue ]");
|
||||
|
||||
DiscordHookHelper.sendWebHook(settings.inst!.discord, 0xFFD700,
|
||||
"FTS Enabled", "First Time Setup Mode enabled. Startup Aborted");
|
||||
} else {
|
||||
try {
|
||||
print("Downloading mods...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue