Various Changes (#523)
* Discord Bot Update Updated JavaCord To Latest Changed Some Commands To No Longer Be World Specific Added An "AdminCommands" Command * Update Some Server Libs * Added Purge & Pin/Un-Pin To Commands Discord Bot * Fixed -dev & -no-crc Client Args * Add Discord User ID Linking Support(Useless For Now) * Added Support For User's Kicking Own Accounts Through Discord Bot * Merge Website Integration Stuff Into One Var
This commit is contained in:
1 parent
63055f9181
commit
54a3e5cdec
20 files changed
+237
-86
No files matched your search
@@ -15,6 +15,18 @@ public final class Main {
|
||||
try {
|
||||
// Process server/ip address to connect to
|
||||
for (int i = 0; i < args.length; i++) {
|
||||
switch(args[i]) {
|
||||
case "-dev" :
|
||||
case "-local":
|
||||
case "-offline":
|
||||
ClientSettings.SERVER_IP = "localhost";
|
||||
ClientSettings.CHECK_CRC = false;
|
||||
break;
|
||||
case "-no-crc":
|
||||
case "-no-cache-crc":
|
||||
ClientSettings.CHECK_CRC = false;
|
||||
break;
|
||||
}
|
||||
if (args[i].startsWith("-") && (i + 1) < args.length && !args[i + 1].startsWith("-")) {
|
||||
switch(args[i]) {
|
||||
case "-s":
|
||||
@@ -22,16 +34,6 @@ public final class Main {
|
||||
case "-ip":
|
||||
ClientSettings.SERVER_IP = args[++i];
|
||||
break;
|
||||
case "-no-crc":
|
||||
case "-no-cache-crc":
|
||||
ClientSettings.CHECK_CRC = false;
|
||||
break;
|
||||
case "-dev" :
|
||||
case "-local":
|
||||
case "-offline":
|
||||
ClientSettings.SERVER_IP = "localhost";
|
||||
ClientSettings.CHECK_CRC = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user