From b9c128c3d9f024eaf7332343e4140f849adc642f Mon Sep 17 00:00:00 2001 From: Coppertine <37494321+Coppertine@users.noreply.github.com> Date: Sat, 22 Jan 2022 10:52:05 +1000 Subject: [PATCH] Add Oceania Build Team This could possibly be moved to a yml list of teams that can be configured instead of a simple switch statement. --- .../github/ItzSwirlz/BTEServerSwitcher/BTECommand.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/com/github/ItzSwirlz/BTEServerSwitcher/BTECommand.java b/src/main/java/com/github/ItzSwirlz/BTEServerSwitcher/BTECommand.java index 0bc8b7b..b56b513 100644 --- a/src/main/java/com/github/ItzSwirlz/BTEServerSwitcher/BTECommand.java +++ b/src/main/java/com/github/ItzSwirlz/BTEServerSwitcher/BTECommand.java @@ -131,6 +131,15 @@ public void execute(MinecraftServer server, ICommandSender sender, String[] args serverIp = "bte.thesmyler.fr"; serverName = "BTE France"; break; + case "oceania": + case "oce": + case "australia": + case "new_zealand": + case "au": + case "nz": + serverIp = "hub.bteoce.com"; + server Name = "Oceania Build Team"; + break; default: serverIp = "buildtheearth.net"; serverName = "Build The Earth";