diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index a3362712..4f2f1e53 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -334,7 +334,7 @@ namespace TShockAPI if (givenCode == ConfigurationManager.authToken) { TextWriter tw = new StreamWriter(FileTools.SaveDir + "users.txt", true); - tw.WriteLine(Tools.GetRealIP(Convert.ToString(Netplay.serverSock[args.PlayerID].tcpClient.Client.RemoteEndPoint)) + " superadmin"); + tw.Write("\n" + Tools.GetRealIP(Convert.ToString(Netplay.serverSock[args.PlayerID].tcpClient.Client.RemoteEndPoint)) + " superadmin"); Tools.SendMessage(args.PlayerID, "SuperAdmin authenticated. Please re-connect using the same IP."); ConfigurationManager.authToken = 0; tw.Close(); diff --git a/TShockAPI/config/groups.txt b/TShockAPI/config/groups.txt index b23e8df8..a75a7f26 100644 --- a/TShockAPI/config/groups.txt +++ b/TShockAPI/config/groups.txt @@ -15,7 +15,7 @@ #ignoregriefdetection reservedslot default null -vip null reservedslot +vip default reservedslot newadmin default kick editspawn reservedslot admin newadmin ban causeevents spawnboss spawnmob tp immunetokick kill trustedadmin admin ignorecheatdetection maintenance cfg cheat pvpfun ignorecheatdetection immunetoban ignoregriefdetection \ No newline at end of file