mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-02-11 03:29:53 +00:00
Fix bug with mysql table creation
This commit is contained in:
parent
7229ce9033
commit
e406f26343
7 changed files with 7 additions and 7 deletions
|
@ -79,7 +79,7 @@ public class _1_InitialMigration extends DataMigration {
|
|||
createStatement.addBatch("CREATE TABLE IF NOT EXISTS " + tablePrefix + "settings (player_uuid VARCHAR(36), particles_hidden TINYINT)");
|
||||
createStatement.addBatch("CREATE TABLE IF NOT EXISTS " + tablePrefix + "particle (uuid VARCHAR(36), group_uuid VARCHAR(36), id SMALLINT, effect VARCHAR(100), style VARCHAR(100), item_material VARCHAR(100), block_material VARCHAR(100), note SMALLINT, r SMALLINT, g SMALLINT, b SMALLINT, PRIMARY KEY(uuid))");
|
||||
createStatement.addBatch("CREATE TABLE IF NOT EXISTS " + tablePrefix + "group (uuid VARCHAR(36), owner_uuid VARCHAR(36), name VARCHAR(100), PRIMARY KEY(uuid))");
|
||||
createStatement.addBatch("CREATE TABLE IF NOT EXISTS " + tablePrefix + "fixed (owner_uuid VARCHAR(36), id SMALLINT, particle_uuid VARCHAR(36), world VARCHAR(100), xPos DOUBLE, yPos DOUBLE, zPos DOUBLE, PRIMARY KEY(owner_uuid, id), FOREIGN KEY(particle_uuid) REFERENCES pp_particle(uuid) ON DELETE CASCADE)");
|
||||
createStatement.addBatch("CREATE TABLE IF NOT EXISTS " + tablePrefix + "fixed (owner_uuid VARCHAR(36), id SMALLINT, particle_uuid VARCHAR(36), world VARCHAR(100), xPos DOUBLE, yPos DOUBLE, zPos DOUBLE, PRIMARY KEY(owner_uuid, id), FOREIGN KEY(particle_uuid) REFERENCES " + tablePrefix + "particle(uuid) ON DELETE CASCADE)");
|
||||
createStatement.executeBatch();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -230,7 +230,7 @@ public class EnglishLocale implements Locale {
|
|||
this.put("fixed-invalid-command", "&cInvalid sub-command for &b/pp fixed&c!");
|
||||
|
||||
this.put("#25", "Plugin Update Message");
|
||||
this.put("update-available", "&eAn update (v&b%new%&e) is available! You are running &bv%current%&e. https://www.spigotmc.org/resources/playerparticles.40261/");
|
||||
this.put("update-available", "&eAn update (&bv%new%&e) is available! You are running &bv%current%&e. https://www.spigotmc.org/resources/playerparticles.40261/");
|
||||
|
||||
this.put("#26", "GUI Messages");
|
||||
this.put("gui-disabled", "&cThe server administrator has disabled the GUI!");
|
||||
|
|
|
@ -230,7 +230,7 @@ public class FrenchLocale implements Locale {
|
|||
this.put("fixed-invalid-command", "&cArguments invalides pour la commande &b/pp fixed&c!");
|
||||
|
||||
this.put("#25", "Plugin Update Message");
|
||||
this.put("update-available", "&eLa version (v&b%new%&e) est disponible ! vous utilisez la version &bv%current%&d. https://www.spigotmc.org/resources/playerparticles.40261/");
|
||||
this.put("update-available", "&eLa version (&bv%new%&e) est disponible ! vous utilisez la version &bv%current%&d. https://www.spigotmc.org/resources/playerparticles.40261/");
|
||||
|
||||
this.put("#26", "GUI Messages");
|
||||
this.put("gui-disabled", "&cL'interface du plugin à été désactivée !");
|
||||
|
|
|
@ -230,7 +230,7 @@ public class GermanLocale implements Locale {
|
|||
this.put("fixed-invalid-command", "&cUngültiger Parameter für &b/pp fixed&c!");
|
||||
|
||||
this.put("#25", "Plugin Update Message");
|
||||
this.put("update-available", "&eEin Update (v&b%new%&e) ist verfügbar! Aktuelle Version: &bv%current%&e. https://www.spigotmc.org/resources/playerparticles.40261/");
|
||||
this.put("update-available", "&eEin Update (&bv%new%&e) ist verfügbar! Aktuelle Version: &bv%current%&e. https://www.spigotmc.org/resources/playerparticles.40261/");
|
||||
|
||||
this.put("#26", "GUI Messages");
|
||||
this.put("gui-disabled", "&cDer Serveradministrator hat die GUI deaktiviert!");
|
||||
|
|
|
@ -230,7 +230,7 @@ public class RussianLocale implements Locale {
|
|||
this.put("fixed-invalid-command", "&cНедействительная команда для &b/pp fixed&c!");
|
||||
|
||||
this.put("#25", "Plugin Update Message");
|
||||
this.put("update-available", "&eОбновление (v&b%new%&e) доступно! Ваша версия - &bv%current%&e. https://www.spigotmc.org/resources/playerparticles.40261/");
|
||||
this.put("update-available", "&eОбновление (&bv%new%&e) доступно! Ваша версия - &bv%current%&e. https://www.spigotmc.org/resources/playerparticles.40261/");
|
||||
|
||||
this.put("#26", "GUI Messages");
|
||||
this.put("gui-disabled", "&cАдминистратор отключил интерфейс!");
|
||||
|
|
|
@ -230,7 +230,7 @@ public class SimplifiedChineseLocale implements Locale {
|
|||
this.put("fixed-invalid-command", "&c你输入了无效的子指令!");
|
||||
|
||||
this.put("#25", "Plugin Update Message");
|
||||
this.put("update-available", "&e有新版本更新:(v&b%new%&e)!你使用的版本为&bv%current%&e。 https://www.spigotmc.org/resources/playerparticles.40261/");
|
||||
this.put("update-available", "&e有新版本更新:(&bv%new%&e)!你使用的版本为&bv%current%&e。 https://www.spigotmc.org/resources/playerparticles.40261/");
|
||||
|
||||
this.put("#26", "GUI Messages");
|
||||
this.put("gui-disabled", "&c服务器管理员已关闭菜单!");
|
||||
|
|
|
@ -230,7 +230,7 @@ public class VietnameseLocale implements Locale {
|
|||
this.put("fixed-invalid-command", "&cLệnh phụ không hợp lệ, &b/pp fixed&c!");
|
||||
|
||||
this.put("#25", "Plugin Update Message");
|
||||
this.put("update-available", "&eĐã có bản cập nhật (v&b%new%&e)! bạn đang sử dụng &bv%current%&e. https://www.spigotmc.org/resources/playerparticles.40261/");
|
||||
this.put("update-available", "&eĐã có bản cập nhật (&bv%new%&e)! bạn đang sử dụng &bv%current%&e. https://www.spigotmc.org/resources/playerparticles.40261/");
|
||||
|
||||
this.put("#26", "GUI Messages");
|
||||
this.put("gui-disabled", "&cAmdinistrator đã cấm GUI!");
|
||||
|
|
Loading…
Reference in a new issue