No table creation anymore
Dieser Commit ist enthalten in:
Ursprung
0771622e09
Commit
56875f4146
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,7 +1,2 @@
|
||||
.idea
|
||||
.classpath
|
||||
.project
|
||||
.settings
|
||||
target
|
||||
bin
|
||||
*.iml
|
||||
target
|
@ -20,7 +20,6 @@ import de.warking.hunjy.manager.CacheManager;
|
||||
import de.warking.hunjy.manager.FileManager;
|
||||
|
||||
|
||||
|
||||
public class Core extends JavaPlugin{
|
||||
|
||||
public static MySQL sql;
|
||||
@ -41,13 +40,8 @@ public class Core extends JavaPlugin{
|
||||
public void onEnable() {
|
||||
|
||||
fileManager = new FileManager();
|
||||
|
||||
|
||||
|
||||
sql = new MySQL();
|
||||
sql.update("CREATE TABLE IF NOT EXISTS Coins(ID INT(16) PRIMARY KEY NOT NULL, Coins INT(16));");
|
||||
sql.update("CREATE TABLE IF NOT EXISTS Permisson(GroupSortID VARCHAR(64), GroupName VARCHAR(64), GroupDisplay VARCHAR(64), Permissons LONGTEXT);");
|
||||
sql.update("CREATE TABLE IF NOT EXISTS UserData(ID INT(16) PRIMARY KEY AUTO_INCREMENT NOT NULL,UUID VARCHAR(64), UserName VARCHAR(64) NOT NULL, UserGroup VARCHAR(64));");
|
||||
|
||||
new CoinSystem();
|
||||
|
||||
instance.getCommand("coins").setExecutor(new CoinCommand());
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren