No table creation anymore
Dieser Commit ist enthalten in:
Ursprung
0771622e09
Commit
56875f4146
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,7 +1,2 @@
|
|||||||
.idea
|
.idea
|
||||||
.classpath
|
|
||||||
.project
|
|
||||||
.settings
|
|
||||||
target
|
target
|
||||||
bin
|
|
||||||
*.iml
|
|
@ -20,7 +20,6 @@ import de.warking.hunjy.manager.CacheManager;
|
|||||||
import de.warking.hunjy.manager.FileManager;
|
import de.warking.hunjy.manager.FileManager;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class Core extends JavaPlugin{
|
public class Core extends JavaPlugin{
|
||||||
|
|
||||||
public static MySQL sql;
|
public static MySQL sql;
|
||||||
@ -42,12 +41,7 @@ public class Core extends JavaPlugin{
|
|||||||
|
|
||||||
fileManager = new FileManager();
|
fileManager = new FileManager();
|
||||||
|
|
||||||
|
|
||||||
sql = new MySQL();
|
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();
|
new CoinSystem();
|
||||||
|
|
||||||
instance.getCommand("coins").setExecutor(new CoinCommand());
|
instance.getCommand("coins").setExecutor(new CoinCommand());
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren