QOL updates
This commit is contained in:
parent
7cb11509a1
commit
ec1f894809
4 changed files with 23 additions and 9 deletions
|
@ -48,6 +48,15 @@ void main() async {
|
|||
settings.Write();
|
||||
}
|
||||
|
||||
print("Checking ACL..");
|
||||
if (settings.inst!.admins.isNotEmpty) {
|
||||
print("Disabling super user...");
|
||||
settings.superuser =
|
||||
User.make("_disabled", "%%%disabled%%%", UserLevel.None);
|
||||
}
|
||||
|
||||
print("Super User is disabled because there are users registered.");
|
||||
|
||||
print("Finished installing needed DLLs");
|
||||
|
||||
print("Checking for game server updates...");
|
||||
|
@ -63,8 +72,11 @@ void main() async {
|
|||
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");
|
||||
DiscordHookHelper.sendWebHook(
|
||||
settings.inst!.discord,
|
||||
DiscordHookProps.INACTIVE,
|
||||
"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