Skip to content

Commit ff8dec1

Browse files
committed
preparations for first launch
1 parent f49b6b0 commit ff8dec1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Resources/Config.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
static public class Config {
33
public const int mapseed = 8710; //hardcoded for now
44
public const int bridgeVersion = 13;
5-
public const string serverIP = "localhost";//temp
5+
public const string serverIP = "pb97.ddns.net";//temp
66
public const int serverPort = 12346;
77
}
88
}

Server/Server.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ private static void ProcessDatagram(byte[] datagram, Player source) {
322322
case "btfo":
323323
case "ban":
324324
#region ban
325+
if (source.entity.name != "BLACKROCK") {
326+
Notify(source, "no permission");
327+
break;
328+
}
325329
if (parameters.Length == 1) {
326330
Notify(source, string.Format("usage example: /kick blackrock"));
327331
break;

0 commit comments

Comments
 (0)