From 4bbf39ca1cd179618d31cb9f6765a45ff68d5e68 Mon Sep 17 00:00:00 2001 From: Shaun Bennett Date: Sat, 28 May 2016 08:59:03 -0700 Subject: [PATCH] Update JOOQ files --- Plugins/Mineplex.Database/pom.xml | 4 + Plugins/Mineplex.Database/src/jOOQConfig.xml | 6 +- .../src/mineplex/database/Account.java | 44 +- .../src/mineplex/database/Keys.java | 204 +++++- .../src/mineplex/database/Routines.java | 49 ++ .../src/mineplex/database/Tables.java | 210 +++++- .../database/routines/Check_giveaway.java | 80 +++ .../routines/Check_titanGiveaway.java | 67 ++ .../mineplex/database/routines/ClaimTips.java | 54 ++ .../mineplex/database/routines/RankBonus.java | 106 ++++ .../mineplex/database/tables/AccountAuth.java | 117 ++++ .../mineplex/database/tables/AccountClan.java | 10 +- .../database/tables/AccountCustomData.java | 109 ++++ .../database/tables/AccountGiveaway.java | 147 +++++ .../tables/AccountMortenSpamTest.java | 127 ++++ .../mineplex/database/tables/AccountPets.java | 109 ++++ .../database/tables/AccountPreferences.java | 22 +- .../database/tables/AccountPurchases.java | 132 ++++ .../database/tables/AccountStats.java | 122 ---- .../mineplex/database/tables/AccountTip.java | 104 +++ .../database/tables/AccountTipClaimLogs.java | 122 ++++ .../database/tables/AccountTipLogs.java | 109 ++++ .../tables/AccountValentinesGift.java | 109 ++++ .../mineplex/database/tables/BattlePets.java | 154 +++++ .../mineplex/database/tables/BonusLog.java | 137 ++++ .../src/mineplex/database/tables/BotSpam.java | 129 ++++ .../database/tables/ClanAlliances.java | 10 +- .../mineplex/database/tables/ClanBans.java | 134 ++++ .../mineplex/database/tables/ClanEnemies.java | 10 +- .../database/tables/ClanNameBlacklist.java | 101 +++ .../mineplex/database/tables/ClanServer.java | 4 +- .../database/tables/ClanTerritory.java | 17 +- .../src/mineplex/database/tables/ClanWar.java | 134 ++++ .../src/mineplex/database/tables/Clans.java | 25 +- .../database/tables/ClansOutposts.java | 121 ++++ .../database/tables/ClansPvpTimer.java | 101 +++ .../database/tables/ClansSiegeWeapons.java | 131 ++++ .../database/tables/ClansTutorial.java | 96 +++ .../mineplex/database/tables/CustomData.java | 104 +++ .../mineplex/database/tables/EloRating.java | 38 +- .../mineplex/database/tables/Facebook.java | 114 ++++ .../src/mineplex/database/tables/Gadgets.java | 109 ++++ .../mineplex/database/tables/Giveaway.java | 144 +++++ .../database/tables/GiveawayCooldown.java | 109 ++++ .../database/tables/IncognitoStaff.java | 96 +++ .../src/mineplex/database/tables/Items.java | 12 +- .../database/tables/KitProgression.java | 116 ++++ .../database/tables/Kit_progression.java | 116 ++++ .../database/tables/Kitpreferences.java | 85 +++ .../mineplex/database/tables/Packages.java | 104 +++ .../mineplex/database/tables/RankedBans.java | 106 ++++ .../database/tables/ReportTickets.java | 126 ++++ .../database/tables/SelectedMounts.java | 80 +++ .../database/tables/SelectedPets.java | 80 +++ .../database/tables/Selectedgadgets.java | 80 +++ .../database/tables/Selectedmodifiers.java | 80 +++ .../mineplex/database/tables/StaffMotd.java | 119 ++++ .../mineplex/database/tables/Streamers.java | 109 ++++ .../database/tables/TitanGiveaway.java | 114 ++++ .../database/tables/TournamentTeams.java | 122 ++++ .../mineplex/database/tables/Tournaments.java | 124 ++++ .../tables/records/AccountAuthRecord.java | 199 ++++++ .../records/AccountCustomDataRecord.java | 199 ++++++ .../tables/records/AccountGiveawayRecord.java | 439 +++++++++++++ .../records/AccountMortenSpamTestRecord.java | 279 ++++++++ .../tables/records/AccountPetsRecord.java | 199 ++++++ .../records/AccountPreferencesRecord.java | 600 ++---------------- .../records/AccountPurchasesRecord.java | 319 ++++++++++ .../records/AccountTipClaimLogsRecord.java | 239 +++++++ .../tables/records/AccountTipLogsRecord.java | 199 ++++++ .../tables/records/AccountTipRecord.java | 159 +++++ .../records/AccountValentinesGiftRecord.java | 199 ++++++ .../tables/records/BattlePetsRecord.java | 559 ++++++++++++++++ .../tables/records/BonusLogRecord.java | 359 +++++++++++ .../tables/records/BotSpamRecord.java | 359 +++++++++++ .../tables/records/ClanBansRecord.java | 399 ++++++++++++ .../records/ClanNameBlacklistRecord.java | 199 ++++++ .../tables/records/ClanServerRecord.java | 6 +- .../tables/records/ClanTerritoryRecord.java | 82 +-- .../tables/records/ClanWarRecord.java | 399 ++++++++++++ .../tables/records/ClansOutpostsRecord.java | 359 +++++++++++ .../tables/records/ClansPvpTimerRecord.java | 199 ++++++ .../database/tables/records/ClansRecord.java | 138 +++- .../records/ClansSiegeWeaponsRecord.java | 439 +++++++++++++ .../tables/records/ClansTutorialRecord.java | 159 +++++ .../tables/records/CustomDataRecord.java | 159 +++++ .../tables/records/EloRatingRecord.java | 214 ++----- .../tables/records/FacebookRecord.java | 239 +++++++ .../tables/records/GadgetsRecord.java | 199 ++++++ .../records/GiveawayCooldownRecord.java | 199 ++++++ .../tables/records/GiveawayRecord.java | 479 ++++++++++++++ .../tables/records/IncognitoStaffRecord.java | 159 +++++ .../tables/records/KitProgressionRecord.java | 319 ++++++++++ .../tables/records/Kit_progressionRecord.java | 319 ++++++++++ .../tables/records/KitpreferencesRecord.java | 187 ++++++ .../tables/records/PackagesRecord.java | 159 +++++ .../tables/records/RankedBansRecord.java | 239 +++++++ .../tables/records/ReportTicketsRecord.java | 399 ++++++++++++ .../tables/records/SelectedMountsRecord.java | 147 +++++ .../tables/records/SelectedPetsRecord.java | 147 +++++ .../tables/records/SelectedgadgetsRecord.java | 147 +++++ .../records/SelectedmodifiersRecord.java | 147 +++++ .../tables/records/StaffMotdRecord.java | 279 ++++++++ .../tables/records/StreamersRecord.java | 199 ++++++ .../tables/records/TitanGiveawayRecord.java | 239 +++++++ ...Record.java => TournamentTeamsRecord.java} | 102 +-- .../tables/records/TournamentsRecord.java | 319 ++++++++++ .../src/nautilus/game/arcade/Arcade.java | 1 + .../nautilus/game/arcade/ArcadeManager.java | 8 + .../game/arcade/booster/BoosterPodium.java | 163 +++++ .../game/arcade/game/GameServerConfig.java | 1 + .../arcade/managers/GameLobbyManager.java | 6 + 112 files changed, 16561 insertions(+), 1054 deletions(-) create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/routines/Check_giveaway.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/routines/Check_titanGiveaway.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/routines/ClaimTips.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/routines/RankBonus.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountAuth.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountCustomData.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountGiveaway.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountMortenSpamTest.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPets.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPurchases.java delete mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountStats.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountTip.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountTipClaimLogs.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountTipLogs.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/AccountValentinesGift.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/BattlePets.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/BonusLog.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/BotSpam.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/ClanBans.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/ClanNameBlacklist.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/ClanWar.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/ClansOutposts.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/ClansPvpTimer.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/ClansSiegeWeapons.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/ClansTutorial.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/CustomData.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Facebook.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Gadgets.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Giveaway.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/GiveawayCooldown.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/IncognitoStaff.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/KitProgression.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Kit_progression.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Kitpreferences.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Packages.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/RankedBans.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/ReportTickets.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/SelectedMounts.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/SelectedPets.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Selectedgadgets.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Selectedmodifiers.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/StaffMotd.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Streamers.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/TitanGiveaway.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/TournamentTeams.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/Tournaments.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountAuthRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountCustomDataRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountGiveawayRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountMortenSpamTestRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPetsRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPurchasesRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountTipClaimLogsRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountTipLogsRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountTipRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountValentinesGiftRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/BattlePetsRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/BonusLogRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/BotSpamRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanBansRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanNameBlacklistRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanWarRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansOutpostsRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansPvpTimerRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansSiegeWeaponsRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansTutorialRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/CustomDataRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/FacebookRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/GadgetsRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/GiveawayCooldownRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/GiveawayRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/IncognitoStaffRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/KitProgressionRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/Kit_progressionRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/KitpreferencesRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/PackagesRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/RankedBansRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/ReportTicketsRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedMountsRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedPetsRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedgadgetsRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedmodifiersRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/StaffMotdRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/StreamersRecord.java create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/TitanGiveawayRecord.java rename Plugins/Mineplex.Database/src/mineplex/database/tables/records/{AccountStatsRecord.java => TournamentTeamsRecord.java} (53%) create mode 100644 Plugins/Mineplex.Database/src/mineplex/database/tables/records/TournamentsRecord.java create mode 100644 Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/booster/BoosterPodium.java diff --git a/Plugins/Mineplex.Database/pom.xml b/Plugins/Mineplex.Database/pom.xml index f00a8d581..0d8f14b55 100644 --- a/Plugins/Mineplex.Database/pom.xml +++ b/Plugins/Mineplex.Database/pom.xml @@ -16,5 +16,9 @@ org.jooq jooq-codegen + + mysql + mysql-connector-java + diff --git a/Plugins/Mineplex.Database/src/jOOQConfig.xml b/Plugins/Mineplex.Database/src/jOOQConfig.xml index f1827b5be..42a0f94f9 100644 --- a/Plugins/Mineplex.Database/src/jOOQConfig.xml +++ b/Plugins/Mineplex.Database/src/jOOQConfig.xml @@ -3,9 +3,9 @@ com.mysql.jdbc.Driver - jdbc:mysql://db.mineplex.com:3306 - MilitaryPolice - CUPr6Wuw2Rus$qap + jdbc:mysql://10.35.74.133:3306 + MonetaryPulitzer + MaprebruvUsw6Fre diff --git a/Plugins/Mineplex.Database/src/mineplex/database/Account.java b/Plugins/Mineplex.Database/src/mineplex/database/Account.java index 745edad55..c9e7b6499 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/Account.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/Account.java @@ -16,7 +16,7 @@ package mineplex.database; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Account extends org.jooq.impl.SchemaImpl implements java.io.Serializable, java.lang.Cloneable { - private static final long serialVersionUID = 2034846771; + private static final long serialVersionUID = -1965384171; /** * The reference instance of Account @@ -39,48 +39,88 @@ public class Account extends org.jooq.impl.SchemaImpl implements java.io.Seriali private final java.util.List> getTables0() { return java.util.Arrays.>asList( + mineplex.database.tables.AccountAuth.accountAuth, mineplex.database.tables.AccountClan.accountClan, mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions, + mineplex.database.tables.AccountCustomData.accountCustomData, mineplex.database.tables.AccountFriend.accountFriend, mineplex.database.tables.AccountGemTransactions.accountGemTransactions, + mineplex.database.tables.AccountGiveaway.accountGiveaway, mineplex.database.tables.AccountIgnore.accountIgnore, mineplex.database.tables.AccountInventory.accountInventory, + mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest, + mineplex.database.tables.AccountPets.accountPets, mineplex.database.tables.AccountPolls.accountPolls, mineplex.database.tables.AccountPreferences.accountPreferences, + mineplex.database.tables.AccountPurchases.accountPurchases, mineplex.database.tables.Accounts.accounts, mineplex.database.tables.AccountStat.accountStat, - mineplex.database.tables.AccountStats.accountStats, mineplex.database.tables.AccountTasks.accountTasks, + mineplex.database.tables.AccountTip.accountTip, + mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs, + mineplex.database.tables.AccountTipLogs.accountTipLogs, mineplex.database.tables.AccountTransactions.accountTransactions, + mineplex.database.tables.AccountValentinesGift.accountValentinesGift, mineplex.database.tables.ActiveTournaments.activeTournaments, + mineplex.database.tables.BattlePets.battlePets, mineplex.database.tables.Bonus.bonus, + mineplex.database.tables.BonusLog.bonusLog, + mineplex.database.tables.BotSpam.botSpam, mineplex.database.tables.Chatsnap.chatsnap, mineplex.database.tables.ClanAlliances.clanAlliances, + mineplex.database.tables.ClanBans.clanBans, mineplex.database.tables.ClanEnemies.clanEnemies, mineplex.database.tables.ClanMember.clanMember, + mineplex.database.tables.ClanNameBlacklist.clanNameBlacklist, mineplex.database.tables.Clans.clans, mineplex.database.tables.ClanServer.clanServer, mineplex.database.tables.ClanShopItem.clanShopItem, + mineplex.database.tables.ClansOutposts.clansOutposts, + mineplex.database.tables.ClansPvpTimer.clansPvpTimer, + mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons, + mineplex.database.tables.ClansTutorial.clansTutorial, mineplex.database.tables.ClanTerritory.clanTerritory, + mineplex.database.tables.ClanWar.clanWar, + mineplex.database.tables.CustomData.customData, mineplex.database.tables.EloRating.eloRating, + mineplex.database.tables.Facebook.facebook, mineplex.database.tables.FieldBlock.fieldBlock, mineplex.database.tables.FieldMonster.fieldMonster, mineplex.database.tables.FieldOre.fieldOre, + mineplex.database.tables.Gadgets.gadgets, + mineplex.database.tables.Giveaway.giveaway, + mineplex.database.tables.GiveawayCooldown.giveawayCooldown, + mineplex.database.tables.IncognitoStaff.incognitoStaff, mineplex.database.tables.ItemCategories.itemCategories, mineplex.database.tables.Items.items, + mineplex.database.tables.Kitpreferences.kitpreferences, + mineplex.database.tables.KitProgression.kitProgression, + mineplex.database.tables.Kit_progression.kit_progression, mineplex.database.tables.Mail.mail, mineplex.database.tables.Mailbox.mailbox, mineplex.database.tables.Npcs.npcs, + mineplex.database.tables.Packages.packages, mineplex.database.tables.PlayerMap.playerMap, mineplex.database.tables.Polls.polls, mineplex.database.tables.RankBenefits.rankBenefits, + mineplex.database.tables.RankedBans.rankedBans, + mineplex.database.tables.ReportTickets.reportTickets, + mineplex.database.tables.Selectedgadgets.selectedgadgets, + mineplex.database.tables.Selectedmodifiers.selectedmodifiers, + mineplex.database.tables.SelectedMounts.selectedMounts, + mineplex.database.tables.SelectedPets.selectedPets, mineplex.database.tables.ServerPassword.serverPassword, mineplex.database.tables.Spawns.spawns, + mineplex.database.tables.StaffMotd.staffMotd, mineplex.database.tables.StatEvents.statEvents, mineplex.database.tables.Stats.stats, mineplex.database.tables.StatTypes.statTypes, + mineplex.database.tables.Streamers.streamers, mineplex.database.tables.Tasks.tasks, + mineplex.database.tables.TitanGiveaway.titanGiveaway, mineplex.database.tables.TournamentLB.TournamentLB, + mineplex.database.tables.Tournaments.tournaments, + mineplex.database.tables.TournamentTeams.tournamentTeams, mineplex.database.tables.Transactions.transactions); } } diff --git a/Plugins/Mineplex.Database/src/mineplex/database/Keys.java b/Plugins/Mineplex.Database/src/mineplex/database/Keys.java index 58b66870c..84db331ea 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/Keys.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/Keys.java @@ -21,281 +21,419 @@ public class Keys { // IDENTITY definitions // ------------------------------------------------------------------------- + public static final org.jooq.Identity IDENTITY_accountAuth = Identities0.IDENTITY_accountAuth; public static final org.jooq.Identity IDENTITY_accountClan = Identities0.IDENTITY_accountClan; public static final org.jooq.Identity IDENTITY_accountCoinTransactions = Identities0.IDENTITY_accountCoinTransactions; public static final org.jooq.Identity IDENTITY_accountFriend = Identities0.IDENTITY_accountFriend; public static final org.jooq.Identity IDENTITY_accountGemTransactions = Identities0.IDENTITY_accountGemTransactions; + public static final org.jooq.Identity IDENTITY_accountGiveaway = Identities0.IDENTITY_accountGiveaway; public static final org.jooq.Identity IDENTITY_accountIgnore = Identities0.IDENTITY_accountIgnore; public static final org.jooq.Identity IDENTITY_accountInventory = Identities0.IDENTITY_accountInventory; + public static final org.jooq.Identity IDENTITY_accountMortenSpamTest = Identities0.IDENTITY_accountMortenSpamTest; public static final org.jooq.Identity IDENTITY_accountPolls = Identities0.IDENTITY_accountPolls; public static final org.jooq.Identity IDENTITY_accountPreferences = Identities0.IDENTITY_accountPreferences; + public static final org.jooq.Identity IDENTITY_accountPurchases = Identities0.IDENTITY_accountPurchases; public static final org.jooq.Identity IDENTITY_accounts = Identities0.IDENTITY_accounts; - public static final org.jooq.Identity IDENTITY_accountStats = Identities0.IDENTITY_accountStats; public static final org.jooq.Identity IDENTITY_accountTasks = Identities0.IDENTITY_accountTasks; + public static final org.jooq.Identity IDENTITY_accountTipClaimLogs = Identities0.IDENTITY_accountTipClaimLogs; public static final org.jooq.Identity IDENTITY_accountTransactions = Identities0.IDENTITY_accountTransactions; + public static final org.jooq.Identity IDENTITY_battlePets = Identities0.IDENTITY_battlePets; public static final org.jooq.Identity IDENTITY_bonus = Identities0.IDENTITY_bonus; + public static final org.jooq.Identity IDENTITY_bonusLog = Identities0.IDENTITY_bonusLog; + public static final org.jooq.Identity IDENTITY_botSpam = Identities0.IDENTITY_botSpam; public static final org.jooq.Identity IDENTITY_chatsnap = Identities0.IDENTITY_chatsnap; public static final org.jooq.Identity IDENTITY_clanAlliances = Identities0.IDENTITY_clanAlliances; + public static final org.jooq.Identity IDENTITY_clanBans = Identities0.IDENTITY_clanBans; public static final org.jooq.Identity IDENTITY_clanEnemies = Identities0.IDENTITY_clanEnemies; public static final org.jooq.Identity IDENTITY_clans = Identities0.IDENTITY_clans; public static final org.jooq.Identity IDENTITY_clanServer = Identities0.IDENTITY_clanServer; public static final org.jooq.Identity IDENTITY_clanShopItem = Identities0.IDENTITY_clanShopItem; public static final org.jooq.Identity IDENTITY_clanTerritory = Identities0.IDENTITY_clanTerritory; + public static final org.jooq.Identity IDENTITY_clanWar = Identities0.IDENTITY_clanWar; + public static final org.jooq.Identity IDENTITY_customData = Identities0.IDENTITY_customData; public static final org.jooq.Identity IDENTITY_eloRating = Identities0.IDENTITY_eloRating; public static final org.jooq.Identity IDENTITY_fieldBlock = Identities0.IDENTITY_fieldBlock; public static final org.jooq.Identity IDENTITY_fieldMonster = Identities0.IDENTITY_fieldMonster; public static final org.jooq.Identity IDENTITY_fieldOre = Identities0.IDENTITY_fieldOre; + public static final org.jooq.Identity IDENTITY_giveaway = Identities0.IDENTITY_giveaway; + public static final org.jooq.Identity IDENTITY_giveawayCooldown = Identities0.IDENTITY_giveawayCooldown; public static final org.jooq.Identity IDENTITY_itemCategories = Identities0.IDENTITY_itemCategories; public static final org.jooq.Identity IDENTITY_items = Identities0.IDENTITY_items; public static final org.jooq.Identity IDENTITY_mail = Identities0.IDENTITY_mail; public static final org.jooq.Identity IDENTITY_mailbox = Identities0.IDENTITY_mailbox; public static final org.jooq.Identity IDENTITY_npcs = Identities0.IDENTITY_npcs; + public static final org.jooq.Identity IDENTITY_packages = Identities0.IDENTITY_packages; public static final org.jooq.Identity IDENTITY_playerMap = Identities0.IDENTITY_playerMap; public static final org.jooq.Identity IDENTITY_polls = Identities0.IDENTITY_polls; public static final org.jooq.Identity IDENTITY_rankBenefits = Identities0.IDENTITY_rankBenefits; public static final org.jooq.Identity IDENTITY_serverPassword = Identities0.IDENTITY_serverPassword; public static final org.jooq.Identity IDENTITY_spawns = Identities0.IDENTITY_spawns; + public static final org.jooq.Identity IDENTITY_staffMotd = Identities0.IDENTITY_staffMotd; public static final org.jooq.Identity IDENTITY_statEvents = Identities0.IDENTITY_statEvents; public static final org.jooq.Identity IDENTITY_stats = Identities0.IDENTITY_stats; + public static final org.jooq.Identity IDENTITY_streamers = Identities0.IDENTITY_streamers; public static final org.jooq.Identity IDENTITY_tasks = Identities0.IDENTITY_tasks; + public static final org.jooq.Identity IDENTITY_tournaments = Identities0.IDENTITY_tournaments; + public static final org.jooq.Identity IDENTITY_tournamentTeams = Identities0.IDENTITY_tournamentTeams; public static final org.jooq.Identity IDENTITY_transactions = Identities0.IDENTITY_transactions; // ------------------------------------------------------------------------- // UNIQUE and PRIMARY KEY definitions // ------------------------------------------------------------------------- + public static final org.jooq.UniqueKey KEY_accountAuth_PRIMARY = UniqueKeys0.KEY_accountAuth_PRIMARY; public static final org.jooq.UniqueKey KEY_accountClan_PRIMARY = UniqueKeys0.KEY_accountClan_PRIMARY; public static final org.jooq.UniqueKey KEY_accountCoinTransactions_PRIMARY = UniqueKeys0.KEY_accountCoinTransactions_PRIMARY; + public static final org.jooq.UniqueKey KEY_accountCustomData_PRIMARY = UniqueKeys0.KEY_accountCustomData_PRIMARY; public static final org.jooq.UniqueKey KEY_accountFriend_PRIMARY = UniqueKeys0.KEY_accountFriend_PRIMARY; public static final org.jooq.UniqueKey KEY_accountFriend_uuidIndex = UniqueKeys0.KEY_accountFriend_uuidIndex; public static final org.jooq.UniqueKey KEY_accountGemTransactions_PRIMARY = UniqueKeys0.KEY_accountGemTransactions_PRIMARY; + public static final org.jooq.UniqueKey KEY_accountGiveaway_PRIMARY = UniqueKeys0.KEY_accountGiveaway_PRIMARY; public static final org.jooq.UniqueKey KEY_accountIgnore_PRIMARY = UniqueKeys0.KEY_accountIgnore_PRIMARY; public static final org.jooq.UniqueKey KEY_accountInventory_PRIMARY = UniqueKeys0.KEY_accountInventory_PRIMARY; public static final org.jooq.UniqueKey KEY_accountInventory_accountItemIndex = UniqueKeys0.KEY_accountInventory_accountItemIndex; + public static final org.jooq.UniqueKey KEY_accountMortenSpamTest_PRIMARY = UniqueKeys0.KEY_accountMortenSpamTest_PRIMARY; + public static final org.jooq.UniqueKey KEY_accountPets_PRIMARY = UniqueKeys0.KEY_accountPets_PRIMARY; + public static final org.jooq.UniqueKey KEY_accountPets_UNIQUE_ACCOUNT_PET = UniqueKeys0.KEY_accountPets_UNIQUE_ACCOUNT_PET; public static final org.jooq.UniqueKey KEY_accountPolls_PRIMARY = UniqueKeys0.KEY_accountPolls_PRIMARY; public static final org.jooq.UniqueKey KEY_accountPolls_accountPollIndex = UniqueKeys0.KEY_accountPolls_accountPollIndex; public static final org.jooq.UniqueKey KEY_accountPreferences_PRIMARY = UniqueKeys0.KEY_accountPreferences_PRIMARY; public static final org.jooq.UniqueKey KEY_accountPreferences_uuid_index = UniqueKeys0.KEY_accountPreferences_uuid_index; + public static final org.jooq.UniqueKey KEY_accountPurchases_PRIMARY = UniqueKeys0.KEY_accountPurchases_PRIMARY; public static final org.jooq.UniqueKey KEY_accounts_PRIMARY = UniqueKeys0.KEY_accounts_PRIMARY; public static final org.jooq.UniqueKey KEY_accounts_uuidIndex = UniqueKeys0.KEY_accounts_uuidIndex; public static final org.jooq.UniqueKey KEY_accountStat_PRIMARY = UniqueKeys0.KEY_accountStat_PRIMARY; - public static final org.jooq.UniqueKey KEY_accountStats_PRIMARY = UniqueKeys0.KEY_accountStats_PRIMARY; public static final org.jooq.UniqueKey KEY_accountTasks_PRIMARY = UniqueKeys0.KEY_accountTasks_PRIMARY; + public static final org.jooq.UniqueKey KEY_accountTip_PRIMARY = UniqueKeys0.KEY_accountTip_PRIMARY; + public static final org.jooq.UniqueKey KEY_accountTipClaimLogs_PRIMARY = UniqueKeys0.KEY_accountTipClaimLogs_PRIMARY; + public static final org.jooq.UniqueKey KEY_accountTipLogs_PRIMARY = UniqueKeys0.KEY_accountTipLogs_PRIMARY; public static final org.jooq.UniqueKey KEY_accountTransactions_PRIMARY = UniqueKeys0.KEY_accountTransactions_PRIMARY; + public static final org.jooq.UniqueKey KEY_accountValentinesGift_PRIMARY = UniqueKeys0.KEY_accountValentinesGift_PRIMARY; public static final org.jooq.UniqueKey KEY_activeTournaments_PRIMARY = UniqueKeys0.KEY_activeTournaments_PRIMARY; + public static final org.jooq.UniqueKey KEY_battlePets_PRIMARY = UniqueKeys0.KEY_battlePets_PRIMARY; public static final org.jooq.UniqueKey KEY_bonus_PRIMARY = UniqueKeys0.KEY_bonus_PRIMARY; + public static final org.jooq.UniqueKey KEY_bonusLog_PRIMARY = UniqueKeys0.KEY_bonusLog_PRIMARY; + public static final org.jooq.UniqueKey KEY_botSpam_PRIMARY = UniqueKeys0.KEY_botSpam_PRIMARY; + public static final org.jooq.UniqueKey KEY_botSpam_unique_text = UniqueKeys0.KEY_botSpam_unique_text; public static final org.jooq.UniqueKey KEY_chatsnap_PRIMARY = UniqueKeys0.KEY_chatsnap_PRIMARY; public static final org.jooq.UniqueKey KEY_clanAlliances_PRIMARY = UniqueKeys0.KEY_clanAlliances_PRIMARY; + public static final org.jooq.UniqueKey KEY_clanBans_PRIMARY = UniqueKeys0.KEY_clanBans_PRIMARY; public static final org.jooq.UniqueKey KEY_clanEnemies_PRIMARY = UniqueKeys0.KEY_clanEnemies_PRIMARY; public static final org.jooq.UniqueKey KEY_clanEnemies_unique_clanId = UniqueKeys0.KEY_clanEnemies_unique_clanId; public static final org.jooq.UniqueKey KEY_clanEnemies_unique_otherClanId = UniqueKeys0.KEY_clanEnemies_unique_otherClanId; + public static final org.jooq.UniqueKey KEY_clanNameBlacklist_PRIMARY = UniqueKeys0.KEY_clanNameBlacklist_PRIMARY; public static final org.jooq.UniqueKey KEY_clans_PRIMARY = UniqueKeys0.KEY_clans_PRIMARY; public static final org.jooq.UniqueKey KEY_clans_clanName = UniqueKeys0.KEY_clans_clanName; public static final org.jooq.UniqueKey KEY_clanServer_PRIMARY = UniqueKeys0.KEY_clanServer_PRIMARY; + public static final org.jooq.UniqueKey KEY_clanServer_unique_serverName = UniqueKeys0.KEY_clanServer_unique_serverName; public static final org.jooq.UniqueKey KEY_clanShopItem_PRIMARY = UniqueKeys0.KEY_clanShopItem_PRIMARY; public static final org.jooq.UniqueKey KEY_clanShopItem_shop_page_slot_UNIQUE = UniqueKeys0.KEY_clanShopItem_shop_page_slot_UNIQUE; + public static final org.jooq.UniqueKey KEY_clansOutposts_PRIMARY = UniqueKeys0.KEY_clansOutposts_PRIMARY; + public static final org.jooq.UniqueKey KEY_clansPvpTimer_PRIMARY = UniqueKeys0.KEY_clansPvpTimer_PRIMARY; + public static final org.jooq.UniqueKey KEY_clansSiegeWeapons_PRIMARY = UniqueKeys0.KEY_clansSiegeWeapons_PRIMARY; + public static final org.jooq.UniqueKey KEY_clansTutorial_PRIMARY = UniqueKeys0.KEY_clansTutorial_PRIMARY; public static final org.jooq.UniqueKey KEY_clanTerritory_PRIMARY = UniqueKeys0.KEY_clanTerritory_PRIMARY; - public static final org.jooq.UniqueKey KEY_clanTerritory_territory_server_chunk_UNIQUE = UniqueKeys0.KEY_clanTerritory_territory_server_chunk_UNIQUE; + public static final org.jooq.UniqueKey KEY_clanWar_PRIMARY = UniqueKeys0.KEY_clanWar_PRIMARY; + public static final org.jooq.UniqueKey KEY_customData_PRIMARY = UniqueKeys0.KEY_customData_PRIMARY; public static final org.jooq.UniqueKey KEY_eloRating_PRIMARY = UniqueKeys0.KEY_eloRating_PRIMARY; - public static final org.jooq.UniqueKey KEY_eloRating_uuid_gameType_index = UniqueKeys0.KEY_eloRating_uuid_gameType_index; + public static final org.jooq.UniqueKey KEY_facebook_PRIMARY = UniqueKeys0.KEY_facebook_PRIMARY; + public static final org.jooq.UniqueKey KEY_facebook_facebook_code_uindex = UniqueKeys0.KEY_facebook_facebook_code_uindex; + public static final org.jooq.UniqueKey KEY_facebook_facebook_accountId_uindex = UniqueKeys0.KEY_facebook_facebook_accountId_uindex; public static final org.jooq.UniqueKey KEY_fieldBlock_PRIMARY = UniqueKeys0.KEY_fieldBlock_PRIMARY; public static final org.jooq.UniqueKey KEY_fieldMonster_PRIMARY = UniqueKeys0.KEY_fieldMonster_PRIMARY; public static final org.jooq.UniqueKey KEY_fieldOre_PRIMARY = UniqueKeys0.KEY_fieldOre_PRIMARY; + public static final org.jooq.UniqueKey KEY_gadgets_PRIMARY = UniqueKeys0.KEY_gadgets_PRIMARY; + public static final org.jooq.UniqueKey KEY_giveaway_PRIMARY = UniqueKeys0.KEY_giveaway_PRIMARY; + public static final org.jooq.UniqueKey KEY_giveaway_giveaway_name_uindex = UniqueKeys0.KEY_giveaway_giveaway_name_uindex; + public static final org.jooq.UniqueKey KEY_giveawayCooldown_PRIMARY = UniqueKeys0.KEY_giveawayCooldown_PRIMARY; + public static final org.jooq.UniqueKey KEY_giveawayCooldown_giveawayCooldown_name_uindex = UniqueKeys0.KEY_giveawayCooldown_giveawayCooldown_name_uindex; + public static final org.jooq.UniqueKey KEY_incognitoStaff_PRIMARY = UniqueKeys0.KEY_incognitoStaff_PRIMARY; public static final org.jooq.UniqueKey KEY_itemCategories_PRIMARY = UniqueKeys0.KEY_itemCategories_PRIMARY; public static final org.jooq.UniqueKey KEY_itemCategories_nameIndex = UniqueKeys0.KEY_itemCategories_nameIndex; public static final org.jooq.UniqueKey KEY_items_PRIMARY = UniqueKeys0.KEY_items_PRIMARY; + public static final org.jooq.UniqueKey KEY_items_name_UNIQUE = UniqueKeys0.KEY_items_name_UNIQUE; public static final org.jooq.UniqueKey KEY_items_uniqueNameCategoryIndex = UniqueKeys0.KEY_items_uniqueNameCategoryIndex; + public static final org.jooq.UniqueKey KEY_kitProgression_PRIMARY = UniqueKeys0.KEY_kitProgression_PRIMARY; + public static final org.jooq.UniqueKey KEY_kit_progression_PRIMARY = UniqueKeys0.KEY_kit_progression_PRIMARY; public static final org.jooq.UniqueKey KEY_mail_PRIMARY = UniqueKeys0.KEY_mail_PRIMARY; public static final org.jooq.UniqueKey KEY_mailbox_PRIMARY = UniqueKeys0.KEY_mailbox_PRIMARY; public static final org.jooq.UniqueKey KEY_npcs_PRIMARY = UniqueKeys0.KEY_npcs_PRIMARY; + public static final org.jooq.UniqueKey KEY_packages_PRIMARY = UniqueKeys0.KEY_packages_PRIMARY; public static final org.jooq.UniqueKey KEY_playerMap_PRIMARY = UniqueKeys0.KEY_playerMap_PRIMARY; public static final org.jooq.UniqueKey KEY_playerMap_playerIndex = UniqueKeys0.KEY_playerMap_playerIndex; public static final org.jooq.UniqueKey KEY_polls_PRIMARY = UniqueKeys0.KEY_polls_PRIMARY; public static final org.jooq.UniqueKey KEY_rankBenefits_PRIMARY = UniqueKeys0.KEY_rankBenefits_PRIMARY; + public static final org.jooq.UniqueKey KEY_rankedBans_PRIMARY = UniqueKeys0.KEY_rankedBans_PRIMARY; + public static final org.jooq.UniqueKey KEY_reportTickets_PRIMARY = UniqueKeys0.KEY_reportTickets_PRIMARY; public static final org.jooq.UniqueKey KEY_serverPassword_PRIMARY = UniqueKeys0.KEY_serverPassword_PRIMARY; public static final org.jooq.UniqueKey KEY_spawns_PRIMARY = UniqueKeys0.KEY_spawns_PRIMARY; + public static final org.jooq.UniqueKey KEY_staffMotd_PRIMARY = UniqueKeys0.KEY_staffMotd_PRIMARY; public static final org.jooq.UniqueKey KEY_statEvents_PRIMARY = UniqueKeys0.KEY_statEvents_PRIMARY; public static final org.jooq.UniqueKey KEY_statEvents_UK_DailyEntry = UniqueKeys0.KEY_statEvents_UK_DailyEntry; public static final org.jooq.UniqueKey KEY_stats_PRIMARY = UniqueKeys0.KEY_stats_PRIMARY; public static final org.jooq.UniqueKey KEY_stats_nameIndex = UniqueKeys0.KEY_stats_nameIndex; public static final org.jooq.UniqueKey KEY_statTypes_PRIMARY = UniqueKeys0.KEY_statTypes_PRIMARY; public static final org.jooq.UniqueKey KEY_statTypes_name = UniqueKeys0.KEY_statTypes_name; + public static final org.jooq.UniqueKey KEY_streamers_PRIMARY = UniqueKeys0.KEY_streamers_PRIMARY; public static final org.jooq.UniqueKey KEY_tasks_PRIMARY = UniqueKeys0.KEY_tasks_PRIMARY; public static final org.jooq.UniqueKey KEY_tasks_name_UNIQUE = UniqueKeys0.KEY_tasks_name_UNIQUE; + public static final org.jooq.UniqueKey KEY_titanGiveaway_PRIMARY = UniqueKeys0.KEY_titanGiveaway_PRIMARY; public static final org.jooq.UniqueKey KEY_TournamentLB_PRIMARY = UniqueKeys0.KEY_TournamentLB_PRIMARY; public static final org.jooq.UniqueKey KEY_TournamentLB_UK_PlayerEntry = UniqueKeys0.KEY_TournamentLB_UK_PlayerEntry; + public static final org.jooq.UniqueKey KEY_tournaments_PRIMARY = UniqueKeys0.KEY_tournaments_PRIMARY; + public static final org.jooq.UniqueKey KEY_tournamentTeams_PRIMARY = UniqueKeys0.KEY_tournamentTeams_PRIMARY; public static final org.jooq.UniqueKey KEY_transactions_PRIMARY = UniqueKeys0.KEY_transactions_PRIMARY; // ------------------------------------------------------------------------- // FOREIGN KEY definitions // ------------------------------------------------------------------------- - public static final org.jooq.ForeignKey FK_accountClan_accounts = ForeignKeys0.FK_accountClan_accounts; - public static final org.jooq.ForeignKey FK_accountClan_clans2 = ForeignKeys0.FK_accountClan_clans2; + public static final org.jooq.ForeignKey accountAuth_accounts_id_fk = ForeignKeys0.accountAuth_accounts_id_fk; public static final org.jooq.ForeignKey FK_ACT_ACCOUNTS_ID = ForeignKeys0.FK_ACT_ACCOUNTS_ID; + public static final org.jooq.ForeignKey CUSTOMDATA_ACCOUNT = ForeignKeys0.CUSTOMDATA_ACCOUNT; + public static final org.jooq.ForeignKey ACCOUNTDATA_CUSTOMDATA = ForeignKeys0.ACCOUNTDATA_CUSTOMDATA; public static final org.jooq.ForeignKey accountGemTransactions_ibfk_1 = ForeignKeys0.accountGemTransactions_ibfk_1; + public static final org.jooq.ForeignKey accountGiveaway_giveaway_id_fk = ForeignKeys0.accountGiveaway_giveaway_id_fk; + public static final org.jooq.ForeignKey accountGiveaway_accounts_id_fk = ForeignKeys0.accountGiveaway_accounts_id_fk; + public static final org.jooq.ForeignKey accountGiveaway_giveawayCooldown_id_fk = ForeignKeys0.accountGiveaway_giveawayCooldown_id_fk; public static final org.jooq.ForeignKey accountInventory_ibfk_1 = ForeignKeys0.accountInventory_ibfk_1; public static final org.jooq.ForeignKey accountInventory_ibfk_2 = ForeignKeys0.accountInventory_ibfk_2; + public static final org.jooq.ForeignKey MORTEN_ACCOUNT = ForeignKeys0.MORTEN_ACCOUNT; + public static final org.jooq.ForeignKey accountIdKEY = ForeignKeys0.accountIdKEY; public static final org.jooq.ForeignKey accountPolls_ibfk_1 = ForeignKeys0.accountPolls_ibfk_1; public static final org.jooq.ForeignKey accountPolls_ibfk_2 = ForeignKeys0.accountPolls_ibfk_2; + public static final org.jooq.ForeignKey ACCOUNT_PURCHASE_ID = ForeignKeys0.ACCOUNT_PURCHASE_ID; + public static final org.jooq.ForeignKey PACKAGENAME_ID = ForeignKeys0.PACKAGENAME_ID; public static final org.jooq.ForeignKey accountStat_account = ForeignKeys0.accountStat_account; public static final org.jooq.ForeignKey accountStat_stat = ForeignKeys0.accountStat_stat; - public static final org.jooq.ForeignKey accountStats_ibfk_1 = ForeignKeys0.accountStats_ibfk_1; - public static final org.jooq.ForeignKey accountStats_ibfk_2 = ForeignKeys0.accountStats_ibfk_2; public static final org.jooq.ForeignKey ACCOUNTTASKS_ACCOUNTID = ForeignKeys0.ACCOUNTTASKS_ACCOUNTID; public static final org.jooq.ForeignKey ACCOUNTTASKS_TASKID = ForeignKeys0.ACCOUNTTASKS_TASKID; + public static final org.jooq.ForeignKey accountTips_accounts_id_fk = ForeignKeys0.accountTips_accounts_id_fk; + public static final org.jooq.ForeignKey accountTipClaimLogs_accounts_id_fk = ForeignKeys0.accountTipClaimLogs_accounts_id_fk; + public static final org.jooq.ForeignKey accountTipLogs_accounts_id_fk = ForeignKeys0.accountTipLogs_accounts_id_fk; public static final org.jooq.ForeignKey ACCOUNTTRANSACTIONS_ACCOUNTID = ForeignKeys0.ACCOUNTTRANSACTIONS_ACCOUNTID; public static final org.jooq.ForeignKey ACCOUNTTRANSACTIONS_TRANSACTIONID = ForeignKeys0.ACCOUNTTRANSACTIONS_TRANSACTIONID; + public static final org.jooq.ForeignKey accountValentines_sender_fk = ForeignKeys0.accountValentines_sender_fk; + public static final org.jooq.ForeignKey accountValentines_target_fk = ForeignKeys0.accountValentines_target_fk; public static final org.jooq.ForeignKey bonus_ibfk_1 = ForeignKeys0.bonus_ibfk_1; - public static final org.jooq.ForeignKey clanAlliances_ibfk_2 = ForeignKeys0.clanAlliances_ibfk_2; - public static final org.jooq.ForeignKey clanAlliances_ibfk_1 = ForeignKeys0.clanAlliances_ibfk_1; - public static final org.jooq.ForeignKey clanEnemies_ibfk_1 = ForeignKeys0.clanEnemies_ibfk_1; - public static final org.jooq.ForeignKey clanEnemies_ibfk_2 = ForeignKeys0.clanEnemies_ibfk_2; - public static final org.jooq.ForeignKey clans_ibfk_1 = ForeignKeys0.clans_ibfk_1; - public static final org.jooq.ForeignKey clanTerritory_ibfk_1 = ForeignKeys0.clanTerritory_ibfk_1; - public static final org.jooq.ForeignKey clanTerritory_ibfk_2 = ForeignKeys0.clanTerritory_ibfk_2; - public static final org.jooq.ForeignKey items_ibfk_1 = ForeignKeys0.items_ibfk_1; + public static final org.jooq.ForeignKey bonusLogAccountId = ForeignKeys0.bonusLogAccountId; + public static final org.jooq.ForeignKey bonusLogItemId = ForeignKeys0.bonusLogItemId; + public static final org.jooq.ForeignKey ELORATING_ACCOUNTID = ForeignKeys0.ELORATING_ACCOUNTID; + public static final org.jooq.ForeignKey facebook_accounts_id_fk = ForeignKeys0.facebook_accounts_id_fk; + public static final org.jooq.ForeignKey gadgets_ibfk_1 = ForeignKeys0.gadgets_ibfk_1; public static final org.jooq.ForeignKey mail_ibfk_1 = ForeignKeys0.mail_ibfk_1; public static final org.jooq.ForeignKey mailbox_ibfk_1 = ForeignKeys0.mailbox_ibfk_1; public static final org.jooq.ForeignKey rankBenefits_ibfk_1 = ForeignKeys0.rankBenefits_ibfk_1; + public static final org.jooq.ForeignKey titanGiveaway_ibfk_1 = ForeignKeys0.titanGiveaway_ibfk_1; + public static final org.jooq.ForeignKey TEAM_TOURNAMENT_KEY = ForeignKeys0.TEAM_TOURNAMENT_KEY; + public static final org.jooq.ForeignKey TEAM_TOURNAMENT_ACCOUNT_ID = ForeignKeys0.TEAM_TOURNAMENT_ACCOUNT_ID; // ------------------------------------------------------------------------- // [#1459] distribute members to avoid static initialisers > 64kb // ------------------------------------------------------------------------- private static class Identities0 extends org.jooq.impl.AbstractKeys { + public static org.jooq.Identity IDENTITY_accountAuth = createIdentity(mineplex.database.tables.AccountAuth.accountAuth, mineplex.database.tables.AccountAuth.accountAuth.id); public static org.jooq.Identity IDENTITY_accountClan = createIdentity(mineplex.database.tables.AccountClan.accountClan, mineplex.database.tables.AccountClan.accountClan.id); public static org.jooq.Identity IDENTITY_accountCoinTransactions = createIdentity(mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions, mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions.id); public static org.jooq.Identity IDENTITY_accountFriend = createIdentity(mineplex.database.tables.AccountFriend.accountFriend, mineplex.database.tables.AccountFriend.accountFriend.id); public static org.jooq.Identity IDENTITY_accountGemTransactions = createIdentity(mineplex.database.tables.AccountGemTransactions.accountGemTransactions, mineplex.database.tables.AccountGemTransactions.accountGemTransactions.id); + public static org.jooq.Identity IDENTITY_accountGiveaway = createIdentity(mineplex.database.tables.AccountGiveaway.accountGiveaway, mineplex.database.tables.AccountGiveaway.accountGiveaway.id); public static org.jooq.Identity IDENTITY_accountIgnore = createIdentity(mineplex.database.tables.AccountIgnore.accountIgnore, mineplex.database.tables.AccountIgnore.accountIgnore.id); public static org.jooq.Identity IDENTITY_accountInventory = createIdentity(mineplex.database.tables.AccountInventory.accountInventory, mineplex.database.tables.AccountInventory.accountInventory.id); + public static org.jooq.Identity IDENTITY_accountMortenSpamTest = createIdentity(mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest, mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest.id); public static org.jooq.Identity IDENTITY_accountPolls = createIdentity(mineplex.database.tables.AccountPolls.accountPolls, mineplex.database.tables.AccountPolls.accountPolls.id); public static org.jooq.Identity IDENTITY_accountPreferences = createIdentity(mineplex.database.tables.AccountPreferences.accountPreferences, mineplex.database.tables.AccountPreferences.accountPreferences.id); + public static org.jooq.Identity IDENTITY_accountPurchases = createIdentity(mineplex.database.tables.AccountPurchases.accountPurchases, mineplex.database.tables.AccountPurchases.accountPurchases.id); public static org.jooq.Identity IDENTITY_accounts = createIdentity(mineplex.database.tables.Accounts.accounts, mineplex.database.tables.Accounts.accounts.id); - public static org.jooq.Identity IDENTITY_accountStats = createIdentity(mineplex.database.tables.AccountStats.accountStats, mineplex.database.tables.AccountStats.accountStats.id); public static org.jooq.Identity IDENTITY_accountTasks = createIdentity(mineplex.database.tables.AccountTasks.accountTasks, mineplex.database.tables.AccountTasks.accountTasks.id); + public static org.jooq.Identity IDENTITY_accountTipClaimLogs = createIdentity(mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs, mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs.id); public static org.jooq.Identity IDENTITY_accountTransactions = createIdentity(mineplex.database.tables.AccountTransactions.accountTransactions, mineplex.database.tables.AccountTransactions.accountTransactions.id); + public static org.jooq.Identity IDENTITY_battlePets = createIdentity(mineplex.database.tables.BattlePets.battlePets, mineplex.database.tables.BattlePets.battlePets.petId); public static org.jooq.Identity IDENTITY_bonus = createIdentity(mineplex.database.tables.Bonus.bonus, mineplex.database.tables.Bonus.bonus.accountId); + public static org.jooq.Identity IDENTITY_bonusLog = createIdentity(mineplex.database.tables.BonusLog.bonusLog, mineplex.database.tables.BonusLog.bonusLog.id); + public static org.jooq.Identity IDENTITY_botSpam = createIdentity(mineplex.database.tables.BotSpam.botSpam, mineplex.database.tables.BotSpam.botSpam.id); public static org.jooq.Identity IDENTITY_chatsnap = createIdentity(mineplex.database.tables.Chatsnap.chatsnap, mineplex.database.tables.Chatsnap.chatsnap.id); public static org.jooq.Identity IDENTITY_clanAlliances = createIdentity(mineplex.database.tables.ClanAlliances.clanAlliances, mineplex.database.tables.ClanAlliances.clanAlliances.id); + public static org.jooq.Identity IDENTITY_clanBans = createIdentity(mineplex.database.tables.ClanBans.clanBans, mineplex.database.tables.ClanBans.clanBans.id); public static org.jooq.Identity IDENTITY_clanEnemies = createIdentity(mineplex.database.tables.ClanEnemies.clanEnemies, mineplex.database.tables.ClanEnemies.clanEnemies.id); public static org.jooq.Identity IDENTITY_clans = createIdentity(mineplex.database.tables.Clans.clans, mineplex.database.tables.Clans.clans.id); public static org.jooq.Identity IDENTITY_clanServer = createIdentity(mineplex.database.tables.ClanServer.clanServer, mineplex.database.tables.ClanServer.clanServer.id); public static org.jooq.Identity IDENTITY_clanShopItem = createIdentity(mineplex.database.tables.ClanShopItem.clanShopItem, mineplex.database.tables.ClanShopItem.clanShopItem.id); public static org.jooq.Identity IDENTITY_clanTerritory = createIdentity(mineplex.database.tables.ClanTerritory.clanTerritory, mineplex.database.tables.ClanTerritory.clanTerritory.id); + public static org.jooq.Identity IDENTITY_clanWar = createIdentity(mineplex.database.tables.ClanWar.clanWar, mineplex.database.tables.ClanWar.clanWar.id); + public static org.jooq.Identity IDENTITY_customData = createIdentity(mineplex.database.tables.CustomData.customData, mineplex.database.tables.CustomData.customData.id); public static org.jooq.Identity IDENTITY_eloRating = createIdentity(mineplex.database.tables.EloRating.eloRating, mineplex.database.tables.EloRating.eloRating.id); public static org.jooq.Identity IDENTITY_fieldBlock = createIdentity(mineplex.database.tables.FieldBlock.fieldBlock, mineplex.database.tables.FieldBlock.fieldBlock.id); public static org.jooq.Identity IDENTITY_fieldMonster = createIdentity(mineplex.database.tables.FieldMonster.fieldMonster, mineplex.database.tables.FieldMonster.fieldMonster.id); public static org.jooq.Identity IDENTITY_fieldOre = createIdentity(mineplex.database.tables.FieldOre.fieldOre, mineplex.database.tables.FieldOre.fieldOre.id); + public static org.jooq.Identity IDENTITY_giveaway = createIdentity(mineplex.database.tables.Giveaway.giveaway, mineplex.database.tables.Giveaway.giveaway.id); + public static org.jooq.Identity IDENTITY_giveawayCooldown = createIdentity(mineplex.database.tables.GiveawayCooldown.giveawayCooldown, mineplex.database.tables.GiveawayCooldown.giveawayCooldown.id); public static org.jooq.Identity IDENTITY_itemCategories = createIdentity(mineplex.database.tables.ItemCategories.itemCategories, mineplex.database.tables.ItemCategories.itemCategories.id); public static org.jooq.Identity IDENTITY_items = createIdentity(mineplex.database.tables.Items.items, mineplex.database.tables.Items.items.id); public static org.jooq.Identity IDENTITY_mail = createIdentity(mineplex.database.tables.Mail.mail, mineplex.database.tables.Mail.mail.id); public static org.jooq.Identity IDENTITY_mailbox = createIdentity(mineplex.database.tables.Mailbox.mailbox, mineplex.database.tables.Mailbox.mailbox.id); public static org.jooq.Identity IDENTITY_npcs = createIdentity(mineplex.database.tables.Npcs.npcs, mineplex.database.tables.Npcs.npcs.id); + public static org.jooq.Identity IDENTITY_packages = createIdentity(mineplex.database.tables.Packages.packages, mineplex.database.tables.Packages.packages.id); public static org.jooq.Identity IDENTITY_playerMap = createIdentity(mineplex.database.tables.PlayerMap.playerMap, mineplex.database.tables.PlayerMap.playerMap.id); public static org.jooq.Identity IDENTITY_polls = createIdentity(mineplex.database.tables.Polls.polls, mineplex.database.tables.Polls.polls.id); public static org.jooq.Identity IDENTITY_rankBenefits = createIdentity(mineplex.database.tables.RankBenefits.rankBenefits, mineplex.database.tables.RankBenefits.rankBenefits.id); public static org.jooq.Identity IDENTITY_serverPassword = createIdentity(mineplex.database.tables.ServerPassword.serverPassword, mineplex.database.tables.ServerPassword.serverPassword.id); public static org.jooq.Identity IDENTITY_spawns = createIdentity(mineplex.database.tables.Spawns.spawns, mineplex.database.tables.Spawns.spawns.id); + public static org.jooq.Identity IDENTITY_staffMotd = createIdentity(mineplex.database.tables.StaffMotd.staffMotd, mineplex.database.tables.StaffMotd.staffMotd.id); public static org.jooq.Identity IDENTITY_statEvents = createIdentity(mineplex.database.tables.StatEvents.statEvents, mineplex.database.tables.StatEvents.statEvents.eventId); public static org.jooq.Identity IDENTITY_stats = createIdentity(mineplex.database.tables.Stats.stats, mineplex.database.tables.Stats.stats.id); + public static org.jooq.Identity IDENTITY_streamers = createIdentity(mineplex.database.tables.Streamers.streamers, mineplex.database.tables.Streamers.streamers.id); public static org.jooq.Identity IDENTITY_tasks = createIdentity(mineplex.database.tables.Tasks.tasks, mineplex.database.tables.Tasks.tasks.id); + public static org.jooq.Identity IDENTITY_tournaments = createIdentity(mineplex.database.tables.Tournaments.tournaments, mineplex.database.tables.Tournaments.tournaments.id); + public static org.jooq.Identity IDENTITY_tournamentTeams = createIdentity(mineplex.database.tables.TournamentTeams.tournamentTeams, mineplex.database.tables.TournamentTeams.tournamentTeams.id); public static org.jooq.Identity IDENTITY_transactions = createIdentity(mineplex.database.tables.Transactions.transactions, mineplex.database.tables.Transactions.transactions.id); } private static class UniqueKeys0 extends org.jooq.impl.AbstractKeys { + public static final org.jooq.UniqueKey KEY_accountAuth_PRIMARY = createUniqueKey(mineplex.database.tables.AccountAuth.accountAuth, mineplex.database.tables.AccountAuth.accountAuth.id); public static final org.jooq.UniqueKey KEY_accountClan_PRIMARY = createUniqueKey(mineplex.database.tables.AccountClan.accountClan, mineplex.database.tables.AccountClan.accountClan.id); public static final org.jooq.UniqueKey KEY_accountCoinTransactions_PRIMARY = createUniqueKey(mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions, mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions.id); + public static final org.jooq.UniqueKey KEY_accountCustomData_PRIMARY = createUniqueKey(mineplex.database.tables.AccountCustomData.accountCustomData, mineplex.database.tables.AccountCustomData.accountCustomData.customDataId, mineplex.database.tables.AccountCustomData.accountCustomData.accountId); public static final org.jooq.UniqueKey KEY_accountFriend_PRIMARY = createUniqueKey(mineplex.database.tables.AccountFriend.accountFriend, mineplex.database.tables.AccountFriend.accountFriend.id); public static final org.jooq.UniqueKey KEY_accountFriend_uuidIndex = createUniqueKey(mineplex.database.tables.AccountFriend.accountFriend, mineplex.database.tables.AccountFriend.accountFriend.uuidSource, mineplex.database.tables.AccountFriend.accountFriend.uuidTarget); public static final org.jooq.UniqueKey KEY_accountGemTransactions_PRIMARY = createUniqueKey(mineplex.database.tables.AccountGemTransactions.accountGemTransactions, mineplex.database.tables.AccountGemTransactions.accountGemTransactions.id); + public static final org.jooq.UniqueKey KEY_accountGiveaway_PRIMARY = createUniqueKey(mineplex.database.tables.AccountGiveaway.accountGiveaway, mineplex.database.tables.AccountGiveaway.accountGiveaway.id); public static final org.jooq.UniqueKey KEY_accountIgnore_PRIMARY = createUniqueKey(mineplex.database.tables.AccountIgnore.accountIgnore, mineplex.database.tables.AccountIgnore.accountIgnore.id); public static final org.jooq.UniqueKey KEY_accountInventory_PRIMARY = createUniqueKey(mineplex.database.tables.AccountInventory.accountInventory, mineplex.database.tables.AccountInventory.accountInventory.id); public static final org.jooq.UniqueKey KEY_accountInventory_accountItemIndex = createUniqueKey(mineplex.database.tables.AccountInventory.accountInventory, mineplex.database.tables.AccountInventory.accountInventory.accountId, mineplex.database.tables.AccountInventory.accountInventory.itemId); + public static final org.jooq.UniqueKey KEY_accountMortenSpamTest_PRIMARY = createUniqueKey(mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest, mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest.id); + public static final org.jooq.UniqueKey KEY_accountPets_PRIMARY = createUniqueKey(mineplex.database.tables.AccountPets.accountPets, mineplex.database.tables.AccountPets.accountPets.accountId); + public static final org.jooq.UniqueKey KEY_accountPets_UNIQUE_ACCOUNT_PET = createUniqueKey(mineplex.database.tables.AccountPets.accountPets, mineplex.database.tables.AccountPets.accountPets.accountId, mineplex.database.tables.AccountPets.accountPets.petId); public static final org.jooq.UniqueKey KEY_accountPolls_PRIMARY = createUniqueKey(mineplex.database.tables.AccountPolls.accountPolls, mineplex.database.tables.AccountPolls.accountPolls.id); public static final org.jooq.UniqueKey KEY_accountPolls_accountPollIndex = createUniqueKey(mineplex.database.tables.AccountPolls.accountPolls, mineplex.database.tables.AccountPolls.accountPolls.accountId, mineplex.database.tables.AccountPolls.accountPolls.pollId); public static final org.jooq.UniqueKey KEY_accountPreferences_PRIMARY = createUniqueKey(mineplex.database.tables.AccountPreferences.accountPreferences, mineplex.database.tables.AccountPreferences.accountPreferences.id); public static final org.jooq.UniqueKey KEY_accountPreferences_uuid_index = createUniqueKey(mineplex.database.tables.AccountPreferences.accountPreferences, mineplex.database.tables.AccountPreferences.accountPreferences.uuid); + public static final org.jooq.UniqueKey KEY_accountPurchases_PRIMARY = createUniqueKey(mineplex.database.tables.AccountPurchases.accountPurchases, mineplex.database.tables.AccountPurchases.accountPurchases.id); public static final org.jooq.UniqueKey KEY_accounts_PRIMARY = createUniqueKey(mineplex.database.tables.Accounts.accounts, mineplex.database.tables.Accounts.accounts.id); public static final org.jooq.UniqueKey KEY_accounts_uuidIndex = createUniqueKey(mineplex.database.tables.Accounts.accounts, mineplex.database.tables.Accounts.accounts.uuid); public static final org.jooq.UniqueKey KEY_accountStat_PRIMARY = createUniqueKey(mineplex.database.tables.AccountStat.accountStat, mineplex.database.tables.AccountStat.accountStat.accountId, mineplex.database.tables.AccountStat.accountStat.statId); - public static final org.jooq.UniqueKey KEY_accountStats_PRIMARY = createUniqueKey(mineplex.database.tables.AccountStats.accountStats, mineplex.database.tables.AccountStats.accountStats.id); public static final org.jooq.UniqueKey KEY_accountTasks_PRIMARY = createUniqueKey(mineplex.database.tables.AccountTasks.accountTasks, mineplex.database.tables.AccountTasks.accountTasks.id); + public static final org.jooq.UniqueKey KEY_accountTip_PRIMARY = createUniqueKey(mineplex.database.tables.AccountTip.accountTip, mineplex.database.tables.AccountTip.accountTip.accountId); + public static final org.jooq.UniqueKey KEY_accountTipClaimLogs_PRIMARY = createUniqueKey(mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs, mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs.id); + public static final org.jooq.UniqueKey KEY_accountTipLogs_PRIMARY = createUniqueKey(mineplex.database.tables.AccountTipLogs.accountTipLogs, mineplex.database.tables.AccountTipLogs.accountTipLogs.accountId, mineplex.database.tables.AccountTipLogs.accountTipLogs.boosterId); public static final org.jooq.UniqueKey KEY_accountTransactions_PRIMARY = createUniqueKey(mineplex.database.tables.AccountTransactions.accountTransactions, mineplex.database.tables.AccountTransactions.accountTransactions.id); + public static final org.jooq.UniqueKey KEY_accountValentinesGift_PRIMARY = createUniqueKey(mineplex.database.tables.AccountValentinesGift.accountValentinesGift, mineplex.database.tables.AccountValentinesGift.accountValentinesGift.senderId, mineplex.database.tables.AccountValentinesGift.accountValentinesGift.targetId); public static final org.jooq.UniqueKey KEY_activeTournaments_PRIMARY = createUniqueKey(mineplex.database.tables.ActiveTournaments.activeTournaments, mineplex.database.tables.ActiveTournaments.activeTournaments.name); + public static final org.jooq.UniqueKey KEY_battlePets_PRIMARY = createUniqueKey(mineplex.database.tables.BattlePets.battlePets, mineplex.database.tables.BattlePets.battlePets.petId); public static final org.jooq.UniqueKey KEY_bonus_PRIMARY = createUniqueKey(mineplex.database.tables.Bonus.bonus, mineplex.database.tables.Bonus.bonus.accountId); + public static final org.jooq.UniqueKey KEY_bonusLog_PRIMARY = createUniqueKey(mineplex.database.tables.BonusLog.bonusLog, mineplex.database.tables.BonusLog.bonusLog.id); + public static final org.jooq.UniqueKey KEY_botSpam_PRIMARY = createUniqueKey(mineplex.database.tables.BotSpam.botSpam, mineplex.database.tables.BotSpam.botSpam.id); + public static final org.jooq.UniqueKey KEY_botSpam_unique_text = createUniqueKey(mineplex.database.tables.BotSpam.botSpam, mineplex.database.tables.BotSpam.botSpam.text); public static final org.jooq.UniqueKey KEY_chatsnap_PRIMARY = createUniqueKey(mineplex.database.tables.Chatsnap.chatsnap, mineplex.database.tables.Chatsnap.chatsnap.id); public static final org.jooq.UniqueKey KEY_clanAlliances_PRIMARY = createUniqueKey(mineplex.database.tables.ClanAlliances.clanAlliances, mineplex.database.tables.ClanAlliances.clanAlliances.id); + public static final org.jooq.UniqueKey KEY_clanBans_PRIMARY = createUniqueKey(mineplex.database.tables.ClanBans.clanBans, mineplex.database.tables.ClanBans.clanBans.id); public static final org.jooq.UniqueKey KEY_clanEnemies_PRIMARY = createUniqueKey(mineplex.database.tables.ClanEnemies.clanEnemies, mineplex.database.tables.ClanEnemies.clanEnemies.id); public static final org.jooq.UniqueKey KEY_clanEnemies_unique_clanId = createUniqueKey(mineplex.database.tables.ClanEnemies.clanEnemies, mineplex.database.tables.ClanEnemies.clanEnemies.clanId); public static final org.jooq.UniqueKey KEY_clanEnemies_unique_otherClanId = createUniqueKey(mineplex.database.tables.ClanEnemies.clanEnemies, mineplex.database.tables.ClanEnemies.clanEnemies.otherClanId); + public static final org.jooq.UniqueKey KEY_clanNameBlacklist_PRIMARY = createUniqueKey(mineplex.database.tables.ClanNameBlacklist.clanNameBlacklist, mineplex.database.tables.ClanNameBlacklist.clanNameBlacklist.clanName); public static final org.jooq.UniqueKey KEY_clans_PRIMARY = createUniqueKey(mineplex.database.tables.Clans.clans, mineplex.database.tables.Clans.clans.id); public static final org.jooq.UniqueKey KEY_clans_clanName = createUniqueKey(mineplex.database.tables.Clans.clans, mineplex.database.tables.Clans.clans.serverId, mineplex.database.tables.Clans.clans.name); - public static final org.jooq.UniqueKey KEY_clanServer_PRIMARY = createUniqueKey(mineplex.database.tables.ClanServer.clanServer, mineplex.database.tables.ClanServer.clanServer.id, mineplex.database.tables.ClanServer.clanServer.serverName); + public static final org.jooq.UniqueKey KEY_clanServer_PRIMARY = createUniqueKey(mineplex.database.tables.ClanServer.clanServer, mineplex.database.tables.ClanServer.clanServer.id); + public static final org.jooq.UniqueKey KEY_clanServer_unique_serverName = createUniqueKey(mineplex.database.tables.ClanServer.clanServer, mineplex.database.tables.ClanServer.clanServer.serverName); public static final org.jooq.UniqueKey KEY_clanShopItem_PRIMARY = createUniqueKey(mineplex.database.tables.ClanShopItem.clanShopItem, mineplex.database.tables.ClanShopItem.clanShopItem.id); public static final org.jooq.UniqueKey KEY_clanShopItem_shop_page_slot_UNIQUE = createUniqueKey(mineplex.database.tables.ClanShopItem.clanShopItem, mineplex.database.tables.ClanShopItem.clanShopItem.shopName, mineplex.database.tables.ClanShopItem.clanShopItem.shopPage, mineplex.database.tables.ClanShopItem.clanShopItem.slot); + public static final org.jooq.UniqueKey KEY_clansOutposts_PRIMARY = createUniqueKey(mineplex.database.tables.ClansOutposts.clansOutposts, mineplex.database.tables.ClansOutposts.clansOutposts.uniqueId); + public static final org.jooq.UniqueKey KEY_clansPvpTimer_PRIMARY = createUniqueKey(mineplex.database.tables.ClansPvpTimer.clansPvpTimer, mineplex.database.tables.ClansPvpTimer.clansPvpTimer.accountId); + public static final org.jooq.UniqueKey KEY_clansSiegeWeapons_PRIMARY = createUniqueKey(mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons, mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons.uniqueId); + public static final org.jooq.UniqueKey KEY_clansTutorial_PRIMARY = createUniqueKey(mineplex.database.tables.ClansTutorial.clansTutorial, mineplex.database.tables.ClansTutorial.clansTutorial.uuid); public static final org.jooq.UniqueKey KEY_clanTerritory_PRIMARY = createUniqueKey(mineplex.database.tables.ClanTerritory.clanTerritory, mineplex.database.tables.ClanTerritory.clanTerritory.id); - public static final org.jooq.UniqueKey KEY_clanTerritory_territory_server_chunk_UNIQUE = createUniqueKey(mineplex.database.tables.ClanTerritory.clanTerritory, mineplex.database.tables.ClanTerritory.clanTerritory.serverId, mineplex.database.tables.ClanTerritory.clanTerritory.chunk); + public static final org.jooq.UniqueKey KEY_clanWar_PRIMARY = createUniqueKey(mineplex.database.tables.ClanWar.clanWar, mineplex.database.tables.ClanWar.clanWar.id); + public static final org.jooq.UniqueKey KEY_customData_PRIMARY = createUniqueKey(mineplex.database.tables.CustomData.customData, mineplex.database.tables.CustomData.customData.id); public static final org.jooq.UniqueKey KEY_eloRating_PRIMARY = createUniqueKey(mineplex.database.tables.EloRating.eloRating, mineplex.database.tables.EloRating.eloRating.id); - public static final org.jooq.UniqueKey KEY_eloRating_uuid_gameType_index = createUniqueKey(mineplex.database.tables.EloRating.eloRating, mineplex.database.tables.EloRating.eloRating.uuid, mineplex.database.tables.EloRating.eloRating.gamemode); + public static final org.jooq.UniqueKey KEY_facebook_PRIMARY = createUniqueKey(mineplex.database.tables.Facebook.facebook, mineplex.database.tables.Facebook.facebook.code); + public static final org.jooq.UniqueKey KEY_facebook_facebook_code_uindex = createUniqueKey(mineplex.database.tables.Facebook.facebook, mineplex.database.tables.Facebook.facebook.code); + public static final org.jooq.UniqueKey KEY_facebook_facebook_accountId_uindex = createUniqueKey(mineplex.database.tables.Facebook.facebook, mineplex.database.tables.Facebook.facebook.accountId); public static final org.jooq.UniqueKey KEY_fieldBlock_PRIMARY = createUniqueKey(mineplex.database.tables.FieldBlock.fieldBlock, mineplex.database.tables.FieldBlock.fieldBlock.id); public static final org.jooq.UniqueKey KEY_fieldMonster_PRIMARY = createUniqueKey(mineplex.database.tables.FieldMonster.fieldMonster, mineplex.database.tables.FieldMonster.fieldMonster.id); public static final org.jooq.UniqueKey KEY_fieldOre_PRIMARY = createUniqueKey(mineplex.database.tables.FieldOre.fieldOre, mineplex.database.tables.FieldOre.fieldOre.id); + public static final org.jooq.UniqueKey KEY_gadgets_PRIMARY = createUniqueKey(mineplex.database.tables.Gadgets.gadgets, mineplex.database.tables.Gadgets.gadgets.accountId, mineplex.database.tables.Gadgets.gadgets.kvKey); + public static final org.jooq.UniqueKey KEY_giveaway_PRIMARY = createUniqueKey(mineplex.database.tables.Giveaway.giveaway, mineplex.database.tables.Giveaway.giveaway.id); + public static final org.jooq.UniqueKey KEY_giveaway_giveaway_name_uindex = createUniqueKey(mineplex.database.tables.Giveaway.giveaway, mineplex.database.tables.Giveaway.giveaway.name); + public static final org.jooq.UniqueKey KEY_giveawayCooldown_PRIMARY = createUniqueKey(mineplex.database.tables.GiveawayCooldown.giveawayCooldown, mineplex.database.tables.GiveawayCooldown.giveawayCooldown.id); + public static final org.jooq.UniqueKey KEY_giveawayCooldown_giveawayCooldown_name_uindex = createUniqueKey(mineplex.database.tables.GiveawayCooldown.giveawayCooldown, mineplex.database.tables.GiveawayCooldown.giveawayCooldown.name); + public static final org.jooq.UniqueKey KEY_incognitoStaff_PRIMARY = createUniqueKey(mineplex.database.tables.IncognitoStaff.incognitoStaff, mineplex.database.tables.IncognitoStaff.incognitoStaff.accountId); public static final org.jooq.UniqueKey KEY_itemCategories_PRIMARY = createUniqueKey(mineplex.database.tables.ItemCategories.itemCategories, mineplex.database.tables.ItemCategories.itemCategories.id); public static final org.jooq.UniqueKey KEY_itemCategories_nameIndex = createUniqueKey(mineplex.database.tables.ItemCategories.itemCategories, mineplex.database.tables.ItemCategories.itemCategories.name); public static final org.jooq.UniqueKey KEY_items_PRIMARY = createUniqueKey(mineplex.database.tables.Items.items, mineplex.database.tables.Items.items.id); + public static final org.jooq.UniqueKey KEY_items_name_UNIQUE = createUniqueKey(mineplex.database.tables.Items.items, mineplex.database.tables.Items.items.name); public static final org.jooq.UniqueKey KEY_items_uniqueNameCategoryIndex = createUniqueKey(mineplex.database.tables.Items.items, mineplex.database.tables.Items.items.name, mineplex.database.tables.Items.items.categoryId); + public static final org.jooq.UniqueKey KEY_kitProgression_PRIMARY = createUniqueKey(mineplex.database.tables.KitProgression.kitProgression, mineplex.database.tables.KitProgression.kitProgression.uuid, mineplex.database.tables.KitProgression.kitProgression.kitId); + public static final org.jooq.UniqueKey KEY_kit_progression_PRIMARY = createUniqueKey(mineplex.database.tables.Kit_progression.kit_progression, mineplex.database.tables.Kit_progression.kit_progression.account_id, mineplex.database.tables.Kit_progression.kit_progression.kit_id); public static final org.jooq.UniqueKey KEY_mail_PRIMARY = createUniqueKey(mineplex.database.tables.Mail.mail, mineplex.database.tables.Mail.mail.id); public static final org.jooq.UniqueKey KEY_mailbox_PRIMARY = createUniqueKey(mineplex.database.tables.Mailbox.mailbox, mineplex.database.tables.Mailbox.mailbox.id); public static final org.jooq.UniqueKey KEY_npcs_PRIMARY = createUniqueKey(mineplex.database.tables.Npcs.npcs, mineplex.database.tables.Npcs.npcs.id); + public static final org.jooq.UniqueKey KEY_packages_PRIMARY = createUniqueKey(mineplex.database.tables.Packages.packages, mineplex.database.tables.Packages.packages.id); public static final org.jooq.UniqueKey KEY_playerMap_PRIMARY = createUniqueKey(mineplex.database.tables.PlayerMap.playerMap, mineplex.database.tables.PlayerMap.playerMap.id); public static final org.jooq.UniqueKey KEY_playerMap_playerIndex = createUniqueKey(mineplex.database.tables.PlayerMap.playerMap, mineplex.database.tables.PlayerMap.playerMap.playerName); public static final org.jooq.UniqueKey KEY_polls_PRIMARY = createUniqueKey(mineplex.database.tables.Polls.polls, mineplex.database.tables.Polls.polls.id); public static final org.jooq.UniqueKey KEY_rankBenefits_PRIMARY = createUniqueKey(mineplex.database.tables.RankBenefits.rankBenefits, mineplex.database.tables.RankBenefits.rankBenefits.id); + public static final org.jooq.UniqueKey KEY_rankedBans_PRIMARY = createUniqueKey(mineplex.database.tables.RankedBans.rankedBans, mineplex.database.tables.RankedBans.rankedBans.accountId); + public static final org.jooq.UniqueKey KEY_reportTickets_PRIMARY = createUniqueKey(mineplex.database.tables.ReportTickets.reportTickets, mineplex.database.tables.ReportTickets.reportTickets.reportId); public static final org.jooq.UniqueKey KEY_serverPassword_PRIMARY = createUniqueKey(mineplex.database.tables.ServerPassword.serverPassword, mineplex.database.tables.ServerPassword.serverPassword.id); public static final org.jooq.UniqueKey KEY_spawns_PRIMARY = createUniqueKey(mineplex.database.tables.Spawns.spawns, mineplex.database.tables.Spawns.spawns.id); + public static final org.jooq.UniqueKey KEY_staffMotd_PRIMARY = createUniqueKey(mineplex.database.tables.StaffMotd.staffMotd, mineplex.database.tables.StaffMotd.staffMotd.id); public static final org.jooq.UniqueKey KEY_statEvents_PRIMARY = createUniqueKey(mineplex.database.tables.StatEvents.statEvents, mineplex.database.tables.StatEvents.statEvents.eventId); public static final org.jooq.UniqueKey KEY_statEvents_UK_DailyEntry = createUniqueKey(mineplex.database.tables.StatEvents.statEvents, mineplex.database.tables.StatEvents.statEvents.accountId, mineplex.database.tables.StatEvents.statEvents.date, mineplex.database.tables.StatEvents.statEvents.gamemode, mineplex.database.tables.StatEvents.statEvents.serverGroup, mineplex.database.tables.StatEvents.statEvents.type); public static final org.jooq.UniqueKey KEY_stats_PRIMARY = createUniqueKey(mineplex.database.tables.Stats.stats, mineplex.database.tables.Stats.stats.id); public static final org.jooq.UniqueKey KEY_stats_nameIndex = createUniqueKey(mineplex.database.tables.Stats.stats, mineplex.database.tables.Stats.stats.name); public static final org.jooq.UniqueKey KEY_statTypes_PRIMARY = createUniqueKey(mineplex.database.tables.StatTypes.statTypes, mineplex.database.tables.StatTypes.statTypes.id); public static final org.jooq.UniqueKey KEY_statTypes_name = createUniqueKey(mineplex.database.tables.StatTypes.statTypes, mineplex.database.tables.StatTypes.statTypes.name); + public static final org.jooq.UniqueKey KEY_streamers_PRIMARY = createUniqueKey(mineplex.database.tables.Streamers.streamers, mineplex.database.tables.Streamers.streamers.id); public static final org.jooq.UniqueKey KEY_tasks_PRIMARY = createUniqueKey(mineplex.database.tables.Tasks.tasks, mineplex.database.tables.Tasks.tasks.id); public static final org.jooq.UniqueKey KEY_tasks_name_UNIQUE = createUniqueKey(mineplex.database.tables.Tasks.tasks, mineplex.database.tables.Tasks.tasks.name); + public static final org.jooq.UniqueKey KEY_titanGiveaway_PRIMARY = createUniqueKey(mineplex.database.tables.TitanGiveaway.titanGiveaway, mineplex.database.tables.TitanGiveaway.titanGiveaway.accountId); public static final org.jooq.UniqueKey KEY_TournamentLB_PRIMARY = createUniqueKey(mineplex.database.tables.TournamentLB.TournamentLB, mineplex.database.tables.TournamentLB.TournamentLB.rank); public static final org.jooq.UniqueKey KEY_TournamentLB_UK_PlayerEntry = createUniqueKey(mineplex.database.tables.TournamentLB.TournamentLB, mineplex.database.tables.TournamentLB.TournamentLB.accountId); + public static final org.jooq.UniqueKey KEY_tournaments_PRIMARY = createUniqueKey(mineplex.database.tables.Tournaments.tournaments, mineplex.database.tables.Tournaments.tournaments.id); + public static final org.jooq.UniqueKey KEY_tournamentTeams_PRIMARY = createUniqueKey(mineplex.database.tables.TournamentTeams.tournamentTeams, mineplex.database.tables.TournamentTeams.tournamentTeams.id); public static final org.jooq.UniqueKey KEY_transactions_PRIMARY = createUniqueKey(mineplex.database.tables.Transactions.transactions, mineplex.database.tables.Transactions.transactions.id); } private static class ForeignKeys0 extends org.jooq.impl.AbstractKeys { - public static final org.jooq.ForeignKey FK_accountClan_accounts = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountClan.accountClan, mineplex.database.tables.AccountClan.accountClan.accountId); - public static final org.jooq.ForeignKey FK_accountClan_clans2 = createForeignKey(mineplex.database.Keys.KEY_clans_PRIMARY, mineplex.database.tables.AccountClan.accountClan, mineplex.database.tables.AccountClan.accountClan.clanId); + public static final org.jooq.ForeignKey accountAuth_accounts_id_fk = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountAuth.accountAuth, mineplex.database.tables.AccountAuth.accountAuth.accountId); public static final org.jooq.ForeignKey FK_ACT_ACCOUNTS_ID = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions, mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions.accountId); + public static final org.jooq.ForeignKey CUSTOMDATA_ACCOUNT = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountCustomData.accountCustomData, mineplex.database.tables.AccountCustomData.accountCustomData.accountId); + public static final org.jooq.ForeignKey ACCOUNTDATA_CUSTOMDATA = createForeignKey(mineplex.database.Keys.KEY_customData_PRIMARY, mineplex.database.tables.AccountCustomData.accountCustomData, mineplex.database.tables.AccountCustomData.accountCustomData.customDataId); public static final org.jooq.ForeignKey accountGemTransactions_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_uuidIndex, mineplex.database.tables.AccountGemTransactions.accountGemTransactions, mineplex.database.tables.AccountGemTransactions.accountGemTransactions.accounts_uuid); + public static final org.jooq.ForeignKey accountGiveaway_giveaway_id_fk = createForeignKey(mineplex.database.Keys.KEY_giveaway_PRIMARY, mineplex.database.tables.AccountGiveaway.accountGiveaway, mineplex.database.tables.AccountGiveaway.accountGiveaway.giveawayId); + public static final org.jooq.ForeignKey accountGiveaway_accounts_id_fk = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountGiveaway.accountGiveaway, mineplex.database.tables.AccountGiveaway.accountGiveaway.accountId); + public static final org.jooq.ForeignKey accountGiveaway_giveawayCooldown_id_fk = createForeignKey(mineplex.database.Keys.KEY_giveawayCooldown_PRIMARY, mineplex.database.tables.AccountGiveaway.accountGiveaway, mineplex.database.tables.AccountGiveaway.accountGiveaway.cooldownId); public static final org.jooq.ForeignKey accountInventory_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountInventory.accountInventory, mineplex.database.tables.AccountInventory.accountInventory.accountId); public static final org.jooq.ForeignKey accountInventory_ibfk_2 = createForeignKey(mineplex.database.Keys.KEY_items_PRIMARY, mineplex.database.tables.AccountInventory.accountInventory, mineplex.database.tables.AccountInventory.accountInventory.itemId); + public static final org.jooq.ForeignKey MORTEN_ACCOUNT = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest, mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest.accountId); + public static final org.jooq.ForeignKey accountIdKEY = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountPets.accountPets, mineplex.database.tables.AccountPets.accountPets.accountId); public static final org.jooq.ForeignKey accountPolls_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountPolls.accountPolls, mineplex.database.tables.AccountPolls.accountPolls.accountId); public static final org.jooq.ForeignKey accountPolls_ibfk_2 = createForeignKey(mineplex.database.Keys.KEY_polls_PRIMARY, mineplex.database.tables.AccountPolls.accountPolls, mineplex.database.tables.AccountPolls.accountPolls.pollId); + public static final org.jooq.ForeignKey ACCOUNT_PURCHASE_ID = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountPurchases.accountPurchases, mineplex.database.tables.AccountPurchases.accountPurchases.accountId); + public static final org.jooq.ForeignKey PACKAGENAME_ID = createForeignKey(mineplex.database.Keys.KEY_packages_PRIMARY, mineplex.database.tables.AccountPurchases.accountPurchases, mineplex.database.tables.AccountPurchases.accountPurchases.packageId); public static final org.jooq.ForeignKey accountStat_account = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountStat.accountStat, mineplex.database.tables.AccountStat.accountStat.accountId); public static final org.jooq.ForeignKey accountStat_stat = createForeignKey(mineplex.database.Keys.KEY_stats_PRIMARY, mineplex.database.tables.AccountStat.accountStat, mineplex.database.tables.AccountStat.accountStat.statId); - public static final org.jooq.ForeignKey accountStats_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountStats.accountStats, mineplex.database.tables.AccountStats.accountStats.accountId); - public static final org.jooq.ForeignKey accountStats_ibfk_2 = createForeignKey(mineplex.database.Keys.KEY_stats_PRIMARY, mineplex.database.tables.AccountStats.accountStats, mineplex.database.tables.AccountStats.accountStats.statId); public static final org.jooq.ForeignKey ACCOUNTTASKS_ACCOUNTID = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountTasks.accountTasks, mineplex.database.tables.AccountTasks.accountTasks.accountId); public static final org.jooq.ForeignKey ACCOUNTTASKS_TASKID = createForeignKey(mineplex.database.Keys.KEY_tasks_PRIMARY, mineplex.database.tables.AccountTasks.accountTasks, mineplex.database.tables.AccountTasks.accountTasks.taskId); + public static final org.jooq.ForeignKey accountTips_accounts_id_fk = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountTip.accountTip, mineplex.database.tables.AccountTip.accountTip.accountId); + public static final org.jooq.ForeignKey accountTipClaimLogs_accounts_id_fk = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs, mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs.accountId); + public static final org.jooq.ForeignKey accountTipLogs_accounts_id_fk = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountTipLogs.accountTipLogs, mineplex.database.tables.AccountTipLogs.accountTipLogs.accountId); public static final org.jooq.ForeignKey ACCOUNTTRANSACTIONS_ACCOUNTID = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountTransactions.accountTransactions, mineplex.database.tables.AccountTransactions.accountTransactions.accountId); public static final org.jooq.ForeignKey ACCOUNTTRANSACTIONS_TRANSACTIONID = createForeignKey(mineplex.database.Keys.KEY_transactions_PRIMARY, mineplex.database.tables.AccountTransactions.accountTransactions, mineplex.database.tables.AccountTransactions.accountTransactions.transactionId); + public static final org.jooq.ForeignKey accountValentines_sender_fk = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountValentinesGift.accountValentinesGift, mineplex.database.tables.AccountValentinesGift.accountValentinesGift.senderId); + public static final org.jooq.ForeignKey accountValentines_target_fk = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountValentinesGift.accountValentinesGift, mineplex.database.tables.AccountValentinesGift.accountValentinesGift.targetId); public static final org.jooq.ForeignKey bonus_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.Bonus.bonus, mineplex.database.tables.Bonus.bonus.accountId); - public static final org.jooq.ForeignKey clanAlliances_ibfk_2 = createForeignKey(mineplex.database.Keys.KEY_clans_PRIMARY, mineplex.database.tables.ClanAlliances.clanAlliances, mineplex.database.tables.ClanAlliances.clanAlliances.clanId); - public static final org.jooq.ForeignKey clanAlliances_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_clans_PRIMARY, mineplex.database.tables.ClanAlliances.clanAlliances, mineplex.database.tables.ClanAlliances.clanAlliances.otherClanId); - public static final org.jooq.ForeignKey clanEnemies_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_clans_PRIMARY, mineplex.database.tables.ClanEnemies.clanEnemies, mineplex.database.tables.ClanEnemies.clanEnemies.clanId); - public static final org.jooq.ForeignKey clanEnemies_ibfk_2 = createForeignKey(mineplex.database.Keys.KEY_clans_PRIMARY, mineplex.database.tables.ClanEnemies.clanEnemies, mineplex.database.tables.ClanEnemies.clanEnemies.otherClanId); - public static final org.jooq.ForeignKey clans_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_clanServer_PRIMARY, mineplex.database.tables.Clans.clans, mineplex.database.tables.Clans.clans.serverId); - public static final org.jooq.ForeignKey clanTerritory_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_clans_PRIMARY, mineplex.database.tables.ClanTerritory.clanTerritory, mineplex.database.tables.ClanTerritory.clanTerritory.clanId); - public static final org.jooq.ForeignKey clanTerritory_ibfk_2 = createForeignKey(mineplex.database.Keys.KEY_clanServer_PRIMARY, mineplex.database.tables.ClanTerritory.clanTerritory, mineplex.database.tables.ClanTerritory.clanTerritory.serverId); - public static final org.jooq.ForeignKey items_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_itemCategories_PRIMARY, mineplex.database.tables.Items.items, mineplex.database.tables.Items.items.categoryId); + public static final org.jooq.ForeignKey bonusLogAccountId = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.BonusLog.bonusLog, mineplex.database.tables.BonusLog.bonusLog.accountId); + public static final org.jooq.ForeignKey bonusLogItemId = createForeignKey(mineplex.database.Keys.KEY_items_PRIMARY, mineplex.database.tables.BonusLog.bonusLog, mineplex.database.tables.BonusLog.bonusLog.itemId); + public static final org.jooq.ForeignKey ELORATING_ACCOUNTID = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.EloRating.eloRating, mineplex.database.tables.EloRating.eloRating.accountId); + public static final org.jooq.ForeignKey facebook_accounts_id_fk = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.Facebook.facebook, mineplex.database.tables.Facebook.facebook.accountId); + public static final org.jooq.ForeignKey gadgets_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.Gadgets.gadgets, mineplex.database.tables.Gadgets.gadgets.accountId); public static final org.jooq.ForeignKey mail_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.Mail.mail, mineplex.database.tables.Mail.mail.accountId); public static final org.jooq.ForeignKey mailbox_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.Mailbox.mailbox, mineplex.database.tables.Mailbox.mailbox.accountId); public static final org.jooq.ForeignKey rankBenefits_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.RankBenefits.rankBenefits, mineplex.database.tables.RankBenefits.rankBenefits.accountId); + public static final org.jooq.ForeignKey titanGiveaway_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.TitanGiveaway.titanGiveaway, mineplex.database.tables.TitanGiveaway.titanGiveaway.accountId); + public static final org.jooq.ForeignKey TEAM_TOURNAMENT_KEY = createForeignKey(mineplex.database.Keys.KEY_tournaments_PRIMARY, mineplex.database.tables.TournamentTeams.tournamentTeams, mineplex.database.tables.TournamentTeams.tournamentTeams.tournamentId); + public static final org.jooq.ForeignKey TEAM_TOURNAMENT_ACCOUNT_ID = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.TournamentTeams.tournamentTeams, mineplex.database.tables.TournamentTeams.tournamentTeams.accountId); } } diff --git a/Plugins/Mineplex.Database/src/mineplex/database/Routines.java b/Plugins/Mineplex.Database/src/mineplex/database/Routines.java index 9a5c0f4de..2baf19e8d 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/Routines.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/Routines.java @@ -41,6 +41,19 @@ public class Routines { return p; } + /** + * Call Account.check_giveaway + */ + public static java.lang.Byte callCheckGiveaway(org.jooq.Configuration configuration, java.lang.Integer playerId, java.lang.String giveawayName, java.lang.String cooldownName) { + mineplex.database.routines.Check_giveaway p = new mineplex.database.routines.Check_giveaway(); + p.setPlayerId(playerId); + p.setGiveawayName(giveawayName); + p.setCooldownName(cooldownName); + + p.execute(configuration); + return p.getCanGive(); + } + /** * Call Account.check_rank */ @@ -54,6 +67,17 @@ public class Routines { return p; } + /** + * Call Account.check_titanGiveaway + */ + public static mineplex.database.routines.Check_titanGiveaway callCheckTitangiveaway(org.jooq.Configuration configuration, java.lang.String checkRegion) { + mineplex.database.routines.Check_titanGiveaway p = new mineplex.database.routines.Check_titanGiveaway(); + p.setCheckRegion(checkRegion); + + p.execute(configuration); + return p; + } + /** * Call Account.check_vote */ @@ -67,6 +91,17 @@ public class Routines { return p; } + /** + * Call Account.claimTips + */ + public static java.lang.Integer callClaimtips(org.jooq.Configuration configuration, java.lang.Integer accountId_in) { + mineplex.database.routines.ClaimTips p = new mineplex.database.routines.ClaimTips(); + p.setAccountId_in(accountId_in); + + p.execute(configuration); + return p.getTipsClaimed(); + } + /** * Call Account.createLeaderboard */ @@ -133,6 +168,20 @@ public class Routines { p.execute(configuration); } + /** + * Call Account.rankBonus + */ + public static mineplex.database.routines.RankBonus callRankbonus(org.jooq.Configuration configuration, java.lang.Integer accountId_in, java.lang.Integer coinsChange, java.lang.Integer gemsChange, java.lang.Integer mythicalChestChange) { + mineplex.database.routines.RankBonus p = new mineplex.database.routines.RankBonus(); + p.setAccountId_in(accountId_in); + p.setCoinsChange(coinsChange); + p.setGemsChange(gemsChange); + p.setMythicalChestChange(mythicalChestChange); + + p.execute(configuration); + return p; + } + /** * Call Account.swapTableNames */ diff --git a/Plugins/Mineplex.Database/src/mineplex/database/Tables.java b/Plugins/Mineplex.Database/src/mineplex/database/Tables.java index 6036ed719..f4c26f567 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/Tables.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/Tables.java @@ -16,6 +16,11 @@ package mineplex.database; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Tables { + /** + * The table Account.accountAuth + */ + public static final mineplex.database.tables.AccountAuth accountAuth = mineplex.database.tables.AccountAuth.accountAuth; + /** * The table Account.accountClan */ @@ -26,6 +31,11 @@ public class Tables { */ public static final mineplex.database.tables.AccountCoinTransactions accountCoinTransactions = mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions; + /** + * The table Account.accountCustomData + */ + public static final mineplex.database.tables.AccountCustomData accountCustomData = mineplex.database.tables.AccountCustomData.accountCustomData; + /** * The table Account.accountFriend */ @@ -36,6 +46,11 @@ public class Tables { */ public static final mineplex.database.tables.AccountGemTransactions accountGemTransactions = mineplex.database.tables.AccountGemTransactions.accountGemTransactions; + /** + * The table Account.accountGiveaway + */ + public static final mineplex.database.tables.AccountGiveaway accountGiveaway = mineplex.database.tables.AccountGiveaway.accountGiveaway; + /** * The table Account.accountIgnore */ @@ -46,6 +61,16 @@ public class Tables { */ public static final mineplex.database.tables.AccountInventory accountInventory = mineplex.database.tables.AccountInventory.accountInventory; + /** + * The table Account.accountMortenSpamTest + */ + public static final mineplex.database.tables.AccountMortenSpamTest accountMortenSpamTest = mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest; + + /** + * The table Account.accountPets + */ + public static final mineplex.database.tables.AccountPets accountPets = mineplex.database.tables.AccountPets.accountPets; + /** * The table Account.accountPolls */ @@ -56,6 +81,11 @@ public class Tables { */ public static final mineplex.database.tables.AccountPreferences accountPreferences = mineplex.database.tables.AccountPreferences.accountPreferences; + /** + * The table Account.accountPurchases + */ + public static final mineplex.database.tables.AccountPurchases accountPurchases = mineplex.database.tables.AccountPurchases.accountPurchases; + /** * The table Account.accounts */ @@ -66,31 +96,61 @@ public class Tables { */ public static final mineplex.database.tables.AccountStat accountStat = mineplex.database.tables.AccountStat.accountStat; - /** - * The table Account.accountStats - */ - public static final mineplex.database.tables.AccountStats accountStats = mineplex.database.tables.AccountStats.accountStats; - /** * The table Account.accountTasks */ public static final mineplex.database.tables.AccountTasks accountTasks = mineplex.database.tables.AccountTasks.accountTasks; + /** + * The table Account.accountTip + */ + public static final mineplex.database.tables.AccountTip accountTip = mineplex.database.tables.AccountTip.accountTip; + + /** + * The table Account.accountTipClaimLogs + */ + public static final mineplex.database.tables.AccountTipClaimLogs accountTipClaimLogs = mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs; + + /** + * The table Account.accountTipLogs + */ + public static final mineplex.database.tables.AccountTipLogs accountTipLogs = mineplex.database.tables.AccountTipLogs.accountTipLogs; + /** * The table Account.accountTransactions */ public static final mineplex.database.tables.AccountTransactions accountTransactions = mineplex.database.tables.AccountTransactions.accountTransactions; + /** + * The table Account.accountValentinesGift + */ + public static final mineplex.database.tables.AccountValentinesGift accountValentinesGift = mineplex.database.tables.AccountValentinesGift.accountValentinesGift; + /** * The table Account.activeTournaments */ public static final mineplex.database.tables.ActiveTournaments activeTournaments = mineplex.database.tables.ActiveTournaments.activeTournaments; + /** + * The table Account.battlePets + */ + public static final mineplex.database.tables.BattlePets battlePets = mineplex.database.tables.BattlePets.battlePets; + /** * The table Account.bonus */ public static final mineplex.database.tables.Bonus bonus = mineplex.database.tables.Bonus.bonus; + /** + * The table Account.bonusLog + */ + public static final mineplex.database.tables.BonusLog bonusLog = mineplex.database.tables.BonusLog.bonusLog; + + /** + * The table Account.botSpam + */ + public static final mineplex.database.tables.BotSpam botSpam = mineplex.database.tables.BotSpam.botSpam; + /** * The table Account.chatsnap */ @@ -101,6 +161,11 @@ public class Tables { */ public static final mineplex.database.tables.ClanAlliances clanAlliances = mineplex.database.tables.ClanAlliances.clanAlliances; + /** + * The table Account.clanBans + */ + public static final mineplex.database.tables.ClanBans clanBans = mineplex.database.tables.ClanBans.clanBans; + /** * The table Account.clanEnemies */ @@ -111,6 +176,11 @@ public class Tables { */ public static final mineplex.database.tables.ClanMember clanMember = mineplex.database.tables.ClanMember.clanMember; + /** + * The table Account.clanNameBlacklist + */ + public static final mineplex.database.tables.ClanNameBlacklist clanNameBlacklist = mineplex.database.tables.ClanNameBlacklist.clanNameBlacklist; + /** * The table Account.clans */ @@ -126,16 +196,51 @@ public class Tables { */ public static final mineplex.database.tables.ClanShopItem clanShopItem = mineplex.database.tables.ClanShopItem.clanShopItem; + /** + * The table Account.clansOutposts + */ + public static final mineplex.database.tables.ClansOutposts clansOutposts = mineplex.database.tables.ClansOutposts.clansOutposts; + + /** + * The table Account.clansPvpTimer + */ + public static final mineplex.database.tables.ClansPvpTimer clansPvpTimer = mineplex.database.tables.ClansPvpTimer.clansPvpTimer; + + /** + * The table Account.clansSiegeWeapons + */ + public static final mineplex.database.tables.ClansSiegeWeapons clansSiegeWeapons = mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons; + + /** + * The table Account.clansTutorial + */ + public static final mineplex.database.tables.ClansTutorial clansTutorial = mineplex.database.tables.ClansTutorial.clansTutorial; + /** * The table Account.clanTerritory */ public static final mineplex.database.tables.ClanTerritory clanTerritory = mineplex.database.tables.ClanTerritory.clanTerritory; + /** + * The table Account.clanWar + */ + public static final mineplex.database.tables.ClanWar clanWar = mineplex.database.tables.ClanWar.clanWar; + + /** + * The table Account.customData + */ + public static final mineplex.database.tables.CustomData customData = mineplex.database.tables.CustomData.customData; + /** * The table Account.eloRating */ public static final mineplex.database.tables.EloRating eloRating = mineplex.database.tables.EloRating.eloRating; + /** + * The table Account.facebook + */ + public static final mineplex.database.tables.Facebook facebook = mineplex.database.tables.Facebook.facebook; + /** * The table Account.fieldBlock */ @@ -151,6 +256,26 @@ public class Tables { */ public static final mineplex.database.tables.FieldOre fieldOre = mineplex.database.tables.FieldOre.fieldOre; + /** + * The table Account.gadgets + */ + public static final mineplex.database.tables.Gadgets gadgets = mineplex.database.tables.Gadgets.gadgets; + + /** + * The table Account.giveaway + */ + public static final mineplex.database.tables.Giveaway giveaway = mineplex.database.tables.Giveaway.giveaway; + + /** + * The table Account.giveawayCooldown + */ + public static final mineplex.database.tables.GiveawayCooldown giveawayCooldown = mineplex.database.tables.GiveawayCooldown.giveawayCooldown; + + /** + * The table Account.incognitoStaff + */ + public static final mineplex.database.tables.IncognitoStaff incognitoStaff = mineplex.database.tables.IncognitoStaff.incognitoStaff; + /** * The table Account.itemCategories */ @@ -161,6 +286,21 @@ public class Tables { */ public static final mineplex.database.tables.Items items = mineplex.database.tables.Items.items; + /** + * The table Account.kitpreferences + */ + public static final mineplex.database.tables.Kitpreferences kitpreferences = mineplex.database.tables.Kitpreferences.kitpreferences; + + /** + * The table Account.kitProgression + */ + public static final mineplex.database.tables.KitProgression kitProgression = mineplex.database.tables.KitProgression.kitProgression; + + /** + * The table Account.kit_progression + */ + public static final mineplex.database.tables.Kit_progression kit_progression = mineplex.database.tables.Kit_progression.kit_progression; + /** * The table Account.mail */ @@ -176,6 +316,11 @@ public class Tables { */ public static final mineplex.database.tables.Npcs npcs = mineplex.database.tables.Npcs.npcs; + /** + * The table Account.packages + */ + public static final mineplex.database.tables.Packages packages = mineplex.database.tables.Packages.packages; + /** * The table Account.playerMap */ @@ -191,6 +336,36 @@ public class Tables { */ public static final mineplex.database.tables.RankBenefits rankBenefits = mineplex.database.tables.RankBenefits.rankBenefits; + /** + * The table Account.rankedBans + */ + public static final mineplex.database.tables.RankedBans rankedBans = mineplex.database.tables.RankedBans.rankedBans; + + /** + * The table Account.reportTickets + */ + public static final mineplex.database.tables.ReportTickets reportTickets = mineplex.database.tables.ReportTickets.reportTickets; + + /** + * The table Account.selectedgadgets + */ + public static final mineplex.database.tables.Selectedgadgets selectedgadgets = mineplex.database.tables.Selectedgadgets.selectedgadgets; + + /** + * The table Account.selectedmodifiers + */ + public static final mineplex.database.tables.Selectedmodifiers selectedmodifiers = mineplex.database.tables.Selectedmodifiers.selectedmodifiers; + + /** + * The table Account.selectedMounts + */ + public static final mineplex.database.tables.SelectedMounts selectedMounts = mineplex.database.tables.SelectedMounts.selectedMounts; + + /** + * The table Account.selectedPets + */ + public static final mineplex.database.tables.SelectedPets selectedPets = mineplex.database.tables.SelectedPets.selectedPets; + /** * The table Account.serverPassword */ @@ -201,6 +376,11 @@ public class Tables { */ public static final mineplex.database.tables.Spawns spawns = mineplex.database.tables.Spawns.spawns; + /** + * The table Account.staffMotd + */ + public static final mineplex.database.tables.StaffMotd staffMotd = mineplex.database.tables.StaffMotd.staffMotd; + /** * The table Account.statEvents */ @@ -216,16 +396,36 @@ public class Tables { */ public static final mineplex.database.tables.StatTypes statTypes = mineplex.database.tables.StatTypes.statTypes; + /** + * The table Account.streamers + */ + public static final mineplex.database.tables.Streamers streamers = mineplex.database.tables.Streamers.streamers; + /** * The table Account.tasks */ public static final mineplex.database.tables.Tasks tasks = mineplex.database.tables.Tasks.tasks; + /** + * The table Account.titanGiveaway + */ + public static final mineplex.database.tables.TitanGiveaway titanGiveaway = mineplex.database.tables.TitanGiveaway.titanGiveaway; + /** * The table Account.TournamentLB */ public static final mineplex.database.tables.TournamentLB TournamentLB = mineplex.database.tables.TournamentLB.TournamentLB; + /** + * The table Account.tournaments + */ + public static final mineplex.database.tables.Tournaments tournaments = mineplex.database.tables.Tournaments.tournaments; + + /** + * The table Account.tournamentTeams + */ + public static final mineplex.database.tables.TournamentTeams tournamentTeams = mineplex.database.tables.TournamentTeams.tournamentTeams; + /** * The table Account.transactions */ diff --git a/Plugins/Mineplex.Database/src/mineplex/database/routines/Check_giveaway.java b/Plugins/Mineplex.Database/src/mineplex/database/routines/Check_giveaway.java new file mode 100644 index 000000000..bd505212a --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/routines/Check_giveaway.java @@ -0,0 +1,80 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.routines; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Check_giveaway extends org.jooq.impl.AbstractRoutine implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -262072055; + + /** + * The parameter Account.check_giveaway.playerId. + */ + public static final org.jooq.Parameter playerId = createParameter("playerId", org.jooq.impl.SQLDataType.INTEGER, false); + + /** + * The parameter Account.check_giveaway.giveawayName. + */ + public static final org.jooq.Parameter giveawayName = createParameter("giveawayName", org.jooq.impl.SQLDataType.VARCHAR.length(30), false); + + /** + * The parameter Account.check_giveaway.cooldownName. + */ + public static final org.jooq.Parameter cooldownName = createParameter("cooldownName", org.jooq.impl.SQLDataType.VARCHAR.length(20), false); + + /** + * The parameter Account.check_giveaway.canGive. + */ + public static final org.jooq.Parameter canGive = createParameter("canGive", org.jooq.impl.SQLDataType.TINYINT, false); + + /** + * Create a new routine call instance + */ + public Check_giveaway() { + super("check_giveaway", mineplex.database.Account.Account); + + addInParameter(playerId); + addInParameter(giveawayName); + addInParameter(cooldownName); + addOutParameter(canGive); + } + + /** + * Set the playerId parameter IN value to the routine + */ + public void setPlayerId(java.lang.Integer value) { + setValue(mineplex.database.routines.Check_giveaway.playerId, value); + } + + /** + * Set the giveawayName parameter IN value to the routine + */ + public void setGiveawayName(java.lang.String value) { + setValue(mineplex.database.routines.Check_giveaway.giveawayName, value); + } + + /** + * Set the cooldownName parameter IN value to the routine + */ + public void setCooldownName(java.lang.String value) { + setValue(mineplex.database.routines.Check_giveaway.cooldownName, value); + } + + /** + * Get the canGive parameter OUT value from the routine + */ + public java.lang.Byte getCanGive() { + return getValue(canGive); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/routines/Check_titanGiveaway.java b/Plugins/Mineplex.Database/src/mineplex/database/routines/Check_titanGiveaway.java new file mode 100644 index 000000000..8a1db3091 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/routines/Check_titanGiveaway.java @@ -0,0 +1,67 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.routines; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Check_titanGiveaway extends org.jooq.impl.AbstractRoutine implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -61265216; + + /** + * The parameter Account.check_titanGiveaway.checkRegion. + */ + public static final org.jooq.Parameter checkRegion = createParameter("checkRegion", org.jooq.impl.SQLDataType.VARCHAR.length(10), false); + + /** + * The parameter Account.check_titanGiveaway.canGiveRank. + */ + public static final org.jooq.Parameter canGiveRank = createParameter("canGiveRank", org.jooq.impl.SQLDataType.TINYINT, false); + + /** + * The parameter Account.check_titanGiveaway.titanCount. + */ + public static final org.jooq.Parameter titanCount = createParameter("titanCount", org.jooq.impl.SQLDataType.INTEGER, false); + + /** + * Create a new routine call instance + */ + public Check_titanGiveaway() { + super("check_titanGiveaway", mineplex.database.Account.Account); + + addInParameter(checkRegion); + addOutParameter(canGiveRank); + addOutParameter(titanCount); + } + + /** + * Set the checkRegion parameter IN value to the routine + */ + public void setCheckRegion(java.lang.String value) { + setValue(mineplex.database.routines.Check_titanGiveaway.checkRegion, value); + } + + /** + * Get the canGiveRank parameter OUT value from the routine + */ + public java.lang.Byte getCanGiveRank() { + return getValue(canGiveRank); + } + + /** + * Get the titanCount parameter OUT value from the routine + */ + public java.lang.Integer getTitanCount() { + return getValue(titanCount); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/routines/ClaimTips.java b/Plugins/Mineplex.Database/src/mineplex/database/routines/ClaimTips.java new file mode 100644 index 000000000..eb5e44285 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/routines/ClaimTips.java @@ -0,0 +1,54 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.routines; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClaimTips extends org.jooq.impl.AbstractRoutine implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -1769926553; + + /** + * The parameter Account.claimTips.accountId_in. + */ + public static final org.jooq.Parameter accountId_in = createParameter("accountId_in", org.jooq.impl.SQLDataType.INTEGER, false); + + /** + * The parameter Account.claimTips.tipsClaimed. + */ + public static final org.jooq.Parameter tipsClaimed = createParameter("tipsClaimed", org.jooq.impl.SQLDataType.INTEGER, false); + + /** + * Create a new routine call instance + */ + public ClaimTips() { + super("claimTips", mineplex.database.Account.Account); + + addInParameter(accountId_in); + addOutParameter(tipsClaimed); + } + + /** + * Set the accountId_in parameter IN value to the routine + */ + public void setAccountId_in(java.lang.Integer value) { + setValue(mineplex.database.routines.ClaimTips.accountId_in, value); + } + + /** + * Get the tipsClaimed parameter OUT value from the routine + */ + public java.lang.Integer getTipsClaimed() { + return getValue(tipsClaimed); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/routines/RankBonus.java b/Plugins/Mineplex.Database/src/mineplex/database/routines/RankBonus.java new file mode 100644 index 000000000..73eb3f16d --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/routines/RankBonus.java @@ -0,0 +1,106 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.routines; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class RankBonus extends org.jooq.impl.AbstractRoutine implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 467761905; + + /** + * The parameter Account.rankBonus.accountId_in. + */ + public static final org.jooq.Parameter accountId_in = createParameter("accountId_in", org.jooq.impl.SQLDataType.INTEGER, false); + + /** + * The parameter Account.rankBonus.coinsChange. + */ + public static final org.jooq.Parameter coinsChange = createParameter("coinsChange", org.jooq.impl.SQLDataType.INTEGER, false); + + /** + * The parameter Account.rankBonus.gemsChange. + */ + public static final org.jooq.Parameter gemsChange = createParameter("gemsChange", org.jooq.impl.SQLDataType.INTEGER, false); + + /** + * The parameter Account.rankBonus.mythicalChestChange. + */ + public static final org.jooq.Parameter mythicalChestChange = createParameter("mythicalChestChange", org.jooq.impl.SQLDataType.INTEGER, false); + + /** + * The parameter Account.rankBonus.pass. + */ + public static final org.jooq.Parameter pass = createParameter("pass", org.jooq.impl.SQLDataType.TINYINT, false); + + /** + * The parameter Account.rankBonus.outTime. + */ + public static final org.jooq.Parameter outTime = createParameter("outTime", org.jooq.impl.SQLDataType.DATE, false); + + /** + * Create a new routine call instance + */ + public RankBonus() { + super("rankBonus", mineplex.database.Account.Account); + + addInParameter(accountId_in); + addInParameter(coinsChange); + addInParameter(gemsChange); + addInParameter(mythicalChestChange); + addOutParameter(pass); + addOutParameter(outTime); + } + + /** + * Set the accountId_in parameter IN value to the routine + */ + public void setAccountId_in(java.lang.Integer value) { + setValue(mineplex.database.routines.RankBonus.accountId_in, value); + } + + /** + * Set the coinsChange parameter IN value to the routine + */ + public void setCoinsChange(java.lang.Integer value) { + setValue(mineplex.database.routines.RankBonus.coinsChange, value); + } + + /** + * Set the gemsChange parameter IN value to the routine + */ + public void setGemsChange(java.lang.Integer value) { + setValue(mineplex.database.routines.RankBonus.gemsChange, value); + } + + /** + * Set the mythicalChestChange parameter IN value to the routine + */ + public void setMythicalChestChange(java.lang.Integer value) { + setValue(mineplex.database.routines.RankBonus.mythicalChestChange, value); + } + + /** + * Get the pass parameter OUT value from the routine + */ + public java.lang.Byte getPass() { + return getValue(pass); + } + + /** + * Get the outTime parameter OUT value from the routine + */ + public java.sql.Date getOutTime() { + return getValue(outTime); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountAuth.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountAuth.java new file mode 100644 index 000000000..476caaa92 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountAuth.java @@ -0,0 +1,117 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountAuth extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -2078621244; + + /** + * The reference instance of Account.accountAuth + */ + public static final mineplex.database.tables.AccountAuth accountAuth = new mineplex.database.tables.AccountAuth(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.AccountAuthRecord.class; + } + + /** + * The column Account.accountAuth.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountAuth.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountAuth.authKey. + */ + public final org.jooq.TableField authKey = createField("authKey", org.jooq.impl.SQLDataType.VARCHAR.length(128).nullable(false), this, ""); + + /** + * Create a Account.accountAuth table reference + */ + public AccountAuth() { + this("accountAuth", null); + } + + /** + * Create an aliased Account.accountAuth table reference + */ + public AccountAuth(java.lang.String alias) { + this(alias, mineplex.database.tables.AccountAuth.accountAuth); + } + + private AccountAuth(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private AccountAuth(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_accountAuth; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_accountAuth_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_accountAuth_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.accountAuth_accounts_id_fk); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.AccountAuth as(java.lang.String alias) { + return new mineplex.database.tables.AccountAuth(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.AccountAuth rename(java.lang.String name) { + return new mineplex.database.tables.AccountAuth(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountClan.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountClan.java index 666d4ac64..4ebc9f636 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountClan.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountClan.java @@ -16,7 +16,7 @@ package mineplex.database.tables; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class AccountClan extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { - private static final long serialVersionUID = 1838492867; + private static final long serialVersionUID = 2122039221; /** * The reference instance of Account.accountClan @@ -97,14 +97,6 @@ public class AccountClan extends org.jooq.impl.TableImpl>asList(mineplex.database.Keys.KEY_accountClan_PRIMARY); } - /** - * {@inheritDoc} - */ - @Override - public java.util.List> getReferences() { - return java.util.Arrays.>asList(mineplex.database.Keys.FK_accountClan_accounts, mineplex.database.Keys.FK_accountClan_clans2); - } - /** * {@inheritDoc} */ diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountCustomData.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountCustomData.java new file mode 100644 index 000000000..76301da8d --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountCustomData.java @@ -0,0 +1,109 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountCustomData extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -1037360226; + + /** + * The reference instance of Account.accountCustomData + */ + public static final mineplex.database.tables.AccountCustomData accountCustomData = new mineplex.database.tables.AccountCustomData(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.AccountCustomDataRecord.class; + } + + /** + * The column Account.accountCustomData.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountCustomData.customDataId. + */ + public final org.jooq.TableField customDataId = createField("customDataId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountCustomData.data. + */ + public final org.jooq.TableField data = createField("data", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * Create a Account.accountCustomData table reference + */ + public AccountCustomData() { + this("accountCustomData", null); + } + + /** + * Create an aliased Account.accountCustomData table reference + */ + public AccountCustomData(java.lang.String alias) { + this(alias, mineplex.database.tables.AccountCustomData.accountCustomData); + } + + private AccountCustomData(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private AccountCustomData(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_accountCustomData_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_accountCustomData_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.CUSTOMDATA_ACCOUNT, mineplex.database.Keys.ACCOUNTDATA_CUSTOMDATA); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.AccountCustomData as(java.lang.String alias) { + return new mineplex.database.tables.AccountCustomData(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.AccountCustomData rename(java.lang.String name) { + return new mineplex.database.tables.AccountCustomData(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountGiveaway.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountGiveaway.java new file mode 100644 index 000000000..f982e6be5 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountGiveaway.java @@ -0,0 +1,147 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountGiveaway extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -789027180; + + /** + * The reference instance of Account.accountGiveaway + */ + public static final mineplex.database.tables.AccountGiveaway accountGiveaway = new mineplex.database.tables.AccountGiveaway(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.AccountGiveawayRecord.class; + } + + /** + * The column Account.accountGiveaway.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountGiveaway.giveawayId. + */ + public final org.jooq.TableField giveawayId = createField("giveawayId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountGiveaway.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountGiveaway.cooldownId. + */ + public final org.jooq.TableField cooldownId = createField("cooldownId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountGiveaway.region. + */ + public final org.jooq.TableField region = createField("region", org.jooq.impl.SQLDataType.VARCHAR.length(10).nullable(false), this, ""); + + /** + * The column Account.accountGiveaway.serverName. + */ + public final org.jooq.TableField serverName = createField("serverName", org.jooq.impl.SQLDataType.VARCHAR.length(64), this, ""); + + /** + * The column Account.accountGiveaway.time. + */ + public final org.jooq.TableField time = createField("time", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.accountGiveaway.uuid. + */ + public final org.jooq.TableField uuid = createField("uuid", org.jooq.impl.SQLDataType.CHAR.length(32).nullable(false), this, ""); + + /** + * The column Account.accountGiveaway.claimed. + */ + public final org.jooq.TableField claimed = createField("claimed", org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true), this, ""); + + /** + * Create a Account.accountGiveaway table reference + */ + public AccountGiveaway() { + this("accountGiveaway", null); + } + + /** + * Create an aliased Account.accountGiveaway table reference + */ + public AccountGiveaway(java.lang.String alias) { + this(alias, mineplex.database.tables.AccountGiveaway.accountGiveaway); + } + + private AccountGiveaway(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private AccountGiveaway(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_accountGiveaway; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_accountGiveaway_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_accountGiveaway_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.accountGiveaway_giveaway_id_fk, mineplex.database.Keys.accountGiveaway_accounts_id_fk, mineplex.database.Keys.accountGiveaway_giveawayCooldown_id_fk); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.AccountGiveaway as(java.lang.String alias) { + return new mineplex.database.tables.AccountGiveaway(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.AccountGiveaway rename(java.lang.String name) { + return new mineplex.database.tables.AccountGiveaway(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountMortenSpamTest.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountMortenSpamTest.java new file mode 100644 index 000000000..f23dd38e0 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountMortenSpamTest.java @@ -0,0 +1,127 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountMortenSpamTest extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -519595750; + + /** + * The reference instance of Account.accountMortenSpamTest + */ + public static final mineplex.database.tables.AccountMortenSpamTest accountMortenSpamTest = new mineplex.database.tables.AccountMortenSpamTest(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.AccountMortenSpamTestRecord.class; + } + + /** + * The column Account.accountMortenSpamTest.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountMortenSpamTest.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountMortenSpamTest.text. + */ + public final org.jooq.TableField text = createField("text", org.jooq.impl.SQLDataType.VARCHAR.length(200), this, ""); + + /** + * The column Account.accountMortenSpamTest.punished. + */ + public final org.jooq.TableField punished = createField("punished", org.jooq.impl.SQLDataType.INTEGER.defaulted(true), this, ""); + + /** + * The column Account.accountMortenSpamTest.amountPunished. + */ + public final org.jooq.TableField amountPunished = createField("amountPunished", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * Create a Account.accountMortenSpamTest table reference + */ + public AccountMortenSpamTest() { + this("accountMortenSpamTest", null); + } + + /** + * Create an aliased Account.accountMortenSpamTest table reference + */ + public AccountMortenSpamTest(java.lang.String alias) { + this(alias, mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest); + } + + private AccountMortenSpamTest(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private AccountMortenSpamTest(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_accountMortenSpamTest; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_accountMortenSpamTest_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_accountMortenSpamTest_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.MORTEN_ACCOUNT); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.AccountMortenSpamTest as(java.lang.String alias) { + return new mineplex.database.tables.AccountMortenSpamTest(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.AccountMortenSpamTest rename(java.lang.String name) { + return new mineplex.database.tables.AccountMortenSpamTest(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPets.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPets.java new file mode 100644 index 000000000..83b497e42 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPets.java @@ -0,0 +1,109 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountPets extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -1968491783; + + /** + * The reference instance of Account.accountPets + */ + public static final mineplex.database.tables.AccountPets accountPets = new mineplex.database.tables.AccountPets(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.AccountPetsRecord.class; + } + + /** + * The column Account.accountPets.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountPets.petId. + */ + public final org.jooq.TableField petId = createField("petId", org.jooq.impl.SQLDataType.SMALLINT, this, ""); + + /** + * The column Account.accountPets.petName. + */ + public final org.jooq.TableField petName = createField("petName", org.jooq.impl.SQLDataType.VARCHAR.length(32), this, ""); + + /** + * Create a Account.accountPets table reference + */ + public AccountPets() { + this("accountPets", null); + } + + /** + * Create an aliased Account.accountPets table reference + */ + public AccountPets(java.lang.String alias) { + this(alias, mineplex.database.tables.AccountPets.accountPets); + } + + private AccountPets(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private AccountPets(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_accountPets_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_accountPets_PRIMARY, mineplex.database.Keys.KEY_accountPets_UNIQUE_ACCOUNT_PET); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.accountIdKEY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.AccountPets as(java.lang.String alias) { + return new mineplex.database.tables.AccountPets(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.AccountPets rename(java.lang.String name) { + return new mineplex.database.tables.AccountPets(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPreferences.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPreferences.java index 8c5a208ef..610041bc2 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPreferences.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPreferences.java @@ -16,7 +16,7 @@ package mineplex.database.tables; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class AccountPreferences extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { - private static final long serialVersionUID = -38086905; + private static final long serialVersionUID = 1408507732; /** * The reference instance of Account.accountPreferences @@ -126,11 +126,31 @@ public class AccountPreferences extends org.jooq.impl.TableImpl friendAllowMessaging = createField("friendAllowMessaging", org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true), this, ""); + /** + * The column Account.accountPreferences.clanTips. + */ + public final org.jooq.TableField clanTips = createField("clanTips", org.jooq.impl.SQLDataType.TINYINT.defaulted(true), this, ""); + /** * The column Account.accountPreferences.language. */ public final org.jooq.TableField language = createField("language", org.jooq.impl.SQLDataType.VARCHAR.length(45), this, ""); + /** + * The column Account.accountPreferences.showUserReports. + */ + public final org.jooq.TableField showUserReports = createField("showUserReports", org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.accountPreferences.hubMusic. + */ + public final org.jooq.TableField hubMusic = createField("hubMusic", org.jooq.impl.SQLDataType.TINYINT.defaulted(true), this, ""); + + /** + * The column Account.accountPreferences.disableAds. + */ + public final org.jooq.TableField disableAds = createField("disableAds", org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true), this, ""); + /** * Create a Account.accountPreferences table reference */ diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPurchases.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPurchases.java new file mode 100644 index 000000000..1bc462296 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountPurchases.java @@ -0,0 +1,132 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountPurchases extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 787682446; + + /** + * The reference instance of Account.accountPurchases + */ + public static final mineplex.database.tables.AccountPurchases accountPurchases = new mineplex.database.tables.AccountPurchases(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.AccountPurchasesRecord.class; + } + + /** + * The column Account.accountPurchases.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column Account.accountPurchases.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountPurchases.packageId. + */ + public final org.jooq.TableField packageId = createField("packageId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountPurchases.amount. + */ + public final org.jooq.TableField amount = createField("amount", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountPurchases.date. + */ + public final org.jooq.TableField date = createField("date", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.accountPurchases.success. + */ + public final org.jooq.TableField success = createField("success", org.jooq.impl.SQLDataType.TINYINT.nullable(false), this, ""); + + /** + * Create a Account.accountPurchases table reference + */ + public AccountPurchases() { + this("accountPurchases", null); + } + + /** + * Create an aliased Account.accountPurchases table reference + */ + public AccountPurchases(java.lang.String alias) { + this(alias, mineplex.database.tables.AccountPurchases.accountPurchases); + } + + private AccountPurchases(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private AccountPurchases(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_accountPurchases; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_accountPurchases_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_accountPurchases_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.ACCOUNT_PURCHASE_ID, mineplex.database.Keys.PACKAGENAME_ID); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.AccountPurchases as(java.lang.String alias) { + return new mineplex.database.tables.AccountPurchases(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.AccountPurchases rename(java.lang.String name) { + return new mineplex.database.tables.AccountPurchases(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountStats.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountStats.java deleted file mode 100644 index 92502978a..000000000 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountStats.java +++ /dev/null @@ -1,122 +0,0 @@ -/** - * This class is generated by jOOQ - */ -package mineplex.database.tables; - -/** - * This class is generated by jOOQ. - */ -@javax.annotation.Generated( - value = { - "http://www.jooq.org", - "jOOQ version:3.5.2" - }, - comments = "This class is generated by jOOQ" -) -@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class AccountStats extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { - - private static final long serialVersionUID = 794320538; - - /** - * The reference instance of Account.accountStats - */ - public static final mineplex.database.tables.AccountStats accountStats = new mineplex.database.tables.AccountStats(); - - /** - * The class holding records for this type - */ - @Override - public java.lang.Class getRecordType() { - return mineplex.database.tables.records.AccountStatsRecord.class; - } - - /** - * The column Account.accountStats.id. - */ - public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column Account.accountStats.accountId. - */ - public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column Account.accountStats.statId. - */ - public final org.jooq.TableField statId = createField("statId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * The column Account.accountStats.value. - */ - public final org.jooq.TableField value = createField("value", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); - - /** - * Create a Account.accountStats table reference - */ - public AccountStats() { - this("accountStats", null); - } - - /** - * Create an aliased Account.accountStats table reference - */ - public AccountStats(java.lang.String alias) { - this(alias, mineplex.database.tables.AccountStats.accountStats); - } - - private AccountStats(java.lang.String alias, org.jooq.Table aliased) { - this(alias, aliased, null); - } - - private AccountStats(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { - super(alias, mineplex.database.Account.Account, aliased, parameters, ""); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Identity getIdentity() { - return mineplex.database.Keys.IDENTITY_accountStats; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.UniqueKey getPrimaryKey() { - return mineplex.database.Keys.KEY_accountStats_PRIMARY; - } - - /** - * {@inheritDoc} - */ - @Override - public java.util.List> getKeys() { - return java.util.Arrays.>asList(mineplex.database.Keys.KEY_accountStats_PRIMARY); - } - - /** - * {@inheritDoc} - */ - @Override - public java.util.List> getReferences() { - return java.util.Arrays.>asList(mineplex.database.Keys.accountStats_ibfk_1, mineplex.database.Keys.accountStats_ibfk_2); - } - - /** - * {@inheritDoc} - */ - @Override - public mineplex.database.tables.AccountStats as(java.lang.String alias) { - return new mineplex.database.tables.AccountStats(alias, this); - } - - /** - * Rename this table - */ - public mineplex.database.tables.AccountStats rename(java.lang.String name) { - return new mineplex.database.tables.AccountStats(name, null); - } -} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountTip.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountTip.java new file mode 100644 index 000000000..d111af8a6 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountTip.java @@ -0,0 +1,104 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountTip extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 1341675958; + + /** + * The reference instance of Account.accountTip + */ + public static final mineplex.database.tables.AccountTip accountTip = new mineplex.database.tables.AccountTip(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.AccountTipRecord.class; + } + + /** + * The column Account.accountTip.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountTip.tips. + */ + public final org.jooq.TableField tips = createField("tips", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); + + /** + * Create a Account.accountTip table reference + */ + public AccountTip() { + this("accountTip", null); + } + + /** + * Create an aliased Account.accountTip table reference + */ + public AccountTip(java.lang.String alias) { + this(alias, mineplex.database.tables.AccountTip.accountTip); + } + + private AccountTip(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private AccountTip(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_accountTip_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_accountTip_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.accountTips_accounts_id_fk); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.AccountTip as(java.lang.String alias) { + return new mineplex.database.tables.AccountTip(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.AccountTip rename(java.lang.String name) { + return new mineplex.database.tables.AccountTip(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountTipClaimLogs.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountTipClaimLogs.java new file mode 100644 index 000000000..9eef2c972 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountTipClaimLogs.java @@ -0,0 +1,122 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountTipClaimLogs extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -1872367416; + + /** + * The reference instance of Account.accountTipClaimLogs + */ + public static final mineplex.database.tables.AccountTipClaimLogs accountTipClaimLogs = new mineplex.database.tables.AccountTipClaimLogs(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.AccountTipClaimLogsRecord.class; + } + + /** + * The column Account.accountTipClaimLogs.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountTipClaimLogs.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountTipClaimLogs.tipsClaimed. + */ + public final org.jooq.TableField tipsClaimed = createField("tipsClaimed", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountTipClaimLogs.date. + */ + public final org.jooq.TableField date = createField("date", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, ""); + + /** + * Create a Account.accountTipClaimLogs table reference + */ + public AccountTipClaimLogs() { + this("accountTipClaimLogs", null); + } + + /** + * Create an aliased Account.accountTipClaimLogs table reference + */ + public AccountTipClaimLogs(java.lang.String alias) { + this(alias, mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs); + } + + private AccountTipClaimLogs(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private AccountTipClaimLogs(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_accountTipClaimLogs; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_accountTipClaimLogs_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_accountTipClaimLogs_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.accountTipClaimLogs_accounts_id_fk); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.AccountTipClaimLogs as(java.lang.String alias) { + return new mineplex.database.tables.AccountTipClaimLogs(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.AccountTipClaimLogs rename(java.lang.String name) { + return new mineplex.database.tables.AccountTipClaimLogs(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountTipLogs.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountTipLogs.java new file mode 100644 index 000000000..24f2fb13f --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountTipLogs.java @@ -0,0 +1,109 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountTipLogs extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 1738208914; + + /** + * The reference instance of Account.accountTipLogs + */ + public static final mineplex.database.tables.AccountTipLogs accountTipLogs = new mineplex.database.tables.AccountTipLogs(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.AccountTipLogsRecord.class; + } + + /** + * The column Account.accountTipLogs.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountTipLogs.boosterId. + */ + public final org.jooq.TableField boosterId = createField("boosterId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountTipLogs.date. + */ + public final org.jooq.TableField date = createField("date", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, ""); + + /** + * Create a Account.accountTipLogs table reference + */ + public AccountTipLogs() { + this("accountTipLogs", null); + } + + /** + * Create an aliased Account.accountTipLogs table reference + */ + public AccountTipLogs(java.lang.String alias) { + this(alias, mineplex.database.tables.AccountTipLogs.accountTipLogs); + } + + private AccountTipLogs(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private AccountTipLogs(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_accountTipLogs_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_accountTipLogs_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.accountTipLogs_accounts_id_fk); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.AccountTipLogs as(java.lang.String alias) { + return new mineplex.database.tables.AccountTipLogs(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.AccountTipLogs rename(java.lang.String name) { + return new mineplex.database.tables.AccountTipLogs(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountValentinesGift.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountValentinesGift.java new file mode 100644 index 000000000..415a25a51 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/AccountValentinesGift.java @@ -0,0 +1,109 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountValentinesGift extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -654747312; + + /** + * The reference instance of Account.accountValentinesGift + */ + public static final mineplex.database.tables.AccountValentinesGift accountValentinesGift = new mineplex.database.tables.AccountValentinesGift(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.AccountValentinesGiftRecord.class; + } + + /** + * The column Account.accountValentinesGift.senderId. + */ + public final org.jooq.TableField senderId = createField("senderId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountValentinesGift.targetId. + */ + public final org.jooq.TableField targetId = createField("targetId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.accountValentinesGift.time. + */ + public final org.jooq.TableField time = createField("time", org.jooq.impl.SQLDataType.TIMESTAMP.defaulted(true), this, ""); + + /** + * Create a Account.accountValentinesGift table reference + */ + public AccountValentinesGift() { + this("accountValentinesGift", null); + } + + /** + * Create an aliased Account.accountValentinesGift table reference + */ + public AccountValentinesGift(java.lang.String alias) { + this(alias, mineplex.database.tables.AccountValentinesGift.accountValentinesGift); + } + + private AccountValentinesGift(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private AccountValentinesGift(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_accountValentinesGift_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_accountValentinesGift_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.accountValentines_sender_fk, mineplex.database.Keys.accountValentines_target_fk); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.AccountValentinesGift as(java.lang.String alias) { + return new mineplex.database.tables.AccountValentinesGift(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.AccountValentinesGift rename(java.lang.String name) { + return new mineplex.database.tables.AccountValentinesGift(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/BattlePets.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/BattlePets.java new file mode 100644 index 000000000..c5bf446be --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/BattlePets.java @@ -0,0 +1,154 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class BattlePets extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -790365134; + + /** + * The reference instance of Account.battlePets + */ + public static final mineplex.database.tables.BattlePets battlePets = new mineplex.database.tables.BattlePets(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.BattlePetsRecord.class; + } + + /** + * The column Account.battlePets.petId. + */ + public final org.jooq.TableField petId = createField("petId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.battlePets.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.battlePets.petType. + */ + public final org.jooq.TableField petType = createField("petType", org.jooq.impl.SQLDataType.VARCHAR.length(32).nullable(false).defaulted(true), this, ""); + + /** + * The column Account.battlePets.petName. + */ + public final org.jooq.TableField petName = createField("petName", org.jooq.impl.SQLDataType.VARCHAR.length(32).defaulted(true), this, ""); + + /** + * The column Account.battlePets.ageStamp. + */ + public final org.jooq.TableField ageStamp = createField("ageStamp", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); + + /** + * The column Account.battlePets.lastActive. + */ + public final org.jooq.TableField lastActive = createField("lastActive", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.battlePets.active. + */ + public final org.jooq.TableField active = createField("active", org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.battlePets.level. + */ + public final org.jooq.TableField level = createField("level", org.jooq.impl.SQLDataType.DOUBLE.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.battlePets.battles. + */ + public final org.jooq.TableField battles = createField("battles", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.battlePets.wins. + */ + public final org.jooq.TableField wins = createField("wins", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.battlePets.hunger. + */ + public final org.jooq.TableField hunger = createField("hunger", org.jooq.impl.SQLDataType.DOUBLE.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.battlePets.tiredness. + */ + public final org.jooq.TableField tiredness = createField("tiredness", org.jooq.impl.SQLDataType.DOUBLE.nullable(false).defaulted(true), this, ""); + + /** + * Create a Account.battlePets table reference + */ + public BattlePets() { + this("battlePets", null); + } + + /** + * Create an aliased Account.battlePets table reference + */ + public BattlePets(java.lang.String alias) { + this(alias, mineplex.database.tables.BattlePets.battlePets); + } + + private BattlePets(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private BattlePets(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_battlePets; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_battlePets_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_battlePets_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.BattlePets as(java.lang.String alias) { + return new mineplex.database.tables.BattlePets(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.BattlePets rename(java.lang.String name) { + return new mineplex.database.tables.BattlePets(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/BonusLog.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/BonusLog.java new file mode 100644 index 000000000..3c541179c --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/BonusLog.java @@ -0,0 +1,137 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class BonusLog extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 1857845660; + + /** + * The reference instance of Account.bonusLog + */ + public static final mineplex.database.tables.BonusLog bonusLog = new mineplex.database.tables.BonusLog(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.BonusLogRecord.class; + } + + /** + * The column Account.bonusLog.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.bonusLog.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.bonusLog.gemChange. + */ + public final org.jooq.TableField gemChange = createField("gemChange", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.bonusLog.coinChange. + */ + public final org.jooq.TableField coinChange = createField("coinChange", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.bonusLog.itemId. + */ + public final org.jooq.TableField itemId = createField("itemId", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.bonusLog.itemChange. + */ + public final org.jooq.TableField itemChange = createField("itemChange", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.bonusLog.time. + */ + public final org.jooq.TableField time = createField("time", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false), this, ""); + + /** + * Create a Account.bonusLog table reference + */ + public BonusLog() { + this("bonusLog", null); + } + + /** + * Create an aliased Account.bonusLog table reference + */ + public BonusLog(java.lang.String alias) { + this(alias, mineplex.database.tables.BonusLog.bonusLog); + } + + private BonusLog(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private BonusLog(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_bonusLog; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_bonusLog_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_bonusLog_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.bonusLogAccountId, mineplex.database.Keys.bonusLogItemId); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.BonusLog as(java.lang.String alias) { + return new mineplex.database.tables.BonusLog(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.BonusLog rename(java.lang.String name) { + return new mineplex.database.tables.BonusLog(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/BotSpam.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/BotSpam.java new file mode 100644 index 000000000..443de9aa8 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/BotSpam.java @@ -0,0 +1,129 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class BotSpam extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 99389053; + + /** + * The reference instance of Account.botSpam + */ + public static final mineplex.database.tables.BotSpam botSpam = new mineplex.database.tables.BotSpam(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.BotSpamRecord.class; + } + + /** + * The column Account.botSpam.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.botSpam.text. + */ + public final org.jooq.TableField text = createField("text", org.jooq.impl.SQLDataType.VARCHAR.length(200).nullable(false), this, ""); + + /** + * The column Account.botSpam.punishments. + */ + public final org.jooq.TableField punishments = createField("punishments", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.botSpam.enabled. + */ + public final org.jooq.TableField enabled = createField("enabled", org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.botSpam.createdBy. + */ + public final org.jooq.TableField createdBy = createField("createdBy", org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false).defaulted(true), this, ""); + + /** + * The column Account.botSpam.enabledBy. + */ + public final org.jooq.TableField enabledBy = createField("enabledBy", org.jooq.impl.SQLDataType.VARCHAR.length(100), this, ""); + + /** + * The column Account.botSpam.disabledBy. + */ + public final org.jooq.TableField disabledBy = createField("disabledBy", org.jooq.impl.SQLDataType.VARCHAR.length(100), this, ""); + + /** + * Create a Account.botSpam table reference + */ + public BotSpam() { + this("botSpam", null); + } + + /** + * Create an aliased Account.botSpam table reference + */ + public BotSpam(java.lang.String alias) { + this(alias, mineplex.database.tables.BotSpam.botSpam); + } + + private BotSpam(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private BotSpam(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_botSpam; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_botSpam_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_botSpam_PRIMARY, mineplex.database.Keys.KEY_botSpam_unique_text); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.BotSpam as(java.lang.String alias) { + return new mineplex.database.tables.BotSpam(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.BotSpam rename(java.lang.String name) { + return new mineplex.database.tables.BotSpam(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanAlliances.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanAlliances.java index cec0175b2..4db4e13c4 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanAlliances.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanAlliances.java @@ -16,7 +16,7 @@ package mineplex.database.tables; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class ClanAlliances extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { - private static final long serialVersionUID = 2034100059; + private static final long serialVersionUID = -1139367933; /** * The reference instance of Account.clanAlliances @@ -97,14 +97,6 @@ public class ClanAlliances extends org.jooq.impl.TableImpl>asList(mineplex.database.Keys.KEY_clanAlliances_PRIMARY); } - /** - * {@inheritDoc} - */ - @Override - public java.util.List> getReferences() { - return java.util.Arrays.>asList(mineplex.database.Keys.clanAlliances_ibfk_2, mineplex.database.Keys.clanAlliances_ibfk_1); - } - /** * {@inheritDoc} */ diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanBans.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanBans.java new file mode 100644 index 000000000..3bae2c9fd --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanBans.java @@ -0,0 +1,134 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClanBans extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 1230268694; + + /** + * The reference instance of Account.clanBans + */ + public static final mineplex.database.tables.ClanBans clanBans = new mineplex.database.tables.ClanBans(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.ClanBansRecord.class; + } + + /** + * The column Account.clanBans.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clanBans.uuid. + */ + public final org.jooq.TableField uuid = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(36), this, ""); + + /** + * The column Account.clanBans.admin. + */ + public final org.jooq.TableField admin = createField("admin", org.jooq.impl.SQLDataType.VARCHAR.length(16), this, ""); + + /** + * The column Account.clanBans.reason. + */ + public final org.jooq.TableField reason = createField("reason", org.jooq.impl.SQLDataType.VARCHAR.length(128), this, ""); + + /** + * The column Account.clanBans.banTime. + */ + public final org.jooq.TableField banTime = createField("banTime", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.clanBans.unbanTime. + */ + public final org.jooq.TableField unbanTime = createField("unbanTime", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.clanBans.permanent. + */ + public final org.jooq.TableField permanent = createField("permanent", org.jooq.impl.SQLDataType.TINYINT, this, ""); + + /** + * The column Account.clanBans.removed. + */ + public final org.jooq.TableField removed = createField("removed", org.jooq.impl.SQLDataType.TINYINT, this, ""); + + /** + * Create a Account.clanBans table reference + */ + public ClanBans() { + this("clanBans", null); + } + + /** + * Create an aliased Account.clanBans table reference + */ + public ClanBans(java.lang.String alias) { + this(alias, mineplex.database.tables.ClanBans.clanBans); + } + + private ClanBans(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private ClanBans(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_clanBans; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_clanBans_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_clanBans_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.ClanBans as(java.lang.String alias) { + return new mineplex.database.tables.ClanBans(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.ClanBans rename(java.lang.String name) { + return new mineplex.database.tables.ClanBans(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanEnemies.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanEnemies.java index ee274f0bf..2eb22c765 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanEnemies.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanEnemies.java @@ -16,7 +16,7 @@ package mineplex.database.tables; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class ClanEnemies extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { - private static final long serialVersionUID = 7530567; + private static final long serialVersionUID = -2127161327; /** * The reference instance of Account.clanEnemies @@ -122,14 +122,6 @@ public class ClanEnemies extends org.jooq.impl.TableImpl>asList(mineplex.database.Keys.KEY_clanEnemies_PRIMARY, mineplex.database.Keys.KEY_clanEnemies_unique_clanId, mineplex.database.Keys.KEY_clanEnemies_unique_otherClanId); } - /** - * {@inheritDoc} - */ - @Override - public java.util.List> getReferences() { - return java.util.Arrays.>asList(mineplex.database.Keys.clanEnemies_ibfk_1, mineplex.database.Keys.clanEnemies_ibfk_2); - } - /** * {@inheritDoc} */ diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanNameBlacklist.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanNameBlacklist.java new file mode 100644 index 000000000..e590c181f --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanNameBlacklist.java @@ -0,0 +1,101 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClanNameBlacklist extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 617068060; + + /** + * The reference instance of Account.clanNameBlacklist + */ + public static final mineplex.database.tables.ClanNameBlacklist clanNameBlacklist = new mineplex.database.tables.ClanNameBlacklist(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.ClanNameBlacklistRecord.class; + } + + /** + * The column Account.clanNameBlacklist.clanName. + */ + public final org.jooq.TableField clanName = createField("clanName", org.jooq.impl.SQLDataType.VARCHAR.length(20).nullable(false), this, ""); + + /** + * The column Account.clanNameBlacklist.admin. + */ + public final org.jooq.TableField admin = createField("admin", org.jooq.impl.SQLDataType.VARCHAR.length(16).nullable(false), this, ""); + + /** + * The column Account.clanNameBlacklist.added. + */ + public final org.jooq.TableField added = createField("added", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, ""); + + /** + * Create a Account.clanNameBlacklist table reference + */ + public ClanNameBlacklist() { + this("clanNameBlacklist", null); + } + + /** + * Create an aliased Account.clanNameBlacklist table reference + */ + public ClanNameBlacklist(java.lang.String alias) { + this(alias, mineplex.database.tables.ClanNameBlacklist.clanNameBlacklist); + } + + private ClanNameBlacklist(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private ClanNameBlacklist(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_clanNameBlacklist_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_clanNameBlacklist_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.ClanNameBlacklist as(java.lang.String alias) { + return new mineplex.database.tables.ClanNameBlacklist(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.ClanNameBlacklist rename(java.lang.String name) { + return new mineplex.database.tables.ClanNameBlacklist(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanServer.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanServer.java index e3d08a0b7..78c09e032 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanServer.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanServer.java @@ -16,7 +16,7 @@ package mineplex.database.tables; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class ClanServer extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { - private static final long serialVersionUID = -566894974; + private static final long serialVersionUID = 1979512429; /** * The reference instance of Account.clanServer @@ -84,7 +84,7 @@ public class ClanServer extends org.jooq.impl.TableImpl> getKeys() { - return java.util.Arrays.>asList(mineplex.database.Keys.KEY_clanServer_PRIMARY); + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_clanServer_PRIMARY, mineplex.database.Keys.KEY_clanServer_unique_serverName); } /** diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanTerritory.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanTerritory.java index 1909b2193..16c586a84 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanTerritory.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanTerritory.java @@ -16,7 +16,7 @@ package mineplex.database.tables; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class ClanTerritory extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { - private static final long serialVersionUID = -1393369389; + private static final long serialVersionUID = -984947449; /** * The reference instance of Account.clanTerritory @@ -41,11 +41,6 @@ public class ClanTerritory extends org.jooq.impl.TableImpl clanId = createField("clanId", org.jooq.impl.SQLDataType.INTEGER, this, ""); - /** - * The column Account.clanTerritory.serverId. - */ - public final org.jooq.TableField serverId = createField("serverId", org.jooq.impl.SQLDataType.INTEGER, this, ""); - /** * The column Account.clanTerritory.chunk. */ @@ -99,15 +94,7 @@ public class ClanTerritory extends org.jooq.impl.TableImpl> getKeys() { - return java.util.Arrays.>asList(mineplex.database.Keys.KEY_clanTerritory_PRIMARY, mineplex.database.Keys.KEY_clanTerritory_territory_server_chunk_UNIQUE); - } - - /** - * {@inheritDoc} - */ - @Override - public java.util.List> getReferences() { - return java.util.Arrays.>asList(mineplex.database.Keys.clanTerritory_ibfk_1, mineplex.database.Keys.clanTerritory_ibfk_2); + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_clanTerritory_PRIMARY); } /** diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanWar.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanWar.java new file mode 100644 index 000000000..65676c4c9 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClanWar.java @@ -0,0 +1,134 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClanWar extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 1997659837; + + /** + * The reference instance of Account.clanWar + */ + public static final mineplex.database.tables.ClanWar clanWar = new mineplex.database.tables.ClanWar(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.ClanWarRecord.class; + } + + /** + * The column Account.clanWar.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clanWar.initiatorId. + */ + public final org.jooq.TableField initiatorId = createField("initiatorId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clanWar.clanId. + */ + public final org.jooq.TableField clanId = createField("clanId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clanWar.score. + */ + public final org.jooq.TableField score = createField("score", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clanWar.completed. + */ + public final org.jooq.TableField completed = createField("completed", org.jooq.impl.SQLDataType.TINYINT.defaulted(true), this, ""); + + /** + * The column Account.clanWar.created. + */ + public final org.jooq.TableField created = createField("created", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.clanWar.ended. + */ + public final org.jooq.TableField ended = createField("ended", org.jooq.impl.SQLDataType.TIMESTAMP, this, ""); + + /** + * The column Account.clanWar.lastUpdated. + */ + public final org.jooq.TableField lastUpdated = createField("lastUpdated", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, ""); + + /** + * Create a Account.clanWar table reference + */ + public ClanWar() { + this("clanWar", null); + } + + /** + * Create an aliased Account.clanWar table reference + */ + public ClanWar(java.lang.String alias) { + this(alias, mineplex.database.tables.ClanWar.clanWar); + } + + private ClanWar(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private ClanWar(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_clanWar; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_clanWar_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_clanWar_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.ClanWar as(java.lang.String alias) { + return new mineplex.database.tables.ClanWar(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.ClanWar rename(java.lang.String name) { + return new mineplex.database.tables.ClanWar(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/Clans.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/Clans.java index a72409235..f1161337b 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/Clans.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/Clans.java @@ -16,7 +16,7 @@ package mineplex.database.tables; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Clans extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { - private static final long serialVersionUID = -1842631086; + private static final long serialVersionUID = 1152753541; /** * The reference instance of Account.clans @@ -101,6 +101,21 @@ public class Clans extends org.jooq.impl.TableImpl warLosses = createField("warLosses", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); + /** + * The column Account.clans.generator. + */ + public final org.jooq.TableField generator = createField("generator", org.jooq.impl.SQLDataType.VARCHAR.length(140).nullable(false).defaulted(true), this, ""); + + /** + * The column Account.clans.generatorStock. + */ + public final org.jooq.TableField generatorStock = createField("generatorStock", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.clans.eloRating. + */ + public final org.jooq.TableField eloRating = createField("eloRating", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); + /** * Create a Account.clans table reference */ @@ -147,14 +162,6 @@ public class Clans extends org.jooq.impl.TableImpl>asList(mineplex.database.Keys.KEY_clans_PRIMARY, mineplex.database.Keys.KEY_clans_clanName); } - /** - * {@inheritDoc} - */ - @Override - public java.util.List> getReferences() { - return java.util.Arrays.>asList(mineplex.database.Keys.clans_ibfk_1); - } - /** * {@inheritDoc} */ diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClansOutposts.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClansOutposts.java new file mode 100644 index 000000000..d2a1b2f32 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClansOutposts.java @@ -0,0 +1,121 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClansOutposts extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -1523741969; + + /** + * The reference instance of Account.clansOutposts + */ + public static final mineplex.database.tables.ClansOutposts clansOutposts = new mineplex.database.tables.ClansOutposts(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.ClansOutpostsRecord.class; + } + + /** + * The column Account.clansOutposts.uniqueId. + */ + public final org.jooq.TableField uniqueId = createField("uniqueId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clansOutposts.serverId. + */ + public final org.jooq.TableField serverId = createField("serverId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clansOutposts.origin. + */ + public final org.jooq.TableField origin = createField("origin", org.jooq.impl.SQLDataType.VARCHAR.length(30), this, ""); + + /** + * The column Account.clansOutposts.outpostType. + */ + public final org.jooq.TableField outpostType = createField("outpostType", org.jooq.impl.SQLDataType.TINYINT.nullable(false), this, ""); + + /** + * The column Account.clansOutposts.ownerClan. + */ + public final org.jooq.TableField ownerClan = createField("ownerClan", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clansOutposts.timeSpawned. + */ + public final org.jooq.TableField timeSpawned = createField("timeSpawned", org.jooq.impl.SQLDataType.CLOB.length(16777215), this, ""); + + /** + * The column Account.clansOutposts.outpostState. + */ + public final org.jooq.TableField outpostState = createField("outpostState", org.jooq.impl.SQLDataType.TINYINT.nullable(false), this, ""); + + /** + * Create a Account.clansOutposts table reference + */ + public ClansOutposts() { + this("clansOutposts", null); + } + + /** + * Create an aliased Account.clansOutposts table reference + */ + public ClansOutposts(java.lang.String alias) { + this(alias, mineplex.database.tables.ClansOutposts.clansOutposts); + } + + private ClansOutposts(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private ClansOutposts(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_clansOutposts_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_clansOutposts_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.ClansOutposts as(java.lang.String alias) { + return new mineplex.database.tables.ClansOutposts(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.ClansOutposts rename(java.lang.String name) { + return new mineplex.database.tables.ClansOutposts(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClansPvpTimer.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClansPvpTimer.java new file mode 100644 index 000000000..8cc482088 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClansPvpTimer.java @@ -0,0 +1,101 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClansPvpTimer extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 1101911309; + + /** + * The reference instance of Account.clansPvpTimer + */ + public static final mineplex.database.tables.ClansPvpTimer clansPvpTimer = new mineplex.database.tables.ClansPvpTimer(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.ClansPvpTimerRecord.class; + } + + /** + * The column Account.clansPvpTimer.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clansPvpTimer.timerElapsed. + */ + public final org.jooq.TableField timerElapsed = createField("timerElapsed", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.clansPvpTimer.hasSkipped. + */ + public final org.jooq.TableField hasSkipped = createField("hasSkipped", org.jooq.impl.SQLDataType.TINYINT.defaulted(true), this, ""); + + /** + * Create a Account.clansPvpTimer table reference + */ + public ClansPvpTimer() { + this("clansPvpTimer", null); + } + + /** + * Create an aliased Account.clansPvpTimer table reference + */ + public ClansPvpTimer(java.lang.String alias) { + this(alias, mineplex.database.tables.ClansPvpTimer.clansPvpTimer); + } + + private ClansPvpTimer(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private ClansPvpTimer(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_clansPvpTimer_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_clansPvpTimer_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.ClansPvpTimer as(java.lang.String alias) { + return new mineplex.database.tables.ClansPvpTimer(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.ClansPvpTimer rename(java.lang.String name) { + return new mineplex.database.tables.ClansPvpTimer(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClansSiegeWeapons.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClansSiegeWeapons.java new file mode 100644 index 000000000..a1ba876a4 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClansSiegeWeapons.java @@ -0,0 +1,131 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClansSiegeWeapons extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -911326281; + + /** + * The reference instance of Account.clansSiegeWeapons + */ + public static final mineplex.database.tables.ClansSiegeWeapons clansSiegeWeapons = new mineplex.database.tables.ClansSiegeWeapons(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.ClansSiegeWeaponsRecord.class; + } + + /** + * The column Account.clansSiegeWeapons.uniqueId. + */ + public final org.jooq.TableField uniqueId = createField("uniqueId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clansSiegeWeapons.serverId. + */ + public final org.jooq.TableField serverId = createField("serverId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clansSiegeWeapons.location. + */ + public final org.jooq.TableField location = createField("location", org.jooq.impl.SQLDataType.VARCHAR.length(30), this, ""); + + /** + * The column Account.clansSiegeWeapons.ownerClan. + */ + public final org.jooq.TableField ownerClan = createField("ownerClan", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clansSiegeWeapons.weaponType. + */ + public final org.jooq.TableField weaponType = createField("weaponType", org.jooq.impl.SQLDataType.TINYINT.nullable(false), this, ""); + + /** + * The column Account.clansSiegeWeapons.health. + */ + public final org.jooq.TableField health = createField("health", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clansSiegeWeapons.yaw. + */ + public final org.jooq.TableField yaw = createField("yaw", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.clansSiegeWeapons.lastFired. + */ + public final org.jooq.TableField lastFired = createField("lastFired", org.jooq.impl.SQLDataType.CLOB.length(16777215), this, ""); + + /** + * The column Account.clansSiegeWeapons.entities. + */ + public final org.jooq.TableField entities = createField("entities", org.jooq.impl.SQLDataType.VARCHAR.length(200), this, ""); + + /** + * Create a Account.clansSiegeWeapons table reference + */ + public ClansSiegeWeapons() { + this("clansSiegeWeapons", null); + } + + /** + * Create an aliased Account.clansSiegeWeapons table reference + */ + public ClansSiegeWeapons(java.lang.String alias) { + this(alias, mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons); + } + + private ClansSiegeWeapons(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private ClansSiegeWeapons(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_clansSiegeWeapons_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_clansSiegeWeapons_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.ClansSiegeWeapons as(java.lang.String alias) { + return new mineplex.database.tables.ClansSiegeWeapons(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.ClansSiegeWeapons rename(java.lang.String name) { + return new mineplex.database.tables.ClansSiegeWeapons(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/ClansTutorial.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClansTutorial.java new file mode 100644 index 000000000..c55e766b4 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/ClansTutorial.java @@ -0,0 +1,96 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClansTutorial extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 841709255; + + /** + * The reference instance of Account.clansTutorial + */ + public static final mineplex.database.tables.ClansTutorial clansTutorial = new mineplex.database.tables.ClansTutorial(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.ClansTutorialRecord.class; + } + + /** + * The column Account.clansTutorial.uuid. + */ + public final org.jooq.TableField uuid = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(36).nullable(false).defaulted(true), this, ""); + + /** + * The column Account.clansTutorial.timesPlayed. + */ + public final org.jooq.TableField timesPlayed = createField("timesPlayed", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * Create a Account.clansTutorial table reference + */ + public ClansTutorial() { + this("clansTutorial", null); + } + + /** + * Create an aliased Account.clansTutorial table reference + */ + public ClansTutorial(java.lang.String alias) { + this(alias, mineplex.database.tables.ClansTutorial.clansTutorial); + } + + private ClansTutorial(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private ClansTutorial(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_clansTutorial_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_clansTutorial_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.ClansTutorial as(java.lang.String alias) { + return new mineplex.database.tables.ClansTutorial(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.ClansTutorial rename(java.lang.String name) { + return new mineplex.database.tables.ClansTutorial(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/CustomData.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/CustomData.java new file mode 100644 index 000000000..5db671ec3 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/CustomData.java @@ -0,0 +1,104 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class CustomData extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -220428349; + + /** + * The reference instance of Account.customData + */ + public static final mineplex.database.tables.CustomData customData = new mineplex.database.tables.CustomData(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.CustomDataRecord.class; + } + + /** + * The column Account.customData.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.customData.name. + */ + public final org.jooq.TableField name = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false), this, ""); + + /** + * Create a Account.customData table reference + */ + public CustomData() { + this("customData", null); + } + + /** + * Create an aliased Account.customData table reference + */ + public CustomData(java.lang.String alias) { + this(alias, mineplex.database.tables.CustomData.customData); + } + + private CustomData(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private CustomData(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_customData; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_customData_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_customData_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.CustomData as(java.lang.String alias) { + return new mineplex.database.tables.CustomData(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.CustomData rename(java.lang.String name) { + return new mineplex.database.tables.CustomData(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/EloRating.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/EloRating.java index 143557a31..0e1651922 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/EloRating.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/EloRating.java @@ -16,7 +16,7 @@ package mineplex.database.tables; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class EloRating extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { - private static final long serialVersionUID = -747680746; + private static final long serialVersionUID = 1056892571; /** * The reference instance of Account.eloRating @@ -37,29 +37,19 @@ public class EloRating extends org.jooq.impl.TableImpl id = createField("id", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, ""); /** - * The column Account.eloRating.uuid. + * The column Account.eloRating.accountId. */ - public final org.jooq.TableField uuid = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(256).nullable(false), this, ""); - - /** - * The column Account.eloRating.gamemode. - */ - public final org.jooq.TableField gamemode = createField("gamemode", org.jooq.impl.SQLDataType.TINYINTUNSIGNED.nullable(false), this, ""); - - /** - * The column Account.eloRating.matchesPlayed. - */ - public final org.jooq.TableField matchesPlayed = createField("matchesPlayed", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).defaulted(true), this, ""); - - /** - * The column Account.eloRating.elo. - */ - public final org.jooq.TableField elo = createField("elo", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column Account.eloRating.gameType. */ - public final org.jooq.TableField gameType = createField("gameType", org.jooq.impl.SQLDataType.VARCHAR.length(40).nullable(false), this, ""); + public final org.jooq.TableField gameType = createField("gameType", org.jooq.impl.SQLDataType.VARCHAR.length(256), this, ""); + + /** + * The column Account.eloRating.elo. + */ + public final org.jooq.TableField elo = createField("elo", org.jooq.impl.SQLDataType.INTEGER, this, ""); /** * Create a Account.eloRating table reference @@ -104,7 +94,15 @@ public class EloRating extends org.jooq.impl.TableImpl> getKeys() { - return java.util.Arrays.>asList(mineplex.database.Keys.KEY_eloRating_PRIMARY, mineplex.database.Keys.KEY_eloRating_uuid_gameType_index); + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_eloRating_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.ELORATING_ACCOUNTID); } /** diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/Facebook.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/Facebook.java new file mode 100644 index 000000000..c45f6547a --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/Facebook.java @@ -0,0 +1,114 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Facebook extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -146067625; + + /** + * The reference instance of Account.facebook + */ + public static final mineplex.database.tables.Facebook facebook = new mineplex.database.tables.Facebook(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.FacebookRecord.class; + } + + /** + * The column Account.facebook.code. + */ + public final org.jooq.TableField code = createField("code", org.jooq.impl.SQLDataType.CHAR.length(8).nullable(false), this, ""); + + /** + * The column Account.facebook.activated. + */ + public final org.jooq.TableField activated = createField("activated", org.jooq.impl.SQLDataType.TINYINT.defaulted(true), this, ""); + + /** + * The column Account.facebook.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.facebook.activationTime. + */ + public final org.jooq.TableField activationTime = createField("activationTime", org.jooq.impl.SQLDataType.TIMESTAMP, this, ""); + + /** + * Create a Account.facebook table reference + */ + public Facebook() { + this("facebook", null); + } + + /** + * Create an aliased Account.facebook table reference + */ + public Facebook(java.lang.String alias) { + this(alias, mineplex.database.tables.Facebook.facebook); + } + + private Facebook(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private Facebook(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_facebook_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_facebook_PRIMARY, mineplex.database.Keys.KEY_facebook_facebook_code_uindex, mineplex.database.Keys.KEY_facebook_facebook_accountId_uindex); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.facebook_accounts_id_fk); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.Facebook as(java.lang.String alias) { + return new mineplex.database.tables.Facebook(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.Facebook rename(java.lang.String name) { + return new mineplex.database.tables.Facebook(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/Gadgets.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/Gadgets.java new file mode 100644 index 000000000..18fb7bbc2 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/Gadgets.java @@ -0,0 +1,109 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Gadgets extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -42460699; + + /** + * The reference instance of Account.gadgets + */ + public static final mineplex.database.tables.Gadgets gadgets = new mineplex.database.tables.Gadgets(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.GadgetsRecord.class; + } + + /** + * The column Account.gadgets.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.gadgets.kvKey. + */ + public final org.jooq.TableField kvKey = createField("kvKey", org.jooq.impl.SQLDataType.VARCHAR.length(255).nullable(false), this, ""); + + /** + * The column Account.gadgets.kvValue. + */ + public final org.jooq.TableField kvValue = createField("kvValue", org.jooq.impl.SQLDataType.VARCHAR.length(255), this, ""); + + /** + * Create a Account.gadgets table reference + */ + public Gadgets() { + this("gadgets", null); + } + + /** + * Create an aliased Account.gadgets table reference + */ + public Gadgets(java.lang.String alias) { + this(alias, mineplex.database.tables.Gadgets.gadgets); + } + + private Gadgets(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private Gadgets(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_gadgets_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_gadgets_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.gadgets_ibfk_1); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.Gadgets as(java.lang.String alias) { + return new mineplex.database.tables.Gadgets(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.Gadgets rename(java.lang.String name) { + return new mineplex.database.tables.Gadgets(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/Giveaway.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/Giveaway.java new file mode 100644 index 000000000..75a460a8a --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/Giveaway.java @@ -0,0 +1,144 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Giveaway extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -516869143; + + /** + * The reference instance of Account.giveaway + */ + public static final mineplex.database.tables.Giveaway giveaway = new mineplex.database.tables.Giveaway(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.GiveawayRecord.class; + } + + /** + * The column Account.giveaway.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.giveaway.name. + */ + public final org.jooq.TableField name = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(30).nullable(false), this, ""); + + /** + * The column Account.giveaway.prettyName. + */ + public final org.jooq.TableField prettyName = createField("prettyName", org.jooq.impl.SQLDataType.VARCHAR.length(64).nullable(false), this, ""); + + /** + * The column Account.giveaway.header. + */ + public final org.jooq.TableField header = createField("header", org.jooq.impl.SQLDataType.VARCHAR.length(40).nullable(false), this, ""); + + /** + * The column Account.giveaway.message. + */ + public final org.jooq.TableField message = createField("message", org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false), this, ""); + + /** + * The column Account.giveaway.max. + */ + public final org.jooq.TableField max = createField("max", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.giveaway.notifyNetwork. + */ + public final org.jooq.TableField notifyNetwork = createField("notifyNetwork", org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.giveaway.notifyCooldown. + */ + public final org.jooq.TableField notifyCooldown = createField("notifyCooldown", org.jooq.impl.SQLDataType.INTEGER.defaulted(true), this, ""); + + /** + * The column Account.giveaway.canWinTwice. + */ + public final org.jooq.TableField canWinTwice = createField("canWinTwice", org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.giveaway.enabled. + */ + public final org.jooq.TableField enabled = createField("enabled", org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true), this, ""); + + /** + * Create a Account.giveaway table reference + */ + public Giveaway() { + this("giveaway", null); + } + + /** + * Create an aliased Account.giveaway table reference + */ + public Giveaway(java.lang.String alias) { + this(alias, mineplex.database.tables.Giveaway.giveaway); + } + + private Giveaway(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private Giveaway(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_giveaway; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_giveaway_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_giveaway_PRIMARY, mineplex.database.Keys.KEY_giveaway_giveaway_name_uindex); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.Giveaway as(java.lang.String alias) { + return new mineplex.database.tables.Giveaway(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.Giveaway rename(java.lang.String name) { + return new mineplex.database.tables.Giveaway(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/GiveawayCooldown.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/GiveawayCooldown.java new file mode 100644 index 000000000..11dbc97ee --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/GiveawayCooldown.java @@ -0,0 +1,109 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class GiveawayCooldown extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 669919869; + + /** + * The reference instance of Account.giveawayCooldown + */ + public static final mineplex.database.tables.GiveawayCooldown giveawayCooldown = new mineplex.database.tables.GiveawayCooldown(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.GiveawayCooldownRecord.class; + } + + /** + * The column Account.giveawayCooldown.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.giveawayCooldown.name. + */ + public final org.jooq.TableField name = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(20).nullable(false), this, ""); + + /** + * The column Account.giveawayCooldown.cooldown. + */ + public final org.jooq.TableField cooldown = createField("cooldown", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); + + /** + * Create a Account.giveawayCooldown table reference + */ + public GiveawayCooldown() { + this("giveawayCooldown", null); + } + + /** + * Create an aliased Account.giveawayCooldown table reference + */ + public GiveawayCooldown(java.lang.String alias) { + this(alias, mineplex.database.tables.GiveawayCooldown.giveawayCooldown); + } + + private GiveawayCooldown(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private GiveawayCooldown(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_giveawayCooldown; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_giveawayCooldown_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_giveawayCooldown_PRIMARY, mineplex.database.Keys.KEY_giveawayCooldown_giveawayCooldown_name_uindex); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.GiveawayCooldown as(java.lang.String alias) { + return new mineplex.database.tables.GiveawayCooldown(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.GiveawayCooldown rename(java.lang.String name) { + return new mineplex.database.tables.GiveawayCooldown(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/IncognitoStaff.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/IncognitoStaff.java new file mode 100644 index 000000000..854e179bf --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/IncognitoStaff.java @@ -0,0 +1,96 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class IncognitoStaff extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 1147042600; + + /** + * The reference instance of Account.incognitoStaff + */ + public static final mineplex.database.tables.IncognitoStaff incognitoStaff = new mineplex.database.tables.IncognitoStaff(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.IncognitoStaffRecord.class; + } + + /** + * The column Account.incognitoStaff.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.incognitoStaff.status. + */ + public final org.jooq.TableField status = createField("status", org.jooq.impl.SQLDataType.TINYINT.defaulted(true), this, ""); + + /** + * Create a Account.incognitoStaff table reference + */ + public IncognitoStaff() { + this("incognitoStaff", null); + } + + /** + * Create an aliased Account.incognitoStaff table reference + */ + public IncognitoStaff(java.lang.String alias) { + this(alias, mineplex.database.tables.IncognitoStaff.incognitoStaff); + } + + private IncognitoStaff(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private IncognitoStaff(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_incognitoStaff_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_incognitoStaff_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.IncognitoStaff as(java.lang.String alias) { + return new mineplex.database.tables.IncognitoStaff(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.IncognitoStaff rename(java.lang.String name) { + return new mineplex.database.tables.IncognitoStaff(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/Items.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/Items.java index 24b4eaaef..3fd9c6b64 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/Items.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/Items.java @@ -16,7 +16,7 @@ package mineplex.database.tables; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class Items extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { - private static final long serialVersionUID = 1044139841; + private static final long serialVersionUID = -2111929737; /** * The reference instance of Account.items @@ -94,15 +94,7 @@ public class Items extends org.jooq.impl.TableImpl> getKeys() { - return java.util.Arrays.>asList(mineplex.database.Keys.KEY_items_PRIMARY, mineplex.database.Keys.KEY_items_uniqueNameCategoryIndex); - } - - /** - * {@inheritDoc} - */ - @Override - public java.util.List> getReferences() { - return java.util.Arrays.>asList(mineplex.database.Keys.items_ibfk_1); + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_items_PRIMARY, mineplex.database.Keys.KEY_items_name_UNIQUE, mineplex.database.Keys.KEY_items_uniqueNameCategoryIndex); } /** diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/KitProgression.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/KitProgression.java new file mode 100644 index 000000000..fcf6758b4 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/KitProgression.java @@ -0,0 +1,116 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class KitProgression extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -707115310; + + /** + * The reference instance of Account.kitProgression + */ + public static final mineplex.database.tables.KitProgression kitProgression = new mineplex.database.tables.KitProgression(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.KitProgressionRecord.class; + } + + /** + * The column Account.kitProgression.uuid. + */ + public final org.jooq.TableField uuid = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(36).nullable(false).defaulted(true), this, ""); + + /** + * The column Account.kitProgression.kitId. + */ + public final org.jooq.TableField kitId = createField("kitId", org.jooq.impl.SQLDataType.VARCHAR.length(64).nullable(false).defaulted(true), this, ""); + + /** + * The column Account.kitProgression.level. + */ + public final org.jooq.TableField level = createField("level", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.kitProgression.xp. + */ + public final org.jooq.TableField xp = createField("xp", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.kitProgression.upgrade_level. + */ + public final org.jooq.TableField upgrade_level = createField("upgrade_level", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.kitProgression.default. + */ + public final org.jooq.TableField default_ = createField("default", org.jooq.impl.SQLDataType.TINYINT, this, ""); + + /** + * Create a Account.kitProgression table reference + */ + public KitProgression() { + this("kitProgression", null); + } + + /** + * Create an aliased Account.kitProgression table reference + */ + public KitProgression(java.lang.String alias) { + this(alias, mineplex.database.tables.KitProgression.kitProgression); + } + + private KitProgression(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private KitProgression(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_kitProgression_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_kitProgression_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.KitProgression as(java.lang.String alias) { + return new mineplex.database.tables.KitProgression(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.KitProgression rename(java.lang.String name) { + return new mineplex.database.tables.KitProgression(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/Kit_progression.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/Kit_progression.java new file mode 100644 index 000000000..836eaf7c7 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/Kit_progression.java @@ -0,0 +1,116 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Kit_progression extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 144258751; + + /** + * The reference instance of Account.kit_progression + */ + public static final mineplex.database.tables.Kit_progression kit_progression = new mineplex.database.tables.Kit_progression(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.Kit_progressionRecord.class; + } + + /** + * The column Account.kit_progression.account_id. + */ + public final org.jooq.TableField account_id = createField("account_id", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.kit_progression.kit_id. + */ + public final org.jooq.TableField kit_id = createField("kit_id", org.jooq.impl.SQLDataType.VARCHAR.length(64).nullable(false).defaulted(true), this, ""); + + /** + * The column Account.kit_progression.level. + */ + public final org.jooq.TableField level = createField("level", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.kit_progression.xp. + */ + public final org.jooq.TableField xp = createField("xp", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.kit_progression.upgrade_level. + */ + public final org.jooq.TableField upgrade_level = createField("upgrade_level", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.kit_progression.default. + */ + public final org.jooq.TableField default_ = createField("default", org.jooq.impl.SQLDataType.TINYINT, this, ""); + + /** + * Create a Account.kit_progression table reference + */ + public Kit_progression() { + this("kit_progression", null); + } + + /** + * Create an aliased Account.kit_progression table reference + */ + public Kit_progression(java.lang.String alias) { + this(alias, mineplex.database.tables.Kit_progression.kit_progression); + } + + private Kit_progression(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private Kit_progression(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_kit_progression_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_kit_progression_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.Kit_progression as(java.lang.String alias) { + return new mineplex.database.tables.Kit_progression(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.Kit_progression rename(java.lang.String name) { + return new mineplex.database.tables.Kit_progression(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/Kitpreferences.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/Kitpreferences.java new file mode 100644 index 000000000..00091a414 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/Kitpreferences.java @@ -0,0 +1,85 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Kitpreferences extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -818455351; + + /** + * The reference instance of Account.kitpreferences + */ + public static final mineplex.database.tables.Kitpreferences kitpreferences = new mineplex.database.tables.Kitpreferences(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.KitpreferencesRecord.class; + } + + /** + * The column Account.kitpreferences.accountid. + */ + public final org.jooq.TableField accountid = createField("accountid", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.kitpreferences.gameid. + */ + public final org.jooq.TableField gameid = createField("gameid", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.kitpreferences.kitid. + */ + public final org.jooq.TableField kitid = createField("kitid", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * Create a Account.kitpreferences table reference + */ + public Kitpreferences() { + this("kitpreferences", null); + } + + /** + * Create an aliased Account.kitpreferences table reference + */ + public Kitpreferences(java.lang.String alias) { + this(alias, mineplex.database.tables.Kitpreferences.kitpreferences); + } + + private Kitpreferences(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private Kitpreferences(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.Kitpreferences as(java.lang.String alias) { + return new mineplex.database.tables.Kitpreferences(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.Kitpreferences rename(java.lang.String name) { + return new mineplex.database.tables.Kitpreferences(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/Packages.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/Packages.java new file mode 100644 index 000000000..9979e52b3 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/Packages.java @@ -0,0 +1,104 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Packages extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 1837885814; + + /** + * The reference instance of Account.packages + */ + public static final mineplex.database.tables.Packages packages = new mineplex.database.tables.Packages(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.PackagesRecord.class; + } + + /** + * The column Account.packages.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.packages.packageName. + */ + public final org.jooq.TableField packageName = createField("packageName", org.jooq.impl.SQLDataType.VARCHAR.length(100), this, ""); + + /** + * Create a Account.packages table reference + */ + public Packages() { + this("packages", null); + } + + /** + * Create an aliased Account.packages table reference + */ + public Packages(java.lang.String alias) { + this(alias, mineplex.database.tables.Packages.packages); + } + + private Packages(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private Packages(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_packages; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_packages_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_packages_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.Packages as(java.lang.String alias) { + return new mineplex.database.tables.Packages(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.Packages rename(java.lang.String name) { + return new mineplex.database.tables.Packages(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/RankedBans.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/RankedBans.java new file mode 100644 index 000000000..63b580f41 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/RankedBans.java @@ -0,0 +1,106 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class RankedBans extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 1023809174; + + /** + * The reference instance of Account.rankedBans + */ + public static final mineplex.database.tables.RankedBans rankedBans = new mineplex.database.tables.RankedBans(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.RankedBansRecord.class; + } + + /** + * The column Account.rankedBans.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.rankedBans.strikes. + */ + public final org.jooq.TableField strikes = createField("strikes", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.rankedBans.strikesExpire. + */ + public final org.jooq.TableField strikesExpire = createField("strikesExpire", org.jooq.impl.SQLDataType.CLOB.length(16777215), this, ""); + + /** + * The column Account.rankedBans.banEnd. + */ + public final org.jooq.TableField banEnd = createField("banEnd", org.jooq.impl.SQLDataType.CLOB.length(16777215), this, ""); + + /** + * Create a Account.rankedBans table reference + */ + public RankedBans() { + this("rankedBans", null); + } + + /** + * Create an aliased Account.rankedBans table reference + */ + public RankedBans(java.lang.String alias) { + this(alias, mineplex.database.tables.RankedBans.rankedBans); + } + + private RankedBans(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private RankedBans(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_rankedBans_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_rankedBans_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.RankedBans as(java.lang.String alias) { + return new mineplex.database.tables.RankedBans(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.RankedBans rename(java.lang.String name) { + return new mineplex.database.tables.RankedBans(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/ReportTickets.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/ReportTickets.java new file mode 100644 index 000000000..bde565917 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/ReportTickets.java @@ -0,0 +1,126 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ReportTickets extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 778901082; + + /** + * The reference instance of Account.reportTickets + */ + public static final mineplex.database.tables.ReportTickets reportTickets = new mineplex.database.tables.ReportTickets(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.ReportTicketsRecord.class; + } + + /** + * The column Account.reportTickets.reportId. + */ + public final org.jooq.TableField reportId = createField("reportId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.reportTickets.date. + */ + public final org.jooq.TableField date = createField("date", org.jooq.impl.SQLDataType.CLOB.length(16777215), this, ""); + + /** + * The column Account.reportTickets.eventDate. + */ + public final org.jooq.TableField eventDate = createField("eventDate", org.jooq.impl.SQLDataType.CLOB.length(16777215), this, ""); + + /** + * The column Account.reportTickets.playerId. + */ + public final org.jooq.TableField playerId = createField("playerId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.reportTickets.server. + */ + public final org.jooq.TableField server = createField("server", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, ""); + + /** + * The column Account.reportTickets.closerId. + */ + public final org.jooq.TableField closerId = createField("closerId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.reportTickets.result. + */ + public final org.jooq.TableField result = createField("result", org.jooq.impl.SQLDataType.VARCHAR.length(25), this, ""); + + /** + * The column Account.reportTickets.reason. + */ + public final org.jooq.TableField reason = createField("reason", org.jooq.impl.SQLDataType.VARCHAR.length(100), this, ""); + + /** + * Create a Account.reportTickets table reference + */ + public ReportTickets() { + this("reportTickets", null); + } + + /** + * Create an aliased Account.reportTickets table reference + */ + public ReportTickets(java.lang.String alias) { + this(alias, mineplex.database.tables.ReportTickets.reportTickets); + } + + private ReportTickets(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private ReportTickets(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_reportTickets_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_reportTickets_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.ReportTickets as(java.lang.String alias) { + return new mineplex.database.tables.ReportTickets(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.ReportTickets rename(java.lang.String name) { + return new mineplex.database.tables.ReportTickets(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/SelectedMounts.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/SelectedMounts.java new file mode 100644 index 000000000..014d1a5fe --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/SelectedMounts.java @@ -0,0 +1,80 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SelectedMounts extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 804211667; + + /** + * The reference instance of Account.selectedMounts + */ + public static final mineplex.database.tables.SelectedMounts selectedMounts = new mineplex.database.tables.SelectedMounts(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.SelectedMountsRecord.class; + } + + /** + * The column Account.selectedMounts.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.selectedMounts.selected. + */ + public final org.jooq.TableField selected = createField("selected", org.jooq.impl.SQLDataType.VARCHAR.length(30).defaulted(true), this, ""); + + /** + * Create a Account.selectedMounts table reference + */ + public SelectedMounts() { + this("selectedMounts", null); + } + + /** + * Create an aliased Account.selectedMounts table reference + */ + public SelectedMounts(java.lang.String alias) { + this(alias, mineplex.database.tables.SelectedMounts.selectedMounts); + } + + private SelectedMounts(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private SelectedMounts(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.SelectedMounts as(java.lang.String alias) { + return new mineplex.database.tables.SelectedMounts(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.SelectedMounts rename(java.lang.String name) { + return new mineplex.database.tables.SelectedMounts(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/SelectedPets.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/SelectedPets.java new file mode 100644 index 000000000..09bfc55e6 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/SelectedPets.java @@ -0,0 +1,80 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SelectedPets extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = 2047570177; + + /** + * The reference instance of Account.selectedPets + */ + public static final mineplex.database.tables.SelectedPets selectedPets = new mineplex.database.tables.SelectedPets(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.SelectedPetsRecord.class; + } + + /** + * The column Account.selectedPets.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.selectedPets.selected. + */ + public final org.jooq.TableField selected = createField("selected", org.jooq.impl.SQLDataType.VARCHAR.length(30).defaulted(true), this, ""); + + /** + * Create a Account.selectedPets table reference + */ + public SelectedPets() { + this("selectedPets", null); + } + + /** + * Create an aliased Account.selectedPets table reference + */ + public SelectedPets(java.lang.String alias) { + this(alias, mineplex.database.tables.SelectedPets.selectedPets); + } + + private SelectedPets(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private SelectedPets(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.SelectedPets as(java.lang.String alias) { + return new mineplex.database.tables.SelectedPets(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.SelectedPets rename(java.lang.String name) { + return new mineplex.database.tables.SelectedPets(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/Selectedgadgets.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/Selectedgadgets.java new file mode 100644 index 000000000..cabe4d875 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/Selectedgadgets.java @@ -0,0 +1,80 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Selectedgadgets extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -1690277437; + + /** + * The reference instance of Account.selectedgadgets + */ + public static final mineplex.database.tables.Selectedgadgets selectedgadgets = new mineplex.database.tables.Selectedgadgets(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.SelectedgadgetsRecord.class; + } + + /** + * The column Account.selectedgadgets.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.selectedgadgets.selected. + */ + public final org.jooq.TableField selected = createField("selected", org.jooq.impl.SQLDataType.CLOB.length(65535), this, ""); + + /** + * Create a Account.selectedgadgets table reference + */ + public Selectedgadgets() { + this("selectedgadgets", null); + } + + /** + * Create an aliased Account.selectedgadgets table reference + */ + public Selectedgadgets(java.lang.String alias) { + this(alias, mineplex.database.tables.Selectedgadgets.selectedgadgets); + } + + private Selectedgadgets(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private Selectedgadgets(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.Selectedgadgets as(java.lang.String alias) { + return new mineplex.database.tables.Selectedgadgets(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.Selectedgadgets rename(java.lang.String name) { + return new mineplex.database.tables.Selectedgadgets(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/Selectedmodifiers.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/Selectedmodifiers.java new file mode 100644 index 000000000..77a133eb2 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/Selectedmodifiers.java @@ -0,0 +1,80 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Selectedmodifiers extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -215495432; + + /** + * The reference instance of Account.selectedmodifiers + */ + public static final mineplex.database.tables.Selectedmodifiers selectedmodifiers = new mineplex.database.tables.Selectedmodifiers(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.SelectedmodifiersRecord.class; + } + + /** + * The column Account.selectedmodifiers.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.selectedmodifiers.selected. + */ + public final org.jooq.TableField selected = createField("selected", org.jooq.impl.SQLDataType.CLOB.length(65535), this, ""); + + /** + * Create a Account.selectedmodifiers table reference + */ + public Selectedmodifiers() { + this("selectedmodifiers", null); + } + + /** + * Create an aliased Account.selectedmodifiers table reference + */ + public Selectedmodifiers(java.lang.String alias) { + this(alias, mineplex.database.tables.Selectedmodifiers.selectedmodifiers); + } + + private Selectedmodifiers(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private Selectedmodifiers(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.Selectedmodifiers as(java.lang.String alias) { + return new mineplex.database.tables.Selectedmodifiers(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.Selectedmodifiers rename(java.lang.String name) { + return new mineplex.database.tables.Selectedmodifiers(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/StaffMotd.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/StaffMotd.java new file mode 100644 index 000000000..67ee2f482 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/StaffMotd.java @@ -0,0 +1,119 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class StaffMotd extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -306255583; + + /** + * The reference instance of Account.staffMotd + */ + public static final mineplex.database.tables.StaffMotd staffMotd = new mineplex.database.tables.StaffMotd(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.StaffMotdRecord.class; + } + + /** + * The column Account.staffMotd.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.staffMotd.date. + */ + public final org.jooq.TableField date = createField("date", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.staffMotd.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.staffMotd.title. + */ + public final org.jooq.TableField title = createField("title", org.jooq.impl.SQLDataType.CLOB.length(65535), this, ""); + + /** + * The column Account.staffMotd.text. + */ + public final org.jooq.TableField text = createField("text", org.jooq.impl.SQLDataType.CLOB.length(16777215), this, ""); + + /** + * Create a Account.staffMotd table reference + */ + public StaffMotd() { + this("staffMotd", null); + } + + /** + * Create an aliased Account.staffMotd table reference + */ + public StaffMotd(java.lang.String alias) { + this(alias, mineplex.database.tables.StaffMotd.staffMotd); + } + + private StaffMotd(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private StaffMotd(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_staffMotd; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_staffMotd_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_staffMotd_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.StaffMotd as(java.lang.String alias) { + return new mineplex.database.tables.StaffMotd(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.StaffMotd rename(java.lang.String name) { + return new mineplex.database.tables.StaffMotd(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/Streamers.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/Streamers.java new file mode 100644 index 000000000..95008bd70 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/Streamers.java @@ -0,0 +1,109 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Streamers extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -704346240; + + /** + * The reference instance of Account.streamers + */ + public static final mineplex.database.tables.Streamers streamers = new mineplex.database.tables.Streamers(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.StreamersRecord.class; + } + + /** + * The column Account.streamers.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.streamers.uuids. + */ + public final org.jooq.TableField uuids = createField("uuids", org.jooq.impl.SQLDataType.VARCHAR.length(6000), this, ""); + + /** + * The column Account.streamers.password. + */ + public final org.jooq.TableField password = createField("password", org.jooq.impl.SQLDataType.VARCHAR.length(40), this, ""); + + /** + * Create a Account.streamers table reference + */ + public Streamers() { + this("streamers", null); + } + + /** + * Create an aliased Account.streamers table reference + */ + public Streamers(java.lang.String alias) { + this(alias, mineplex.database.tables.Streamers.streamers); + } + + private Streamers(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private Streamers(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_streamers; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_streamers_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_streamers_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.Streamers as(java.lang.String alias) { + return new mineplex.database.tables.Streamers(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.Streamers rename(java.lang.String name) { + return new mineplex.database.tables.Streamers(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/TitanGiveaway.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/TitanGiveaway.java new file mode 100644 index 000000000..0d3416078 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/TitanGiveaway.java @@ -0,0 +1,114 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class TitanGiveaway extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -517188468; + + /** + * The reference instance of Account.titanGiveaway + */ + public static final mineplex.database.tables.TitanGiveaway titanGiveaway = new mineplex.database.tables.TitanGiveaway(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.TitanGiveawayRecord.class; + } + + /** + * The column Account.titanGiveaway.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.titanGiveaway.region. + */ + public final org.jooq.TableField region = createField("region", org.jooq.impl.SQLDataType.VARCHAR.length(10).nullable(false), this, ""); + + /** + * The column Account.titanGiveaway.time. + */ + public final org.jooq.TableField time = createField("time", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, ""); + + /** + * The column Account.titanGiveaway.serverName. + */ + public final org.jooq.TableField serverName = createField("serverName", org.jooq.impl.SQLDataType.VARCHAR.length(64).nullable(false), this, ""); + + /** + * Create a Account.titanGiveaway table reference + */ + public TitanGiveaway() { + this("titanGiveaway", null); + } + + /** + * Create an aliased Account.titanGiveaway table reference + */ + public TitanGiveaway(java.lang.String alias) { + this(alias, mineplex.database.tables.TitanGiveaway.titanGiveaway); + } + + private TitanGiveaway(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private TitanGiveaway(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_titanGiveaway_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_titanGiveaway_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.titanGiveaway_ibfk_1); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.TitanGiveaway as(java.lang.String alias) { + return new mineplex.database.tables.TitanGiveaway(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.TitanGiveaway rename(java.lang.String name) { + return new mineplex.database.tables.TitanGiveaway(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/TournamentTeams.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/TournamentTeams.java new file mode 100644 index 000000000..0e62eac49 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/TournamentTeams.java @@ -0,0 +1,122 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class TournamentTeams extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -1573084229; + + /** + * The reference instance of Account.tournamentTeams + */ + public static final mineplex.database.tables.TournamentTeams tournamentTeams = new mineplex.database.tables.TournamentTeams(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.TournamentTeamsRecord.class; + } + + /** + * The column Account.tournamentTeams.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.tournamentTeams.tournamentId. + */ + public final org.jooq.TableField tournamentId = createField("tournamentId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.tournamentTeams.accountId. + */ + public final org.jooq.TableField accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.tournamentTeams.status. + */ + public final org.jooq.TableField status = createField("status", org.jooq.impl.SQLDataType.VARCHAR.length(11), this, ""); + + /** + * Create a Account.tournamentTeams table reference + */ + public TournamentTeams() { + this("tournamentTeams", null); + } + + /** + * Create an aliased Account.tournamentTeams table reference + */ + public TournamentTeams(java.lang.String alias) { + this(alias, mineplex.database.tables.TournamentTeams.tournamentTeams); + } + + private TournamentTeams(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private TournamentTeams(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_tournamentTeams; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_tournamentTeams_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_tournamentTeams_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getReferences() { + return java.util.Arrays.>asList(mineplex.database.Keys.TEAM_TOURNAMENT_KEY, mineplex.database.Keys.TEAM_TOURNAMENT_ACCOUNT_ID); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.TournamentTeams as(java.lang.String alias) { + return new mineplex.database.tables.TournamentTeams(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.TournamentTeams rename(java.lang.String name) { + return new mineplex.database.tables.TournamentTeams(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/Tournaments.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/Tournaments.java new file mode 100644 index 000000000..a04731dc2 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/Tournaments.java @@ -0,0 +1,124 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Tournaments extends org.jooq.impl.TableImpl implements java.io.Serializable, java.lang.Cloneable { + + private static final long serialVersionUID = -2104066935; + + /** + * The reference instance of Account.tournaments + */ + public static final mineplex.database.tables.Tournaments tournaments = new mineplex.database.tables.Tournaments(); + + /** + * The class holding records for this type + */ + @Override + public java.lang.Class getRecordType() { + return mineplex.database.tables.records.TournamentsRecord.class; + } + + /** + * The column Account.tournaments.id. + */ + public final org.jooq.TableField id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); + + /** + * The column Account.tournaments.name. + */ + public final org.jooq.TableField name = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(80), this, ""); + + /** + * The column Account.tournaments.startDate. + */ + public final org.jooq.TableField startDate = createField("startDate", org.jooq.impl.SQLDataType.TIMESTAMP, this, ""); + + /** + * The column Account.tournaments.gameType. + */ + public final org.jooq.TableField gameType = createField("gameType", org.jooq.impl.SQLDataType.VARCHAR.length(45), this, ""); + + /** + * The column Account.tournaments.gemCost. + */ + public final org.jooq.TableField gemCost = createField("gemCost", org.jooq.impl.SQLDataType.INTEGER, this, ""); + + /** + * The column Account.tournaments.winner. + */ + public final org.jooq.TableField winner = createField("winner", org.jooq.impl.SQLDataType.VARCHAR.length(80), this, ""); + + /** + * Create a Account.tournaments table reference + */ + public Tournaments() { + this("tournaments", null); + } + + /** + * Create an aliased Account.tournaments table reference + */ + public Tournaments(java.lang.String alias) { + this(alias, mineplex.database.tables.Tournaments.tournaments); + } + + private Tournaments(java.lang.String alias, org.jooq.Table aliased) { + this(alias, aliased, null); + } + + private Tournaments(java.lang.String alias, org.jooq.Table aliased, org.jooq.Field[] parameters) { + super(alias, mineplex.database.Account.Account, aliased, parameters, ""); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Identity getIdentity() { + return mineplex.database.Keys.IDENTITY_tournaments; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.UniqueKey getPrimaryKey() { + return mineplex.database.Keys.KEY_tournaments_PRIMARY; + } + + /** + * {@inheritDoc} + */ + @Override + public java.util.List> getKeys() { + return java.util.Arrays.>asList(mineplex.database.Keys.KEY_tournaments_PRIMARY); + } + + /** + * {@inheritDoc} + */ + @Override + public mineplex.database.tables.Tournaments as(java.lang.String alias) { + return new mineplex.database.tables.Tournaments(alias, this); + } + + /** + * Rename this table + */ + public mineplex.database.tables.Tournaments rename(java.lang.String name) { + return new mineplex.database.tables.Tournaments(name, null); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountAuthRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountAuthRecord.java new file mode 100644 index 000000000..2b8186fc8 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountAuthRecord.java @@ -0,0 +1,199 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountAuthRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = 104986992; + + /** + * Setter for Account.accountAuth.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.accountAuth.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.accountAuth.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.accountAuth.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.accountAuth.authKey. + */ + public void setAuthKey(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.accountAuth.authKey. + */ + public java.lang.String getAuthKey() { + return (java.lang.String) getValue(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.AccountAuth.accountAuth.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.AccountAuth.accountAuth.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.AccountAuth.accountAuth.authKey; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getAuthKey(); + } + + /** + * {@inheritDoc} + */ + @Override + public AccountAuthRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountAuthRecord value2(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountAuthRecord value3(java.lang.String value) { + setAuthKey(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountAuthRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.String value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountAuthRecord + */ + public AccountAuthRecord() { + super(mineplex.database.tables.AccountAuth.accountAuth); + } + + /** + * Create a detached, initialised AccountAuthRecord + */ + public AccountAuthRecord(java.lang.Integer id, java.lang.Integer accountId, java.lang.String authKey) { + super(mineplex.database.tables.AccountAuth.accountAuth); + + setValue(0, id); + setValue(1, accountId); + setValue(2, authKey); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountCustomDataRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountCustomDataRecord.java new file mode 100644 index 000000000..5b2679c06 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountCustomDataRecord.java @@ -0,0 +1,199 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountCustomDataRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = -295774737; + + /** + * Setter for Account.accountCustomData.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.accountCustomData.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.accountCustomData.customDataId. + */ + public void setCustomDataId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.accountCustomData.customDataId. + */ + public java.lang.Integer getCustomDataId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.accountCustomData.data. + */ + public void setData(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.accountCustomData.data. + */ + public java.lang.Integer getData() { + return (java.lang.Integer) getValue(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record2 key() { + return (org.jooq.Record2) super.key(); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.AccountCustomData.accountCustomData.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.AccountCustomData.accountCustomData.customDataId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.AccountCustomData.accountCustomData.data; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getCustomDataId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getData(); + } + + /** + * {@inheritDoc} + */ + @Override + public AccountCustomDataRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountCustomDataRecord value2(java.lang.Integer value) { + setCustomDataId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountCustomDataRecord value3(java.lang.Integer value) { + setData(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountCustomDataRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountCustomDataRecord + */ + public AccountCustomDataRecord() { + super(mineplex.database.tables.AccountCustomData.accountCustomData); + } + + /** + * Create a detached, initialised AccountCustomDataRecord + */ + public AccountCustomDataRecord(java.lang.Integer accountId, java.lang.Integer customDataId, java.lang.Integer data) { + super(mineplex.database.tables.AccountCustomData.accountCustomData); + + setValue(0, accountId); + setValue(1, customDataId); + setValue(2, data); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountGiveawayRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountGiveawayRecord.java new file mode 100644 index 000000000..b25e87098 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountGiveawayRecord.java @@ -0,0 +1,439 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountGiveawayRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record9 { + + private static final long serialVersionUID = 458746197; + + /** + * Setter for Account.accountGiveaway.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.accountGiveaway.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.accountGiveaway.giveawayId. + */ + public void setGiveawayId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.accountGiveaway.giveawayId. + */ + public java.lang.Integer getGiveawayId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.accountGiveaway.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.accountGiveaway.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(2); + } + + /** + * Setter for Account.accountGiveaway.cooldownId. + */ + public void setCooldownId(java.lang.Integer value) { + setValue(3, value); + } + + /** + * Getter for Account.accountGiveaway.cooldownId. + */ + public java.lang.Integer getCooldownId() { + return (java.lang.Integer) getValue(3); + } + + /** + * Setter for Account.accountGiveaway.region. + */ + public void setRegion(java.lang.String value) { + setValue(4, value); + } + + /** + * Getter for Account.accountGiveaway.region. + */ + public java.lang.String getRegion() { + return (java.lang.String) getValue(4); + } + + /** + * Setter for Account.accountGiveaway.serverName. + */ + public void setServerName(java.lang.String value) { + setValue(5, value); + } + + /** + * Getter for Account.accountGiveaway.serverName. + */ + public java.lang.String getServerName() { + return (java.lang.String) getValue(5); + } + + /** + * Setter for Account.accountGiveaway.time. + */ + public void setTime(java.sql.Timestamp value) { + setValue(6, value); + } + + /** + * Getter for Account.accountGiveaway.time. + */ + public java.sql.Timestamp getTime() { + return (java.sql.Timestamp) getValue(6); + } + + /** + * Setter for Account.accountGiveaway.uuid. + */ + public void setUuid(java.lang.String value) { + setValue(7, value); + } + + /** + * Getter for Account.accountGiveaway.uuid. + */ + public java.lang.String getUuid() { + return (java.lang.String) getValue(7); + } + + /** + * Setter for Account.accountGiveaway.claimed. + */ + public void setClaimed(java.lang.Byte value) { + setValue(8, value); + } + + /** + * Getter for Account.accountGiveaway.claimed. + */ + public java.lang.Byte getClaimed() { + return (java.lang.Byte) getValue(8); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record9 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row9 fieldsRow() { + return (org.jooq.Row9) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row9 valuesRow() { + return (org.jooq.Row9) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.AccountGiveaway.accountGiveaway.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.AccountGiveaway.accountGiveaway.giveawayId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.AccountGiveaway.accountGiveaway.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.AccountGiveaway.accountGiveaway.cooldownId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.AccountGiveaway.accountGiveaway.region; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.AccountGiveaway.accountGiveaway.serverName; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.AccountGiveaway.accountGiveaway.time; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field8() { + return mineplex.database.tables.AccountGiveaway.accountGiveaway.uuid; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field9() { + return mineplex.database.tables.AccountGiveaway.accountGiveaway.claimed; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getGiveawayId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value4() { + return getCooldownId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value5() { + return getRegion(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value6() { + return getServerName(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value7() { + return getTime(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value8() { + return getUuid(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value9() { + return getClaimed(); + } + + /** + * {@inheritDoc} + */ + @Override + public AccountGiveawayRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountGiveawayRecord value2(java.lang.Integer value) { + setGiveawayId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountGiveawayRecord value3(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountGiveawayRecord value4(java.lang.Integer value) { + setCooldownId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountGiveawayRecord value5(java.lang.String value) { + setRegion(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountGiveawayRecord value6(java.lang.String value) { + setServerName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountGiveawayRecord value7(java.sql.Timestamp value) { + setTime(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountGiveawayRecord value8(java.lang.String value) { + setUuid(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountGiveawayRecord value9(java.lang.Byte value) { + setClaimed(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountGiveawayRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.lang.Integer value4, java.lang.String value5, java.lang.String value6, java.sql.Timestamp value7, java.lang.String value8, java.lang.Byte value9) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountGiveawayRecord + */ + public AccountGiveawayRecord() { + super(mineplex.database.tables.AccountGiveaway.accountGiveaway); + } + + /** + * Create a detached, initialised AccountGiveawayRecord + */ + public AccountGiveawayRecord(java.lang.Integer id, java.lang.Integer giveawayId, java.lang.Integer accountId, java.lang.Integer cooldownId, java.lang.String region, java.lang.String serverName, java.sql.Timestamp time, java.lang.String uuid, java.lang.Byte claimed) { + super(mineplex.database.tables.AccountGiveaway.accountGiveaway); + + setValue(0, id); + setValue(1, giveawayId); + setValue(2, accountId); + setValue(3, cooldownId); + setValue(4, region); + setValue(5, serverName); + setValue(6, time); + setValue(7, uuid); + setValue(8, claimed); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountMortenSpamTestRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountMortenSpamTestRecord.java new file mode 100644 index 000000000..f0b3c5ecd --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountMortenSpamTestRecord.java @@ -0,0 +1,279 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountMortenSpamTestRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record5 { + + private static final long serialVersionUID = -846015893; + + /** + * Setter for Account.accountMortenSpamTest.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.accountMortenSpamTest.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.accountMortenSpamTest.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.accountMortenSpamTest.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.accountMortenSpamTest.text. + */ + public void setText(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.accountMortenSpamTest.text. + */ + public java.lang.String getText() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.accountMortenSpamTest.punished. + */ + public void setPunished(java.lang.Integer value) { + setValue(3, value); + } + + /** + * Getter for Account.accountMortenSpamTest.punished. + */ + public java.lang.Integer getPunished() { + return (java.lang.Integer) getValue(3); + } + + /** + * Setter for Account.accountMortenSpamTest.amountPunished. + */ + public void setAmountPunished(java.lang.Integer value) { + setValue(4, value); + } + + /** + * Getter for Account.accountMortenSpamTest.amountPunished. + */ + public java.lang.Integer getAmountPunished() { + return (java.lang.Integer) getValue(4); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record5 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row5 fieldsRow() { + return (org.jooq.Row5) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row5 valuesRow() { + return (org.jooq.Row5) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest.text; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest.punished; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest.amountPunished; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getText(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value4() { + return getPunished(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value5() { + return getAmountPunished(); + } + + /** + * {@inheritDoc} + */ + @Override + public AccountMortenSpamTestRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountMortenSpamTestRecord value2(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountMortenSpamTestRecord value3(java.lang.String value) { + setText(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountMortenSpamTestRecord value4(java.lang.Integer value) { + setPunished(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountMortenSpamTestRecord value5(java.lang.Integer value) { + setAmountPunished(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountMortenSpamTestRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.String value3, java.lang.Integer value4, java.lang.Integer value5) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountMortenSpamTestRecord + */ + public AccountMortenSpamTestRecord() { + super(mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest); + } + + /** + * Create a detached, initialised AccountMortenSpamTestRecord + */ + public AccountMortenSpamTestRecord(java.lang.Integer id, java.lang.Integer accountId, java.lang.String text, java.lang.Integer punished, java.lang.Integer amountPunished) { + super(mineplex.database.tables.AccountMortenSpamTest.accountMortenSpamTest); + + setValue(0, id); + setValue(1, accountId); + setValue(2, text); + setValue(3, punished); + setValue(4, amountPunished); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPetsRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPetsRecord.java new file mode 100644 index 000000000..6a6dacbc6 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPetsRecord.java @@ -0,0 +1,199 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountPetsRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = 1621551002; + + /** + * Setter for Account.accountPets.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.accountPets.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.accountPets.petId. + */ + public void setPetId(java.lang.Short value) { + setValue(1, value); + } + + /** + * Getter for Account.accountPets.petId. + */ + public java.lang.Short getPetId() { + return (java.lang.Short) getValue(1); + } + + /** + * Setter for Account.accountPets.petName. + */ + public void setPetName(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.accountPets.petName. + */ + public java.lang.String getPetName() { + return (java.lang.String) getValue(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.AccountPets.accountPets.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.AccountPets.accountPets.petId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.AccountPets.accountPets.petName; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Short value2() { + return getPetId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getPetName(); + } + + /** + * {@inheritDoc} + */ + @Override + public AccountPetsRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountPetsRecord value2(java.lang.Short value) { + setPetId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountPetsRecord value3(java.lang.String value) { + setPetName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountPetsRecord values(java.lang.Integer value1, java.lang.Short value2, java.lang.String value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountPetsRecord + */ + public AccountPetsRecord() { + super(mineplex.database.tables.AccountPets.accountPets); + } + + /** + * Create a detached, initialised AccountPetsRecord + */ + public AccountPetsRecord(java.lang.Integer accountId, java.lang.Short petId, java.lang.String petName) { + super(mineplex.database.tables.AccountPets.accountPets); + + setValue(0, accountId); + setValue(1, petId); + setValue(2, petName); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPreferencesRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPreferencesRecord.java index c9422d75a..7952f549a 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPreferencesRecord.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPreferencesRecord.java @@ -14,9 +14,9 @@ package mineplex.database.tables.records; comments = "This class is generated by jOOQ" ) @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record20 { +public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable { - private static final long serialVersionUID = 296650044; + private static final long serialVersionUID = -1681212593; /** * Setter for Account.accountPreferences.id. @@ -284,18 +284,74 @@ public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl< return (java.lang.Byte) getValue(18); } + /** + * Setter for Account.accountPreferences.clanTips. + */ + public void setClanTips(java.lang.Byte value) { + setValue(19, value); + } + + /** + * Getter for Account.accountPreferences.clanTips. + */ + public java.lang.Byte getClanTips() { + return (java.lang.Byte) getValue(19); + } + /** * Setter for Account.accountPreferences.language. */ public void setLanguage(java.lang.String value) { - setValue(19, value); + setValue(20, value); } /** * Getter for Account.accountPreferences.language. */ public java.lang.String getLanguage() { - return (java.lang.String) getValue(19); + return (java.lang.String) getValue(20); + } + + /** + * Setter for Account.accountPreferences.showUserReports. + */ + public void setShowUserReports(java.lang.Byte value) { + setValue(21, value); + } + + /** + * Getter for Account.accountPreferences.showUserReports. + */ + public java.lang.Byte getShowUserReports() { + return (java.lang.Byte) getValue(21); + } + + /** + * Setter for Account.accountPreferences.hubMusic. + */ + public void setHubMusic(java.lang.Byte value) { + setValue(22, value); + } + + /** + * Getter for Account.accountPreferences.hubMusic. + */ + public java.lang.Byte getHubMusic() { + return (java.lang.Byte) getValue(22); + } + + /** + * Setter for Account.accountPreferences.disableAds. + */ + public void setDisableAds(java.lang.Byte value) { + setValue(23, value); + } + + /** + * Getter for Account.accountPreferences.disableAds. + */ + public java.lang.Byte getDisableAds() { + return (java.lang.Byte) getValue(23); } // ------------------------------------------------------------------------- @@ -310,534 +366,6 @@ public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl< return (org.jooq.Record1) super.key(); } - // ------------------------------------------------------------------------- - // Record20 type implementation - // ------------------------------------------------------------------------- - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row20 fieldsRow() { - return (org.jooq.Row20) super.fieldsRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Row20 valuesRow() { - return (org.jooq.Row20) super.valuesRow(); - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field1() { - return mineplex.database.tables.AccountPreferences.accountPreferences.id; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field2() { - return mineplex.database.tables.AccountPreferences.accountPreferences.uuid; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field3() { - return mineplex.database.tables.AccountPreferences.accountPreferences.filterChat; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field4() { - return mineplex.database.tables.AccountPreferences.accountPreferences.invisibility; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field5() { - return mineplex.database.tables.AccountPreferences.accountPreferences.games; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field6() { - return mineplex.database.tables.AccountPreferences.accountPreferences.visibility; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field7() { - return mineplex.database.tables.AccountPreferences.accountPreferences.friendChat; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field8() { - return mineplex.database.tables.AccountPreferences.accountPreferences.privateMessaging; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field9() { - return mineplex.database.tables.AccountPreferences.accountPreferences.showChat; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field10() { - return mineplex.database.tables.AccountPreferences.accountPreferences.partyRequests; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field11() { - return mineplex.database.tables.AccountPreferences.accountPreferences.forcefield; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field12() { - return mineplex.database.tables.AccountPreferences.accountPreferences.showMacReports; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field13() { - return mineplex.database.tables.AccountPreferences.accountPreferences.ignoreVelocity; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field14() { - return mineplex.database.tables.AccountPreferences.accountPreferences.pendingFriendRequests; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field15() { - return mineplex.database.tables.AccountPreferences.accountPreferences.friendDisplayInventoryUI; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field16() { - return mineplex.database.tables.AccountPreferences.accountPreferences.friendDisplayOnlineStatus; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field17() { - return mineplex.database.tables.AccountPreferences.accountPreferences.friendDisplayServerName; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field18() { - return mineplex.database.tables.AccountPreferences.accountPreferences.friendAllowRequests; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field19() { - return mineplex.database.tables.AccountPreferences.accountPreferences.friendAllowMessaging; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field20() { - return mineplex.database.tables.AccountPreferences.accountPreferences.language; - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Integer value1() { - return getId(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value2() { - return getUuid(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value3() { - return getFilterChat(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value4() { - return getInvisibility(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value5() { - return getGames(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value6() { - return getVisibility(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value7() { - return getFriendChat(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value8() { - return getPrivateMessaging(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value9() { - return getShowChat(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value10() { - return getPartyRequests(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value11() { - return getForcefield(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value12() { - return getShowMacReports(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value13() { - return getIgnoreVelocity(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value14() { - return getPendingFriendRequests(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value15() { - return getFriendDisplayInventoryUI(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value16() { - return getFriendDisplayOnlineStatus(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value17() { - return getFriendDisplayServerName(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value18() { - return getFriendAllowRequests(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.Byte value19() { - return getFriendAllowMessaging(); - } - - /** - * {@inheritDoc} - */ - @Override - public java.lang.String value20() { - return getLanguage(); - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value1(java.lang.Integer value) { - setId(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value2(java.lang.String value) { - setUuid(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value3(java.lang.Byte value) { - setFilterChat(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value4(java.lang.Byte value) { - setInvisibility(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value5(java.lang.Byte value) { - setGames(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value6(java.lang.Byte value) { - setVisibility(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value7(java.lang.Byte value) { - setFriendChat(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value8(java.lang.Byte value) { - setPrivateMessaging(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value9(java.lang.Byte value) { - setShowChat(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value10(java.lang.Byte value) { - setPartyRequests(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value11(java.lang.Byte value) { - setForcefield(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value12(java.lang.Byte value) { - setShowMacReports(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value13(java.lang.Byte value) { - setIgnoreVelocity(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value14(java.lang.Byte value) { - setPendingFriendRequests(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value15(java.lang.Byte value) { - setFriendDisplayInventoryUI(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value16(java.lang.Byte value) { - setFriendDisplayOnlineStatus(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value17(java.lang.Byte value) { - setFriendDisplayServerName(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value18(java.lang.Byte value) { - setFriendAllowRequests(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value19(java.lang.Byte value) { - setFriendAllowMessaging(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord value20(java.lang.String value) { - setLanguage(value); - return this; - } - - /** - * {@inheritDoc} - */ - @Override - public AccountPreferencesRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.Byte value3, java.lang.Byte value4, java.lang.Byte value5, java.lang.Byte value6, java.lang.Byte value7, java.lang.Byte value8, java.lang.Byte value9, java.lang.Byte value10, java.lang.Byte value11, java.lang.Byte value12, java.lang.Byte value13, java.lang.Byte value14, java.lang.Byte value15, java.lang.Byte value16, java.lang.Byte value17, java.lang.Byte value18, java.lang.Byte value19, java.lang.String value20) { - return this; - } - // ------------------------------------------------------------------------- // Constructors // ------------------------------------------------------------------------- @@ -852,7 +380,7 @@ public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl< /** * Create a detached, initialised AccountPreferencesRecord */ - public AccountPreferencesRecord(java.lang.Integer id, java.lang.String uuid, java.lang.Byte filterChat, java.lang.Byte invisibility, java.lang.Byte games, java.lang.Byte visibility, java.lang.Byte friendChat, java.lang.Byte privateMessaging, java.lang.Byte showChat, java.lang.Byte partyRequests, java.lang.Byte forcefield, java.lang.Byte showMacReports, java.lang.Byte ignoreVelocity, java.lang.Byte pendingFriendRequests, java.lang.Byte friendDisplayInventoryUI, java.lang.Byte friendDisplayOnlineStatus, java.lang.Byte friendDisplayServerName, java.lang.Byte friendAllowRequests, java.lang.Byte friendAllowMessaging, java.lang.String language) { + public AccountPreferencesRecord(java.lang.Integer id, java.lang.String uuid, java.lang.Byte filterChat, java.lang.Byte invisibility, java.lang.Byte games, java.lang.Byte visibility, java.lang.Byte friendChat, java.lang.Byte privateMessaging, java.lang.Byte showChat, java.lang.Byte partyRequests, java.lang.Byte forcefield, java.lang.Byte showMacReports, java.lang.Byte ignoreVelocity, java.lang.Byte pendingFriendRequests, java.lang.Byte friendDisplayInventoryUI, java.lang.Byte friendDisplayOnlineStatus, java.lang.Byte friendDisplayServerName, java.lang.Byte friendAllowRequests, java.lang.Byte friendAllowMessaging, java.lang.Byte clanTips, java.lang.String language, java.lang.Byte showUserReports, java.lang.Byte hubMusic, java.lang.Byte disableAds) { super(mineplex.database.tables.AccountPreferences.accountPreferences); setValue(0, id); @@ -874,6 +402,10 @@ public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl< setValue(16, friendDisplayServerName); setValue(17, friendAllowRequests); setValue(18, friendAllowMessaging); - setValue(19, language); + setValue(19, clanTips); + setValue(20, language); + setValue(21, showUserReports); + setValue(22, hubMusic); + setValue(23, disableAds); } } diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPurchasesRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPurchasesRecord.java new file mode 100644 index 000000000..c297202f1 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountPurchasesRecord.java @@ -0,0 +1,319 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountPurchasesRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record6 { + + private static final long serialVersionUID = -1608259857; + + /** + * Setter for Account.accountPurchases.id. + */ + public void setId(java.lang.Long value) { + setValue(0, value); + } + + /** + * Getter for Account.accountPurchases.id. + */ + public java.lang.Long getId() { + return (java.lang.Long) getValue(0); + } + + /** + * Setter for Account.accountPurchases.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.accountPurchases.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.accountPurchases.packageId. + */ + public void setPackageId(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.accountPurchases.packageId. + */ + public java.lang.Integer getPackageId() { + return (java.lang.Integer) getValue(2); + } + + /** + * Setter for Account.accountPurchases.amount. + */ + public void setAmount(java.lang.Integer value) { + setValue(3, value); + } + + /** + * Getter for Account.accountPurchases.amount. + */ + public java.lang.Integer getAmount() { + return (java.lang.Integer) getValue(3); + } + + /** + * Setter for Account.accountPurchases.date. + */ + public void setDate(java.sql.Timestamp value) { + setValue(4, value); + } + + /** + * Getter for Account.accountPurchases.date. + */ + public java.sql.Timestamp getDate() { + return (java.sql.Timestamp) getValue(4); + } + + /** + * Setter for Account.accountPurchases.success. + */ + public void setSuccess(java.lang.Byte value) { + setValue(5, value); + } + + /** + * Getter for Account.accountPurchases.success. + */ + public java.lang.Byte getSuccess() { + return (java.lang.Byte) getValue(5); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record6 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row6 fieldsRow() { + return (org.jooq.Row6) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row6 valuesRow() { + return (org.jooq.Row6) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.AccountPurchases.accountPurchases.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.AccountPurchases.accountPurchases.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.AccountPurchases.accountPurchases.packageId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.AccountPurchases.accountPurchases.amount; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.AccountPurchases.accountPurchases.date; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.AccountPurchases.accountPurchases.success; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Long value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getPackageId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value4() { + return getAmount(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value5() { + return getDate(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value6() { + return getSuccess(); + } + + /** + * {@inheritDoc} + */ + @Override + public AccountPurchasesRecord value1(java.lang.Long value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountPurchasesRecord value2(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountPurchasesRecord value3(java.lang.Integer value) { + setPackageId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountPurchasesRecord value4(java.lang.Integer value) { + setAmount(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountPurchasesRecord value5(java.sql.Timestamp value) { + setDate(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountPurchasesRecord value6(java.lang.Byte value) { + setSuccess(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountPurchasesRecord values(java.lang.Long value1, java.lang.Integer value2, java.lang.Integer value3, java.lang.Integer value4, java.sql.Timestamp value5, java.lang.Byte value6) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountPurchasesRecord + */ + public AccountPurchasesRecord() { + super(mineplex.database.tables.AccountPurchases.accountPurchases); + } + + /** + * Create a detached, initialised AccountPurchasesRecord + */ + public AccountPurchasesRecord(java.lang.Long id, java.lang.Integer accountId, java.lang.Integer packageId, java.lang.Integer amount, java.sql.Timestamp date, java.lang.Byte success) { + super(mineplex.database.tables.AccountPurchases.accountPurchases); + + setValue(0, id); + setValue(1, accountId); + setValue(2, packageId); + setValue(3, amount); + setValue(4, date); + setValue(5, success); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountTipClaimLogsRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountTipClaimLogsRecord.java new file mode 100644 index 000000000..fa644ab91 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountTipClaimLogsRecord.java @@ -0,0 +1,239 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountTipClaimLogsRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4 { + + private static final long serialVersionUID = -266112125; + + /** + * Setter for Account.accountTipClaimLogs.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.accountTipClaimLogs.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.accountTipClaimLogs.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.accountTipClaimLogs.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.accountTipClaimLogs.tipsClaimed. + */ + public void setTipsClaimed(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.accountTipClaimLogs.tipsClaimed. + */ + public java.lang.Integer getTipsClaimed() { + return (java.lang.Integer) getValue(2); + } + + /** + * Setter for Account.accountTipClaimLogs.date. + */ + public void setDate(java.sql.Timestamp value) { + setValue(3, value); + } + + /** + * Getter for Account.accountTipClaimLogs.date. + */ + public java.sql.Timestamp getDate() { + return (java.sql.Timestamp) getValue(3); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record4 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 fieldsRow() { + return (org.jooq.Row4) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 valuesRow() { + return (org.jooq.Row4) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs.tipsClaimed; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs.date; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getTipsClaimed(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value4() { + return getDate(); + } + + /** + * {@inheritDoc} + */ + @Override + public AccountTipClaimLogsRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountTipClaimLogsRecord value2(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountTipClaimLogsRecord value3(java.lang.Integer value) { + setTipsClaimed(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountTipClaimLogsRecord value4(java.sql.Timestamp value) { + setDate(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountTipClaimLogsRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.sql.Timestamp value4) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountTipClaimLogsRecord + */ + public AccountTipClaimLogsRecord() { + super(mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs); + } + + /** + * Create a detached, initialised AccountTipClaimLogsRecord + */ + public AccountTipClaimLogsRecord(java.lang.Integer id, java.lang.Integer accountId, java.lang.Integer tipsClaimed, java.sql.Timestamp date) { + super(mineplex.database.tables.AccountTipClaimLogs.accountTipClaimLogs); + + setValue(0, id); + setValue(1, accountId); + setValue(2, tipsClaimed); + setValue(3, date); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountTipLogsRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountTipLogsRecord.java new file mode 100644 index 000000000..d967cba27 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountTipLogsRecord.java @@ -0,0 +1,199 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountTipLogsRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = -985982210; + + /** + * Setter for Account.accountTipLogs.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.accountTipLogs.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.accountTipLogs.boosterId. + */ + public void setBoosterId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.accountTipLogs.boosterId. + */ + public java.lang.Integer getBoosterId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.accountTipLogs.date. + */ + public void setDate(java.sql.Timestamp value) { + setValue(2, value); + } + + /** + * Getter for Account.accountTipLogs.date. + */ + public java.sql.Timestamp getDate() { + return (java.sql.Timestamp) getValue(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record2 key() { + return (org.jooq.Record2) super.key(); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.AccountTipLogs.accountTipLogs.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.AccountTipLogs.accountTipLogs.boosterId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.AccountTipLogs.accountTipLogs.date; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getBoosterId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value3() { + return getDate(); + } + + /** + * {@inheritDoc} + */ + @Override + public AccountTipLogsRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountTipLogsRecord value2(java.lang.Integer value) { + setBoosterId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountTipLogsRecord value3(java.sql.Timestamp value) { + setDate(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountTipLogsRecord values(java.lang.Integer value1, java.lang.Integer value2, java.sql.Timestamp value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountTipLogsRecord + */ + public AccountTipLogsRecord() { + super(mineplex.database.tables.AccountTipLogs.accountTipLogs); + } + + /** + * Create a detached, initialised AccountTipLogsRecord + */ + public AccountTipLogsRecord(java.lang.Integer accountId, java.lang.Integer boosterId, java.sql.Timestamp date) { + super(mineplex.database.tables.AccountTipLogs.accountTipLogs); + + setValue(0, accountId); + setValue(1, boosterId); + setValue(2, date); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountTipRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountTipRecord.java new file mode 100644 index 000000000..81b117834 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountTipRecord.java @@ -0,0 +1,159 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountTipRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2 { + + private static final long serialVersionUID = 1097060857; + + /** + * Setter for Account.accountTip.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.accountTip.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.accountTip.tips. + */ + public void setTips(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.accountTip.tips. + */ + public java.lang.Integer getTips() { + return (java.lang.Integer) getValue(1); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record2 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 fieldsRow() { + return (org.jooq.Row2) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 valuesRow() { + return (org.jooq.Row2) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.AccountTip.accountTip.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.AccountTip.accountTip.tips; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getTips(); + } + + /** + * {@inheritDoc} + */ + @Override + public AccountTipRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountTipRecord value2(java.lang.Integer value) { + setTips(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountTipRecord values(java.lang.Integer value1, java.lang.Integer value2) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountTipRecord + */ + public AccountTipRecord() { + super(mineplex.database.tables.AccountTip.accountTip); + } + + /** + * Create a detached, initialised AccountTipRecord + */ + public AccountTipRecord(java.lang.Integer accountId, java.lang.Integer tips) { + super(mineplex.database.tables.AccountTip.accountTip); + + setValue(0, accountId); + setValue(1, tips); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountValentinesGiftRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountValentinesGiftRecord.java new file mode 100644 index 000000000..486b92114 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountValentinesGiftRecord.java @@ -0,0 +1,199 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class AccountValentinesGiftRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = -117314610; + + /** + * Setter for Account.accountValentinesGift.senderId. + */ + public void setSenderId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.accountValentinesGift.senderId. + */ + public java.lang.Integer getSenderId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.accountValentinesGift.targetId. + */ + public void setTargetId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.accountValentinesGift.targetId. + */ + public java.lang.Integer getTargetId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.accountValentinesGift.time. + */ + public void setTime(java.sql.Timestamp value) { + setValue(2, value); + } + + /** + * Getter for Account.accountValentinesGift.time. + */ + public java.sql.Timestamp getTime() { + return (java.sql.Timestamp) getValue(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record2 key() { + return (org.jooq.Record2) super.key(); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.AccountValentinesGift.accountValentinesGift.senderId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.AccountValentinesGift.accountValentinesGift.targetId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.AccountValentinesGift.accountValentinesGift.time; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getSenderId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getTargetId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value3() { + return getTime(); + } + + /** + * {@inheritDoc} + */ + @Override + public AccountValentinesGiftRecord value1(java.lang.Integer value) { + setSenderId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountValentinesGiftRecord value2(java.lang.Integer value) { + setTargetId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountValentinesGiftRecord value3(java.sql.Timestamp value) { + setTime(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public AccountValentinesGiftRecord values(java.lang.Integer value1, java.lang.Integer value2, java.sql.Timestamp value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached AccountValentinesGiftRecord + */ + public AccountValentinesGiftRecord() { + super(mineplex.database.tables.AccountValentinesGift.accountValentinesGift); + } + + /** + * Create a detached, initialised AccountValentinesGiftRecord + */ + public AccountValentinesGiftRecord(java.lang.Integer senderId, java.lang.Integer targetId, java.sql.Timestamp time) { + super(mineplex.database.tables.AccountValentinesGift.accountValentinesGift); + + setValue(0, senderId); + setValue(1, targetId); + setValue(2, time); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/BattlePetsRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/BattlePetsRecord.java new file mode 100644 index 000000000..753a1e878 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/BattlePetsRecord.java @@ -0,0 +1,559 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class BattlePetsRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record12 { + + private static final long serialVersionUID = 2004238101; + + /** + * Setter for Account.battlePets.petId. + */ + public void setPetId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.battlePets.petId. + */ + public java.lang.Integer getPetId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.battlePets.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.battlePets.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.battlePets.petType. + */ + public void setPetType(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.battlePets.petType. + */ + public java.lang.String getPetType() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.battlePets.petName. + */ + public void setPetName(java.lang.String value) { + setValue(3, value); + } + + /** + * Getter for Account.battlePets.petName. + */ + public java.lang.String getPetName() { + return (java.lang.String) getValue(3); + } + + /** + * Setter for Account.battlePets.ageStamp. + */ + public void setAgeStamp(org.jooq.types.UInteger value) { + setValue(4, value); + } + + /** + * Getter for Account.battlePets.ageStamp. + */ + public org.jooq.types.UInteger getAgeStamp() { + return (org.jooq.types.UInteger) getValue(4); + } + + /** + * Setter for Account.battlePets.lastActive. + */ + public void setLastActive(java.lang.Integer value) { + setValue(5, value); + } + + /** + * Getter for Account.battlePets.lastActive. + */ + public java.lang.Integer getLastActive() { + return (java.lang.Integer) getValue(5); + } + + /** + * Setter for Account.battlePets.active. + */ + public void setActive(java.lang.Byte value) { + setValue(6, value); + } + + /** + * Getter for Account.battlePets.active. + */ + public java.lang.Byte getActive() { + return (java.lang.Byte) getValue(6); + } + + /** + * Setter for Account.battlePets.level. + */ + public void setLevel(java.lang.Double value) { + setValue(7, value); + } + + /** + * Getter for Account.battlePets.level. + */ + public java.lang.Double getLevel() { + return (java.lang.Double) getValue(7); + } + + /** + * Setter for Account.battlePets.battles. + */ + public void setBattles(java.lang.Integer value) { + setValue(8, value); + } + + /** + * Getter for Account.battlePets.battles. + */ + public java.lang.Integer getBattles() { + return (java.lang.Integer) getValue(8); + } + + /** + * Setter for Account.battlePets.wins. + */ + public void setWins(java.lang.Integer value) { + setValue(9, value); + } + + /** + * Getter for Account.battlePets.wins. + */ + public java.lang.Integer getWins() { + return (java.lang.Integer) getValue(9); + } + + /** + * Setter for Account.battlePets.hunger. + */ + public void setHunger(java.lang.Double value) { + setValue(10, value); + } + + /** + * Getter for Account.battlePets.hunger. + */ + public java.lang.Double getHunger() { + return (java.lang.Double) getValue(10); + } + + /** + * Setter for Account.battlePets.tiredness. + */ + public void setTiredness(java.lang.Double value) { + setValue(11, value); + } + + /** + * Getter for Account.battlePets.tiredness. + */ + public java.lang.Double getTiredness() { + return (java.lang.Double) getValue(11); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record12 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row12 fieldsRow() { + return (org.jooq.Row12) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row12 valuesRow() { + return (org.jooq.Row12) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.BattlePets.battlePets.petId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.BattlePets.battlePets.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.BattlePets.battlePets.petType; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.BattlePets.battlePets.petName; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.BattlePets.battlePets.ageStamp; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.BattlePets.battlePets.lastActive; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.BattlePets.battlePets.active; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field8() { + return mineplex.database.tables.BattlePets.battlePets.level; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field9() { + return mineplex.database.tables.BattlePets.battlePets.battles; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field10() { + return mineplex.database.tables.BattlePets.battlePets.wins; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field11() { + return mineplex.database.tables.BattlePets.battlePets.hunger; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field12() { + return mineplex.database.tables.BattlePets.battlePets.tiredness; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getPetId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getPetType(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value4() { + return getPetName(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.types.UInteger value5() { + return getAgeStamp(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value6() { + return getLastActive(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value7() { + return getActive(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Double value8() { + return getLevel(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value9() { + return getBattles(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value10() { + return getWins(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Double value11() { + return getHunger(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Double value12() { + return getTiredness(); + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord value1(java.lang.Integer value) { + setPetId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord value2(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord value3(java.lang.String value) { + setPetType(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord value4(java.lang.String value) { + setPetName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord value5(org.jooq.types.UInteger value) { + setAgeStamp(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord value6(java.lang.Integer value) { + setLastActive(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord value7(java.lang.Byte value) { + setActive(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord value8(java.lang.Double value) { + setLevel(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord value9(java.lang.Integer value) { + setBattles(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord value10(java.lang.Integer value) { + setWins(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord value11(java.lang.Double value) { + setHunger(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord value12(java.lang.Double value) { + setTiredness(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BattlePetsRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.String value3, java.lang.String value4, org.jooq.types.UInteger value5, java.lang.Integer value6, java.lang.Byte value7, java.lang.Double value8, java.lang.Integer value9, java.lang.Integer value10, java.lang.Double value11, java.lang.Double value12) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached BattlePetsRecord + */ + public BattlePetsRecord() { + super(mineplex.database.tables.BattlePets.battlePets); + } + + /** + * Create a detached, initialised BattlePetsRecord + */ + public BattlePetsRecord(java.lang.Integer petId, java.lang.Integer accountId, java.lang.String petType, java.lang.String petName, org.jooq.types.UInteger ageStamp, java.lang.Integer lastActive, java.lang.Byte active, java.lang.Double level, java.lang.Integer battles, java.lang.Integer wins, java.lang.Double hunger, java.lang.Double tiredness) { + super(mineplex.database.tables.BattlePets.battlePets); + + setValue(0, petId); + setValue(1, accountId); + setValue(2, petType); + setValue(3, petName); + setValue(4, ageStamp); + setValue(5, lastActive); + setValue(6, active); + setValue(7, level); + setValue(8, battles); + setValue(9, wins); + setValue(10, hunger); + setValue(11, tiredness); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/BonusLogRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/BonusLogRecord.java new file mode 100644 index 000000000..9659f5bab --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/BonusLogRecord.java @@ -0,0 +1,359 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class BonusLogRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record7 { + + private static final long serialVersionUID = -918833180; + + /** + * Setter for Account.bonusLog.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.bonusLog.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.bonusLog.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.bonusLog.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.bonusLog.gemChange. + */ + public void setGemChange(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.bonusLog.gemChange. + */ + public java.lang.Integer getGemChange() { + return (java.lang.Integer) getValue(2); + } + + /** + * Setter for Account.bonusLog.coinChange. + */ + public void setCoinChange(java.lang.Integer value) { + setValue(3, value); + } + + /** + * Getter for Account.bonusLog.coinChange. + */ + public java.lang.Integer getCoinChange() { + return (java.lang.Integer) getValue(3); + } + + /** + * Setter for Account.bonusLog.itemId. + */ + public void setItemId(java.lang.Integer value) { + setValue(4, value); + } + + /** + * Getter for Account.bonusLog.itemId. + */ + public java.lang.Integer getItemId() { + return (java.lang.Integer) getValue(4); + } + + /** + * Setter for Account.bonusLog.itemChange. + */ + public void setItemChange(java.lang.Integer value) { + setValue(5, value); + } + + /** + * Getter for Account.bonusLog.itemChange. + */ + public java.lang.Integer getItemChange() { + return (java.lang.Integer) getValue(5); + } + + /** + * Setter for Account.bonusLog.time. + */ + public void setTime(java.sql.Timestamp value) { + setValue(6, value); + } + + /** + * Getter for Account.bonusLog.time. + */ + public java.sql.Timestamp getTime() { + return (java.sql.Timestamp) getValue(6); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record7 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row7 fieldsRow() { + return (org.jooq.Row7) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row7 valuesRow() { + return (org.jooq.Row7) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.BonusLog.bonusLog.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.BonusLog.bonusLog.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.BonusLog.bonusLog.gemChange; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.BonusLog.bonusLog.coinChange; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.BonusLog.bonusLog.itemId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.BonusLog.bonusLog.itemChange; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.BonusLog.bonusLog.time; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getGemChange(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value4() { + return getCoinChange(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value5() { + return getItemId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value6() { + return getItemChange(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value7() { + return getTime(); + } + + /** + * {@inheritDoc} + */ + @Override + public BonusLogRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BonusLogRecord value2(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BonusLogRecord value3(java.lang.Integer value) { + setGemChange(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BonusLogRecord value4(java.lang.Integer value) { + setCoinChange(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BonusLogRecord value5(java.lang.Integer value) { + setItemId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BonusLogRecord value6(java.lang.Integer value) { + setItemChange(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BonusLogRecord value7(java.sql.Timestamp value) { + setTime(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BonusLogRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.lang.Integer value4, java.lang.Integer value5, java.lang.Integer value6, java.sql.Timestamp value7) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached BonusLogRecord + */ + public BonusLogRecord() { + super(mineplex.database.tables.BonusLog.bonusLog); + } + + /** + * Create a detached, initialised BonusLogRecord + */ + public BonusLogRecord(java.lang.Integer id, java.lang.Integer accountId, java.lang.Integer gemChange, java.lang.Integer coinChange, java.lang.Integer itemId, java.lang.Integer itemChange, java.sql.Timestamp time) { + super(mineplex.database.tables.BonusLog.bonusLog); + + setValue(0, id); + setValue(1, accountId); + setValue(2, gemChange); + setValue(3, coinChange); + setValue(4, itemId); + setValue(5, itemChange); + setValue(6, time); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/BotSpamRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/BotSpamRecord.java new file mode 100644 index 000000000..552b3ead6 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/BotSpamRecord.java @@ -0,0 +1,359 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class BotSpamRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record7 { + + private static final long serialVersionUID = -818870436; + + /** + * Setter for Account.botSpam.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.botSpam.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.botSpam.text. + */ + public void setText(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.botSpam.text. + */ + public java.lang.String getText() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.botSpam.punishments. + */ + public void setPunishments(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.botSpam.punishments. + */ + public java.lang.Integer getPunishments() { + return (java.lang.Integer) getValue(2); + } + + /** + * Setter for Account.botSpam.enabled. + */ + public void setEnabled(java.lang.Byte value) { + setValue(3, value); + } + + /** + * Getter for Account.botSpam.enabled. + */ + public java.lang.Byte getEnabled() { + return (java.lang.Byte) getValue(3); + } + + /** + * Setter for Account.botSpam.createdBy. + */ + public void setCreatedBy(java.lang.String value) { + setValue(4, value); + } + + /** + * Getter for Account.botSpam.createdBy. + */ + public java.lang.String getCreatedBy() { + return (java.lang.String) getValue(4); + } + + /** + * Setter for Account.botSpam.enabledBy. + */ + public void setEnabledBy(java.lang.String value) { + setValue(5, value); + } + + /** + * Getter for Account.botSpam.enabledBy. + */ + public java.lang.String getEnabledBy() { + return (java.lang.String) getValue(5); + } + + /** + * Setter for Account.botSpam.disabledBy. + */ + public void setDisabledBy(java.lang.String value) { + setValue(6, value); + } + + /** + * Getter for Account.botSpam.disabledBy. + */ + public java.lang.String getDisabledBy() { + return (java.lang.String) getValue(6); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record7 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row7 fieldsRow() { + return (org.jooq.Row7) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row7 valuesRow() { + return (org.jooq.Row7) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.BotSpam.botSpam.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.BotSpam.botSpam.text; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.BotSpam.botSpam.punishments; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.BotSpam.botSpam.enabled; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.BotSpam.botSpam.createdBy; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.BotSpam.botSpam.enabledBy; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.BotSpam.botSpam.disabledBy; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getText(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getPunishments(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value4() { + return getEnabled(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value5() { + return getCreatedBy(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value6() { + return getEnabledBy(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value7() { + return getDisabledBy(); + } + + /** + * {@inheritDoc} + */ + @Override + public BotSpamRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BotSpamRecord value2(java.lang.String value) { + setText(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BotSpamRecord value3(java.lang.Integer value) { + setPunishments(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BotSpamRecord value4(java.lang.Byte value) { + setEnabled(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BotSpamRecord value5(java.lang.String value) { + setCreatedBy(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BotSpamRecord value6(java.lang.String value) { + setEnabledBy(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BotSpamRecord value7(java.lang.String value) { + setDisabledBy(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public BotSpamRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.Integer value3, java.lang.Byte value4, java.lang.String value5, java.lang.String value6, java.lang.String value7) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached BotSpamRecord + */ + public BotSpamRecord() { + super(mineplex.database.tables.BotSpam.botSpam); + } + + /** + * Create a detached, initialised BotSpamRecord + */ + public BotSpamRecord(java.lang.Integer id, java.lang.String text, java.lang.Integer punishments, java.lang.Byte enabled, java.lang.String createdBy, java.lang.String enabledBy, java.lang.String disabledBy) { + super(mineplex.database.tables.BotSpam.botSpam); + + setValue(0, id); + setValue(1, text); + setValue(2, punishments); + setValue(3, enabled); + setValue(4, createdBy); + setValue(5, enabledBy); + setValue(6, disabledBy); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanBansRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanBansRecord.java new file mode 100644 index 000000000..a34b9338f --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanBansRecord.java @@ -0,0 +1,399 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClanBansRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record8 { + + private static final long serialVersionUID = 2072636749; + + /** + * Setter for Account.clanBans.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.clanBans.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.clanBans.uuid. + */ + public void setUuid(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.clanBans.uuid. + */ + public java.lang.String getUuid() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.clanBans.admin. + */ + public void setAdmin(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.clanBans.admin. + */ + public java.lang.String getAdmin() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.clanBans.reason. + */ + public void setReason(java.lang.String value) { + setValue(3, value); + } + + /** + * Getter for Account.clanBans.reason. + */ + public java.lang.String getReason() { + return (java.lang.String) getValue(3); + } + + /** + * Setter for Account.clanBans.banTime. + */ + public void setBanTime(java.sql.Timestamp value) { + setValue(4, value); + } + + /** + * Getter for Account.clanBans.banTime. + */ + public java.sql.Timestamp getBanTime() { + return (java.sql.Timestamp) getValue(4); + } + + /** + * Setter for Account.clanBans.unbanTime. + */ + public void setUnbanTime(java.sql.Timestamp value) { + setValue(5, value); + } + + /** + * Getter for Account.clanBans.unbanTime. + */ + public java.sql.Timestamp getUnbanTime() { + return (java.sql.Timestamp) getValue(5); + } + + /** + * Setter for Account.clanBans.permanent. + */ + public void setPermanent(java.lang.Byte value) { + setValue(6, value); + } + + /** + * Getter for Account.clanBans.permanent. + */ + public java.lang.Byte getPermanent() { + return (java.lang.Byte) getValue(6); + } + + /** + * Setter for Account.clanBans.removed. + */ + public void setRemoved(java.lang.Byte value) { + setValue(7, value); + } + + /** + * Getter for Account.clanBans.removed. + */ + public java.lang.Byte getRemoved() { + return (java.lang.Byte) getValue(7); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record8 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row8 fieldsRow() { + return (org.jooq.Row8) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row8 valuesRow() { + return (org.jooq.Row8) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.ClanBans.clanBans.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.ClanBans.clanBans.uuid; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.ClanBans.clanBans.admin; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.ClanBans.clanBans.reason; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.ClanBans.clanBans.banTime; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.ClanBans.clanBans.unbanTime; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.ClanBans.clanBans.permanent; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field8() { + return mineplex.database.tables.ClanBans.clanBans.removed; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getUuid(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getAdmin(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value4() { + return getReason(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value5() { + return getBanTime(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value6() { + return getUnbanTime(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value7() { + return getPermanent(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value8() { + return getRemoved(); + } + + /** + * {@inheritDoc} + */ + @Override + public ClanBansRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanBansRecord value2(java.lang.String value) { + setUuid(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanBansRecord value3(java.lang.String value) { + setAdmin(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanBansRecord value4(java.lang.String value) { + setReason(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanBansRecord value5(java.sql.Timestamp value) { + setBanTime(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanBansRecord value6(java.sql.Timestamp value) { + setUnbanTime(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanBansRecord value7(java.lang.Byte value) { + setPermanent(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanBansRecord value8(java.lang.Byte value) { + setRemoved(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanBansRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.String value4, java.sql.Timestamp value5, java.sql.Timestamp value6, java.lang.Byte value7, java.lang.Byte value8) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ClanBansRecord + */ + public ClanBansRecord() { + super(mineplex.database.tables.ClanBans.clanBans); + } + + /** + * Create a detached, initialised ClanBansRecord + */ + public ClanBansRecord(java.lang.Integer id, java.lang.String uuid, java.lang.String admin, java.lang.String reason, java.sql.Timestamp banTime, java.sql.Timestamp unbanTime, java.lang.Byte permanent, java.lang.Byte removed) { + super(mineplex.database.tables.ClanBans.clanBans); + + setValue(0, id); + setValue(1, uuid); + setValue(2, admin); + setValue(3, reason); + setValue(4, banTime); + setValue(5, unbanTime); + setValue(6, permanent); + setValue(7, removed); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanNameBlacklistRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanNameBlacklistRecord.java new file mode 100644 index 000000000..c04eb7a1d --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanNameBlacklistRecord.java @@ -0,0 +1,199 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClanNameBlacklistRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = 1383521560; + + /** + * Setter for Account.clanNameBlacklist.clanName. + */ + public void setClanName(java.lang.String value) { + setValue(0, value); + } + + /** + * Getter for Account.clanNameBlacklist.clanName. + */ + public java.lang.String getClanName() { + return (java.lang.String) getValue(0); + } + + /** + * Setter for Account.clanNameBlacklist.admin. + */ + public void setAdmin(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.clanNameBlacklist.admin. + */ + public java.lang.String getAdmin() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.clanNameBlacklist.added. + */ + public void setAdded(java.sql.Timestamp value) { + setValue(2, value); + } + + /** + * Getter for Account.clanNameBlacklist.added. + */ + public java.sql.Timestamp getAdded() { + return (java.sql.Timestamp) getValue(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.ClanNameBlacklist.clanNameBlacklist.clanName; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.ClanNameBlacklist.clanNameBlacklist.admin; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.ClanNameBlacklist.clanNameBlacklist.added; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value1() { + return getClanName(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getAdmin(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value3() { + return getAdded(); + } + + /** + * {@inheritDoc} + */ + @Override + public ClanNameBlacklistRecord value1(java.lang.String value) { + setClanName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanNameBlacklistRecord value2(java.lang.String value) { + setAdmin(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanNameBlacklistRecord value3(java.sql.Timestamp value) { + setAdded(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanNameBlacklistRecord values(java.lang.String value1, java.lang.String value2, java.sql.Timestamp value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ClanNameBlacklistRecord + */ + public ClanNameBlacklistRecord() { + super(mineplex.database.tables.ClanNameBlacklist.clanNameBlacklist); + } + + /** + * Create a detached, initialised ClanNameBlacklistRecord + */ + public ClanNameBlacklistRecord(java.lang.String clanName, java.lang.String admin, java.sql.Timestamp added) { + super(mineplex.database.tables.ClanNameBlacklist.clanNameBlacklist); + + setValue(0, clanName); + setValue(1, admin); + setValue(2, added); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanServerRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanServerRecord.java index bddaf2d43..55bb2b873 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanServerRecord.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanServerRecord.java @@ -16,7 +16,7 @@ package mineplex.database.tables.records; @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class ClanServerRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2 { - private static final long serialVersionUID = -306321343; + private static final long serialVersionUID = 1979835238; /** * Setter for Account.clanServer.id. @@ -54,8 +54,8 @@ public class ClanServerRecord extends org.jooq.impl.UpdatableRecordImpl key() { - return (org.jooq.Record2) super.key(); + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); } // ------------------------------------------------------------------------- diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanTerritoryRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanTerritoryRecord.java index bea3fd307..f681f4dd2 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanTerritoryRecord.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClanTerritoryRecord.java @@ -14,9 +14,9 @@ package mineplex.database.tables.records; comments = "This class is generated by jOOQ" ) @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record5 { +public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4 { - private static final long serialVersionUID = 1422111385; + private static final long serialVersionUID = -790523351; /** * Setter for Account.clanTerritory.id. @@ -46,46 +46,32 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImplAccount.clanTerritory.serverId. - */ - public void setServerId(java.lang.Integer value) { - setValue(2, value); - } - - /** - * Getter for Account.clanTerritory.serverId. - */ - public java.lang.Integer getServerId() { - return (java.lang.Integer) getValue(2); - } - /** * Setter for Account.clanTerritory.chunk. */ public void setChunk(java.lang.String value) { - setValue(3, value); + setValue(2, value); } /** * Getter for Account.clanTerritory.chunk. */ public java.lang.String getChunk() { - return (java.lang.String) getValue(3); + return (java.lang.String) getValue(2); } /** * Setter for Account.clanTerritory.safe. */ public void setSafe(java.lang.Boolean value) { - setValue(4, value); + setValue(3, value); } /** * Getter for Account.clanTerritory.safe. */ public java.lang.Boolean getSafe() { - return (java.lang.Boolean) getValue(4); + return (java.lang.Boolean) getValue(3); } // ------------------------------------------------------------------------- @@ -101,23 +87,23 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl fieldsRow() { - return (org.jooq.Row5) super.fieldsRow(); + public org.jooq.Row4 fieldsRow() { + return (org.jooq.Row4) super.fieldsRow(); } /** * {@inheritDoc} */ @Override - public org.jooq.Row5 valuesRow() { - return (org.jooq.Row5) super.valuesRow(); + public org.jooq.Row4 valuesRow() { + return (org.jooq.Row4) super.valuesRow(); } /** @@ -140,15 +126,7 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl field3() { - return mineplex.database.tables.ClanTerritory.clanTerritory.serverId; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field4() { + public org.jooq.Field field3() { return mineplex.database.tables.ClanTerritory.clanTerritory.chunk; } @@ -156,7 +134,7 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl field5() { + public org.jooq.Field field4() { return mineplex.database.tables.ClanTerritory.clanTerritory.safe; } @@ -180,15 +158,7 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record8 { + + private static final long serialVersionUID = -2028180122; + + /** + * Setter for Account.clanWar.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.clanWar.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.clanWar.initiatorId. + */ + public void setInitiatorId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.clanWar.initiatorId. + */ + public java.lang.Integer getInitiatorId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.clanWar.clanId. + */ + public void setClanId(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.clanWar.clanId. + */ + public java.lang.Integer getClanId() { + return (java.lang.Integer) getValue(2); + } + + /** + * Setter for Account.clanWar.score. + */ + public void setScore(java.lang.Integer value) { + setValue(3, value); + } + + /** + * Getter for Account.clanWar.score. + */ + public java.lang.Integer getScore() { + return (java.lang.Integer) getValue(3); + } + + /** + * Setter for Account.clanWar.completed. + */ + public void setCompleted(java.lang.Byte value) { + setValue(4, value); + } + + /** + * Getter for Account.clanWar.completed. + */ + public java.lang.Byte getCompleted() { + return (java.lang.Byte) getValue(4); + } + + /** + * Setter for Account.clanWar.created. + */ + public void setCreated(java.sql.Timestamp value) { + setValue(5, value); + } + + /** + * Getter for Account.clanWar.created. + */ + public java.sql.Timestamp getCreated() { + return (java.sql.Timestamp) getValue(5); + } + + /** + * Setter for Account.clanWar.ended. + */ + public void setEnded(java.sql.Timestamp value) { + setValue(6, value); + } + + /** + * Getter for Account.clanWar.ended. + */ + public java.sql.Timestamp getEnded() { + return (java.sql.Timestamp) getValue(6); + } + + /** + * Setter for Account.clanWar.lastUpdated. + */ + public void setLastUpdated(java.sql.Timestamp value) { + setValue(7, value); + } + + /** + * Getter for Account.clanWar.lastUpdated. + */ + public java.sql.Timestamp getLastUpdated() { + return (java.sql.Timestamp) getValue(7); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record8 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row8 fieldsRow() { + return (org.jooq.Row8) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row8 valuesRow() { + return (org.jooq.Row8) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.ClanWar.clanWar.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.ClanWar.clanWar.initiatorId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.ClanWar.clanWar.clanId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.ClanWar.clanWar.score; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.ClanWar.clanWar.completed; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.ClanWar.clanWar.created; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.ClanWar.clanWar.ended; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field8() { + return mineplex.database.tables.ClanWar.clanWar.lastUpdated; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getInitiatorId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getClanId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value4() { + return getScore(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value5() { + return getCompleted(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value6() { + return getCreated(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value7() { + return getEnded(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value8() { + return getLastUpdated(); + } + + /** + * {@inheritDoc} + */ + @Override + public ClanWarRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanWarRecord value2(java.lang.Integer value) { + setInitiatorId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanWarRecord value3(java.lang.Integer value) { + setClanId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanWarRecord value4(java.lang.Integer value) { + setScore(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanWarRecord value5(java.lang.Byte value) { + setCompleted(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanWarRecord value6(java.sql.Timestamp value) { + setCreated(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanWarRecord value7(java.sql.Timestamp value) { + setEnded(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanWarRecord value8(java.sql.Timestamp value) { + setLastUpdated(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClanWarRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.lang.Integer value4, java.lang.Byte value5, java.sql.Timestamp value6, java.sql.Timestamp value7, java.sql.Timestamp value8) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ClanWarRecord + */ + public ClanWarRecord() { + super(mineplex.database.tables.ClanWar.clanWar); + } + + /** + * Create a detached, initialised ClanWarRecord + */ + public ClanWarRecord(java.lang.Integer id, java.lang.Integer initiatorId, java.lang.Integer clanId, java.lang.Integer score, java.lang.Byte completed, java.sql.Timestamp created, java.sql.Timestamp ended, java.sql.Timestamp lastUpdated) { + super(mineplex.database.tables.ClanWar.clanWar); + + setValue(0, id); + setValue(1, initiatorId); + setValue(2, clanId); + setValue(3, score); + setValue(4, completed); + setValue(5, created); + setValue(6, ended); + setValue(7, lastUpdated); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansOutpostsRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansOutpostsRecord.java new file mode 100644 index 000000000..f26c166de --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansOutpostsRecord.java @@ -0,0 +1,359 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClansOutpostsRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record7 { + + private static final long serialVersionUID = 924324186; + + /** + * Setter for Account.clansOutposts.uniqueId. + */ + public void setUniqueId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.clansOutposts.uniqueId. + */ + public java.lang.Integer getUniqueId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.clansOutposts.serverId. + */ + public void setServerId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.clansOutposts.serverId. + */ + public java.lang.Integer getServerId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.clansOutposts.origin. + */ + public void setOrigin(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.clansOutposts.origin. + */ + public java.lang.String getOrigin() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.clansOutposts.outpostType. + */ + public void setOutpostType(java.lang.Byte value) { + setValue(3, value); + } + + /** + * Getter for Account.clansOutposts.outpostType. + */ + public java.lang.Byte getOutpostType() { + return (java.lang.Byte) getValue(3); + } + + /** + * Setter for Account.clansOutposts.ownerClan. + */ + public void setOwnerClan(java.lang.Integer value) { + setValue(4, value); + } + + /** + * Getter for Account.clansOutposts.ownerClan. + */ + public java.lang.Integer getOwnerClan() { + return (java.lang.Integer) getValue(4); + } + + /** + * Setter for Account.clansOutposts.timeSpawned. + */ + public void setTimeSpawned(java.lang.String value) { + setValue(5, value); + } + + /** + * Getter for Account.clansOutposts.timeSpawned. + */ + public java.lang.String getTimeSpawned() { + return (java.lang.String) getValue(5); + } + + /** + * Setter for Account.clansOutposts.outpostState. + */ + public void setOutpostState(java.lang.Byte value) { + setValue(6, value); + } + + /** + * Getter for Account.clansOutposts.outpostState. + */ + public java.lang.Byte getOutpostState() { + return (java.lang.Byte) getValue(6); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record7 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row7 fieldsRow() { + return (org.jooq.Row7) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row7 valuesRow() { + return (org.jooq.Row7) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.ClansOutposts.clansOutposts.uniqueId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.ClansOutposts.clansOutposts.serverId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.ClansOutposts.clansOutposts.origin; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.ClansOutposts.clansOutposts.outpostType; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.ClansOutposts.clansOutposts.ownerClan; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.ClansOutposts.clansOutposts.timeSpawned; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.ClansOutposts.clansOutposts.outpostState; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getUniqueId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getServerId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getOrigin(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value4() { + return getOutpostType(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value5() { + return getOwnerClan(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value6() { + return getTimeSpawned(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value7() { + return getOutpostState(); + } + + /** + * {@inheritDoc} + */ + @Override + public ClansOutpostsRecord value1(java.lang.Integer value) { + setUniqueId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansOutpostsRecord value2(java.lang.Integer value) { + setServerId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansOutpostsRecord value3(java.lang.String value) { + setOrigin(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansOutpostsRecord value4(java.lang.Byte value) { + setOutpostType(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansOutpostsRecord value5(java.lang.Integer value) { + setOwnerClan(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansOutpostsRecord value6(java.lang.String value) { + setTimeSpawned(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansOutpostsRecord value7(java.lang.Byte value) { + setOutpostState(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansOutpostsRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.String value3, java.lang.Byte value4, java.lang.Integer value5, java.lang.String value6, java.lang.Byte value7) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ClansOutpostsRecord + */ + public ClansOutpostsRecord() { + super(mineplex.database.tables.ClansOutposts.clansOutposts); + } + + /** + * Create a detached, initialised ClansOutpostsRecord + */ + public ClansOutpostsRecord(java.lang.Integer uniqueId, java.lang.Integer serverId, java.lang.String origin, java.lang.Byte outpostType, java.lang.Integer ownerClan, java.lang.String timeSpawned, java.lang.Byte outpostState) { + super(mineplex.database.tables.ClansOutposts.clansOutposts); + + setValue(0, uniqueId); + setValue(1, serverId); + setValue(2, origin); + setValue(3, outpostType); + setValue(4, ownerClan); + setValue(5, timeSpawned); + setValue(6, outpostState); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansPvpTimerRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansPvpTimerRecord.java new file mode 100644 index 000000000..294c64788 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansPvpTimerRecord.java @@ -0,0 +1,199 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClansPvpTimerRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = 1068503208; + + /** + * Setter for Account.clansPvpTimer.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.clansPvpTimer.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.clansPvpTimer.timerElapsed. + */ + public void setTimerElapsed(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.clansPvpTimer.timerElapsed. + */ + public java.lang.Integer getTimerElapsed() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.clansPvpTimer.hasSkipped. + */ + public void setHasSkipped(java.lang.Byte value) { + setValue(2, value); + } + + /** + * Getter for Account.clansPvpTimer.hasSkipped. + */ + public java.lang.Byte getHasSkipped() { + return (java.lang.Byte) getValue(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.ClansPvpTimer.clansPvpTimer.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.ClansPvpTimer.clansPvpTimer.timerElapsed; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.ClansPvpTimer.clansPvpTimer.hasSkipped; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getTimerElapsed(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value3() { + return getHasSkipped(); + } + + /** + * {@inheritDoc} + */ + @Override + public ClansPvpTimerRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansPvpTimerRecord value2(java.lang.Integer value) { + setTimerElapsed(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansPvpTimerRecord value3(java.lang.Byte value) { + setHasSkipped(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansPvpTimerRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Byte value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ClansPvpTimerRecord + */ + public ClansPvpTimerRecord() { + super(mineplex.database.tables.ClansPvpTimer.clansPvpTimer); + } + + /** + * Create a detached, initialised ClansPvpTimerRecord + */ + public ClansPvpTimerRecord(java.lang.Integer accountId, java.lang.Integer timerElapsed, java.lang.Byte hasSkipped) { + super(mineplex.database.tables.ClansPvpTimer.clansPvpTimer); + + setValue(0, accountId); + setValue(1, timerElapsed); + setValue(2, hasSkipped); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansRecord.java index 59efbb657..117a9c6af 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansRecord.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansRecord.java @@ -14,9 +14,9 @@ package mineplex.database.tables.records; comments = "This class is generated by jOOQ" ) @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record14 { +public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record17 { - private static final long serialVersionUID = -1588610871; + private static final long serialVersionUID = -1257933448; /** * Setter for Account.clans.id. @@ -214,6 +214,48 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImplAccount.clans.generator. + */ + public void setGenerator(java.lang.String value) { + setValue(14, value); + } + + /** + * Getter for Account.clans.generator. + */ + public java.lang.String getGenerator() { + return (java.lang.String) getValue(14); + } + + /** + * Setter for Account.clans.generatorStock. + */ + public void setGeneratorStock(java.lang.Integer value) { + setValue(15, value); + } + + /** + * Getter for Account.clans.generatorStock. + */ + public java.lang.Integer getGeneratorStock() { + return (java.lang.Integer) getValue(15); + } + + /** + * Setter for Account.clans.eloRating. + */ + public void setEloRating(java.lang.Integer value) { + setValue(16, value); + } + + /** + * Getter for Account.clans.eloRating. + */ + public java.lang.Integer getEloRating() { + return (java.lang.Integer) getValue(16); + } + // ------------------------------------------------------------------------- // Primary key information // ------------------------------------------------------------------------- @@ -227,23 +269,23 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl fieldsRow() { - return (org.jooq.Row14) super.fieldsRow(); + public org.jooq.Row17 fieldsRow() { + return (org.jooq.Row17) super.fieldsRow(); } /** * {@inheritDoc} */ @Override - public org.jooq.Row14 valuesRow() { - return (org.jooq.Row14) super.valuesRow(); + public org.jooq.Row17 valuesRow() { + return (org.jooq.Row17) super.valuesRow(); } /** @@ -358,6 +400,30 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl field15() { + return mineplex.database.tables.Clans.clans.generator; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field16() { + return mineplex.database.tables.Clans.clans.generatorStock; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field17() { + return mineplex.database.tables.Clans.clans.eloRating; + } + /** * {@inheritDoc} */ @@ -470,6 +536,30 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record9 { + + private static final long serialVersionUID = 1349388331; + + /** + * Setter for Account.clansSiegeWeapons.uniqueId. + */ + public void setUniqueId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.clansSiegeWeapons.uniqueId. + */ + public java.lang.Integer getUniqueId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.clansSiegeWeapons.serverId. + */ + public void setServerId(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.clansSiegeWeapons.serverId. + */ + public java.lang.Integer getServerId() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.clansSiegeWeapons.location. + */ + public void setLocation(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.clansSiegeWeapons.location. + */ + public java.lang.String getLocation() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.clansSiegeWeapons.ownerClan. + */ + public void setOwnerClan(java.lang.Integer value) { + setValue(3, value); + } + + /** + * Getter for Account.clansSiegeWeapons.ownerClan. + */ + public java.lang.Integer getOwnerClan() { + return (java.lang.Integer) getValue(3); + } + + /** + * Setter for Account.clansSiegeWeapons.weaponType. + */ + public void setWeaponType(java.lang.Byte value) { + setValue(4, value); + } + + /** + * Getter for Account.clansSiegeWeapons.weaponType. + */ + public java.lang.Byte getWeaponType() { + return (java.lang.Byte) getValue(4); + } + + /** + * Setter for Account.clansSiegeWeapons.health. + */ + public void setHealth(java.lang.Integer value) { + setValue(5, value); + } + + /** + * Getter for Account.clansSiegeWeapons.health. + */ + public java.lang.Integer getHealth() { + return (java.lang.Integer) getValue(5); + } + + /** + * Setter for Account.clansSiegeWeapons.yaw. + */ + public void setYaw(java.lang.Integer value) { + setValue(6, value); + } + + /** + * Getter for Account.clansSiegeWeapons.yaw. + */ + public java.lang.Integer getYaw() { + return (java.lang.Integer) getValue(6); + } + + /** + * Setter for Account.clansSiegeWeapons.lastFired. + */ + public void setLastFired(java.lang.String value) { + setValue(7, value); + } + + /** + * Getter for Account.clansSiegeWeapons.lastFired. + */ + public java.lang.String getLastFired() { + return (java.lang.String) getValue(7); + } + + /** + * Setter for Account.clansSiegeWeapons.entities. + */ + public void setEntities(java.lang.String value) { + setValue(8, value); + } + + /** + * Getter for Account.clansSiegeWeapons.entities. + */ + public java.lang.String getEntities() { + return (java.lang.String) getValue(8); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record9 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row9 fieldsRow() { + return (org.jooq.Row9) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row9 valuesRow() { + return (org.jooq.Row9) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons.uniqueId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons.serverId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons.location; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons.ownerClan; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons.weaponType; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons.health; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons.yaw; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field8() { + return mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons.lastFired; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field9() { + return mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons.entities; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getUniqueId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getServerId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getLocation(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value4() { + return getOwnerClan(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value5() { + return getWeaponType(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value6() { + return getHealth(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value7() { + return getYaw(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value8() { + return getLastFired(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value9() { + return getEntities(); + } + + /** + * {@inheritDoc} + */ + @Override + public ClansSiegeWeaponsRecord value1(java.lang.Integer value) { + setUniqueId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansSiegeWeaponsRecord value2(java.lang.Integer value) { + setServerId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansSiegeWeaponsRecord value3(java.lang.String value) { + setLocation(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansSiegeWeaponsRecord value4(java.lang.Integer value) { + setOwnerClan(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansSiegeWeaponsRecord value5(java.lang.Byte value) { + setWeaponType(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansSiegeWeaponsRecord value6(java.lang.Integer value) { + setHealth(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansSiegeWeaponsRecord value7(java.lang.Integer value) { + setYaw(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansSiegeWeaponsRecord value8(java.lang.String value) { + setLastFired(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansSiegeWeaponsRecord value9(java.lang.String value) { + setEntities(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansSiegeWeaponsRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.String value3, java.lang.Integer value4, java.lang.Byte value5, java.lang.Integer value6, java.lang.Integer value7, java.lang.String value8, java.lang.String value9) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ClansSiegeWeaponsRecord + */ + public ClansSiegeWeaponsRecord() { + super(mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons); + } + + /** + * Create a detached, initialised ClansSiegeWeaponsRecord + */ + public ClansSiegeWeaponsRecord(java.lang.Integer uniqueId, java.lang.Integer serverId, java.lang.String location, java.lang.Integer ownerClan, java.lang.Byte weaponType, java.lang.Integer health, java.lang.Integer yaw, java.lang.String lastFired, java.lang.String entities) { + super(mineplex.database.tables.ClansSiegeWeapons.clansSiegeWeapons); + + setValue(0, uniqueId); + setValue(1, serverId); + setValue(2, location); + setValue(3, ownerClan); + setValue(4, weaponType); + setValue(5, health); + setValue(6, yaw); + setValue(7, lastFired); + setValue(8, entities); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansTutorialRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansTutorialRecord.java new file mode 100644 index 000000000..e682f8322 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ClansTutorialRecord.java @@ -0,0 +1,159 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ClansTutorialRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2 { + + private static final long serialVersionUID = -2119347650; + + /** + * Setter for Account.clansTutorial.uuid. + */ + public void setUuid(java.lang.String value) { + setValue(0, value); + } + + /** + * Getter for Account.clansTutorial.uuid. + */ + public java.lang.String getUuid() { + return (java.lang.String) getValue(0); + } + + /** + * Setter for Account.clansTutorial.timesPlayed. + */ + public void setTimesPlayed(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.clansTutorial.timesPlayed. + */ + public java.lang.Integer getTimesPlayed() { + return (java.lang.Integer) getValue(1); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record2 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 fieldsRow() { + return (org.jooq.Row2) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 valuesRow() { + return (org.jooq.Row2) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.ClansTutorial.clansTutorial.uuid; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.ClansTutorial.clansTutorial.timesPlayed; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value1() { + return getUuid(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getTimesPlayed(); + } + + /** + * {@inheritDoc} + */ + @Override + public ClansTutorialRecord value1(java.lang.String value) { + setUuid(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansTutorialRecord value2(java.lang.Integer value) { + setTimesPlayed(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ClansTutorialRecord values(java.lang.String value1, java.lang.Integer value2) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ClansTutorialRecord + */ + public ClansTutorialRecord() { + super(mineplex.database.tables.ClansTutorial.clansTutorial); + } + + /** + * Create a detached, initialised ClansTutorialRecord + */ + public ClansTutorialRecord(java.lang.String uuid, java.lang.Integer timesPlayed) { + super(mineplex.database.tables.ClansTutorial.clansTutorial); + + setValue(0, uuid); + setValue(1, timesPlayed); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/CustomDataRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/CustomDataRecord.java new file mode 100644 index 000000000..aae8c47d4 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/CustomDataRecord.java @@ -0,0 +1,159 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class CustomDataRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2 { + + private static final long serialVersionUID = 1436524047; + + /** + * Setter for Account.customData.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.customData.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.customData.name. + */ + public void setName(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.customData.name. + */ + public java.lang.String getName() { + return (java.lang.String) getValue(1); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record2 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 fieldsRow() { + return (org.jooq.Row2) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 valuesRow() { + return (org.jooq.Row2) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.CustomData.customData.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.CustomData.customData.name; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getName(); + } + + /** + * {@inheritDoc} + */ + @Override + public CustomDataRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public CustomDataRecord value2(java.lang.String value) { + setName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public CustomDataRecord values(java.lang.Integer value1, java.lang.String value2) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached CustomDataRecord + */ + public CustomDataRecord() { + super(mineplex.database.tables.CustomData.customData); + } + + /** + * Create a detached, initialised CustomDataRecord + */ + public CustomDataRecord(java.lang.Integer id, java.lang.String name) { + super(mineplex.database.tables.CustomData.customData); + + setValue(0, id); + setValue(1, name); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/EloRatingRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/EloRatingRecord.java index d2d33e5a1..415f8d73c 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/EloRatingRecord.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/EloRatingRecord.java @@ -14,9 +14,9 @@ package mineplex.database.tables.records; comments = "This class is generated by jOOQ" ) @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record6 { +public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4 { - private static final long serialVersionUID = 329740739; + private static final long serialVersionUID = -2140106949; /** * Setter for Account.eloRating.id. @@ -33,73 +33,45 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImplAccount.eloRating.uuid. + * Setter for Account.eloRating.accountId. */ - public void setUuid(java.lang.String value) { + public void setAccountId(java.lang.Integer value) { setValue(1, value); } /** - * Getter for Account.eloRating.uuid. + * Getter for Account.eloRating.accountId. */ - public java.lang.String getUuid() { - return (java.lang.String) getValue(1); - } - - /** - * Setter for Account.eloRating.gamemode. - */ - public void setGamemode(org.jooq.types.UByte value) { - setValue(2, value); - } - - /** - * Getter for Account.eloRating.gamemode. - */ - public org.jooq.types.UByte getGamemode() { - return (org.jooq.types.UByte) getValue(2); - } - - /** - * Setter for Account.eloRating.matchesPlayed. - */ - public void setMatchesPlayed(org.jooq.types.UInteger value) { - setValue(3, value); - } - - /** - * Getter for Account.eloRating.matchesPlayed. - */ - public org.jooq.types.UInteger getMatchesPlayed() { - return (org.jooq.types.UInteger) getValue(3); - } - - /** - * Setter for Account.eloRating.elo. - */ - public void setElo(java.lang.Integer value) { - setValue(4, value); - } - - /** - * Getter for Account.eloRating.elo. - */ - public java.lang.Integer getElo() { - return (java.lang.Integer) getValue(4); + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(1); } /** * Setter for Account.eloRating.gameType. */ public void setGameType(java.lang.String value) { - setValue(5, value); + setValue(2, value); } /** * Getter for Account.eloRating.gameType. */ public java.lang.String getGameType() { - return (java.lang.String) getValue(5); + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.eloRating.elo. + */ + public void setElo(java.lang.Integer value) { + setValue(3, value); + } + + /** + * Getter for Account.eloRating.elo. + */ + public java.lang.Integer getElo() { + return (java.lang.Integer) getValue(3); } // ------------------------------------------------------------------------- @@ -115,23 +87,23 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl fieldsRow() { - return (org.jooq.Row6) super.fieldsRow(); + public org.jooq.Row4 fieldsRow() { + return (org.jooq.Row4) super.fieldsRow(); } /** * {@inheritDoc} */ @Override - public org.jooq.Row6 valuesRow() { - return (org.jooq.Row6) super.valuesRow(); + public org.jooq.Row4 valuesRow() { + return (org.jooq.Row4) super.valuesRow(); } /** @@ -146,42 +118,26 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl field2() { - return mineplex.database.tables.EloRating.eloRating.uuid; + public org.jooq.Field field2() { + return mineplex.database.tables.EloRating.eloRating.accountId; } /** * {@inheritDoc} */ @Override - public org.jooq.Field field3() { - return mineplex.database.tables.EloRating.eloRating.gamemode; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field4() { - return mineplex.database.tables.EloRating.eloRating.matchesPlayed; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field5() { - return mineplex.database.tables.EloRating.eloRating.elo; - } - - /** - * {@inheritDoc} - */ - @Override - public org.jooq.Field field6() { + public org.jooq.Field field3() { return mineplex.database.tables.EloRating.eloRating.gameType; } + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.EloRating.eloRating.elo; + } + /** * {@inheritDoc} */ @@ -194,42 +150,26 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4 { + + private static final long serialVersionUID = 123289437; + + /** + * Setter for Account.facebook.code. + */ + public void setCode(java.lang.String value) { + setValue(0, value); + } + + /** + * Getter for Account.facebook.code. + */ + public java.lang.String getCode() { + return (java.lang.String) getValue(0); + } + + /** + * Setter for Account.facebook.activated. + */ + public void setActivated(java.lang.Byte value) { + setValue(1, value); + } + + /** + * Getter for Account.facebook.activated. + */ + public java.lang.Byte getActivated() { + return (java.lang.Byte) getValue(1); + } + + /** + * Setter for Account.facebook.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.facebook.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(2); + } + + /** + * Setter for Account.facebook.activationTime. + */ + public void setActivationTime(java.sql.Timestamp value) { + setValue(3, value); + } + + /** + * Getter for Account.facebook.activationTime. + */ + public java.sql.Timestamp getActivationTime() { + return (java.sql.Timestamp) getValue(3); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record4 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 fieldsRow() { + return (org.jooq.Row4) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 valuesRow() { + return (org.jooq.Row4) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.Facebook.facebook.code; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.Facebook.facebook.activated; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.Facebook.facebook.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.Facebook.facebook.activationTime; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value1() { + return getCode(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value2() { + return getActivated(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value4() { + return getActivationTime(); + } + + /** + * {@inheritDoc} + */ + @Override + public FacebookRecord value1(java.lang.String value) { + setCode(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FacebookRecord value2(java.lang.Byte value) { + setActivated(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FacebookRecord value3(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FacebookRecord value4(java.sql.Timestamp value) { + setActivationTime(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public FacebookRecord values(java.lang.String value1, java.lang.Byte value2, java.lang.Integer value3, java.sql.Timestamp value4) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached FacebookRecord + */ + public FacebookRecord() { + super(mineplex.database.tables.Facebook.facebook); + } + + /** + * Create a detached, initialised FacebookRecord + */ + public FacebookRecord(java.lang.String code, java.lang.Byte activated, java.lang.Integer accountId, java.sql.Timestamp activationTime) { + super(mineplex.database.tables.Facebook.facebook); + + setValue(0, code); + setValue(1, activated); + setValue(2, accountId); + setValue(3, activationTime); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/GadgetsRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/GadgetsRecord.java new file mode 100644 index 000000000..75fd8253e --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/GadgetsRecord.java @@ -0,0 +1,199 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class GadgetsRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = -1864387220; + + /** + * Setter for Account.gadgets.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.gadgets.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.gadgets.kvKey. + */ + public void setKvKey(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.gadgets.kvKey. + */ + public java.lang.String getKvKey() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.gadgets.kvValue. + */ + public void setKvValue(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.gadgets.kvValue. + */ + public java.lang.String getKvValue() { + return (java.lang.String) getValue(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record2 key() { + return (org.jooq.Record2) super.key(); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.Gadgets.gadgets.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.Gadgets.gadgets.kvKey; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.Gadgets.gadgets.kvValue; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getKvKey(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getKvValue(); + } + + /** + * {@inheritDoc} + */ + @Override + public GadgetsRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GadgetsRecord value2(java.lang.String value) { + setKvKey(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GadgetsRecord value3(java.lang.String value) { + setKvValue(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GadgetsRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached GadgetsRecord + */ + public GadgetsRecord() { + super(mineplex.database.tables.Gadgets.gadgets); + } + + /** + * Create a detached, initialised GadgetsRecord + */ + public GadgetsRecord(java.lang.Integer accountId, java.lang.String kvKey, java.lang.String kvValue) { + super(mineplex.database.tables.Gadgets.gadgets); + + setValue(0, accountId); + setValue(1, kvKey); + setValue(2, kvValue); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/GiveawayCooldownRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/GiveawayCooldownRecord.java new file mode 100644 index 000000000..3401cb54e --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/GiveawayCooldownRecord.java @@ -0,0 +1,199 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class GiveawayCooldownRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = -2131647669; + + /** + * Setter for Account.giveawayCooldown.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.giveawayCooldown.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.giveawayCooldown.name. + */ + public void setName(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.giveawayCooldown.name. + */ + public java.lang.String getName() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.giveawayCooldown.cooldown. + */ + public void setCooldown(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.giveawayCooldown.cooldown. + */ + public java.lang.Integer getCooldown() { + return (java.lang.Integer) getValue(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.GiveawayCooldown.giveawayCooldown.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.GiveawayCooldown.giveawayCooldown.name; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.GiveawayCooldown.giveawayCooldown.cooldown; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getName(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getCooldown(); + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayCooldownRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayCooldownRecord value2(java.lang.String value) { + setName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayCooldownRecord value3(java.lang.Integer value) { + setCooldown(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayCooldownRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.Integer value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached GiveawayCooldownRecord + */ + public GiveawayCooldownRecord() { + super(mineplex.database.tables.GiveawayCooldown.giveawayCooldown); + } + + /** + * Create a detached, initialised GiveawayCooldownRecord + */ + public GiveawayCooldownRecord(java.lang.Integer id, java.lang.String name, java.lang.Integer cooldown) { + super(mineplex.database.tables.GiveawayCooldown.giveawayCooldown); + + setValue(0, id); + setValue(1, name); + setValue(2, cooldown); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/GiveawayRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/GiveawayRecord.java new file mode 100644 index 000000000..ae31207ad --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/GiveawayRecord.java @@ -0,0 +1,479 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class GiveawayRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record10 { + + private static final long serialVersionUID = -1809311307; + + /** + * Setter for Account.giveaway.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.giveaway.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.giveaway.name. + */ + public void setName(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.giveaway.name. + */ + public java.lang.String getName() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.giveaway.prettyName. + */ + public void setPrettyName(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.giveaway.prettyName. + */ + public java.lang.String getPrettyName() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.giveaway.header. + */ + public void setHeader(java.lang.String value) { + setValue(3, value); + } + + /** + * Getter for Account.giveaway.header. + */ + public java.lang.String getHeader() { + return (java.lang.String) getValue(3); + } + + /** + * Setter for Account.giveaway.message. + */ + public void setMessage(java.lang.String value) { + setValue(4, value); + } + + /** + * Getter for Account.giveaway.message. + */ + public java.lang.String getMessage() { + return (java.lang.String) getValue(4); + } + + /** + * Setter for Account.giveaway.max. + */ + public void setMax(java.lang.Integer value) { + setValue(5, value); + } + + /** + * Getter for Account.giveaway.max. + */ + public java.lang.Integer getMax() { + return (java.lang.Integer) getValue(5); + } + + /** + * Setter for Account.giveaway.notifyNetwork. + */ + public void setNotifyNetwork(java.lang.Byte value) { + setValue(6, value); + } + + /** + * Getter for Account.giveaway.notifyNetwork. + */ + public java.lang.Byte getNotifyNetwork() { + return (java.lang.Byte) getValue(6); + } + + /** + * Setter for Account.giveaway.notifyCooldown. + */ + public void setNotifyCooldown(java.lang.Integer value) { + setValue(7, value); + } + + /** + * Getter for Account.giveaway.notifyCooldown. + */ + public java.lang.Integer getNotifyCooldown() { + return (java.lang.Integer) getValue(7); + } + + /** + * Setter for Account.giveaway.canWinTwice. + */ + public void setCanWinTwice(java.lang.Byte value) { + setValue(8, value); + } + + /** + * Getter for Account.giveaway.canWinTwice. + */ + public java.lang.Byte getCanWinTwice() { + return (java.lang.Byte) getValue(8); + } + + /** + * Setter for Account.giveaway.enabled. + */ + public void setEnabled(java.lang.Byte value) { + setValue(9, value); + } + + /** + * Getter for Account.giveaway.enabled. + */ + public java.lang.Byte getEnabled() { + return (java.lang.Byte) getValue(9); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record10 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row10 fieldsRow() { + return (org.jooq.Row10) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row10 valuesRow() { + return (org.jooq.Row10) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.Giveaway.giveaway.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.Giveaway.giveaway.name; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.Giveaway.giveaway.prettyName; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.Giveaway.giveaway.header; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.Giveaway.giveaway.message; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.Giveaway.giveaway.max; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.Giveaway.giveaway.notifyNetwork; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field8() { + return mineplex.database.tables.Giveaway.giveaway.notifyCooldown; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field9() { + return mineplex.database.tables.Giveaway.giveaway.canWinTwice; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field10() { + return mineplex.database.tables.Giveaway.giveaway.enabled; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getName(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getPrettyName(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value4() { + return getHeader(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value5() { + return getMessage(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value6() { + return getMax(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value7() { + return getNotifyNetwork(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value8() { + return getNotifyCooldown(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value9() { + return getCanWinTwice(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value10() { + return getEnabled(); + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayRecord value2(java.lang.String value) { + setName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayRecord value3(java.lang.String value) { + setPrettyName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayRecord value4(java.lang.String value) { + setHeader(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayRecord value5(java.lang.String value) { + setMessage(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayRecord value6(java.lang.Integer value) { + setMax(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayRecord value7(java.lang.Byte value) { + setNotifyNetwork(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayRecord value8(java.lang.Integer value) { + setNotifyCooldown(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayRecord value9(java.lang.Byte value) { + setCanWinTwice(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayRecord value10(java.lang.Byte value) { + setEnabled(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public GiveawayRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.String value4, java.lang.String value5, java.lang.Integer value6, java.lang.Byte value7, java.lang.Integer value8, java.lang.Byte value9, java.lang.Byte value10) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached GiveawayRecord + */ + public GiveawayRecord() { + super(mineplex.database.tables.Giveaway.giveaway); + } + + /** + * Create a detached, initialised GiveawayRecord + */ + public GiveawayRecord(java.lang.Integer id, java.lang.String name, java.lang.String prettyName, java.lang.String header, java.lang.String message, java.lang.Integer max, java.lang.Byte notifyNetwork, java.lang.Integer notifyCooldown, java.lang.Byte canWinTwice, java.lang.Byte enabled) { + super(mineplex.database.tables.Giveaway.giveaway); + + setValue(0, id); + setValue(1, name); + setValue(2, prettyName); + setValue(3, header); + setValue(4, message); + setValue(5, max); + setValue(6, notifyNetwork); + setValue(7, notifyCooldown); + setValue(8, canWinTwice); + setValue(9, enabled); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/IncognitoStaffRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/IncognitoStaffRecord.java new file mode 100644 index 000000000..8c6e0cacd --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/IncognitoStaffRecord.java @@ -0,0 +1,159 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class IncognitoStaffRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2 { + + private static final long serialVersionUID = 1199072007; + + /** + * Setter for Account.incognitoStaff.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.incognitoStaff.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.incognitoStaff.status. + */ + public void setStatus(java.lang.Byte value) { + setValue(1, value); + } + + /** + * Getter for Account.incognitoStaff.status. + */ + public java.lang.Byte getStatus() { + return (java.lang.Byte) getValue(1); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record2 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 fieldsRow() { + return (org.jooq.Row2) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 valuesRow() { + return (org.jooq.Row2) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.IncognitoStaff.incognitoStaff.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.IncognitoStaff.incognitoStaff.status; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value2() { + return getStatus(); + } + + /** + * {@inheritDoc} + */ + @Override + public IncognitoStaffRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public IncognitoStaffRecord value2(java.lang.Byte value) { + setStatus(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public IncognitoStaffRecord values(java.lang.Integer value1, java.lang.Byte value2) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached IncognitoStaffRecord + */ + public IncognitoStaffRecord() { + super(mineplex.database.tables.IncognitoStaff.incognitoStaff); + } + + /** + * Create a detached, initialised IncognitoStaffRecord + */ + public IncognitoStaffRecord(java.lang.Integer accountId, java.lang.Byte status) { + super(mineplex.database.tables.IncognitoStaff.incognitoStaff); + + setValue(0, accountId); + setValue(1, status); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/KitProgressionRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/KitProgressionRecord.java new file mode 100644 index 000000000..a0b6014bb --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/KitProgressionRecord.java @@ -0,0 +1,319 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class KitProgressionRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record6 { + + private static final long serialVersionUID = -404209297; + + /** + * Setter for Account.kitProgression.uuid. + */ + public void setUuid(java.lang.String value) { + setValue(0, value); + } + + /** + * Getter for Account.kitProgression.uuid. + */ + public java.lang.String getUuid() { + return (java.lang.String) getValue(0); + } + + /** + * Setter for Account.kitProgression.kitId. + */ + public void setKitId(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.kitProgression.kitId. + */ + public java.lang.String getKitId() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.kitProgression.level. + */ + public void setLevel(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.kitProgression.level. + */ + public java.lang.Integer getLevel() { + return (java.lang.Integer) getValue(2); + } + + /** + * Setter for Account.kitProgression.xp. + */ + public void setXp(java.lang.Integer value) { + setValue(3, value); + } + + /** + * Getter for Account.kitProgression.xp. + */ + public java.lang.Integer getXp() { + return (java.lang.Integer) getValue(3); + } + + /** + * Setter for Account.kitProgression.upgrade_level. + */ + public void setUpgrade_level(java.lang.Integer value) { + setValue(4, value); + } + + /** + * Getter for Account.kitProgression.upgrade_level. + */ + public java.lang.Integer getUpgrade_level() { + return (java.lang.Integer) getValue(4); + } + + /** + * Setter for Account.kitProgression.default. + */ + public void setDefault(java.lang.Byte value) { + setValue(5, value); + } + + /** + * Getter for Account.kitProgression.default. + */ + public java.lang.Byte getDefault() { + return (java.lang.Byte) getValue(5); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record2 key() { + return (org.jooq.Record2) super.key(); + } + + // ------------------------------------------------------------------------- + // Record6 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row6 fieldsRow() { + return (org.jooq.Row6) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row6 valuesRow() { + return (org.jooq.Row6) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.KitProgression.kitProgression.uuid; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.KitProgression.kitProgression.kitId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.KitProgression.kitProgression.level; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.KitProgression.kitProgression.xp; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.KitProgression.kitProgression.upgrade_level; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.KitProgression.kitProgression.default_; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value1() { + return getUuid(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getKitId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getLevel(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value4() { + return getXp(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value5() { + return getUpgrade_level(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value6() { + return getDefault(); + } + + /** + * {@inheritDoc} + */ + @Override + public KitProgressionRecord value1(java.lang.String value) { + setUuid(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public KitProgressionRecord value2(java.lang.String value) { + setKitId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public KitProgressionRecord value3(java.lang.Integer value) { + setLevel(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public KitProgressionRecord value4(java.lang.Integer value) { + setXp(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public KitProgressionRecord value5(java.lang.Integer value) { + setUpgrade_level(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public KitProgressionRecord value6(java.lang.Byte value) { + setDefault(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public KitProgressionRecord values(java.lang.String value1, java.lang.String value2, java.lang.Integer value3, java.lang.Integer value4, java.lang.Integer value5, java.lang.Byte value6) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached KitProgressionRecord + */ + public KitProgressionRecord() { + super(mineplex.database.tables.KitProgression.kitProgression); + } + + /** + * Create a detached, initialised KitProgressionRecord + */ + public KitProgressionRecord(java.lang.String uuid, java.lang.String kitId, java.lang.Integer level, java.lang.Integer xp, java.lang.Integer upgrade_level, java.lang.Byte default_) { + super(mineplex.database.tables.KitProgression.kitProgression); + + setValue(0, uuid); + setValue(1, kitId); + setValue(2, level); + setValue(3, xp); + setValue(4, upgrade_level); + setValue(5, default_); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/Kit_progressionRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/Kit_progressionRecord.java new file mode 100644 index 000000000..b38e32b8c --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/Kit_progressionRecord.java @@ -0,0 +1,319 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Kit_progressionRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record6 { + + private static final long serialVersionUID = 1893691977; + + /** + * Setter for Account.kit_progression.account_id. + */ + public void setAccount_id(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.kit_progression.account_id. + */ + public java.lang.Integer getAccount_id() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.kit_progression.kit_id. + */ + public void setKit_id(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.kit_progression.kit_id. + */ + public java.lang.String getKit_id() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.kit_progression.level. + */ + public void setLevel(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.kit_progression.level. + */ + public java.lang.Integer getLevel() { + return (java.lang.Integer) getValue(2); + } + + /** + * Setter for Account.kit_progression.xp. + */ + public void setXp(java.lang.Integer value) { + setValue(3, value); + } + + /** + * Getter for Account.kit_progression.xp. + */ + public java.lang.Integer getXp() { + return (java.lang.Integer) getValue(3); + } + + /** + * Setter for Account.kit_progression.upgrade_level. + */ + public void setUpgrade_level(java.lang.Integer value) { + setValue(4, value); + } + + /** + * Getter for Account.kit_progression.upgrade_level. + */ + public java.lang.Integer getUpgrade_level() { + return (java.lang.Integer) getValue(4); + } + + /** + * Setter for Account.kit_progression.default. + */ + public void setDefault(java.lang.Byte value) { + setValue(5, value); + } + + /** + * Getter for Account.kit_progression.default. + */ + public java.lang.Byte getDefault() { + return (java.lang.Byte) getValue(5); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record2 key() { + return (org.jooq.Record2) super.key(); + } + + // ------------------------------------------------------------------------- + // Record6 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row6 fieldsRow() { + return (org.jooq.Row6) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row6 valuesRow() { + return (org.jooq.Row6) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.Kit_progression.kit_progression.account_id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.Kit_progression.kit_progression.kit_id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.Kit_progression.kit_progression.level; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.Kit_progression.kit_progression.xp; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.Kit_progression.kit_progression.upgrade_level; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.Kit_progression.kit_progression.default_; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccount_id(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getKit_id(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getLevel(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value4() { + return getXp(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value5() { + return getUpgrade_level(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Byte value6() { + return getDefault(); + } + + /** + * {@inheritDoc} + */ + @Override + public Kit_progressionRecord value1(java.lang.Integer value) { + setAccount_id(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public Kit_progressionRecord value2(java.lang.String value) { + setKit_id(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public Kit_progressionRecord value3(java.lang.Integer value) { + setLevel(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public Kit_progressionRecord value4(java.lang.Integer value) { + setXp(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public Kit_progressionRecord value5(java.lang.Integer value) { + setUpgrade_level(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public Kit_progressionRecord value6(java.lang.Byte value) { + setDefault(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public Kit_progressionRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.Integer value3, java.lang.Integer value4, java.lang.Integer value5, java.lang.Byte value6) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached Kit_progressionRecord + */ + public Kit_progressionRecord() { + super(mineplex.database.tables.Kit_progression.kit_progression); + } + + /** + * Create a detached, initialised Kit_progressionRecord + */ + public Kit_progressionRecord(java.lang.Integer account_id, java.lang.String kit_id, java.lang.Integer level, java.lang.Integer xp, java.lang.Integer upgrade_level, java.lang.Byte default_) { + super(mineplex.database.tables.Kit_progression.kit_progression); + + setValue(0, account_id); + setValue(1, kit_id); + setValue(2, level); + setValue(3, xp); + setValue(4, upgrade_level); + setValue(5, default_); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/KitpreferencesRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/KitpreferencesRecord.java new file mode 100644 index 000000000..d5e827add --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/KitpreferencesRecord.java @@ -0,0 +1,187 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class KitpreferencesRecord extends org.jooq.impl.TableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = -1282986374; + + /** + * Setter for Account.kitpreferences.accountid. + */ + public void setAccountid(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.kitpreferences.accountid. + */ + public java.lang.Integer getAccountid() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.kitpreferences.gameid. + */ + public void setGameid(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.kitpreferences.gameid. + */ + public java.lang.Integer getGameid() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.kitpreferences.kitid. + */ + public void setKitid(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.kitpreferences.kitid. + */ + public java.lang.Integer getKitid() { + return (java.lang.Integer) getValue(2); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.Kitpreferences.kitpreferences.accountid; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.Kitpreferences.kitpreferences.gameid; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.Kitpreferences.kitpreferences.kitid; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountid(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getGameid(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getKitid(); + } + + /** + * {@inheritDoc} + */ + @Override + public KitpreferencesRecord value1(java.lang.Integer value) { + setAccountid(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public KitpreferencesRecord value2(java.lang.Integer value) { + setGameid(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public KitpreferencesRecord value3(java.lang.Integer value) { + setKitid(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public KitpreferencesRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached KitpreferencesRecord + */ + public KitpreferencesRecord() { + super(mineplex.database.tables.Kitpreferences.kitpreferences); + } + + /** + * Create a detached, initialised KitpreferencesRecord + */ + public KitpreferencesRecord(java.lang.Integer accountid, java.lang.Integer gameid, java.lang.Integer kitid) { + super(mineplex.database.tables.Kitpreferences.kitpreferences); + + setValue(0, accountid); + setValue(1, gameid); + setValue(2, kitid); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/PackagesRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/PackagesRecord.java new file mode 100644 index 000000000..26dd7a700 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/PackagesRecord.java @@ -0,0 +1,159 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class PackagesRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2 { + + private static final long serialVersionUID = 371672131; + + /** + * Setter for Account.packages.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.packages.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.packages.packageName. + */ + public void setPackageName(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.packages.packageName. + */ + public java.lang.String getPackageName() { + return (java.lang.String) getValue(1); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record2 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 fieldsRow() { + return (org.jooq.Row2) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 valuesRow() { + return (org.jooq.Row2) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.Packages.packages.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.Packages.packages.packageName; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getPackageName(); + } + + /** + * {@inheritDoc} + */ + @Override + public PackagesRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public PackagesRecord value2(java.lang.String value) { + setPackageName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public PackagesRecord values(java.lang.Integer value1, java.lang.String value2) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached PackagesRecord + */ + public PackagesRecord() { + super(mineplex.database.tables.Packages.packages); + } + + /** + * Create a detached, initialised PackagesRecord + */ + public PackagesRecord(java.lang.Integer id, java.lang.String packageName) { + super(mineplex.database.tables.Packages.packages); + + setValue(0, id); + setValue(1, packageName); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/RankedBansRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/RankedBansRecord.java new file mode 100644 index 000000000..e462893a3 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/RankedBansRecord.java @@ -0,0 +1,239 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class RankedBansRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4 { + + private static final long serialVersionUID = -1051907372; + + /** + * Setter for Account.rankedBans.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.rankedBans.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.rankedBans.strikes. + */ + public void setStrikes(java.lang.Integer value) { + setValue(1, value); + } + + /** + * Getter for Account.rankedBans.strikes. + */ + public java.lang.Integer getStrikes() { + return (java.lang.Integer) getValue(1); + } + + /** + * Setter for Account.rankedBans.strikesExpire. + */ + public void setStrikesExpire(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.rankedBans.strikesExpire. + */ + public java.lang.String getStrikesExpire() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.rankedBans.banEnd. + */ + public void setBanEnd(java.lang.String value) { + setValue(3, value); + } + + /** + * Getter for Account.rankedBans.banEnd. + */ + public java.lang.String getBanEnd() { + return (java.lang.String) getValue(3); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record4 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 fieldsRow() { + return (org.jooq.Row4) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 valuesRow() { + return (org.jooq.Row4) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.RankedBans.rankedBans.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.RankedBans.rankedBans.strikes; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.RankedBans.rankedBans.strikesExpire; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.RankedBans.rankedBans.banEnd; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value2() { + return getStrikes(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getStrikesExpire(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value4() { + return getBanEnd(); + } + + /** + * {@inheritDoc} + */ + @Override + public RankedBansRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public RankedBansRecord value2(java.lang.Integer value) { + setStrikes(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public RankedBansRecord value3(java.lang.String value) { + setStrikesExpire(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public RankedBansRecord value4(java.lang.String value) { + setBanEnd(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public RankedBansRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.String value3, java.lang.String value4) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached RankedBansRecord + */ + public RankedBansRecord() { + super(mineplex.database.tables.RankedBans.rankedBans); + } + + /** + * Create a detached, initialised RankedBansRecord + */ + public RankedBansRecord(java.lang.Integer accountId, java.lang.Integer strikes, java.lang.String strikesExpire, java.lang.String banEnd) { + super(mineplex.database.tables.RankedBans.rankedBans); + + setValue(0, accountId); + setValue(1, strikes); + setValue(2, strikesExpire); + setValue(3, banEnd); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ReportTicketsRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ReportTicketsRecord.java new file mode 100644 index 000000000..28127af1e --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/ReportTicketsRecord.java @@ -0,0 +1,399 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ReportTicketsRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record8 { + + private static final long serialVersionUID = 1659005000; + + /** + * Setter for Account.reportTickets.reportId. + */ + public void setReportId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.reportTickets.reportId. + */ + public java.lang.Integer getReportId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.reportTickets.date. + */ + public void setDate(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.reportTickets.date. + */ + public java.lang.String getDate() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.reportTickets.eventDate. + */ + public void setEventDate(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.reportTickets.eventDate. + */ + public java.lang.String getEventDate() { + return (java.lang.String) getValue(2); + } + + /** + * Setter for Account.reportTickets.playerId. + */ + public void setPlayerId(java.lang.Integer value) { + setValue(3, value); + } + + /** + * Getter for Account.reportTickets.playerId. + */ + public java.lang.Integer getPlayerId() { + return (java.lang.Integer) getValue(3); + } + + /** + * Setter for Account.reportTickets.server. + */ + public void setServer(java.lang.String value) { + setValue(4, value); + } + + /** + * Getter for Account.reportTickets.server. + */ + public java.lang.String getServer() { + return (java.lang.String) getValue(4); + } + + /** + * Setter for Account.reportTickets.closerId. + */ + public void setCloserId(java.lang.Integer value) { + setValue(5, value); + } + + /** + * Getter for Account.reportTickets.closerId. + */ + public java.lang.Integer getCloserId() { + return (java.lang.Integer) getValue(5); + } + + /** + * Setter for Account.reportTickets.result. + */ + public void setResult(java.lang.String value) { + setValue(6, value); + } + + /** + * Getter for Account.reportTickets.result. + */ + public java.lang.String getResult() { + return (java.lang.String) getValue(6); + } + + /** + * Setter for Account.reportTickets.reason. + */ + public void setReason(java.lang.String value) { + setValue(7, value); + } + + /** + * Getter for Account.reportTickets.reason. + */ + public java.lang.String getReason() { + return (java.lang.String) getValue(7); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record8 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row8 fieldsRow() { + return (org.jooq.Row8) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row8 valuesRow() { + return (org.jooq.Row8) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.ReportTickets.reportTickets.reportId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.ReportTickets.reportTickets.date; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.ReportTickets.reportTickets.eventDate; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.ReportTickets.reportTickets.playerId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.ReportTickets.reportTickets.server; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.ReportTickets.reportTickets.closerId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field7() { + return mineplex.database.tables.ReportTickets.reportTickets.result; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field8() { + return mineplex.database.tables.ReportTickets.reportTickets.reason; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getReportId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getDate(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getEventDate(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value4() { + return getPlayerId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value5() { + return getServer(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value6() { + return getCloserId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value7() { + return getResult(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value8() { + return getReason(); + } + + /** + * {@inheritDoc} + */ + @Override + public ReportTicketsRecord value1(java.lang.Integer value) { + setReportId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ReportTicketsRecord value2(java.lang.String value) { + setDate(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ReportTicketsRecord value3(java.lang.String value) { + setEventDate(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ReportTicketsRecord value4(java.lang.Integer value) { + setPlayerId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ReportTicketsRecord value5(java.lang.String value) { + setServer(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ReportTicketsRecord value6(java.lang.Integer value) { + setCloserId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ReportTicketsRecord value7(java.lang.String value) { + setResult(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ReportTicketsRecord value8(java.lang.String value) { + setReason(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public ReportTicketsRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.Integer value4, java.lang.String value5, java.lang.Integer value6, java.lang.String value7, java.lang.String value8) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ReportTicketsRecord + */ + public ReportTicketsRecord() { + super(mineplex.database.tables.ReportTickets.reportTickets); + } + + /** + * Create a detached, initialised ReportTicketsRecord + */ + public ReportTicketsRecord(java.lang.Integer reportId, java.lang.String date, java.lang.String eventDate, java.lang.Integer playerId, java.lang.String server, java.lang.Integer closerId, java.lang.String result, java.lang.String reason) { + super(mineplex.database.tables.ReportTickets.reportTickets); + + setValue(0, reportId); + setValue(1, date); + setValue(2, eventDate); + setValue(3, playerId); + setValue(4, server); + setValue(5, closerId); + setValue(6, result); + setValue(7, reason); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedMountsRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedMountsRecord.java new file mode 100644 index 000000000..6ef9502bb --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedMountsRecord.java @@ -0,0 +1,147 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SelectedMountsRecord extends org.jooq.impl.TableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2 { + + private static final long serialVersionUID = -1082236189; + + /** + * Setter for Account.selectedMounts.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.selectedMounts.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.selectedMounts.selected. + */ + public void setSelected(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.selectedMounts.selected. + */ + public java.lang.String getSelected() { + return (java.lang.String) getValue(1); + } + + // ------------------------------------------------------------------------- + // Record2 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 fieldsRow() { + return (org.jooq.Row2) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 valuesRow() { + return (org.jooq.Row2) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.SelectedMounts.selectedMounts.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.SelectedMounts.selectedMounts.selected; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getSelected(); + } + + /** + * {@inheritDoc} + */ + @Override + public SelectedMountsRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public SelectedMountsRecord value2(java.lang.String value) { + setSelected(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public SelectedMountsRecord values(java.lang.Integer value1, java.lang.String value2) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached SelectedMountsRecord + */ + public SelectedMountsRecord() { + super(mineplex.database.tables.SelectedMounts.selectedMounts); + } + + /** + * Create a detached, initialised SelectedMountsRecord + */ + public SelectedMountsRecord(java.lang.Integer accountId, java.lang.String selected) { + super(mineplex.database.tables.SelectedMounts.selectedMounts); + + setValue(0, accountId); + setValue(1, selected); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedPetsRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedPetsRecord.java new file mode 100644 index 000000000..1bac6b74c --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedPetsRecord.java @@ -0,0 +1,147 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SelectedPetsRecord extends org.jooq.impl.TableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2 { + + private static final long serialVersionUID = 1295478529; + + /** + * Setter for Account.selectedPets.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.selectedPets.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.selectedPets.selected. + */ + public void setSelected(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.selectedPets.selected. + */ + public java.lang.String getSelected() { + return (java.lang.String) getValue(1); + } + + // ------------------------------------------------------------------------- + // Record2 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 fieldsRow() { + return (org.jooq.Row2) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 valuesRow() { + return (org.jooq.Row2) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.SelectedPets.selectedPets.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.SelectedPets.selectedPets.selected; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getSelected(); + } + + /** + * {@inheritDoc} + */ + @Override + public SelectedPetsRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public SelectedPetsRecord value2(java.lang.String value) { + setSelected(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public SelectedPetsRecord values(java.lang.Integer value1, java.lang.String value2) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached SelectedPetsRecord + */ + public SelectedPetsRecord() { + super(mineplex.database.tables.SelectedPets.selectedPets); + } + + /** + * Create a detached, initialised SelectedPetsRecord + */ + public SelectedPetsRecord(java.lang.Integer accountId, java.lang.String selected) { + super(mineplex.database.tables.SelectedPets.selectedPets); + + setValue(0, accountId); + setValue(1, selected); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedgadgetsRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedgadgetsRecord.java new file mode 100644 index 000000000..de4a6ea1a --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedgadgetsRecord.java @@ -0,0 +1,147 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SelectedgadgetsRecord extends org.jooq.impl.TableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2 { + + private static final long serialVersionUID = -1168151202; + + /** + * Setter for Account.selectedgadgets.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.selectedgadgets.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.selectedgadgets.selected. + */ + public void setSelected(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.selectedgadgets.selected. + */ + public java.lang.String getSelected() { + return (java.lang.String) getValue(1); + } + + // ------------------------------------------------------------------------- + // Record2 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 fieldsRow() { + return (org.jooq.Row2) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 valuesRow() { + return (org.jooq.Row2) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.Selectedgadgets.selectedgadgets.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.Selectedgadgets.selectedgadgets.selected; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getSelected(); + } + + /** + * {@inheritDoc} + */ + @Override + public SelectedgadgetsRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public SelectedgadgetsRecord value2(java.lang.String value) { + setSelected(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public SelectedgadgetsRecord values(java.lang.Integer value1, java.lang.String value2) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached SelectedgadgetsRecord + */ + public SelectedgadgetsRecord() { + super(mineplex.database.tables.Selectedgadgets.selectedgadgets); + } + + /** + * Create a detached, initialised SelectedgadgetsRecord + */ + public SelectedgadgetsRecord(java.lang.Integer accountId, java.lang.String selected) { + super(mineplex.database.tables.Selectedgadgets.selectedgadgets); + + setValue(0, accountId); + setValue(1, selected); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedmodifiersRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedmodifiersRecord.java new file mode 100644 index 000000000..87e7d89ef --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/SelectedmodifiersRecord.java @@ -0,0 +1,147 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class SelectedmodifiersRecord extends org.jooq.impl.TableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2 { + + private static final long serialVersionUID = -1591353367; + + /** + * Setter for Account.selectedmodifiers.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.selectedmodifiers.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.selectedmodifiers.selected. + */ + public void setSelected(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.selectedmodifiers.selected. + */ + public java.lang.String getSelected() { + return (java.lang.String) getValue(1); + } + + // ------------------------------------------------------------------------- + // Record2 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 fieldsRow() { + return (org.jooq.Row2) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row2 valuesRow() { + return (org.jooq.Row2) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.Selectedmodifiers.selectedmodifiers.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.Selectedmodifiers.selectedmodifiers.selected; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getSelected(); + } + + /** + * {@inheritDoc} + */ + @Override + public SelectedmodifiersRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public SelectedmodifiersRecord value2(java.lang.String value) { + setSelected(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public SelectedmodifiersRecord values(java.lang.Integer value1, java.lang.String value2) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached SelectedmodifiersRecord + */ + public SelectedmodifiersRecord() { + super(mineplex.database.tables.Selectedmodifiers.selectedmodifiers); + } + + /** + * Create a detached, initialised SelectedmodifiersRecord + */ + public SelectedmodifiersRecord(java.lang.Integer accountId, java.lang.String selected) { + super(mineplex.database.tables.Selectedmodifiers.selectedmodifiers); + + setValue(0, accountId); + setValue(1, selected); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/StaffMotdRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/StaffMotdRecord.java new file mode 100644 index 000000000..73f424374 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/StaffMotdRecord.java @@ -0,0 +1,279 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class StaffMotdRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record5 { + + private static final long serialVersionUID = 1145273794; + + /** + * Setter for Account.staffMotd.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.staffMotd.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.staffMotd.date. + */ + public void setDate(java.sql.Timestamp value) { + setValue(1, value); + } + + /** + * Getter for Account.staffMotd.date. + */ + public java.sql.Timestamp getDate() { + return (java.sql.Timestamp) getValue(1); + } + + /** + * Setter for Account.staffMotd.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(2, value); + } + + /** + * Getter for Account.staffMotd.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(2); + } + + /** + * Setter for Account.staffMotd.title. + */ + public void setTitle(java.lang.String value) { + setValue(3, value); + } + + /** + * Getter for Account.staffMotd.title. + */ + public java.lang.String getTitle() { + return (java.lang.String) getValue(3); + } + + /** + * Setter for Account.staffMotd.text. + */ + public void setText(java.lang.String value) { + setValue(4, value); + } + + /** + * Getter for Account.staffMotd.text. + */ + public java.lang.String getText() { + return (java.lang.String) getValue(4); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record5 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row5 fieldsRow() { + return (org.jooq.Row5) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row5 valuesRow() { + return (org.jooq.Row5) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.StaffMotd.staffMotd.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.StaffMotd.staffMotd.date; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.StaffMotd.staffMotd.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.StaffMotd.staffMotd.title; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.StaffMotd.staffMotd.text; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value2() { + return getDate(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value3() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value4() { + return getTitle(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value5() { + return getText(); + } + + /** + * {@inheritDoc} + */ + @Override + public StaffMotdRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public StaffMotdRecord value2(java.sql.Timestamp value) { + setDate(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public StaffMotdRecord value3(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public StaffMotdRecord value4(java.lang.String value) { + setTitle(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public StaffMotdRecord value5(java.lang.String value) { + setText(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public StaffMotdRecord values(java.lang.Integer value1, java.sql.Timestamp value2, java.lang.Integer value3, java.lang.String value4, java.lang.String value5) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached StaffMotdRecord + */ + public StaffMotdRecord() { + super(mineplex.database.tables.StaffMotd.staffMotd); + } + + /** + * Create a detached, initialised StaffMotdRecord + */ + public StaffMotdRecord(java.lang.Integer id, java.sql.Timestamp date, java.lang.Integer accountId, java.lang.String title, java.lang.String text) { + super(mineplex.database.tables.StaffMotd.staffMotd); + + setValue(0, id); + setValue(1, date); + setValue(2, accountId); + setValue(3, title); + setValue(4, text); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/StreamersRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/StreamersRecord.java new file mode 100644 index 000000000..577ed6f02 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/StreamersRecord.java @@ -0,0 +1,199 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class StreamersRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3 { + + private static final long serialVersionUID = 1464039885; + + /** + * Setter for Account.streamers.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.streamers.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.streamers.uuids. + */ + public void setUuids(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.streamers.uuids. + */ + public java.lang.String getUuids() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.streamers.password. + */ + public void setPassword(java.lang.String value) { + setValue(2, value); + } + + /** + * Getter for Account.streamers.password. + */ + public java.lang.String getPassword() { + return (java.lang.String) getValue(2); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record3 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 fieldsRow() { + return (org.jooq.Row3) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row3 valuesRow() { + return (org.jooq.Row3) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.Streamers.streamers.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.Streamers.streamers.uuids; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.Streamers.streamers.password; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getUuids(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value3() { + return getPassword(); + } + + /** + * {@inheritDoc} + */ + @Override + public StreamersRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public StreamersRecord value2(java.lang.String value) { + setUuids(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public StreamersRecord value3(java.lang.String value) { + setPassword(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public StreamersRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached StreamersRecord + */ + public StreamersRecord() { + super(mineplex.database.tables.Streamers.streamers); + } + + /** + * Create a detached, initialised StreamersRecord + */ + public StreamersRecord(java.lang.Integer id, java.lang.String uuids, java.lang.String password) { + super(mineplex.database.tables.Streamers.streamers); + + setValue(0, id); + setValue(1, uuids); + setValue(2, password); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/TitanGiveawayRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/TitanGiveawayRecord.java new file mode 100644 index 000000000..d8f029335 --- /dev/null +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/TitanGiveawayRecord.java @@ -0,0 +1,239 @@ +/** + * This class is generated by jOOQ + */ +package mineplex.database.tables.records; + +/** + * This class is generated by jOOQ. + */ +@javax.annotation.Generated( + value = { + "http://www.jooq.org", + "jOOQ version:3.5.2" + }, + comments = "This class is generated by jOOQ" +) +@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class TitanGiveawayRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4 { + + private static final long serialVersionUID = 619415176; + + /** + * Setter for Account.titanGiveaway.accountId. + */ + public void setAccountId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.titanGiveaway.accountId. + */ + public java.lang.Integer getAccountId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.titanGiveaway.region. + */ + public void setRegion(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.titanGiveaway.region. + */ + public java.lang.String getRegion() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.titanGiveaway.time. + */ + public void setTime(java.sql.Timestamp value) { + setValue(2, value); + } + + /** + * Getter for Account.titanGiveaway.time. + */ + public java.sql.Timestamp getTime() { + return (java.sql.Timestamp) getValue(2); + } + + /** + * Setter for Account.titanGiveaway.serverName. + */ + public void setServerName(java.lang.String value) { + setValue(3, value); + } + + /** + * Getter for Account.titanGiveaway.serverName. + */ + public java.lang.String getServerName() { + return (java.lang.String) getValue(3); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record4 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 fieldsRow() { + return (org.jooq.Row4) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row4 valuesRow() { + return (org.jooq.Row4) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.TitanGiveaway.titanGiveaway.accountId; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.TitanGiveaway.titanGiveaway.region; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.TitanGiveaway.titanGiveaway.time; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.TitanGiveaway.titanGiveaway.serverName; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getAccountId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getRegion(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value3() { + return getTime(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value4() { + return getServerName(); + } + + /** + * {@inheritDoc} + */ + @Override + public TitanGiveawayRecord value1(java.lang.Integer value) { + setAccountId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public TitanGiveawayRecord value2(java.lang.String value) { + setRegion(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public TitanGiveawayRecord value3(java.sql.Timestamp value) { + setTime(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public TitanGiveawayRecord value4(java.lang.String value) { + setServerName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public TitanGiveawayRecord values(java.lang.Integer value1, java.lang.String value2, java.sql.Timestamp value3, java.lang.String value4) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached TitanGiveawayRecord + */ + public TitanGiveawayRecord() { + super(mineplex.database.tables.TitanGiveaway.titanGiveaway); + } + + /** + * Create a detached, initialised TitanGiveawayRecord + */ + public TitanGiveawayRecord(java.lang.Integer accountId, java.lang.String region, java.sql.Timestamp time, java.lang.String serverName) { + super(mineplex.database.tables.TitanGiveaway.titanGiveaway); + + setValue(0, accountId); + setValue(1, region); + setValue(2, time); + setValue(3, serverName); + } +} diff --git a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountStatsRecord.java b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/TournamentTeamsRecord.java similarity index 53% rename from Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountStatsRecord.java rename to Plugins/Mineplex.Database/src/mineplex/database/tables/records/TournamentTeamsRecord.java index ece2562cc..d013647e8 100644 --- a/Plugins/Mineplex.Database/src/mineplex/database/tables/records/AccountStatsRecord.java +++ b/Plugins/Mineplex.Database/src/mineplex/database/tables/records/TournamentTeamsRecord.java @@ -14,64 +14,64 @@ package mineplex.database.tables.records; comments = "This class is generated by jOOQ" ) @java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" }) -public class AccountStatsRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4 { +public class TournamentTeamsRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4 { - private static final long serialVersionUID = 292826533; + private static final long serialVersionUID = -1171754049; /** - * Setter for Account.accountStats.id. + * Setter for Account.tournamentTeams.id. */ public void setId(java.lang.Integer value) { setValue(0, value); } /** - * Getter for Account.accountStats.id. + * Getter for Account.tournamentTeams.id. */ public java.lang.Integer getId() { return (java.lang.Integer) getValue(0); } /** - * Setter for Account.accountStats.accountId. + * Setter for Account.tournamentTeams.tournamentId. */ - public void setAccountId(java.lang.Integer value) { + public void setTournamentId(java.lang.Integer value) { setValue(1, value); } /** - * Getter for Account.accountStats.accountId. + * Getter for Account.tournamentTeams.tournamentId. */ - public java.lang.Integer getAccountId() { + public java.lang.Integer getTournamentId() { return (java.lang.Integer) getValue(1); } /** - * Setter for Account.accountStats.statId. + * Setter for Account.tournamentTeams.accountId. */ - public void setStatId(java.lang.Integer value) { + public void setAccountId(java.lang.Integer value) { setValue(2, value); } /** - * Getter for Account.accountStats.statId. + * Getter for Account.tournamentTeams.accountId. */ - public java.lang.Integer getStatId() { + public java.lang.Integer getAccountId() { return (java.lang.Integer) getValue(2); } /** - * Setter for Account.accountStats.value. + * Setter for Account.tournamentTeams.status. */ - public void setValue(java.lang.Integer value) { + public void setStatus(java.lang.String value) { setValue(3, value); } /** - * Getter for Account.accountStats.value. + * Getter for Account.tournamentTeams.status. */ - public java.lang.Integer getValue() { - return (java.lang.Integer) getValue(3); + public java.lang.String getStatus() { + return (java.lang.String) getValue(3); } // ------------------------------------------------------------------------- @@ -94,7 +94,7 @@ public class AccountStatsRecord extends org.jooq.impl.UpdatableRecordImpl fieldsRow() { + public org.jooq.Row4 fieldsRow() { return (org.jooq.Row4) super.fieldsRow(); } @@ -102,7 +102,7 @@ public class AccountStatsRecord extends org.jooq.impl.UpdatableRecordImpl valuesRow() { + public org.jooq.Row4 valuesRow() { return (org.jooq.Row4) super.valuesRow(); } @@ -111,7 +111,7 @@ public class AccountStatsRecord extends org.jooq.impl.UpdatableRecordImpl field1() { - return mineplex.database.tables.AccountStats.accountStats.id; + return mineplex.database.tables.TournamentTeams.tournamentTeams.id; } /** @@ -119,7 +119,7 @@ public class AccountStatsRecord extends org.jooq.impl.UpdatableRecordImpl field2() { - return mineplex.database.tables.AccountStats.accountStats.accountId; + return mineplex.database.tables.TournamentTeams.tournamentTeams.tournamentId; } /** @@ -127,15 +127,15 @@ public class AccountStatsRecord extends org.jooq.impl.UpdatableRecordImpl field3() { - return mineplex.database.tables.AccountStats.accountStats.statId; + return mineplex.database.tables.TournamentTeams.tournamentTeams.accountId; } /** * {@inheritDoc} */ @Override - public org.jooq.Field field4() { - return mineplex.database.tables.AccountStats.accountStats.value; + public org.jooq.Field field4() { + return mineplex.database.tables.TournamentTeams.tournamentTeams.status; } /** @@ -151,7 +151,7 @@ public class AccountStatsRecord extends org.jooq.impl.UpdatableRecordImpl implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record6 { + + private static final long serialVersionUID = -86512129; + + /** + * Setter for Account.tournaments.id. + */ + public void setId(java.lang.Integer value) { + setValue(0, value); + } + + /** + * Getter for Account.tournaments.id. + */ + public java.lang.Integer getId() { + return (java.lang.Integer) getValue(0); + } + + /** + * Setter for Account.tournaments.name. + */ + public void setName(java.lang.String value) { + setValue(1, value); + } + + /** + * Getter for Account.tournaments.name. + */ + public java.lang.String getName() { + return (java.lang.String) getValue(1); + } + + /** + * Setter for Account.tournaments.startDate. + */ + public void setStartDate(java.sql.Timestamp value) { + setValue(2, value); + } + + /** + * Getter for Account.tournaments.startDate. + */ + public java.sql.Timestamp getStartDate() { + return (java.sql.Timestamp) getValue(2); + } + + /** + * Setter for Account.tournaments.gameType. + */ + public void setGameType(java.lang.String value) { + setValue(3, value); + } + + /** + * Getter for Account.tournaments.gameType. + */ + public java.lang.String getGameType() { + return (java.lang.String) getValue(3); + } + + /** + * Setter for Account.tournaments.gemCost. + */ + public void setGemCost(java.lang.Integer value) { + setValue(4, value); + } + + /** + * Getter for Account.tournaments.gemCost. + */ + public java.lang.Integer getGemCost() { + return (java.lang.Integer) getValue(4); + } + + /** + * Setter for Account.tournaments.winner. + */ + public void setWinner(java.lang.String value) { + setValue(5, value); + } + + /** + * Getter for Account.tournaments.winner. + */ + public java.lang.String getWinner() { + return (java.lang.String) getValue(5); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Record1 key() { + return (org.jooq.Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record6 type implementation + // ------------------------------------------------------------------------- + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row6 fieldsRow() { + return (org.jooq.Row6) super.fieldsRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Row6 valuesRow() { + return (org.jooq.Row6) super.valuesRow(); + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field1() { + return mineplex.database.tables.Tournaments.tournaments.id; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field2() { + return mineplex.database.tables.Tournaments.tournaments.name; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field3() { + return mineplex.database.tables.Tournaments.tournaments.startDate; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field4() { + return mineplex.database.tables.Tournaments.tournaments.gameType; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field5() { + return mineplex.database.tables.Tournaments.tournaments.gemCost; + } + + /** + * {@inheritDoc} + */ + @Override + public org.jooq.Field field6() { + return mineplex.database.tables.Tournaments.tournaments.winner; + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value1() { + return getId(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value2() { + return getName(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.sql.Timestamp value3() { + return getStartDate(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value4() { + return getGameType(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.Integer value5() { + return getGemCost(); + } + + /** + * {@inheritDoc} + */ + @Override + public java.lang.String value6() { + return getWinner(); + } + + /** + * {@inheritDoc} + */ + @Override + public TournamentsRecord value1(java.lang.Integer value) { + setId(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public TournamentsRecord value2(java.lang.String value) { + setName(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public TournamentsRecord value3(java.sql.Timestamp value) { + setStartDate(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public TournamentsRecord value4(java.lang.String value) { + setGameType(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public TournamentsRecord value5(java.lang.Integer value) { + setGemCost(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public TournamentsRecord value6(java.lang.String value) { + setWinner(value); + return this; + } + + /** + * {@inheritDoc} + */ + @Override + public TournamentsRecord values(java.lang.Integer value1, java.lang.String value2, java.sql.Timestamp value3, java.lang.String value4, java.lang.Integer value5, java.lang.String value6) { + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached TournamentsRecord + */ + public TournamentsRecord() { + super(mineplex.database.tables.Tournaments.tournaments); + } + + /** + * Create a detached, initialised TournamentsRecord + */ + public TournamentsRecord(java.lang.Integer id, java.lang.String name, java.sql.Timestamp startDate, java.lang.String gameType, java.lang.Integer gemCost, java.lang.String winner) { + super(mineplex.database.tables.Tournaments.tournaments); + + setValue(0, id); + setValue(1, name); + setValue(2, startDate); + setValue(3, gameType); + setValue(4, gemCost); + setValue(5, winner); + } +} diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/Arcade.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/Arcade.java index 2baa32897..a9ccb148f 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/Arcade.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/Arcade.java @@ -215,6 +215,7 @@ public class Arcade extends JavaPlugin try { + config.ServerGroup = _serverConfiguration.getServerGroup().getName(); config.HostName = _serverConfiguration.getServerGroup().getHost(); config.ServerType = _serverConfiguration.getServerGroup().getServerType(); config.MinPlayers = _serverConfiguration.getServerGroup().getMinPlayers(); diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/ArcadeManager.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/ArcadeManager.java index f3bd4a08d..f77e37f0e 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/ArcadeManager.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/ArcadeManager.java @@ -4,6 +4,7 @@ import java.io.File; import java.util.ArrayList; import java.util.HashSet; +import mineplex.core.boosters.BoosterManager; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.GameMode; @@ -193,6 +194,7 @@ public class ArcadeManager extends MiniPlugin implements IRelation private Punish _punishmentManager; private BrandingManager _brandingManager; private BonusManager _bonusManager; + private BoosterManager _boosterManager; private IncognitoManager _incognitoManager; @@ -287,6 +289,7 @@ public class ArcadeManager extends MiniPlugin implements IRelation _petManager = petManager; _eventManager = new EventModule(this, getPlugin()); _resourcePackManager = new ResourcePackManager(plugin, portal); + _boosterManager = new BoosterManager(plugin, clientManager, donationManager); _customDataManager = customDataManager; @@ -1277,6 +1280,11 @@ public class ArcadeManager extends MiniPlugin implements IRelation return _serverConfig.HostName; } + public BoosterManager getBoosterManager() + { + return _boosterManager; + } + @EventHandler public void ObserverQuit(GameStateChangeEvent event) { diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/booster/BoosterPodium.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/booster/BoosterPodium.java new file mode 100644 index 000000000..d168c4a9f --- /dev/null +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/booster/BoosterPodium.java @@ -0,0 +1,163 @@ +package nautilus.game.arcade.booster; + +import com.mojang.authlib.GameProfile; +import mineplex.core.MiniPlugin; +import mineplex.core.boosters.Booster; +import mineplex.core.boosters.BoosterManager; +import mineplex.core.boosters.event.BoosterEnableEvent; +import mineplex.core.common.util.C; +import mineplex.core.common.util.Callback; +import mineplex.core.common.util.ProfileLoader; +import mineplex.core.common.util.UtilSkull; +import mineplex.core.disguise.DisguiseManager; +import mineplex.core.disguise.disguises.DisguisePlayer; +import mineplex.core.hologram.HologramManager; +import mineplex.core.updater.UpdateType; +import mineplex.core.updater.event.UpdateEvent; +import org.bukkit.Bukkit; +import org.bukkit.Location; +import org.bukkit.Material; +import org.bukkit.block.Block; +import org.bukkit.entity.ArmorStand; +import org.bukkit.entity.EntityType; +import org.bukkit.event.EventHandler; +import org.bukkit.event.EventPriority; +import org.bukkit.event.entity.EntityInteractEvent; +import org.bukkit.event.entity.EntitySpawnEvent; +import org.bukkit.event.player.PlayerInteractAtEntityEvent; +import org.bukkit.event.player.PlayerInteractEntityEvent; +import org.bukkit.inventory.ItemStack; +import org.bukkit.plugin.java.JavaPlugin; + +import java.util.List; +import java.util.Map; + +/** + * @author Shaun Bennett + */ +public class BoosterPodium extends MiniPlugin +{ + + private String _serverGroup; + private BoosterManager _boosterManager; + private DisguiseManager _disguiseManager; + private HologramManager _hologramManager; + private Location _podiumLocation; + + private Booster _activeBooster; + private ArmorStand _activeArmorStand; + + public BoosterPodium(JavaPlugin plugin, String serverGroup, BoosterManager boosterManager, DisguiseManager disguiseManager, HologramManager hologramManager, Location podiumLocation) + { + super("Booster Podium - " + podiumLocation.toString(), plugin); + + _serverGroup = serverGroup; + _boosterManager = boosterManager; + _disguiseManager = disguiseManager; + _hologramManager = hologramManager; + _podiumLocation = podiumLocation; + + addPodium(); + } + + public void addPodium() + { + for(int x = 0; x < 2; x++) + { + for (int z = 0; z < 2; z++) + { + Location location = _podiumLocation.clone().add(x - 0.5, 0, z - 0.5); + location.getBlock().setType(Material.STEP); + } + } + } + + public void updateNpcs() + { + Booster activeBooster = _boosterManager.getActiveBooster(_serverGroup); + if (activeBooster != null) + { + if (_activeArmorStand != null) + { + _activeArmorStand.remove(); + } + + Location armorStandLocation = _podiumLocation; + ArmorStand armorStand = _podiumLocation.getWorld().spawn(armorStandLocation, ArmorStand.class); + armorStand.setVisible(true); + armorStand.setCustomNameVisible(true); + armorStand.setCustomName(getNameString(activeBooster)); + armorStand.setGravity(true); + armorStand.setArms(true); + armorStand.setBasePlate(true); + armorStand.setRemoveWhenFarAway(false); + + + armorStand.setHelmet(UtilSkull.getPlayerHead(activeBooster.getPlayerName(), activeBooster.getPlayerName(), null)); + armorStand.setChestplate(new ItemStack(Material.GOLD_CHESTPLATE)); + armorStand.setLeggings(new ItemStack(Material.GOLD_LEGGINGS)); + armorStand.setBoots(new ItemStack(Material.GOLD_BOOTS)); + armorStand.setItemInHand(new ItemStack(Material.EMERALD)); + + runAsync(() -> { + ProfileLoader loader = new ProfileLoader(activeBooster.getUuid().toString(), activeBooster.getPlayerName()); + GameProfile profile = new GameProfile(activeBooster.getUuid(), ""); + if (ProfileLoader.addProperties(profile)) + { + runSync(() -> { + DisguisePlayer disguise = new DisguisePlayer(_activeArmorStand, profile); + _disguiseManager.disguise(disguise); + }); + } + }); + + _activeBooster = activeBooster; + _activeArmorStand = armorStand; + } + } + + public void updateNpcName() + { + if (_activeBooster != null && _activeArmorStand != null) + { + _activeArmorStand.setCustomName(getNameString(_activeBooster)); + } + } + + private String getNameString(Booster booster) + { + return C.cGreen + "Boosted by " + C.cWhite + booster.getPlayerName() + C.cGreen + " - " + C.cWhite + booster.getTimeRemainingString(); + } + + @EventHandler + public void update(UpdateEvent event) + { + if (event.getType() == UpdateType.SEC) + { + if (_activeArmorStand != null && !_activeArmorStand.isValid()) + { + updateNpcs(); + } + else + { + updateNpcName(); + } + } + } + + @EventHandler + public void onBoosterEnable(BoosterEnableEvent event) + { + updateNpcs(); + } + + @EventHandler + public void onInteract(PlayerInteractAtEntityEvent event) + { + if (event.getRightClicked().equals(_activeArmorStand)) + { + event.setCancelled(true); + Bukkit.broadcastMessage("Interact"); + } + } +} diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/GameServerConfig.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/GameServerConfig.java index 0e1e2ac03..9fd2659ad 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/GameServerConfig.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/GameServerConfig.java @@ -6,6 +6,7 @@ import nautilus.game.arcade.GameType; public class GameServerConfig { + public String ServerGroup = null; public String ServerType = null; public int MinPlayers = -1; public int MaxPlayers = -1; diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameLobbyManager.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameLobbyManager.java index 9afcca280..53177811e 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameLobbyManager.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameLobbyManager.java @@ -32,6 +32,7 @@ import mineplex.core.updater.event.UpdateEvent; import mineplex.minecraft.game.core.damage.CustomDamageEvent; import nautilus.game.arcade.ArcadeManager; import nautilus.game.arcade.GameType; +import nautilus.game.arcade.booster.BoosterPodium; import nautilus.game.arcade.events.GameStateChangeEvent; import nautilus.game.arcade.game.Game; import nautilus.game.arcade.game.Game.GameState; @@ -85,6 +86,8 @@ public class GameLobbyManager implements Listener private Location spawn; + private Location _boosterLocation; + private NautHashMap _kits = new NautHashMap(); private NautHashMap _kitBlocks = new NautHashMap(); @@ -123,6 +126,9 @@ public class GameLobbyManager implements Listener spawn = new Location(world, 0, 104, 0); + new BoosterPodium(manager.getPlugin(), manager.GetServerConfig().ServerGroup, manager.getBoosterManager(), + manager.GetDisguise(), manager.getHologramManager(), new Location(world, 0, 101.5, -12)); + _gameText = new Location(world, 0, 130, 50); _kitText = new Location(world, -40, 120, 0); _teamText = new Location(world, 40, 120, 0);