Revert "Bunch of changes"

This commit is contained in:
Daniel Ginovker 2019-11-02 18:13:40 -04:00 committed by GitHub
parent 4c780b09ad
commit bea505f34a
75 changed files with 746 additions and 2446 deletions

View file

@ -1,29 +0,0 @@
package org.crandor;
public class Util {
/**
* Capitalize the first letter of the string
* @return Capitalized string
*/
public static String capitalize(String name) {
if (name != null && name.length() != 0) {
char[] chars = name.toCharArray();
chars[0] = Character.toUpperCase(chars[0]);
return new String(chars);
} else {
return name;
}
}
public static String strToEnum(String name) {
name = name.toUpperCase();
return name.replaceAll(" ", "_");
}
public static String enumToString(String name) {
name = name.toLowerCase();
name = name.replaceAll("_", " ");
return capitalize(name);
}
}

View file

@ -1,14 +1,14 @@
name=Sparr0w
name=Crandor
beta=false
sql=true
devMode=false
devMode=true
gui=true
gameType=economy
worldId=1
country=6
country=0
activity=Default gameplay
members=true
pvp=false
quickChat=true
lootshare=true
msip=127.0.0.1
msip=127.0.0.1

View file

@ -1,14 +1,14 @@
name=Sparr0w
name=Crandor
beta=true
sql=true
devMode=false
gui=true
gameType=economy
worldId=1
country=6
country=0
activity=Default gameplay
members=true
pvp=false
quickChat=true
lootshare=true
msip=127.0.0.1
msip=127.0.0.1

View file

@ -1,14 +1,14 @@
name=Sparr0w
name=Crandor
beta=false
sql=true
devMode=true
gui=false
gameType=economy
worldId=2
country=6
country=0
activity=Default gameplay
members=true
pvp=false
quickChat=true
lootshare=true
msip=127.0.0.1
msip=127.0.0.1

View file

@ -1,14 +1,14 @@
name=Sparr0w
name=Crandor
beta=false
sql=true
devMode=false
devMode=true
gui=false
gameType=economy
worldId=3
country=6
country=0
activity=Default gameplay
members=true
pvp=true
pvp=false
quickChat=true
lootshare=true
msip=127.0.0.1
msip=127.0.0.1