From 4b11a9ddfe516a214d9282bd3032bffc2bcdbd64 Mon Sep 17 00:00:00 2001 From: j502647092 Date: Tue, 15 Sep 2015 23:04:17 +0800 Subject: [PATCH] add new field... Signed-off-by: j502647092 --- .../java/cn/citycraft/CTZServerBridge/CTZServerBridge.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/cn/citycraft/CTZServerBridge/CTZServerBridge.java b/src/main/java/cn/citycraft/CTZServerBridge/CTZServerBridge.java index 26ff179..f278525 100644 --- a/src/main/java/cn/citycraft/CTZServerBridge/CTZServerBridge.java +++ b/src/main/java/cn/citycraft/CTZServerBridge/CTZServerBridge.java @@ -59,7 +59,8 @@ public class CTZServerBridge extends JavaPlugin { .add("z", "DOUBLE NOT NULL DEFAULT 0") .add("email", "VARCHAR(50) NOT NULL DEFAULT 'mc@mc.com'") .add("world", "VARCHAR(20) DEFAULT 'world'") - .add("islogged", "SMALLINT(6) NOT NULL DEFAULT 0"); + .add("islogged", "SMALLINT(6) NOT NULL DEFAULT 0") + .add("allowlogin", "SMALLINT(6) NOT NULL DEFAULT 0"); String Conditions = "UNIQUE (`player`)"; if (!sql.createTables(dbtable, kv, Conditions)) ccs.sendMessage(ChatColor.RED + "数据表 " + dbtable + " 创建失败,请尝试手动创建并重启服务器...");