Merge branch 'master' into foo
This commit is contained in:
commit
333c54cff9
@ -7,7 +7,7 @@
|
||||
</list>
|
||||
</component>
|
||||
<component name="IdProvider" IDEtalkID="7E81636CD93857493DFE224533ECF492" />
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" assert-keyword="true" jdk-15="true" project-jdk-name="1.7" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
@ -35,7 +35,7 @@ public class MotdManager implements Listener, Runnable
|
||||
Region.ALL, GlobalMotd.class, "globalMotd");
|
||||
run();
|
||||
}
|
||||
|
||||
|
||||
@EventHandler
|
||||
public void serverPing(ProxyPingEvent event)
|
||||
{
|
||||
@ -54,15 +54,13 @@ public class MotdManager implements Listener, Runnable
|
||||
public void run()
|
||||
{
|
||||
// Add in default MOTD listing to database
|
||||
if (!_repository.elementExists("MainMotd"))
|
||||
{
|
||||
|
||||
List<String> lines = new ArrayList<String>();
|
||||
lines.add(" §a§l75% OFF SALE §f§l- §c§lTHIS WEEKEND ONLY");
|
||||
lines.add(" §b§l◄§f§lNEW§b§l► §f§l◄§b§lSKYWARS§f§l► §b§l◄§f§lNEW§b§l►");
|
||||
//lines.add(" §d§lRank Sale §a§l40% Off");
|
||||
|
||||
updateMainMotd(" §b§l§m §8§l§m[ §r §9§lMineplex§r §f§lGames§r §8§l§m ]§b§l§m §r", lines);
|
||||
}
|
||||
|
||||
|
||||
GlobalMotd motd = _repository.getElement("MainMotd");
|
||||
|
||||
if (motd != null)
|
||||
|
@ -5,7 +5,7 @@ import com.neustar.ultra.api.webservice.v01.UltraWSException;
|
||||
/*
|
||||
* User: jbodner
|
||||
* Date: 1/28/13
|
||||
* Time: 1:11 PM
|
||||
* Time: 1:11 PM4
|
||||
*
|
||||
* Copyright 2000-2013 NeuStar, Inc. All rights reserved.
|
||||
* NeuStar, the Neustar logo and related names and logos are registered
|
||||
|
@ -83,6 +83,51 @@ public enum Achievement
|
||||
new String[]{"Have 5 Necromanced Skeletons alive"},
|
||||
new int[]{1},
|
||||
AchievementCategory.SURVIVAL_GAMES),
|
||||
|
||||
//Skywars
|
||||
SKYWARS_WINS("Sky King",2000,
|
||||
new String[]{"Skywars.Wins"},
|
||||
new String[]{"Win 50 Games of Skywars"},
|
||||
new int[]{50},
|
||||
AchievementCategory.SKYWARS),
|
||||
|
||||
SKYWARS_BOMBER("Master Bomber",500,
|
||||
new String[]{"Skywars.DeathBomber"},
|
||||
new String[]{"Get 3 kills with \"Super Throwing TNT\"", " in a single game."},
|
||||
new int[]{1},
|
||||
AchievementCategory.SKYWARS),
|
||||
|
||||
SKYWARS_TNT("TNT Hoarder",250,
|
||||
new String[]{"Skywars.BombPickups"},
|
||||
new String[]{"Pickup 100 \"Super Throwing TNT\"s"},
|
||||
new int[]{100},
|
||||
AchievementCategory.SKYWARS),
|
||||
|
||||
SKYWARS_ZOMBIE_KILLS("Left For Dead",750,
|
||||
new String[]{"Skywars.ZombieKills"},
|
||||
new String[]{"Kill 120 Zombies"},
|
||||
new int[]{120},
|
||||
AchievementCategory.SKYWARS),
|
||||
|
||||
SKYWARS_PLAYER_KILLS("Cold Blooded Killer",500,
|
||||
new String[]{"Skywars.Kills"},
|
||||
new String[]{"Kill 250 Players"},
|
||||
new int[]{250},
|
||||
AchievementCategory.SKYWARS),
|
||||
|
||||
SKYWARS_NOCHEST("Survivalist",1000,
|
||||
new String[]{"Skywars.NoChest"},
|
||||
new String[]{"Win a Game Without Opening a Chest"},
|
||||
new int[]{1},
|
||||
AchievementCategory.SKYWARS),
|
||||
|
||||
SKYWARS_NOARMOR("Bare Minimum",1000,
|
||||
new String[]{"Skywars.NoArmor"},
|
||||
new String[]{"Win a Game With No Armor"},
|
||||
new int[]{1},
|
||||
AchievementCategory.SKYWARS),
|
||||
|
||||
|
||||
|
||||
//UHC
|
||||
UHC_WINS("Ultimate Winner", 600,
|
||||
@ -302,7 +347,7 @@ public enum Achievement
|
||||
new String[]{"Be the last alive on your team", "and kill 3 enemy players"},
|
||||
new int[]{1},
|
||||
AchievementCategory.SUPER_PAINTBALL),
|
||||
|
||||
|
||||
//Sheep Quest
|
||||
SHEEP_QUEST_WINS("Hungry Hungry Hippo", 600,
|
||||
new String[]{"Sheep Quest.Wins"},
|
||||
|
@ -18,7 +18,6 @@ public enum AchievementCategory
|
||||
new StatDisplay[] { StatDisplay.GEMS_EARNED, null, new StatDisplay("Games Played", "GamesPlayed"), StatDisplay.TIME_IN_GAME },
|
||||
Material.EMERALD, 0, GameCategory.GLOBAL, null),
|
||||
|
||||
//Survival
|
||||
BRIDGES("The Bridges", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.IRON_PICKAXE, 0, GameCategory.SURVIVAL, "Destructor Kit"),
|
||||
@ -27,46 +26,46 @@ public enum AchievementCategory
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.DIAMOND_SWORD, 0, GameCategory.SURVIVAL, "Horseman Kit"),
|
||||
|
||||
MINE_STRIKE("MineStrike", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.LOSSES, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.TNT, 0, GameCategory.CLASSICS, null),
|
||||
SKYWARS("Skywars",null,
|
||||
new StatDisplay[]{StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED},
|
||||
Material.DOUBLE_PLANT, 5, GameCategory.SURVIVAL, "Destructor Kit"),
|
||||
|
||||
UHC("Ultra Hardcore", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.GOLDEN_APPLE, 0, GameCategory.SURVIVAL, "Extra Class Skills"),
|
||||
|
||||
WIZARDS("Wizards", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.BLAZE_ROD, 0, GameCategory.SURVIVAL, "Extra Class Skills"),
|
||||
|
||||
UHC("Ultra Hardcore", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.GOLD_INGOT, 0, GameCategory.SURVIVAL, "Extra Class Skills"),
|
||||
CASTLE_SIEGE("Castle Siege", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.LOSSES, new StatDisplay("Kills as Defenders"), new StatDisplay("Deaths as Defenders"),
|
||||
new StatDisplay("Kills as Undead"), new StatDisplay("Deaths as Undead"), StatDisplay.GEMS_EARNED },
|
||||
Material.DIAMOND_CHESTPLATE, 0, GameCategory.CLASSICS, null),
|
||||
|
||||
//Classics
|
||||
SMASH_MOBS("Super Smash Mobs", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.SKULL_ITEM, 4, GameCategory.CLASSICS, "Sheep Kit"),
|
||||
|
||||
BLOCK_HUNT("Block Hunt", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.GRASS, 0, GameCategory.CLASSICS, null),
|
||||
|
||||
MASTER_BUILDERS("Master Builders", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.GEMS_EARNED },
|
||||
Material.WOOD, 0, GameCategory.CLASSICS, null),
|
||||
SMASH_MOBS("Super Smash Mobs", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.SKULL_ITEM, 4, GameCategory.CLASSICS, "Sheep Kit"),
|
||||
|
||||
MINE_STRIKE("MineStrike", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.LOSSES, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.TNT, 0, GameCategory.CLASSICS, null),
|
||||
|
||||
DRAW_MY_THING("Draw My Thing", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.GEMS_EARNED },
|
||||
Material.BOOK_AND_QUILL, 0, GameCategory.CLASSICS, null),
|
||||
|
||||
CASTLE_SIEGE("Castle Siege", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.LOSSES, new StatDisplay("Kills as Defenders"), new StatDisplay("Deaths as Defenders"),
|
||||
new StatDisplay("Kills as Undead"), new StatDisplay("Deaths as Undead"), StatDisplay.GEMS_EARNED },
|
||||
Material.DIAMOND_CHESTPLATE, 0, GameCategory.CLASSICS, null),
|
||||
|
||||
//Champions
|
||||
CHAMPIONS("Champions", new String[] {"Champions Domination", "Champions TDM"},
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.LOSSES, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.BEACON, 0, GameCategory.CHAMPIONS, "Extra Class Skills"),
|
||||
|
||||
|
||||
MASTER_BUILDERS("Master Builders", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.GEMS_EARNED },
|
||||
Material.WOOD, 0, GameCategory.CLASSICS, null),
|
||||
|
||||
//Arcade
|
||||
DRAGONS("Dragons", null,
|
||||
@ -112,16 +111,14 @@ public enum AchievementCategory
|
||||
SNAKE("Snake", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.WOOL, 4, GameCategory.ARCADE, null),
|
||||
|
||||
|
||||
BACON_BRAWL("Bacon Brawl", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.PORK, 0, GameCategory.ARCADE, null),
|
||||
|
||||
MICRO_BATTLE("Micro Battle", null,
|
||||
new StatDisplay[] { StatDisplay.WINS, StatDisplay.GAMES_PLAYED, StatDisplay.KILLS, StatDisplay.DEATHS, StatDisplay.GEMS_EARNED },
|
||||
Material.LAVA, 0, GameCategory.ARCADE, null),
|
||||
|
||||
;
|
||||
Material.LAVA, 0, GameCategory.ARCADE, null);
|
||||
|
||||
|
||||
private String _name;
|
||||
|
@ -42,11 +42,11 @@ public class AchievementMainPage extends ShopPageBase<AchievementManager, Achiev
|
||||
{
|
||||
ArrayList<Integer> pageLayout = new ItemLayout(
|
||||
"XXXXOXXXX",
|
||||
"XOXOXOXOX",
|
||||
"XOXOXOXOX",
|
||||
"XOXOXOXOX").getItemSlots();
|
||||
"OXOXOXOXO",
|
||||
"OXOXOXOXO",
|
||||
"XXOXOXOXX").getItemSlots();
|
||||
int listSlot = 0;
|
||||
|
||||
|
||||
for (AchievementCategory category : AchievementCategory.values())
|
||||
{
|
||||
if (category.getGameCategory() == AchievementCategory.GameCategory.ARCADE)
|
||||
|
@ -139,10 +139,10 @@ public class DonationManager extends MiniDbClientPlugin<Donor>
|
||||
donor.AddGems(amount);
|
||||
}
|
||||
}
|
||||
|
||||
if (callback != null)
|
||||
callback.run(true);
|
||||
}
|
||||
|
||||
if (callback != null)
|
||||
callback.run(success);
|
||||
}
|
||||
}, caller, name, uuid.toString(), amount);
|
||||
}
|
||||
@ -221,10 +221,10 @@ public class DonationManager extends MiniDbClientPlugin<Donor>
|
||||
donor.addCoins(amount);
|
||||
}
|
||||
}
|
||||
|
||||
if (callback != null)
|
||||
callback.run(true);
|
||||
}
|
||||
|
||||
if (callback != null)
|
||||
callback.run(success);
|
||||
}
|
||||
}, caller, name, accountId, amount);
|
||||
}
|
||||
|
@ -1,18 +1,15 @@
|
||||
package mineplex.core.donation.command;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import mineplex.core.account.CoreClient;
|
||||
import mineplex.core.command.CommandBase;
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.util.Callback;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.UUIDFetcher;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
import mineplex.core.donation.DonationManager;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public class CoinCommand extends CommandBase<DonationManager>
|
||||
{
|
||||
public CoinCommand(DonationManager plugin)
|
||||
@ -75,11 +72,18 @@ public class CoinCommand extends CommandBase<DonationManager>
|
||||
{
|
||||
public void run(Boolean completed)
|
||||
{
|
||||
UtilPlayer.message(caller, F.main("Coin", "You gave " + F.elem(coins + " Coins") + " to " + F.name(targetName) + "."));
|
||||
|
||||
if (target != null)
|
||||
if (completed)
|
||||
{
|
||||
UtilPlayer.message(target, F.main("Coin", F.name(caller.getName()) + " gave you " + F.elem(coins + " Coins") + "."));
|
||||
UtilPlayer.message(caller, F.main("Coin", "You gave " + F.elem(coins + " Coins") + " to " + F.name(targetName) + "."));
|
||||
|
||||
if (target != null)
|
||||
{
|
||||
UtilPlayer.message(target, F.main("Coin", F.name(caller.getName()) + " gave you " + F.elem(coins + " Coins") + "."));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
UtilPlayer.message(caller, F.main("Coin", "There was an error giving " + F.elem(coins + "Coins") + " to " + F.name(targetName) + "."));
|
||||
}
|
||||
}
|
||||
}, caller.getName(), targetName, accountId, coins);
|
||||
|
@ -69,11 +69,18 @@ public class GemCommand extends CommandBase<DonationManager>
|
||||
{
|
||||
public void run(Boolean completed)
|
||||
{
|
||||
UtilPlayer.message(caller, F.main("gem", "You gave " + F.elem(gems + " gems") + " to " + F.name(targetName) + "."));
|
||||
|
||||
if (target != null)
|
||||
if (completed)
|
||||
{
|
||||
UtilPlayer.message(target, F.main("gem", F.name(caller.getName()) + " gave you " + F.elem(gems + " gems") + "."));
|
||||
UtilPlayer.message(caller, F.main("gem", "You gave " + F.elem(gems + " gems") + " to " + F.name(targetName) + "."));
|
||||
|
||||
if (target != null)
|
||||
{
|
||||
UtilPlayer.message(target, F.main("gem", F.name(caller.getName()) + " gave you " + F.elem(gems + " gems") + "."));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
UtilPlayer.message(caller, F.main("gem", "There was an error giving " + F.elem(gems + " gems") + " to " + F.name(targetName) + "."));
|
||||
}
|
||||
}
|
||||
}, caller.getName(), targetName, uuid, gems);
|
||||
|
@ -1,18 +1,15 @@
|
||||
package mineplex.core.donation.command;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import mineplex.core.account.CoreClient;
|
||||
import mineplex.core.command.CommandBase;
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.util.Callback;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.UUIDFetcher;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
import mineplex.core.donation.DonationManager;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public class GoldCommand extends CommandBase<DonationManager>
|
||||
{
|
||||
public GoldCommand(DonationManager plugin)
|
||||
|
@ -0,0 +1,6 @@
|
||||
package mineplex.core.game;
|
||||
|
||||
public enum GameCategory
|
||||
{
|
||||
SURVIVAL, CLASSICS, CHAMPIONS, ARCADE, EVENT, TEAM_VARIANT, EXTRA
|
||||
}
|
127
Plugins/Mineplex.Core/src/mineplex/core/game/GameDisplay.java
Normal file
127
Plugins/Mineplex.Core/src/mineplex/core/game/GameDisplay.java
Normal file
@ -0,0 +1,127 @@
|
||||
package mineplex.core.game;
|
||||
|
||||
import org.bukkit.Material;
|
||||
|
||||
public enum GameDisplay
|
||||
{
|
||||
//Mini
|
||||
BaconBrawl("Bacon Brawl", Material.PORK, (byte)0, GameCategory.ARCADE, 1),
|
||||
Barbarians("A Barbarians Life", Material.WOOD_AXE, (byte)0, GameCategory.EXTRA, 2),
|
||||
Bridge("The Bridges", Material.IRON_PICKAXE, (byte)0, GameCategory.SURVIVAL, 3),
|
||||
CastleSiege("Castle Siege", Material.DIAMOND_CHESTPLATE, (byte)0, GameCategory.CLASSICS, 4),
|
||||
ChampionsDominate("Champions Domination", "Champions", Material.BEACON, (byte)0, GameCategory.CHAMPIONS, 6),
|
||||
//ChampionsMOBA(ChampionsMOBA.class, "Champions MOBA", "Champions", Material.SKULL_ITEM, (byte)0, GameCategory.CHAMPIONS, 7),
|
||||
ChampionsTDM("Champions TDM", "Champions", Material.GOLD_SWORD, (byte)0, GameCategory.CHAMPIONS, 5),
|
||||
Christmas("Christmas Chaos", Material.SNOW_BALL, (byte)0, GameCategory.CLASSICS, 8),
|
||||
DeathTag("Death Tag", Material.SKULL_ITEM, (byte)0, GameCategory.ARCADE, 9),
|
||||
DragonEscape("Dragon Escape", Material.DRAGON_EGG, (byte)0, GameCategory.ARCADE, 10),
|
||||
DragonEscapeTeams("Dragon Escape Teams", Material.DRAGON_EGG, (byte)0, GameCategory.TEAM_VARIANT, 11),
|
||||
DragonRiders("Dragon Riders", Material.DRAGON_EGG, (byte)0, GameCategory.ARCADE, 12),
|
||||
Dragons("Dragons", Material.ENDER_STONE, (byte)0, GameCategory.ARCADE, 13),
|
||||
DragonsTeams("Dragons Teams", Material.ENDER_STONE, (byte)0, GameCategory.TEAM_VARIANT, 14),
|
||||
Draw("Draw My Thing", Material.BOOK_AND_QUILL, (byte)0, GameCategory.CLASSICS, 15),
|
||||
Evolution("Evolution", Material.EMERALD, (byte)0, GameCategory.ARCADE, 16),
|
||||
//FlappyBird(FlappyBird.class, "Flappy Bird", Material.FEATHER, (byte)0, GameCategory.ARCADE, 17),
|
||||
Gravity("Gravity", Material.ENDER_PORTAL, (byte)0, GameCategory.EXTRA, 18),
|
||||
Halloween("Halloween Horror", Material.PUMPKIN, (byte)0, GameCategory.CLASSICS, 19),
|
||||
HideSeek("Block Hunt", Material.GRASS, (byte)0, GameCategory.CLASSICS, 20),
|
||||
HoleInTheWall("Hole in the Wall", Material.STAINED_GLASS, (byte) 2, GameCategory.ARCADE, 52),
|
||||
Horse("Horseback", Material.IRON_BARDING, (byte)0, GameCategory.ARCADE, 21),
|
||||
Micro("Micro Battle", Material.LAVA_BUCKET, (byte)0, GameCategory.ARCADE, 24),
|
||||
MilkCow("Milk the Cow", Material.MILK_BUCKET, (byte)0, GameCategory.ARCADE, 27),
|
||||
MineStrike("MineStrike", Material.TNT, (byte)0, GameCategory.CHAMPIONS, 25),// Temp set to CHAMPIONS to fix UI bug
|
||||
MineWare("MineWare", Material.PAPER, (byte)0, GameCategory.EXTRA, 26),
|
||||
OldMineWare("Old MineWare", Material.PAPER, (byte)0, GameCategory.EXTRA, 26),
|
||||
Paintball("Super Paintball", Material.ENDER_PEARL, (byte)0, GameCategory.ARCADE, 28),
|
||||
Quiver("One in the Quiver", Material.ARROW, (byte)0, GameCategory.ARCADE, 29),
|
||||
QuiverTeams("One in the Quiver Teams", Material.ARROW, (byte)0, GameCategory.TEAM_VARIANT, 30),
|
||||
Runner("Runner", Material.LEATHER_BOOTS, (byte)0, GameCategory.ARCADE, 31),
|
||||
SearchAndDestroy("Search and Destroy", Material.TNT, (byte)0, GameCategory.SURVIVAL, 32),
|
||||
Sheep("Sheep Quest", Material.WOOL, (byte)4, GameCategory.ARCADE, 33),
|
||||
|
||||
Smash("Super Smash Mobs", Material.SKULL_ITEM, (byte)4, GameCategory.CLASSICS, 34),
|
||||
SmashDomination("Super Smash Mobs Domination", "Super Smash Mobs", Material.SKULL_ITEM, (byte)4, GameCategory.EXTRA, 36),
|
||||
SmashTeams("Super Smash Mobs Teams", "Super Smash Mobs", Material.SKULL_ITEM, (byte)4, GameCategory.TEAM_VARIANT, 35),
|
||||
Snake("Snake", Material.WOOL, (byte)0, GameCategory.ARCADE, 37),
|
||||
SneakyAssassins("Sneaky Assassins", Material.INK_SACK, (byte)0, GameCategory.ARCADE, 38),
|
||||
SnowFight("Snow Fight", Material.SNOW_BALL, (byte)0, GameCategory.EXTRA, 39),
|
||||
Spleef("Super Spleef", Material.IRON_SPADE, (byte)0, GameCategory.ARCADE, 40),
|
||||
SpleefTeams("Super Spleef Teams", Material.IRON_SPADE, (byte)0, GameCategory.TEAM_VARIANT, 41),
|
||||
SquidShooter("Squid Shooter", Material.FIREWORK_CHARGE, (byte)0, GameCategory.ARCADE, 43),
|
||||
Stacker("Super Stacker", Material.BOWL, (byte)0, GameCategory.ARCADE, 42),
|
||||
SurvivalGames("Survival Games", Material.IRON_SWORD, (byte)0, GameCategory.SURVIVAL, 22),
|
||||
SurvivalGamesTeams("Survival Games Teams", Material.IRON_SWORD, (byte)0, GameCategory.TEAM_VARIANT, 23),
|
||||
Tug("Tug of Wool", Material.WHEAT, (byte)0, GameCategory.ARCADE, 44),
|
||||
TurfWars("Turf Wars", Material.STAINED_CLAY, (byte)14, GameCategory.ARCADE, 45),
|
||||
UHC("Ultra Hardcore", Material.GOLDEN_APPLE, (byte)0, GameCategory.SURVIVAL, 46),
|
||||
WitherAssault("Wither Assault", Material.SKULL_ITEM, (byte)1, GameCategory.ARCADE, 47),
|
||||
Wizards("Wizards", Material.BLAZE_ROD, (byte)0, GameCategory.SURVIVAL, 48),
|
||||
ZombieSurvival("Zombie Survival", Material.SKULL_ITEM, (byte)2, GameCategory.SURVIVAL, 49),
|
||||
|
||||
Build("Master Builders", Material.WOOD, (byte)0, GameCategory.CLASSICS, 50),
|
||||
Cards("Craft Against Humanity", Material.MAP, (byte)0, GameCategory.CLASSICS, 51),
|
||||
Skywars("Skywars", Material.DOUBLE_PLANT, (byte)5, GameCategory.SURVIVAL, 52),
|
||||
|
||||
Event("Mineplex Event", Material.CAKE, (byte)0, GameCategory.EVENT, 999);
|
||||
|
||||
String _name;
|
||||
String _lobbyName;
|
||||
Material _mat;
|
||||
byte _data;
|
||||
GameCategory _gameCategory;
|
||||
|
||||
private int _gameId; // Unique identifying id for this gamemode (used for statistics)
|
||||
public int getGameId() { return _gameId; }
|
||||
|
||||
GameDisplay(String name, Material mat, byte data, GameCategory gameCategory, int gameId)
|
||||
{
|
||||
this(name, name, mat, data, gameCategory, gameId);
|
||||
}
|
||||
|
||||
GameDisplay(String name, String lobbyName, Material mat, byte data, GameCategory gameCategory, int gameId)
|
||||
{
|
||||
_name = name;
|
||||
_lobbyName = lobbyName;
|
||||
_mat = mat;
|
||||
_data = data;
|
||||
_gameCategory = gameCategory;
|
||||
_gameId = gameId;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return _name;
|
||||
}
|
||||
|
||||
public String getLobbyName()
|
||||
{
|
||||
return _lobbyName;
|
||||
}
|
||||
|
||||
public Material getMaterial()
|
||||
{
|
||||
return _mat;
|
||||
}
|
||||
|
||||
public byte getMaterialData()
|
||||
{
|
||||
return _data;
|
||||
}
|
||||
|
||||
public GameCategory getGameCategory()
|
||||
{
|
||||
return _gameCategory;
|
||||
}
|
||||
|
||||
|
||||
public static GameDisplay matchName(String name)
|
||||
{
|
||||
for (GameDisplay display : values())
|
||||
{
|
||||
if (display.getName().equalsIgnoreCase(name))
|
||||
return display;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
@ -7,9 +7,7 @@ import mineplex.core.MiniPlugin;
|
||||
import mineplex.core.updater.UpdateType;
|
||||
import mineplex.core.updater.event.UpdateEvent;
|
||||
import net.minecraft.server.v1_7_R4.CraftingManager;
|
||||
import net.minecraft.server.v1_7_R4.EntityTracker;
|
||||
import net.minecraft.server.v1_7_R4.IInventory;
|
||||
import net.minecraft.server.v1_7_R4.IntHashMap;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.World;
|
||||
|
@ -60,15 +60,15 @@ public class NotificationManager extends MiniPlugin
|
||||
|
||||
if (rank == Rank.ALL)
|
||||
{
|
||||
UtilPlayer.message(player, C.cWhite + "Summer Sale! " + player.getName() + " Purchase " + C.cAqua + C.Bold + "Ultra RANK" + C.cWhite + " for $15");
|
||||
UtilPlayer.message(player, C.cWhite + "Summer Sale! " + " Purchase " + C.cAqua + C.Bold + "Ultra RANK" + C.cWhite + " for $15");
|
||||
}
|
||||
else if (rank == Rank.ULTRA)
|
||||
{
|
||||
UtilPlayer.message(player, C.cWhite + "Summer Sale! " + player.getName() + " Upgrade to " + C.cPurple + C.Bold + "HERO RANK" + C.cWhite + " for $15!");
|
||||
UtilPlayer.message(player, C.cWhite + "Summer Sale! " + " Upgrade to " + C.cPurple + C.Bold + "HERO RANK" + C.cWhite + " for $15!");
|
||||
}
|
||||
else if (rank == Rank.HERO)
|
||||
{
|
||||
UtilPlayer.message(player, C.cWhite + "Summer Sale! " + player.getName() + " Upgrade to " + C.cGreen + C.Bold + "LEGEND RANK" + C.cWhite + " for $15!");
|
||||
UtilPlayer.message(player, C.cWhite + "Summer Sale! " + "Upgrade to " + C.cGreen + C.Bold + "LEGEND RANK" + C.cWhite + " for $15!");
|
||||
}
|
||||
|
||||
UtilPlayer.message(player, C.cWhite + " Visit " + F.link("www.mineplex.com/shop") + " for 50% Off Ranks!");
|
||||
|
@ -10,6 +10,8 @@ public enum Category
|
||||
PermMute,
|
||||
Other; // Represents perm ban - (or old perm mutes)
|
||||
|
||||
//test
|
||||
|
||||
public static boolean contains(String s)
|
||||
{
|
||||
try
|
||||
|
@ -144,4 +144,12 @@ public class TaskManager extends MiniDbClientPlugin<TaskClient>
|
||||
{
|
||||
return "SELECT taskId FROM accountTasks WHERE accountId = '" + accountId + "';";
|
||||
}
|
||||
|
||||
public Integer getTaskId(String taskName)
|
||||
{
|
||||
synchronized (_taskLock)
|
||||
{
|
||||
return _tasks.get(taskName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7"/>
|
||||
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/httpclient-4.2.jar"/>
|
||||
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/httpcore-4.2.jar"/>
|
||||
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/commons-codec-1.6.jar"/>
|
||||
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/gson-2.2.1.jar"/>
|
||||
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/javax.mail.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
@ -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 = -359672907;
|
||||
private static final long serialVersionUID = -478529995;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account</code>
|
||||
@ -49,9 +49,16 @@ public class Account extends org.jooq.impl.SchemaImpl implements java.io.Seriali
|
||||
mineplex.database.tables.AccountPreferences.accountPreferences,
|
||||
mineplex.database.tables.Accounts.accounts,
|
||||
mineplex.database.tables.AccountStats.accountStats,
|
||||
mineplex.database.tables.AccountTasks.accountTasks,
|
||||
mineplex.database.tables.AccountTransactions.accountTransactions,
|
||||
mineplex.database.tables.ActiveTournaments.activeTournaments,
|
||||
mineplex.database.tables.Bonus.bonus,
|
||||
mineplex.database.tables.ClanAlliances.clanAlliances,
|
||||
mineplex.database.tables.ClanEnemies.clanEnemies,
|
||||
mineplex.database.tables.ClanMember.clanMember,
|
||||
mineplex.database.tables.Clans.clans,
|
||||
mineplex.database.tables.ClanServer.clanServer,
|
||||
mineplex.database.tables.ClanShopItem.clanShopItem,
|
||||
mineplex.database.tables.ClanTerritory.clanTerritory,
|
||||
mineplex.database.tables.EloRating.eloRating,
|
||||
mineplex.database.tables.FieldBlock.fieldBlock,
|
||||
@ -65,6 +72,11 @@ public class Account extends org.jooq.impl.SchemaImpl implements java.io.Seriali
|
||||
mineplex.database.tables.Polls.polls,
|
||||
mineplex.database.tables.ServerPassword.serverPassword,
|
||||
mineplex.database.tables.Spawns.spawns,
|
||||
mineplex.database.tables.Stats.stats);
|
||||
mineplex.database.tables.StatEvents.statEvents,
|
||||
mineplex.database.tables.Stats.stats,
|
||||
mineplex.database.tables.StatTypes.statTypes,
|
||||
mineplex.database.tables.Tasks.tasks,
|
||||
mineplex.database.tables.TournamentLB.TournamentLB,
|
||||
mineplex.database.tables.Transactions.transactions);
|
||||
}
|
||||
}
|
||||
|
@ -31,11 +31,16 @@ public class Keys {
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.AccountPreferencesRecord, java.lang.Integer> IDENTITY_accountPreferences = Identities0.IDENTITY_accountPreferences;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.AccountsRecord, java.lang.Integer> IDENTITY_accounts = Identities0.IDENTITY_accounts;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.AccountStatsRecord, java.lang.Integer> IDENTITY_accountStats = Identities0.IDENTITY_accountStats;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.AccountTasksRecord, java.lang.Integer> IDENTITY_accountTasks = Identities0.IDENTITY_accountTasks;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.AccountTransactionsRecord, java.lang.Integer> IDENTITY_accountTransactions = Identities0.IDENTITY_accountTransactions;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.BonusRecord, java.lang.Integer> IDENTITY_bonus = Identities0.IDENTITY_bonus;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.ClanAlliancesRecord, java.lang.Integer> IDENTITY_clanAlliances = Identities0.IDENTITY_clanAlliances;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.ClanEnemiesRecord, java.lang.Integer> IDENTITY_clanEnemies = Identities0.IDENTITY_clanEnemies;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.ClansRecord, java.lang.Integer> IDENTITY_clans = Identities0.IDENTITY_clans;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.ClanServerRecord, java.lang.Integer> IDENTITY_clanServer = Identities0.IDENTITY_clanServer;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.ClanShopItemRecord, java.lang.Integer> IDENTITY_clanShopItem = Identities0.IDENTITY_clanShopItem;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.ClanTerritoryRecord, java.lang.Integer> IDENTITY_clanTerritory = Identities0.IDENTITY_clanTerritory;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.EloRatingRecord, java.lang.Integer> IDENTITY_eloRating = Identities0.IDENTITY_eloRating;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.EloRatingRecord, org.jooq.types.UInteger> IDENTITY_eloRating = Identities0.IDENTITY_eloRating;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.FieldBlockRecord, java.lang.Integer> IDENTITY_fieldBlock = Identities0.IDENTITY_fieldBlock;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.FieldMonsterRecord, java.lang.Integer> IDENTITY_fieldMonster = Identities0.IDENTITY_fieldMonster;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.FieldOreRecord, java.lang.Integer> IDENTITY_fieldOre = Identities0.IDENTITY_fieldOre;
|
||||
@ -47,7 +52,10 @@ public class Keys {
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.PollsRecord, java.lang.Integer> IDENTITY_polls = Identities0.IDENTITY_polls;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.ServerPasswordRecord, java.lang.Integer> IDENTITY_serverPassword = Identities0.IDENTITY_serverPassword;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.SpawnsRecord, java.lang.Integer> IDENTITY_spawns = Identities0.IDENTITY_spawns;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.StatEventsRecord, org.jooq.types.UInteger> IDENTITY_statEvents = Identities0.IDENTITY_statEvents;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.StatsRecord, java.lang.Integer> IDENTITY_stats = Identities0.IDENTITY_stats;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.TasksRecord, java.lang.Integer> IDENTITY_tasks = Identities0.IDENTITY_tasks;
|
||||
public static final org.jooq.Identity<mineplex.database.tables.records.TransactionsRecord, java.lang.Integer> IDENTITY_transactions = Identities0.IDENTITY_transactions;
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
@ -68,12 +76,21 @@ public class Keys {
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.AccountsRecord> KEY_accounts_PRIMARY = UniqueKeys0.KEY_accounts_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.AccountsRecord> KEY_accounts_uuidIndex = UniqueKeys0.KEY_accounts_uuidIndex;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.AccountStatsRecord> KEY_accountStats_PRIMARY = UniqueKeys0.KEY_accountStats_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.AccountTasksRecord> KEY_accountTasks_PRIMARY = UniqueKeys0.KEY_accountTasks_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.AccountTransactionsRecord> KEY_accountTransactions_PRIMARY = UniqueKeys0.KEY_accountTransactions_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ActiveTournamentsRecord> KEY_activeTournaments_PRIMARY = UniqueKeys0.KEY_activeTournaments_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.BonusRecord> KEY_bonus_PRIMARY = UniqueKeys0.KEY_bonus_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanAlliancesRecord> KEY_clanAlliances_PRIMARY = UniqueKeys0.KEY_clanAlliances_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanEnemiesRecord> KEY_clanEnemies_PRIMARY = UniqueKeys0.KEY_clanEnemies_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanEnemiesRecord> KEY_clanEnemies_unique_clanId = UniqueKeys0.KEY_clanEnemies_unique_clanId;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanEnemiesRecord> KEY_clanEnemies_unique_otherClanId = UniqueKeys0.KEY_clanEnemies_unique_otherClanId;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClansRecord> KEY_clans_PRIMARY = UniqueKeys0.KEY_clans_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClansRecord> KEY_clans_clanName = UniqueKeys0.KEY_clans_clanName;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanServerRecord> KEY_clanServer_PRIMARY = UniqueKeys0.KEY_clanServer_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanShopItemRecord> KEY_clanShopItem_PRIMARY = UniqueKeys0.KEY_clanShopItem_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanShopItemRecord> KEY_clanShopItem_shop_page_slot_UNIQUE = UniqueKeys0.KEY_clanShopItem_shop_page_slot_UNIQUE;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanTerritoryRecord> KEY_clanTerritory_PRIMARY = UniqueKeys0.KEY_clanTerritory_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanTerritoryRecord> KEY_clanTerritory_territory_server_chunk_UNIQUE = UniqueKeys0.KEY_clanTerritory_territory_server_chunk_UNIQUE;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.EloRatingRecord> KEY_eloRating_PRIMARY = UniqueKeys0.KEY_eloRating_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.EloRatingRecord> KEY_eloRating_uuid_gameType_index = UniqueKeys0.KEY_eloRating_uuid_gameType_index;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.FieldBlockRecord> KEY_fieldBlock_PRIMARY = UniqueKeys0.KEY_fieldBlock_PRIMARY;
|
||||
@ -90,16 +107,25 @@ public class Keys {
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.PollsRecord> KEY_polls_PRIMARY = UniqueKeys0.KEY_polls_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ServerPasswordRecord> KEY_serverPassword_PRIMARY = UniqueKeys0.KEY_serverPassword_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.SpawnsRecord> KEY_spawns_PRIMARY = UniqueKeys0.KEY_spawns_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.StatEventsRecord> KEY_statEvents_PRIMARY = UniqueKeys0.KEY_statEvents_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.StatEventsRecord> KEY_statEvents_UK_DailyEntry = UniqueKeys0.KEY_statEvents_UK_DailyEntry;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.StatsRecord> KEY_stats_PRIMARY = UniqueKeys0.KEY_stats_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.StatsRecord> KEY_stats_nameIndex = UniqueKeys0.KEY_stats_nameIndex;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.StatTypesRecord> KEY_statTypes_PRIMARY = UniqueKeys0.KEY_statTypes_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.StatTypesRecord> KEY_statTypes_name = UniqueKeys0.KEY_statTypes_name;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.TasksRecord> KEY_tasks_PRIMARY = UniqueKeys0.KEY_tasks_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.TasksRecord> KEY_tasks_name_UNIQUE = UniqueKeys0.KEY_tasks_name_UNIQUE;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.TournamentLBRecord> KEY_TournamentLB_PRIMARY = UniqueKeys0.KEY_TournamentLB_PRIMARY;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.TournamentLBRecord> KEY_TournamentLB_UK_PlayerEntry = UniqueKeys0.KEY_TournamentLB_UK_PlayerEntry;
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.TransactionsRecord> KEY_transactions_PRIMARY = UniqueKeys0.KEY_transactions_PRIMARY;
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountClanRecord, mineplex.database.tables.records.AccountsRecord> accountClan_ibfk_1 = ForeignKeys0.accountClan_ibfk_1;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountClanRecord, mineplex.database.tables.records.ClansRecord> accountClan_ibfk_2 = ForeignKeys0.accountClan_ibfk_2;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountCoinTransactionsRecord, mineplex.database.tables.records.AccountsRecord> accountCoinTransactions_ibfk_1 = ForeignKeys0.accountCoinTransactions_ibfk_1;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountClanRecord, mineplex.database.tables.records.AccountsRecord> FK_accountClan_accounts = ForeignKeys0.FK_accountClan_accounts;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountClanRecord, mineplex.database.tables.records.ClansRecord> FK_accountClan_clans2 = ForeignKeys0.FK_accountClan_clans2;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountCoinTransactionsRecord, mineplex.database.tables.records.AccountsRecord> FK_ACT_ACCOUNTS_ID = ForeignKeys0.FK_ACT_ACCOUNTS_ID;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountGemTransactionsRecord, mineplex.database.tables.records.AccountsRecord> accountGemTransactions_ibfk_1 = ForeignKeys0.accountGemTransactions_ibfk_1;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountInventoryRecord, mineplex.database.tables.records.AccountsRecord> accountInventory_ibfk_1 = ForeignKeys0.accountInventory_ibfk_1;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountInventoryRecord, mineplex.database.tables.records.ItemsRecord> accountInventory_ibfk_2 = ForeignKeys0.accountInventory_ibfk_2;
|
||||
@ -107,11 +133,18 @@ public class Keys {
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountPollsRecord, mineplex.database.tables.records.PollsRecord> accountPolls_ibfk_2 = ForeignKeys0.accountPolls_ibfk_2;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountStatsRecord, mineplex.database.tables.records.AccountsRecord> accountStats_ibfk_1 = ForeignKeys0.accountStats_ibfk_1;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountStatsRecord, mineplex.database.tables.records.StatsRecord> accountStats_ibfk_2 = ForeignKeys0.accountStats_ibfk_2;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountTasksRecord, mineplex.database.tables.records.AccountsRecord> ACCOUNTTASKS_ACCOUNTID = ForeignKeys0.ACCOUNTTASKS_ACCOUNTID;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountTasksRecord, mineplex.database.tables.records.TasksRecord> ACCOUNTTASKS_TASKID = ForeignKeys0.ACCOUNTTASKS_TASKID;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountTransactionsRecord, mineplex.database.tables.records.AccountsRecord> ACCOUNTTRANSACTIONS_ACCOUNTID = ForeignKeys0.ACCOUNTTRANSACTIONS_ACCOUNTID;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountTransactionsRecord, mineplex.database.tables.records.TransactionsRecord> ACCOUNTTRANSACTIONS_TRANSACTIONID = ForeignKeys0.ACCOUNTTRANSACTIONS_TRANSACTIONID;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.BonusRecord, mineplex.database.tables.records.AccountsRecord> bonus_ibfk_1 = ForeignKeys0.bonus_ibfk_1;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.ClanAlliancesRecord, mineplex.database.tables.records.ClansRecord> clanAlliances_ibfk_2 = ForeignKeys0.clanAlliances_ibfk_2;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.ClanAlliancesRecord, mineplex.database.tables.records.ClansRecord> clanAlliances_ibfk_1 = ForeignKeys0.clanAlliances_ibfk_1;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.ClanEnemiesRecord, mineplex.database.tables.records.ClansRecord> clanEnemies_ibfk_1 = ForeignKeys0.clanEnemies_ibfk_1;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.ClanEnemiesRecord, mineplex.database.tables.records.ClansRecord> clanEnemies_ibfk_2 = ForeignKeys0.clanEnemies_ibfk_2;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.ClansRecord, mineplex.database.tables.records.ClanServerRecord> clans_ibfk_1 = ForeignKeys0.clans_ibfk_1;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.ClanTerritoryRecord, mineplex.database.tables.records.ClansRecord> clanTerritory_ibfk_1 = ForeignKeys0.clanTerritory_ibfk_1;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.ClanTerritoryRecord, mineplex.database.tables.records.ClanServerRecord> clanTerritory_ibfk_2 = ForeignKeys0.clanTerritory_ibfk_2;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.ItemsRecord, mineplex.database.tables.records.ItemCategoriesRecord> items_ibfk_1 = ForeignKeys0.items_ibfk_1;
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.MailRecord, mineplex.database.tables.records.AccountsRecord> mail_ibfk_1 = ForeignKeys0.mail_ibfk_1;
|
||||
|
||||
@ -130,11 +163,16 @@ public class Keys {
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.AccountPreferencesRecord, java.lang.Integer> IDENTITY_accountPreferences = createIdentity(mineplex.database.tables.AccountPreferences.accountPreferences, mineplex.database.tables.AccountPreferences.accountPreferences.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.AccountsRecord, java.lang.Integer> IDENTITY_accounts = createIdentity(mineplex.database.tables.Accounts.accounts, mineplex.database.tables.Accounts.accounts.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.AccountStatsRecord, java.lang.Integer> IDENTITY_accountStats = createIdentity(mineplex.database.tables.AccountStats.accountStats, mineplex.database.tables.AccountStats.accountStats.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.AccountTasksRecord, java.lang.Integer> IDENTITY_accountTasks = createIdentity(mineplex.database.tables.AccountTasks.accountTasks, mineplex.database.tables.AccountTasks.accountTasks.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.AccountTransactionsRecord, java.lang.Integer> IDENTITY_accountTransactions = createIdentity(mineplex.database.tables.AccountTransactions.accountTransactions, mineplex.database.tables.AccountTransactions.accountTransactions.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.BonusRecord, java.lang.Integer> IDENTITY_bonus = createIdentity(mineplex.database.tables.Bonus.bonus, mineplex.database.tables.Bonus.bonus.accountId);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.ClanAlliancesRecord, java.lang.Integer> IDENTITY_clanAlliances = createIdentity(mineplex.database.tables.ClanAlliances.clanAlliances, mineplex.database.tables.ClanAlliances.clanAlliances.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.ClanEnemiesRecord, java.lang.Integer> IDENTITY_clanEnemies = createIdentity(mineplex.database.tables.ClanEnemies.clanEnemies, mineplex.database.tables.ClanEnemies.clanEnemies.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.ClansRecord, java.lang.Integer> IDENTITY_clans = createIdentity(mineplex.database.tables.Clans.clans, mineplex.database.tables.Clans.clans.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.ClanServerRecord, java.lang.Integer> IDENTITY_clanServer = createIdentity(mineplex.database.tables.ClanServer.clanServer, mineplex.database.tables.ClanServer.clanServer.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.ClanShopItemRecord, java.lang.Integer> IDENTITY_clanShopItem = createIdentity(mineplex.database.tables.ClanShopItem.clanShopItem, mineplex.database.tables.ClanShopItem.clanShopItem.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.ClanTerritoryRecord, java.lang.Integer> IDENTITY_clanTerritory = createIdentity(mineplex.database.tables.ClanTerritory.clanTerritory, mineplex.database.tables.ClanTerritory.clanTerritory.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.EloRatingRecord, java.lang.Integer> IDENTITY_eloRating = createIdentity(mineplex.database.tables.EloRating.eloRating, mineplex.database.tables.EloRating.eloRating.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.EloRatingRecord, org.jooq.types.UInteger> IDENTITY_eloRating = createIdentity(mineplex.database.tables.EloRating.eloRating, mineplex.database.tables.EloRating.eloRating.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.FieldBlockRecord, java.lang.Integer> IDENTITY_fieldBlock = createIdentity(mineplex.database.tables.FieldBlock.fieldBlock, mineplex.database.tables.FieldBlock.fieldBlock.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.FieldMonsterRecord, java.lang.Integer> IDENTITY_fieldMonster = createIdentity(mineplex.database.tables.FieldMonster.fieldMonster, mineplex.database.tables.FieldMonster.fieldMonster.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.FieldOreRecord, java.lang.Integer> IDENTITY_fieldOre = createIdentity(mineplex.database.tables.FieldOre.fieldOre, mineplex.database.tables.FieldOre.fieldOre.id);
|
||||
@ -146,7 +184,10 @@ public class Keys {
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.PollsRecord, java.lang.Integer> IDENTITY_polls = createIdentity(mineplex.database.tables.Polls.polls, mineplex.database.tables.Polls.polls.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.ServerPasswordRecord, java.lang.Integer> IDENTITY_serverPassword = createIdentity(mineplex.database.tables.ServerPassword.serverPassword, mineplex.database.tables.ServerPassword.serverPassword.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.SpawnsRecord, java.lang.Integer> IDENTITY_spawns = createIdentity(mineplex.database.tables.Spawns.spawns, mineplex.database.tables.Spawns.spawns.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.StatEventsRecord, org.jooq.types.UInteger> IDENTITY_statEvents = createIdentity(mineplex.database.tables.StatEvents.statEvents, mineplex.database.tables.StatEvents.statEvents.eventId);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.StatsRecord, java.lang.Integer> IDENTITY_stats = createIdentity(mineplex.database.tables.Stats.stats, mineplex.database.tables.Stats.stats.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.TasksRecord, java.lang.Integer> IDENTITY_tasks = createIdentity(mineplex.database.tables.Tasks.tasks, mineplex.database.tables.Tasks.tasks.id);
|
||||
public static org.jooq.Identity<mineplex.database.tables.records.TransactionsRecord, java.lang.Integer> IDENTITY_transactions = createIdentity(mineplex.database.tables.Transactions.transactions, mineplex.database.tables.Transactions.transactions.id);
|
||||
}
|
||||
|
||||
private static class UniqueKeys0 extends org.jooq.impl.AbstractKeys {
|
||||
@ -165,14 +206,23 @@ public class Keys {
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.AccountsRecord> KEY_accounts_PRIMARY = createUniqueKey(mineplex.database.tables.Accounts.accounts, mineplex.database.tables.Accounts.accounts.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.AccountsRecord> KEY_accounts_uuidIndex = createUniqueKey(mineplex.database.tables.Accounts.accounts, mineplex.database.tables.Accounts.accounts.uuid);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.AccountStatsRecord> KEY_accountStats_PRIMARY = createUniqueKey(mineplex.database.tables.AccountStats.accountStats, mineplex.database.tables.AccountStats.accountStats.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.AccountTasksRecord> KEY_accountTasks_PRIMARY = createUniqueKey(mineplex.database.tables.AccountTasks.accountTasks, mineplex.database.tables.AccountTasks.accountTasks.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.AccountTransactionsRecord> KEY_accountTransactions_PRIMARY = createUniqueKey(mineplex.database.tables.AccountTransactions.accountTransactions, mineplex.database.tables.AccountTransactions.accountTransactions.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ActiveTournamentsRecord> KEY_activeTournaments_PRIMARY = createUniqueKey(mineplex.database.tables.ActiveTournaments.activeTournaments, mineplex.database.tables.ActiveTournaments.activeTournaments.name);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.BonusRecord> KEY_bonus_PRIMARY = createUniqueKey(mineplex.database.tables.Bonus.bonus, mineplex.database.tables.Bonus.bonus.accountId);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanAlliancesRecord> KEY_clanAlliances_PRIMARY = createUniqueKey(mineplex.database.tables.ClanAlliances.clanAlliances, mineplex.database.tables.ClanAlliances.clanAlliances.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanEnemiesRecord> KEY_clanEnemies_PRIMARY = createUniqueKey(mineplex.database.tables.ClanEnemies.clanEnemies, mineplex.database.tables.ClanEnemies.clanEnemies.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanEnemiesRecord> KEY_clanEnemies_unique_clanId = createUniqueKey(mineplex.database.tables.ClanEnemies.clanEnemies, mineplex.database.tables.ClanEnemies.clanEnemies.clanId);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanEnemiesRecord> KEY_clanEnemies_unique_otherClanId = createUniqueKey(mineplex.database.tables.ClanEnemies.clanEnemies, mineplex.database.tables.ClanEnemies.clanEnemies.otherClanId);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClansRecord> KEY_clans_PRIMARY = createUniqueKey(mineplex.database.tables.Clans.clans, mineplex.database.tables.Clans.clans.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClansRecord> 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<mineplex.database.tables.records.ClanServerRecord> 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<mineplex.database.tables.records.ClanShopItemRecord> KEY_clanShopItem_PRIMARY = createUniqueKey(mineplex.database.tables.ClanShopItem.clanShopItem, mineplex.database.tables.ClanShopItem.clanShopItem.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanShopItemRecord> 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<mineplex.database.tables.records.ClanTerritoryRecord> KEY_clanTerritory_PRIMARY = createUniqueKey(mineplex.database.tables.ClanTerritory.clanTerritory, mineplex.database.tables.ClanTerritory.clanTerritory.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ClanTerritoryRecord> 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<mineplex.database.tables.records.EloRatingRecord> KEY_eloRating_PRIMARY = createUniqueKey(mineplex.database.tables.EloRating.eloRating, mineplex.database.tables.EloRating.eloRating.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.EloRatingRecord> KEY_eloRating_uuid_gameType_index = createUniqueKey(mineplex.database.tables.EloRating.eloRating, mineplex.database.tables.EloRating.eloRating.uuid, mineplex.database.tables.EloRating.eloRating.gameType);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.EloRatingRecord> 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<mineplex.database.tables.records.FieldBlockRecord> KEY_fieldBlock_PRIMARY = createUniqueKey(mineplex.database.tables.FieldBlock.fieldBlock, mineplex.database.tables.FieldBlock.fieldBlock.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.FieldMonsterRecord> KEY_fieldMonster_PRIMARY = createUniqueKey(mineplex.database.tables.FieldMonster.fieldMonster, mineplex.database.tables.FieldMonster.fieldMonster.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.FieldOreRecord> KEY_fieldOre_PRIMARY = createUniqueKey(mineplex.database.tables.FieldOre.fieldOre, mineplex.database.tables.FieldOre.fieldOre.id);
|
||||
@ -187,14 +237,23 @@ public class Keys {
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.PollsRecord> KEY_polls_PRIMARY = createUniqueKey(mineplex.database.tables.Polls.polls, mineplex.database.tables.Polls.polls.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.ServerPasswordRecord> KEY_serverPassword_PRIMARY = createUniqueKey(mineplex.database.tables.ServerPassword.serverPassword, mineplex.database.tables.ServerPassword.serverPassword.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.SpawnsRecord> KEY_spawns_PRIMARY = createUniqueKey(mineplex.database.tables.Spawns.spawns, mineplex.database.tables.Spawns.spawns.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.StatEventsRecord> KEY_statEvents_PRIMARY = createUniqueKey(mineplex.database.tables.StatEvents.statEvents, mineplex.database.tables.StatEvents.statEvents.eventId);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.StatEventsRecord> 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<mineplex.database.tables.records.StatsRecord> KEY_stats_PRIMARY = createUniqueKey(mineplex.database.tables.Stats.stats, mineplex.database.tables.Stats.stats.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.StatsRecord> KEY_stats_nameIndex = createUniqueKey(mineplex.database.tables.Stats.stats, mineplex.database.tables.Stats.stats.name);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.StatTypesRecord> KEY_statTypes_PRIMARY = createUniqueKey(mineplex.database.tables.StatTypes.statTypes, mineplex.database.tables.StatTypes.statTypes.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.StatTypesRecord> KEY_statTypes_name = createUniqueKey(mineplex.database.tables.StatTypes.statTypes, mineplex.database.tables.StatTypes.statTypes.name);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.TasksRecord> KEY_tasks_PRIMARY = createUniqueKey(mineplex.database.tables.Tasks.tasks, mineplex.database.tables.Tasks.tasks.id);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.TasksRecord> KEY_tasks_name_UNIQUE = createUniqueKey(mineplex.database.tables.Tasks.tasks, mineplex.database.tables.Tasks.tasks.name);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.TournamentLBRecord> KEY_TournamentLB_PRIMARY = createUniqueKey(mineplex.database.tables.TournamentLB.TournamentLB, mineplex.database.tables.TournamentLB.TournamentLB.rank);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.TournamentLBRecord> KEY_TournamentLB_UK_PlayerEntry = createUniqueKey(mineplex.database.tables.TournamentLB.TournamentLB, mineplex.database.tables.TournamentLB.TournamentLB.accountId);
|
||||
public static final org.jooq.UniqueKey<mineplex.database.tables.records.TransactionsRecord> 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<mineplex.database.tables.records.AccountClanRecord, mineplex.database.tables.records.AccountsRecord> accountClan_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.AccountClan.accountClan, mineplex.database.tables.AccountClan.accountClan.accountId);
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountClanRecord, mineplex.database.tables.records.ClansRecord> accountClan_ibfk_2 = createForeignKey(mineplex.database.Keys.KEY_clans_PRIMARY, mineplex.database.tables.AccountClan.accountClan, mineplex.database.tables.AccountClan.accountClan.clanId);
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountCoinTransactionsRecord, mineplex.database.tables.records.AccountsRecord> accountCoinTransactions_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_uuidIndex, mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions, mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions.accounts_uuid);
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountClanRecord, mineplex.database.tables.records.AccountsRecord> 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<mineplex.database.tables.records.AccountClanRecord, mineplex.database.tables.records.ClansRecord> 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<mineplex.database.tables.records.AccountCoinTransactionsRecord, mineplex.database.tables.records.AccountsRecord> 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<mineplex.database.tables.records.AccountGemTransactionsRecord, mineplex.database.tables.records.AccountsRecord> 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<mineplex.database.tables.records.AccountInventoryRecord, mineplex.database.tables.records.AccountsRecord> 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<mineplex.database.tables.records.AccountInventoryRecord, mineplex.database.tables.records.ItemsRecord> accountInventory_ibfk_2 = createForeignKey(mineplex.database.Keys.KEY_items_PRIMARY, mineplex.database.tables.AccountInventory.accountInventory, mineplex.database.tables.AccountInventory.accountInventory.itemId);
|
||||
@ -202,11 +261,18 @@ public class Keys {
|
||||
public static final org.jooq.ForeignKey<mineplex.database.tables.records.AccountPollsRecord, mineplex.database.tables.records.PollsRecord> 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<mineplex.database.tables.records.AccountStatsRecord, mineplex.database.tables.records.AccountsRecord> 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<mineplex.database.tables.records.AccountStatsRecord, mineplex.database.tables.records.StatsRecord> 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<mineplex.database.tables.records.AccountTasksRecord, mineplex.database.tables.records.AccountsRecord> 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<mineplex.database.tables.records.AccountTasksRecord, mineplex.database.tables.records.TasksRecord> 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<mineplex.database.tables.records.AccountTransactionsRecord, mineplex.database.tables.records.AccountsRecord> 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<mineplex.database.tables.records.AccountTransactionsRecord, mineplex.database.tables.records.TransactionsRecord> 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<mineplex.database.tables.records.BonusRecord, mineplex.database.tables.records.AccountsRecord> 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<mineplex.database.tables.records.ClanAlliancesRecord, mineplex.database.tables.records.ClansRecord> 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<mineplex.database.tables.records.ClanAlliancesRecord, mineplex.database.tables.records.ClansRecord> 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<mineplex.database.tables.records.ClanEnemiesRecord, mineplex.database.tables.records.ClansRecord> 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<mineplex.database.tables.records.ClanEnemiesRecord, mineplex.database.tables.records.ClansRecord> 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<mineplex.database.tables.records.ClansRecord, mineplex.database.tables.records.ClanServerRecord> 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<mineplex.database.tables.records.ClanTerritoryRecord, mineplex.database.tables.records.ClansRecord> 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<mineplex.database.tables.records.ClanTerritoryRecord, mineplex.database.tables.records.ClanServerRecord> 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<mineplex.database.tables.records.ItemsRecord, mineplex.database.tables.records.ItemCategoriesRecord> 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<mineplex.database.tables.records.MailRecord, mineplex.database.tables.records.AccountsRecord> mail_ibfk_1 = createForeignKey(mineplex.database.Keys.KEY_accounts_PRIMARY, mineplex.database.tables.Mail.mail, mineplex.database.tables.Mail.mail.accountId);
|
||||
}
|
||||
|
@ -16,6 +16,74 @@ package mineplex.database;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Routines {
|
||||
|
||||
/**
|
||||
* Call <code>Account.check_daily</code>
|
||||
*/
|
||||
public static mineplex.database.routines.Check_daily callCheckDaily(org.jooq.Configuration configuration, java.lang.Integer accountId_in, java.lang.Integer coins_change, java.lang.Integer gems_change) {
|
||||
mineplex.database.routines.Check_daily p = new mineplex.database.routines.Check_daily();
|
||||
p.setAccountId_in(accountId_in);
|
||||
p.setCoins_change(coins_change);
|
||||
p.setGems_change(gems_change);
|
||||
|
||||
p.execute(configuration);
|
||||
return p;
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>Account.createLeaderboard</code>
|
||||
*/
|
||||
public static void callCreateleaderboard(org.jooq.Configuration configuration, java.lang.String tableName) {
|
||||
mineplex.database.routines.CreateLeaderboard p = new mineplex.database.routines.CreateLeaderboard();
|
||||
p.setTableName(tableName);
|
||||
|
||||
p.execute(configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>Account.HeidiSQL_temproutine_1</code>
|
||||
*/
|
||||
public static void callHeidisqlTemproutine_1(org.jooq.Configuration configuration, java.lang.Integer statAccountID, java.sql.Date statDate, java.lang.Byte statGamemode, java.lang.String statServerGroup, java.lang.Byte statType, java.lang.Short statValue) {
|
||||
mineplex.database.routines.HeidiSQL_temproutine_1 p = new mineplex.database.routines.HeidiSQL_temproutine_1();
|
||||
p.setStatAccountID(statAccountID);
|
||||
p.setStatDate(statDate);
|
||||
p.setStatGamemode(statGamemode);
|
||||
p.setStatServerGroup(statServerGroup);
|
||||
p.setStatType(statType);
|
||||
p.setStatValue(statValue);
|
||||
|
||||
p.execute(configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>Account.HeidiSQL_temproutine_2</code>
|
||||
*/
|
||||
public static void callHeidisqlTemproutine_2(org.jooq.Configuration configuration, java.lang.Integer statAccountID, java.sql.Date statDate, java.lang.Byte statGamemode, java.lang.String statServerGroup, java.lang.Byte statType, java.lang.Short statValue) {
|
||||
mineplex.database.routines.HeidiSQL_temproutine_2 p = new mineplex.database.routines.HeidiSQL_temproutine_2();
|
||||
p.setStatAccountID(statAccountID);
|
||||
p.setStatDate(statDate);
|
||||
p.setStatGamemode(statGamemode);
|
||||
p.setStatServerGroup(statServerGroup);
|
||||
p.setStatType(statType);
|
||||
p.setStatValue(statValue);
|
||||
|
||||
p.execute(configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>Account.insertStatEvent</code>
|
||||
*/
|
||||
public static void callInsertstatevent(org.jooq.Configuration configuration, java.lang.Integer statAccountID, java.sql.Date statDate, java.lang.Byte statGamemode, java.lang.String statServerGroup, java.lang.Byte statType, java.lang.Short statValue) {
|
||||
mineplex.database.routines.InsertStatEvent p = new mineplex.database.routines.InsertStatEvent();
|
||||
p.setStatAccountID(statAccountID);
|
||||
p.setStatDate(statDate);
|
||||
p.setStatGamemode(statGamemode);
|
||||
p.setStatServerGroup(statServerGroup);
|
||||
p.setStatType(statType);
|
||||
p.setStatValue(statValue);
|
||||
|
||||
p.execute(configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>Account.playerLogin</code>
|
||||
*/
|
||||
@ -27,6 +95,17 @@ public class Routines {
|
||||
p.execute(configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>Account.swapTableNames</code>
|
||||
*/
|
||||
public static void callSwaptablenames(org.jooq.Configuration configuration, java.lang.String tableName1, java.lang.String tableName2) {
|
||||
mineplex.database.routines.SwapTableNames p = new mineplex.database.routines.SwapTableNames();
|
||||
p.setTableName1(tableName1);
|
||||
p.setTableName2(tableName2);
|
||||
|
||||
p.execute(configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>Account.test</code>
|
||||
*/
|
||||
@ -37,4 +116,23 @@ public class Routines {
|
||||
|
||||
p.execute(configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>Account.updateTournament</code>
|
||||
*/
|
||||
public static void callUpdatetournament(org.jooq.Configuration configuration, java.lang.String tourneyName) {
|
||||
mineplex.database.routines.UpdateTournament p = new mineplex.database.routines.UpdateTournament();
|
||||
p.setTourneyName(tourneyName);
|
||||
|
||||
p.execute(configuration);
|
||||
}
|
||||
|
||||
/**
|
||||
* Call <code>Account.updateTournaments</code>
|
||||
*/
|
||||
public static void callUpdatetournaments(org.jooq.Configuration configuration) {
|
||||
mineplex.database.routines.UpdateTournaments p = new mineplex.database.routines.UpdateTournaments();
|
||||
|
||||
p.execute(configuration);
|
||||
}
|
||||
}
|
||||
|
@ -66,6 +66,26 @@ public class Tables {
|
||||
*/
|
||||
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.accountTransactions
|
||||
*/
|
||||
public static final mineplex.database.tables.AccountTransactions accountTransactions = mineplex.database.tables.AccountTransactions.accountTransactions;
|
||||
|
||||
/**
|
||||
* The table Account.activeTournaments
|
||||
*/
|
||||
public static final mineplex.database.tables.ActiveTournaments activeTournaments = mineplex.database.tables.ActiveTournaments.activeTournaments;
|
||||
|
||||
/**
|
||||
* The table Account.bonus
|
||||
*/
|
||||
public static final mineplex.database.tables.Bonus bonus = mineplex.database.tables.Bonus.bonus;
|
||||
|
||||
/**
|
||||
* The table Account.clanAlliances
|
||||
*/
|
||||
@ -76,11 +96,26 @@ public class Tables {
|
||||
*/
|
||||
public static final mineplex.database.tables.ClanEnemies clanEnemies = mineplex.database.tables.ClanEnemies.clanEnemies;
|
||||
|
||||
/**
|
||||
* VIEW
|
||||
*/
|
||||
public static final mineplex.database.tables.ClanMember clanMember = mineplex.database.tables.ClanMember.clanMember;
|
||||
|
||||
/**
|
||||
* The table Account.clans
|
||||
*/
|
||||
public static final mineplex.database.tables.Clans clans = mineplex.database.tables.Clans.clans;
|
||||
|
||||
/**
|
||||
* The table Account.clanServer
|
||||
*/
|
||||
public static final mineplex.database.tables.ClanServer clanServer = mineplex.database.tables.ClanServer.clanServer;
|
||||
|
||||
/**
|
||||
* The table Account.clanShopItem
|
||||
*/
|
||||
public static final mineplex.database.tables.ClanShopItem clanShopItem = mineplex.database.tables.ClanShopItem.clanShopItem;
|
||||
|
||||
/**
|
||||
* The table Account.clanTerritory
|
||||
*/
|
||||
@ -146,8 +181,33 @@ public class Tables {
|
||||
*/
|
||||
public static final mineplex.database.tables.Spawns spawns = mineplex.database.tables.Spawns.spawns;
|
||||
|
||||
/**
|
||||
* The table Account.statEvents
|
||||
*/
|
||||
public static final mineplex.database.tables.StatEvents statEvents = mineplex.database.tables.StatEvents.statEvents;
|
||||
|
||||
/**
|
||||
* The table Account.stats
|
||||
*/
|
||||
public static final mineplex.database.tables.Stats stats = mineplex.database.tables.Stats.stats;
|
||||
|
||||
/**
|
||||
* Stores a reference of the various types of statistics and their associated stat type IDs.
|
||||
*/
|
||||
public static final mineplex.database.tables.StatTypes statTypes = mineplex.database.tables.StatTypes.statTypes;
|
||||
|
||||
/**
|
||||
* The table Account.tasks
|
||||
*/
|
||||
public static final mineplex.database.tables.Tasks tasks = mineplex.database.tables.Tasks.tasks;
|
||||
|
||||
/**
|
||||
* The table Account.TournamentLB
|
||||
*/
|
||||
public static final mineplex.database.tables.TournamentLB TournamentLB = mineplex.database.tables.TournamentLB.TournamentLB;
|
||||
|
||||
/**
|
||||
* The table Account.transactions
|
||||
*/
|
||||
public static final mineplex.database.tables.Transactions transactions = mineplex.database.tables.Transactions.transactions;
|
||||
}
|
||||
|
@ -0,0 +1,93 @@
|
||||
/**
|
||||
* 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_daily extends org.jooq.impl.AbstractRoutine<java.lang.Void> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -1106680609;
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.check_daily.accountId_in</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> accountId_in = createParameter("accountId_in", org.jooq.impl.SQLDataType.INTEGER, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.check_daily.coins_change</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> coins_change = createParameter("coins_change", org.jooq.impl.SQLDataType.INTEGER, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.check_daily.gems_change</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> gems_change = createParameter("gems_change", org.jooq.impl.SQLDataType.INTEGER, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.check_daily.pass</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Byte> pass = createParameter("pass", org.jooq.impl.SQLDataType.TINYINT, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.check_daily.outTime</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.sql.Timestamp> outTime = createParameter("outTime", org.jooq.impl.SQLDataType.TIMESTAMP, false);
|
||||
|
||||
/**
|
||||
* Create a new routine call instance
|
||||
*/
|
||||
public Check_daily() {
|
||||
super("check_daily", mineplex.database.Account.Account);
|
||||
|
||||
addInParameter(accountId_in);
|
||||
addInParameter(coins_change);
|
||||
addInParameter(gems_change);
|
||||
addOutParameter(pass);
|
||||
addOutParameter(outTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>accountId_in</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setAccountId_in(java.lang.Integer value) {
|
||||
setValue(mineplex.database.routines.Check_daily.accountId_in, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>coins_change</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setCoins_change(java.lang.Integer value) {
|
||||
setValue(mineplex.database.routines.Check_daily.coins_change, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>gems_change</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setGems_change(java.lang.Integer value) {
|
||||
setValue(mineplex.database.routines.Check_daily.gems_change, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the <code>pass</code> parameter OUT value from the routine
|
||||
*/
|
||||
public java.lang.Byte getPass() {
|
||||
return getValue(pass);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the <code>outTime</code> parameter OUT value from the routine
|
||||
*/
|
||||
public java.sql.Timestamp getOutTime() {
|
||||
return getValue(outTime);
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package mineplex.database.routines;
|
||||
|
||||
/**
|
||||
* Creates a functional leaderboard table.
|
||||
*/
|
||||
@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 CreateLeaderboard extends org.jooq.impl.AbstractRoutine<java.lang.Void> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -1695430202;
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.createLeaderboard.tableName</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.String> tableName = createParameter("tableName", org.jooq.impl.SQLDataType.VARCHAR.length(100), false);
|
||||
|
||||
/**
|
||||
* Create a new routine call instance
|
||||
*/
|
||||
public CreateLeaderboard() {
|
||||
super("createLeaderboard", mineplex.database.Account.Account);
|
||||
|
||||
addInParameter(tableName);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>tableName</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setTableName(java.lang.String value) {
|
||||
setValue(mineplex.database.routines.CreateLeaderboard.tableName, value);
|
||||
}
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package mineplex.database.routines;
|
||||
|
||||
/**
|
||||
* Insert (or update) a StatEvent into the StatEvents table.
|
||||
*/
|
||||
@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 HeidiSQL_temproutine_1 extends org.jooq.impl.AbstractRoutine<java.lang.Void> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 1897572892;
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.HeidiSQL_temproutine_1.statAccountID</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> statAccountID = createParameter("statAccountID", org.jooq.impl.SQLDataType.INTEGER, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.HeidiSQL_temproutine_1.statDate</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.sql.Date> statDate = createParameter("statDate", org.jooq.impl.SQLDataType.DATE, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.HeidiSQL_temproutine_1.statGamemode</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Byte> statGamemode = createParameter("statGamemode", org.jooq.impl.SQLDataType.TINYINT, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.HeidiSQL_temproutine_1.statServerGroup</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.String> statServerGroup = createParameter("statServerGroup", org.jooq.impl.SQLDataType.VARCHAR.length(100), false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.HeidiSQL_temproutine_1.statType</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Byte> statType = createParameter("statType", org.jooq.impl.SQLDataType.TINYINT, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.HeidiSQL_temproutine_1.statValue</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Short> statValue = createParameter("statValue", org.jooq.impl.SQLDataType.SMALLINT, false);
|
||||
|
||||
/**
|
||||
* Create a new routine call instance
|
||||
*/
|
||||
public HeidiSQL_temproutine_1() {
|
||||
super("HeidiSQL_temproutine_1", mineplex.database.Account.Account);
|
||||
|
||||
addInParameter(statAccountID);
|
||||
addInParameter(statDate);
|
||||
addInParameter(statGamemode);
|
||||
addInParameter(statServerGroup);
|
||||
addInParameter(statType);
|
||||
addInParameter(statValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statAccountID</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatAccountID(java.lang.Integer value) {
|
||||
setValue(mineplex.database.routines.HeidiSQL_temproutine_1.statAccountID, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statDate</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatDate(java.sql.Date value) {
|
||||
setValue(mineplex.database.routines.HeidiSQL_temproutine_1.statDate, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statGamemode</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatGamemode(java.lang.Byte value) {
|
||||
setValue(mineplex.database.routines.HeidiSQL_temproutine_1.statGamemode, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statServerGroup</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatServerGroup(java.lang.String value) {
|
||||
setValue(mineplex.database.routines.HeidiSQL_temproutine_1.statServerGroup, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statType</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatType(java.lang.Byte value) {
|
||||
setValue(mineplex.database.routines.HeidiSQL_temproutine_1.statType, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statValue</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatValue(java.lang.Short value) {
|
||||
setValue(mineplex.database.routines.HeidiSQL_temproutine_1.statValue, value);
|
||||
}
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package mineplex.database.routines;
|
||||
|
||||
/**
|
||||
* Insert (or update) a StatEvent into the StatEvents table.
|
||||
*/
|
||||
@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 HeidiSQL_temproutine_2 extends org.jooq.impl.AbstractRoutine<java.lang.Void> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -483192775;
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.HeidiSQL_temproutine_2.statAccountID</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> statAccountID = createParameter("statAccountID", org.jooq.impl.SQLDataType.INTEGER, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.HeidiSQL_temproutine_2.statDate</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.sql.Date> statDate = createParameter("statDate", org.jooq.impl.SQLDataType.DATE, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.HeidiSQL_temproutine_2.statGamemode</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Byte> statGamemode = createParameter("statGamemode", org.jooq.impl.SQLDataType.TINYINT, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.HeidiSQL_temproutine_2.statServerGroup</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.String> statServerGroup = createParameter("statServerGroup", org.jooq.impl.SQLDataType.VARCHAR.length(100), false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.HeidiSQL_temproutine_2.statType</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Byte> statType = createParameter("statType", org.jooq.impl.SQLDataType.TINYINT, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.HeidiSQL_temproutine_2.statValue</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Short> statValue = createParameter("statValue", org.jooq.impl.SQLDataType.SMALLINT, false);
|
||||
|
||||
/**
|
||||
* Create a new routine call instance
|
||||
*/
|
||||
public HeidiSQL_temproutine_2() {
|
||||
super("HeidiSQL_temproutine_2", mineplex.database.Account.Account);
|
||||
|
||||
addInParameter(statAccountID);
|
||||
addInParameter(statDate);
|
||||
addInParameter(statGamemode);
|
||||
addInParameter(statServerGroup);
|
||||
addInParameter(statType);
|
||||
addInParameter(statValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statAccountID</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatAccountID(java.lang.Integer value) {
|
||||
setValue(mineplex.database.routines.HeidiSQL_temproutine_2.statAccountID, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statDate</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatDate(java.sql.Date value) {
|
||||
setValue(mineplex.database.routines.HeidiSQL_temproutine_2.statDate, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statGamemode</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatGamemode(java.lang.Byte value) {
|
||||
setValue(mineplex.database.routines.HeidiSQL_temproutine_2.statGamemode, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statServerGroup</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatServerGroup(java.lang.String value) {
|
||||
setValue(mineplex.database.routines.HeidiSQL_temproutine_2.statServerGroup, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statType</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatType(java.lang.Byte value) {
|
||||
setValue(mineplex.database.routines.HeidiSQL_temproutine_2.statType, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statValue</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatValue(java.lang.Short value) {
|
||||
setValue(mineplex.database.routines.HeidiSQL_temproutine_2.statValue, value);
|
||||
}
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package mineplex.database.routines;
|
||||
|
||||
/**
|
||||
* Insert (or update) a StatEvent into the StatEvents table.
|
||||
*/
|
||||
@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 InsertStatEvent extends org.jooq.impl.AbstractRoutine<java.lang.Void> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 688756303;
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.insertStatEvent.statAccountID</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Integer> statAccountID = createParameter("statAccountID", org.jooq.impl.SQLDataType.INTEGER, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.insertStatEvent.statDate</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.sql.Date> statDate = createParameter("statDate", org.jooq.impl.SQLDataType.DATE, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.insertStatEvent.statGamemode</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Byte> statGamemode = createParameter("statGamemode", org.jooq.impl.SQLDataType.TINYINT, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.insertStatEvent.statServerGroup</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.String> statServerGroup = createParameter("statServerGroup", org.jooq.impl.SQLDataType.VARCHAR.length(100), false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.insertStatEvent.statType</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Byte> statType = createParameter("statType", org.jooq.impl.SQLDataType.TINYINT, false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.insertStatEvent.statValue</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.Short> statValue = createParameter("statValue", org.jooq.impl.SQLDataType.SMALLINT, false);
|
||||
|
||||
/**
|
||||
* Create a new routine call instance
|
||||
*/
|
||||
public InsertStatEvent() {
|
||||
super("insertStatEvent", mineplex.database.Account.Account);
|
||||
|
||||
addInParameter(statAccountID);
|
||||
addInParameter(statDate);
|
||||
addInParameter(statGamemode);
|
||||
addInParameter(statServerGroup);
|
||||
addInParameter(statType);
|
||||
addInParameter(statValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statAccountID</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatAccountID(java.lang.Integer value) {
|
||||
setValue(mineplex.database.routines.InsertStatEvent.statAccountID, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statDate</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatDate(java.sql.Date value) {
|
||||
setValue(mineplex.database.routines.InsertStatEvent.statDate, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statGamemode</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatGamemode(java.lang.Byte value) {
|
||||
setValue(mineplex.database.routines.InsertStatEvent.statGamemode, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statServerGroup</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatServerGroup(java.lang.String value) {
|
||||
setValue(mineplex.database.routines.InsertStatEvent.statServerGroup, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statType</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatType(java.lang.Byte value) {
|
||||
setValue(mineplex.database.routines.InsertStatEvent.statType, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>statValue</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setStatValue(java.lang.Short value) {
|
||||
setValue(mineplex.database.routines.InsertStatEvent.statValue, value);
|
||||
}
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package mineplex.database.routines;
|
||||
|
||||
/**
|
||||
* Swap the names of two tables in one atomic operation.
|
||||
*/
|
||||
@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 SwapTableNames extends org.jooq.impl.AbstractRoutine<java.lang.Void> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -1203459895;
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.swapTableNames.tableName1</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.String> tableName1 = createParameter("tableName1", org.jooq.impl.SQLDataType.VARCHAR.length(100), false);
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.swapTableNames.tableName2</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.String> tableName2 = createParameter("tableName2", org.jooq.impl.SQLDataType.VARCHAR.length(100), false);
|
||||
|
||||
/**
|
||||
* Create a new routine call instance
|
||||
*/
|
||||
public SwapTableNames() {
|
||||
super("swapTableNames", mineplex.database.Account.Account);
|
||||
|
||||
addInParameter(tableName1);
|
||||
addInParameter(tableName2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>tableName1</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setTableName1(java.lang.String value) {
|
||||
setValue(mineplex.database.routines.SwapTableNames.tableName1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>tableName2</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setTableName2(java.lang.String value) {
|
||||
setValue(mineplex.database.routines.SwapTableNames.tableName2, value);
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package mineplex.database.routines;
|
||||
|
||||
/**
|
||||
* Update the leaderboard for a given tournament.
|
||||
*/
|
||||
@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 UpdateTournament extends org.jooq.impl.AbstractRoutine<java.lang.Void> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -502124639;
|
||||
|
||||
/**
|
||||
* The parameter <code>Account.updateTournament.tourneyName</code>.
|
||||
*/
|
||||
public static final org.jooq.Parameter<java.lang.String> tourneyName = createParameter("tourneyName", org.jooq.impl.SQLDataType.VARCHAR.length(95), false);
|
||||
|
||||
/**
|
||||
* Create a new routine call instance
|
||||
*/
|
||||
public UpdateTournament() {
|
||||
super("updateTournament", mineplex.database.Account.Account);
|
||||
|
||||
addInParameter(tourneyName);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the <code>tourneyName</code> parameter IN value to the routine
|
||||
*/
|
||||
public void setTourneyName(java.lang.String value) {
|
||||
setValue(mineplex.database.routines.UpdateTournament.tourneyName, value);
|
||||
}
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package mineplex.database.routines;
|
||||
|
||||
/**
|
||||
* Update the leaderboard for all currently active tournaments.
|
||||
*/
|
||||
@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 UpdateTournaments extends org.jooq.impl.AbstractRoutine<java.lang.Void> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 176108358;
|
||||
|
||||
/**
|
||||
* Create a new routine call instance
|
||||
*/
|
||||
public UpdateTournaments() {
|
||||
super("updateTournaments", mineplex.database.Account.Account);
|
||||
}
|
||||
}
|
@ -16,7 +16,7 @@ package mineplex.database.tables;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccountClan extends org.jooq.impl.TableImpl<mineplex.database.tables.records.AccountClanRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 1128103338;
|
||||
private static final long serialVersionUID = 1838492867;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.accountClan</code>
|
||||
@ -39,17 +39,17 @@ public class AccountClan extends org.jooq.impl.TableImpl<mineplex.database.table
|
||||
/**
|
||||
* The column <code>Account.accountClan.accountId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountClanRecord, java.lang.Integer> accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountClanRecord, java.lang.Integer> accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountClan.clanId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountClanRecord, java.lang.Integer> clanId = createField("clanId", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountClanRecord, java.lang.Integer> clanId = createField("clanId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountClan.clanRole</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountClanRecord, java.lang.String> clanRole = createField("clanRole", org.jooq.impl.SQLDataType.VARCHAR.length(140), this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountClanRecord, java.lang.String> clanRole = createField("clanRole", org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.accountClan</code> table reference
|
||||
@ -102,7 +102,7 @@ public class AccountClan extends org.jooq.impl.TableImpl<mineplex.database.table
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.ForeignKey<mineplex.database.tables.records.AccountClanRecord, ?>> getReferences() {
|
||||
return java.util.Arrays.<org.jooq.ForeignKey<mineplex.database.tables.records.AccountClanRecord, ?>>asList(mineplex.database.Keys.accountClan_ibfk_1, mineplex.database.Keys.accountClan_ibfk_2);
|
||||
return java.util.Arrays.<org.jooq.ForeignKey<mineplex.database.tables.records.AccountClanRecord, ?>>asList(mineplex.database.Keys.FK_accountClan_accounts, mineplex.database.Keys.FK_accountClan_clans2);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -16,7 +16,7 @@ package mineplex.database.tables;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccountCoinTransactions extends org.jooq.impl.TableImpl<mineplex.database.tables.records.AccountCoinTransactionsRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -1752050449;
|
||||
private static final long serialVersionUID = -205501041;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.accountCoinTransactions</code>
|
||||
@ -37,9 +37,9 @@ public class AccountCoinTransactions extends org.jooq.impl.TableImpl<mineplex.da
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountCoinTransactionsRecord, java.lang.Integer> id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountCoinTransactions.accounts_uuid</code>.
|
||||
* The column <code>Account.accountCoinTransactions.accountId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountCoinTransactionsRecord, java.lang.String> accounts_uuid = createField("accounts_uuid", org.jooq.impl.SQLDataType.VARCHAR.length(100), this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountCoinTransactionsRecord, java.lang.Integer> accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountCoinTransactions.reason</code>.
|
||||
@ -102,7 +102,7 @@ public class AccountCoinTransactions extends org.jooq.impl.TableImpl<mineplex.da
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.ForeignKey<mineplex.database.tables.records.AccountCoinTransactionsRecord, ?>> getReferences() {
|
||||
return java.util.Arrays.<org.jooq.ForeignKey<mineplex.database.tables.records.AccountCoinTransactionsRecord, ?>>asList(mineplex.database.Keys.accountCoinTransactions_ibfk_1);
|
||||
return java.util.Arrays.<org.jooq.ForeignKey<mineplex.database.tables.records.AccountCoinTransactionsRecord, ?>>asList(mineplex.database.Keys.FK_ACT_ACCOUNTS_ID);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -16,7 +16,7 @@ package mineplex.database.tables;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccountFriend extends org.jooq.impl.TableImpl<mineplex.database.tables.records.AccountFriendRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 1087877071;
|
||||
private static final long serialVersionUID = -1948342395;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.accountFriend</code>
|
||||
@ -56,6 +56,16 @@ public class AccountFriend extends org.jooq.impl.TableImpl<mineplex.database.tab
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountFriendRecord, java.sql.Timestamp> created = createField("created", org.jooq.impl.SQLDataType.TIMESTAMP, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountFriend.sourceId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountFriendRecord, java.lang.Integer> sourceId = createField("sourceId", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountFriend.targetId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountFriendRecord, java.lang.Integer> targetId = createField("targetId", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.accountFriend</code> table reference
|
||||
*/
|
||||
|
@ -16,7 +16,7 @@ package mineplex.database.tables;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccountPreferences extends org.jooq.impl.TableImpl<mineplex.database.tables.records.AccountPreferencesRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -1627677427;
|
||||
private static final long serialVersionUID = -38086905;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.accountPreferences</code>
|
||||
@ -126,6 +126,11 @@ public class AccountPreferences extends org.jooq.impl.TableImpl<mineplex.databas
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountPreferencesRecord, java.lang.Byte> friendAllowMessaging = createField("friendAllowMessaging", org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountPreferences.language</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountPreferencesRecord, java.lang.String> language = createField("language", org.jooq.impl.SQLDataType.VARCHAR.length(45), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.accountPreferences</code> table reference
|
||||
*/
|
||||
|
@ -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 AccountTasks extends org.jooq.impl.TableImpl<mineplex.database.tables.records.AccountTasksRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -1258627706;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.accountTasks</code>
|
||||
*/
|
||||
public static final mineplex.database.tables.AccountTasks accountTasks = new mineplex.database.tables.AccountTasks();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<mineplex.database.tables.records.AccountTasksRecord> getRecordType() {
|
||||
return mineplex.database.tables.records.AccountTasksRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountTasks.id</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountTasksRecord, java.lang.Integer> id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountTasks.accountId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountTasksRecord, java.lang.Integer> accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountTasks.taskId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountTasksRecord, java.lang.Integer> taskId = createField("taskId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.accountTasks</code> table reference
|
||||
*/
|
||||
public AccountTasks() {
|
||||
this("accountTasks", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>Account.accountTasks</code> table reference
|
||||
*/
|
||||
public AccountTasks(java.lang.String alias) {
|
||||
this(alias, mineplex.database.tables.AccountTasks.accountTasks);
|
||||
}
|
||||
|
||||
private AccountTasks(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.AccountTasksRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private AccountTasks(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.AccountTasksRecord> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, mineplex.database.Account.Account, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Identity<mineplex.database.tables.records.AccountTasksRecord, java.lang.Integer> getIdentity() {
|
||||
return mineplex.database.Keys.IDENTITY_accountTasks;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.UniqueKey<mineplex.database.tables.records.AccountTasksRecord> getPrimaryKey() {
|
||||
return mineplex.database.Keys.KEY_accountTasks_PRIMARY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.AccountTasksRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.AccountTasksRecord>>asList(mineplex.database.Keys.KEY_accountTasks_PRIMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.ForeignKey<mineplex.database.tables.records.AccountTasksRecord, ?>> getReferences() {
|
||||
return java.util.Arrays.<org.jooq.ForeignKey<mineplex.database.tables.records.AccountTasksRecord, ?>>asList(mineplex.database.Keys.ACCOUNTTASKS_ACCOUNTID, mineplex.database.Keys.ACCOUNTTASKS_TASKID);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public mineplex.database.tables.AccountTasks as(java.lang.String alias) {
|
||||
return new mineplex.database.tables.AccountTasks(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public mineplex.database.tables.AccountTasks rename(java.lang.String name) {
|
||||
return new mineplex.database.tables.AccountTasks(name, null);
|
||||
}
|
||||
}
|
@ -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 AccountTransactions extends org.jooq.impl.TableImpl<mineplex.database.tables.records.AccountTransactionsRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 628330770;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.accountTransactions</code>
|
||||
*/
|
||||
public static final mineplex.database.tables.AccountTransactions accountTransactions = new mineplex.database.tables.AccountTransactions();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<mineplex.database.tables.records.AccountTransactionsRecord> getRecordType() {
|
||||
return mineplex.database.tables.records.AccountTransactionsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountTransactions.id</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountTransactionsRecord, java.lang.Integer> id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountTransactions.accountId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountTransactionsRecord, java.lang.Integer> accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountTransactions.transactionId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountTransactionsRecord, java.lang.Integer> transactionId = createField("transactionId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountTransactions.coins</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountTransactionsRecord, java.lang.Integer> coins = createField("coins", org.jooq.impl.SQLDataType.INTEGER.defaulted(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.accountTransactions.gems</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.AccountTransactionsRecord, java.lang.Integer> gems = createField("gems", org.jooq.impl.SQLDataType.INTEGER.defaulted(true), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.accountTransactions</code> table reference
|
||||
*/
|
||||
public AccountTransactions() {
|
||||
this("accountTransactions", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>Account.accountTransactions</code> table reference
|
||||
*/
|
||||
public AccountTransactions(java.lang.String alias) {
|
||||
this(alias, mineplex.database.tables.AccountTransactions.accountTransactions);
|
||||
}
|
||||
|
||||
private AccountTransactions(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.AccountTransactionsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private AccountTransactions(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.AccountTransactionsRecord> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, mineplex.database.Account.Account, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Identity<mineplex.database.tables.records.AccountTransactionsRecord, java.lang.Integer> getIdentity() {
|
||||
return mineplex.database.Keys.IDENTITY_accountTransactions;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.UniqueKey<mineplex.database.tables.records.AccountTransactionsRecord> getPrimaryKey() {
|
||||
return mineplex.database.Keys.KEY_accountTransactions_PRIMARY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.AccountTransactionsRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.AccountTransactionsRecord>>asList(mineplex.database.Keys.KEY_accountTransactions_PRIMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.ForeignKey<mineplex.database.tables.records.AccountTransactionsRecord, ?>> getReferences() {
|
||||
return java.util.Arrays.<org.jooq.ForeignKey<mineplex.database.tables.records.AccountTransactionsRecord, ?>>asList(mineplex.database.Keys.ACCOUNTTRANSACTIONS_ACCOUNTID, mineplex.database.Keys.ACCOUNTTRANSACTIONS_TRANSACTIONID);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public mineplex.database.tables.AccountTransactions as(java.lang.String alias) {
|
||||
return new mineplex.database.tables.AccountTransactions(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public mineplex.database.tables.AccountTransactions rename(java.lang.String name) {
|
||||
return new mineplex.database.tables.AccountTransactions(name, null);
|
||||
}
|
||||
}
|
@ -0,0 +1,111 @@
|
||||
/**
|
||||
* 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 ActiveTournaments extends org.jooq.impl.TableImpl<mineplex.database.tables.records.ActiveTournamentsRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 1981348090;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.activeTournaments</code>
|
||||
*/
|
||||
public static final mineplex.database.tables.ActiveTournaments activeTournaments = new mineplex.database.tables.ActiveTournaments();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<mineplex.database.tables.records.ActiveTournamentsRecord> getRecordType() {
|
||||
return mineplex.database.tables.records.ActiveTournamentsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>Account.activeTournaments.name</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ActiveTournamentsRecord, java.lang.String> name = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.activeTournaments.start_date</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ActiveTournamentsRecord, java.sql.Date> start_date = createField("start_date", org.jooq.impl.SQLDataType.DATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.activeTournaments.end_date</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ActiveTournamentsRecord, java.sql.Date> end_date = createField("end_date", org.jooq.impl.SQLDataType.DATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.activeTournaments.is_gamemode</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ActiveTournamentsRecord, java.lang.Integer> is_gamemode = createField("is_gamemode", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.activeTournaments.server_id</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ActiveTournamentsRecord, org.jooq.types.UByte> server_id = createField("server_id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.activeTournaments</code> table reference
|
||||
*/
|
||||
public ActiveTournaments() {
|
||||
this("activeTournaments", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>Account.activeTournaments</code> table reference
|
||||
*/
|
||||
public ActiveTournaments(java.lang.String alias) {
|
||||
this(alias, mineplex.database.tables.ActiveTournaments.activeTournaments);
|
||||
}
|
||||
|
||||
private ActiveTournaments(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.ActiveTournamentsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private ActiveTournaments(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.ActiveTournamentsRecord> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, mineplex.database.Account.Account, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.UniqueKey<mineplex.database.tables.records.ActiveTournamentsRecord> getPrimaryKey() {
|
||||
return mineplex.database.Keys.KEY_activeTournaments_PRIMARY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.ActiveTournamentsRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.ActiveTournamentsRecord>>asList(mineplex.database.Keys.KEY_activeTournaments_PRIMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public mineplex.database.tables.ActiveTournaments as(java.lang.String alias) {
|
||||
return new mineplex.database.tables.ActiveTournaments(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public mineplex.database.tables.ActiveTournaments rename(java.lang.String name) {
|
||||
return new mineplex.database.tables.ActiveTournaments(name, null);
|
||||
}
|
||||
}
|
@ -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 Bonus extends org.jooq.impl.TableImpl<mineplex.database.tables.records.BonusRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -1950407601;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.bonus</code>
|
||||
*/
|
||||
public static final mineplex.database.tables.Bonus bonus = new mineplex.database.tables.Bonus();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<mineplex.database.tables.records.BonusRecord> getRecordType() {
|
||||
return mineplex.database.tables.records.BonusRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>Account.bonus.accountId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.BonusRecord, java.lang.Integer> accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.bonus.dailytime</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.BonusRecord, java.sql.Timestamp> dailytime = createField("dailytime", org.jooq.impl.SQLDataType.TIMESTAMP, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.bonus.ranktime</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.BonusRecord, java.sql.Timestamp> ranktime = createField("ranktime", org.jooq.impl.SQLDataType.TIMESTAMP, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.bonus</code> table reference
|
||||
*/
|
||||
public Bonus() {
|
||||
this("bonus", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>Account.bonus</code> table reference
|
||||
*/
|
||||
public Bonus(java.lang.String alias) {
|
||||
this(alias, mineplex.database.tables.Bonus.bonus);
|
||||
}
|
||||
|
||||
private Bonus(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.BonusRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Bonus(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.BonusRecord> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, mineplex.database.Account.Account, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Identity<mineplex.database.tables.records.BonusRecord, java.lang.Integer> getIdentity() {
|
||||
return mineplex.database.Keys.IDENTITY_bonus;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.UniqueKey<mineplex.database.tables.records.BonusRecord> getPrimaryKey() {
|
||||
return mineplex.database.Keys.KEY_bonus_PRIMARY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.BonusRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.BonusRecord>>asList(mineplex.database.Keys.KEY_bonus_PRIMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.ForeignKey<mineplex.database.tables.records.BonusRecord, ?>> getReferences() {
|
||||
return java.util.Arrays.<org.jooq.ForeignKey<mineplex.database.tables.records.BonusRecord, ?>>asList(mineplex.database.Keys.bonus_ibfk_1);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public mineplex.database.tables.Bonus as(java.lang.String alias) {
|
||||
return new mineplex.database.tables.Bonus(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public mineplex.database.tables.Bonus rename(java.lang.String name) {
|
||||
return new mineplex.database.tables.Bonus(name, null);
|
||||
}
|
||||
}
|
@ -16,7 +16,7 @@ package mineplex.database.tables;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ClanAlliances extends org.jooq.impl.TableImpl<mineplex.database.tables.records.ClanAlliancesRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -948941039;
|
||||
private static final long serialVersionUID = 2034100059;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.clanAlliances</code>
|
||||
@ -49,7 +49,7 @@ public class ClanAlliances extends org.jooq.impl.TableImpl<mineplex.database.tab
|
||||
/**
|
||||
* The column <code>Account.clanAlliances.trusted</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanAlliancesRecord, java.lang.Byte> trusted = createField("trusted", org.jooq.impl.SQLDataType.TINYINT, this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanAlliancesRecord, java.lang.Boolean> trusted = createField("trusted", org.jooq.impl.SQLDataType.BIT, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.clanAlliances</code> table reference
|
||||
|
@ -16,7 +16,7 @@ package mineplex.database.tables;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ClanEnemies extends org.jooq.impl.TableImpl<mineplex.database.tables.records.ClanEnemiesRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 362260050;
|
||||
private static final long serialVersionUID = 7530567;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.clanEnemies</code>
|
||||
@ -46,6 +46,11 @@ public class ClanEnemies extends org.jooq.impl.TableImpl<mineplex.database.table
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanEnemiesRecord, java.lang.Integer> otherClanId = createField("otherClanId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanEnemies.initiator</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanEnemiesRecord, java.lang.Boolean> initiator = createField("initiator", org.jooq.impl.SQLDataType.BIT.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanEnemies.timeFormed</code>.
|
||||
*/
|
||||
|
@ -0,0 +1,100 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package mineplex.database.tables;
|
||||
|
||||
/**
|
||||
* VIEW
|
||||
*/
|
||||
@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 ClanMember extends org.jooq.impl.TableImpl<mineplex.database.tables.records.ClanMemberRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -681774477;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.clanMember</code>
|
||||
*/
|
||||
public static final mineplex.database.tables.ClanMember clanMember = new mineplex.database.tables.ClanMember();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<mineplex.database.tables.records.ClanMemberRecord> getRecordType() {
|
||||
return mineplex.database.tables.records.ClanMemberRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanMember.id</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanMemberRecord, java.lang.Integer> id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanMember.accountId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanMemberRecord, java.lang.Integer> accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanMember.clanId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanMemberRecord, java.lang.Integer> clanId = createField("clanId", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanMember.clanRole</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanMemberRecord, java.lang.String> clanRole = createField("clanRole", org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanMember.uuid</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanMemberRecord, java.lang.String> uuid = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanMember.name</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanMemberRecord, java.lang.String> name = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(40), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.clanMember</code> table reference
|
||||
*/
|
||||
public ClanMember() {
|
||||
this("clanMember", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>Account.clanMember</code> table reference
|
||||
*/
|
||||
public ClanMember(java.lang.String alias) {
|
||||
this(alias, mineplex.database.tables.ClanMember.clanMember);
|
||||
}
|
||||
|
||||
private ClanMember(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.ClanMemberRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private ClanMember(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.ClanMemberRecord> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, mineplex.database.Account.Account, aliased, parameters, "VIEW");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public mineplex.database.tables.ClanMember as(java.lang.String alias) {
|
||||
return new mineplex.database.tables.ClanMember(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public mineplex.database.tables.ClanMember rename(java.lang.String name) {
|
||||
return new mineplex.database.tables.ClanMember(name, null);
|
||||
}
|
||||
}
|
@ -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 ClanServer extends org.jooq.impl.TableImpl<mineplex.database.tables.records.ClanServerRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -566894974;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.clanServer</code>
|
||||
*/
|
||||
public static final mineplex.database.tables.ClanServer clanServer = new mineplex.database.tables.ClanServer();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<mineplex.database.tables.records.ClanServerRecord> getRecordType() {
|
||||
return mineplex.database.tables.records.ClanServerRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanServer.id</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanServerRecord, java.lang.Integer> id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanServer.serverName</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanServerRecord, java.lang.String> serverName = createField("serverName", org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.clanServer</code> table reference
|
||||
*/
|
||||
public ClanServer() {
|
||||
this("clanServer", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>Account.clanServer</code> table reference
|
||||
*/
|
||||
public ClanServer(java.lang.String alias) {
|
||||
this(alias, mineplex.database.tables.ClanServer.clanServer);
|
||||
}
|
||||
|
||||
private ClanServer(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.ClanServerRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private ClanServer(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.ClanServerRecord> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, mineplex.database.Account.Account, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Identity<mineplex.database.tables.records.ClanServerRecord, java.lang.Integer> getIdentity() {
|
||||
return mineplex.database.Keys.IDENTITY_clanServer;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.UniqueKey<mineplex.database.tables.records.ClanServerRecord> getPrimaryKey() {
|
||||
return mineplex.database.Keys.KEY_clanServer_PRIMARY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.ClanServerRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.ClanServerRecord>>asList(mineplex.database.Keys.KEY_clanServer_PRIMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public mineplex.database.tables.ClanServer as(java.lang.String alias) {
|
||||
return new mineplex.database.tables.ClanServer(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public mineplex.database.tables.ClanServer rename(java.lang.String name) {
|
||||
return new mineplex.database.tables.ClanServer(name, null);
|
||||
}
|
||||
}
|
@ -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 ClanShopItem extends org.jooq.impl.TableImpl<mineplex.database.tables.records.ClanShopItemRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 1330993982;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.clanShopItem</code>
|
||||
*/
|
||||
public static final mineplex.database.tables.ClanShopItem clanShopItem = new mineplex.database.tables.ClanShopItem();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<mineplex.database.tables.records.ClanShopItemRecord> getRecordType() {
|
||||
return mineplex.database.tables.records.ClanShopItemRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanShopItem.id</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanShopItemRecord, java.lang.Integer> id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanShopItem.shopName</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanShopItemRecord, java.lang.String> shopName = createField("shopName", org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanShopItem.shopPage</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanShopItemRecord, java.lang.String> shopPage = createField("shopPage", org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanShopItem.slot</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanShopItemRecord, java.lang.Integer> slot = createField("slot", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanShopItem.material</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanShopItemRecord, java.lang.String> material = createField("material", org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanShopItem.data</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanShopItemRecord, java.lang.Byte> data = createField("data", org.jooq.impl.SQLDataType.TINYINT.nullable(false).defaulted(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanShopItem.lore</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanShopItemRecord, java.lang.String> lore = createField("lore", org.jooq.impl.SQLDataType.VARCHAR.length(50), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanShopItem.displayName</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanShopItemRecord, java.lang.String> displayName = createField("displayName", org.jooq.impl.SQLDataType.VARCHAR.length(50).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanShopItem.price</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanShopItemRecord, java.lang.Integer> price = createField("price", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanShopItem.bulkCount</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanShopItemRecord, java.lang.Integer> bulkCount = createField("bulkCount", org.jooq.impl.SQLDataType.INTEGER.nullable(false).defaulted(true), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.clanShopItem</code> table reference
|
||||
*/
|
||||
public ClanShopItem() {
|
||||
this("clanShopItem", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>Account.clanShopItem</code> table reference
|
||||
*/
|
||||
public ClanShopItem(java.lang.String alias) {
|
||||
this(alias, mineplex.database.tables.ClanShopItem.clanShopItem);
|
||||
}
|
||||
|
||||
private ClanShopItem(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.ClanShopItemRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private ClanShopItem(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.ClanShopItemRecord> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, mineplex.database.Account.Account, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Identity<mineplex.database.tables.records.ClanShopItemRecord, java.lang.Integer> getIdentity() {
|
||||
return mineplex.database.Keys.IDENTITY_clanShopItem;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.UniqueKey<mineplex.database.tables.records.ClanShopItemRecord> getPrimaryKey() {
|
||||
return mineplex.database.Keys.KEY_clanShopItem_PRIMARY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.ClanShopItemRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.ClanShopItemRecord>>asList(mineplex.database.Keys.KEY_clanShopItem_PRIMARY, mineplex.database.Keys.KEY_clanShopItem_shop_page_slot_UNIQUE);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public mineplex.database.tables.ClanShopItem as(java.lang.String alias) {
|
||||
return new mineplex.database.tables.ClanShopItem(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public mineplex.database.tables.ClanShopItem rename(java.lang.String name) {
|
||||
return new mineplex.database.tables.ClanShopItem(name, null);
|
||||
}
|
||||
}
|
@ -16,7 +16,7 @@ package mineplex.database.tables;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ClanTerritory extends org.jooq.impl.TableImpl<mineplex.database.tables.records.ClanTerritoryRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -889997754;
|
||||
private static final long serialVersionUID = -1393369389;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.clanTerritory</code>
|
||||
@ -42,9 +42,9 @@ public class ClanTerritory extends org.jooq.impl.TableImpl<mineplex.database.tab
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanTerritoryRecord, java.lang.Integer> clanId = createField("clanId", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanTerritory.serverName</code>.
|
||||
* The column <code>Account.clanTerritory.serverId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanTerritoryRecord, java.lang.String> serverName = createField("serverName", org.jooq.impl.SQLDataType.VARCHAR.length(100), this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanTerritoryRecord, java.lang.Integer> serverId = createField("serverId", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clanTerritory.chunk</code>.
|
||||
@ -54,7 +54,7 @@ public class ClanTerritory extends org.jooq.impl.TableImpl<mineplex.database.tab
|
||||
/**
|
||||
* The column <code>Account.clanTerritory.safe</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanTerritoryRecord, java.lang.Byte> safe = createField("safe", org.jooq.impl.SQLDataType.TINYINT, this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClanTerritoryRecord, java.lang.Boolean> safe = createField("safe", org.jooq.impl.SQLDataType.BIT, this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.clanTerritory</code> table reference
|
||||
@ -99,7 +99,7 @@ public class ClanTerritory extends org.jooq.impl.TableImpl<mineplex.database.tab
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.ClanTerritoryRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.ClanTerritoryRecord>>asList(mineplex.database.Keys.KEY_clanTerritory_PRIMARY);
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.ClanTerritoryRecord>>asList(mineplex.database.Keys.KEY_clanTerritory_PRIMARY, mineplex.database.Keys.KEY_clanTerritory_territory_server_chunk_UNIQUE);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -107,7 +107,7 @@ public class ClanTerritory extends org.jooq.impl.TableImpl<mineplex.database.tab
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.ForeignKey<mineplex.database.tables.records.ClanTerritoryRecord, ?>> getReferences() {
|
||||
return java.util.Arrays.<org.jooq.ForeignKey<mineplex.database.tables.records.ClanTerritoryRecord, ?>>asList(mineplex.database.Keys.clanTerritory_ibfk_1);
|
||||
return java.util.Arrays.<org.jooq.ForeignKey<mineplex.database.tables.records.ClanTerritoryRecord, ?>>asList(mineplex.database.Keys.clanTerritory_ibfk_1, mineplex.database.Keys.clanTerritory_ibfk_2);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -16,7 +16,7 @@ package mineplex.database.tables;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Clans extends org.jooq.impl.TableImpl<mineplex.database.tables.records.ClansRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 1661214130;
|
||||
private static final long serialVersionUID = -194264445;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.clans</code>
|
||||
@ -37,14 +37,14 @@ public class Clans extends org.jooq.impl.TableImpl<mineplex.database.tables.reco
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClansRecord, java.lang.Integer> id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clans.serverName</code>.
|
||||
* The column <code>Account.clans.serverId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClansRecord, java.lang.String> serverName = createField("serverName", org.jooq.impl.SQLDataType.VARCHAR.length(100), this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClansRecord, java.lang.Integer> serverId = createField("serverId", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clans.name</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClansRecord, java.lang.String> name = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(100), this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClansRecord, java.lang.String> name = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clans.description</code>.
|
||||
@ -59,17 +59,17 @@ public class Clans extends org.jooq.impl.TableImpl<mineplex.database.tables.reco
|
||||
/**
|
||||
* The column <code>Account.clans.admin</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClansRecord, java.lang.Byte> admin = createField("admin", org.jooq.impl.SQLDataType.TINYINT, this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClansRecord, java.lang.Boolean> admin = createField("admin", org.jooq.impl.SQLDataType.BIT.nullable(false).defaulted(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clans.dateCreated</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClansRecord, java.lang.String> dateCreated = createField("dateCreated", org.jooq.impl.SQLDataType.CLOB.length(16777215), this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClansRecord, java.sql.Timestamp> dateCreated = createField("dateCreated", org.jooq.impl.SQLDataType.TIMESTAMP.nullable(false).defaulted(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clans.lastOnline</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClansRecord, java.lang.String> lastOnline = createField("lastOnline", org.jooq.impl.SQLDataType.CLOB.length(16777215), this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.ClansRecord, java.sql.Timestamp> lastOnline = createField("lastOnline", org.jooq.impl.SQLDataType.TIMESTAMP, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.clans.energy</code>.
|
||||
@ -119,7 +119,15 @@ public class Clans extends org.jooq.impl.TableImpl<mineplex.database.tables.reco
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.ClansRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.ClansRecord>>asList(mineplex.database.Keys.KEY_clans_PRIMARY);
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.ClansRecord>>asList(mineplex.database.Keys.KEY_clans_PRIMARY, mineplex.database.Keys.KEY_clans_clanName);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.ForeignKey<mineplex.database.tables.records.ClansRecord, ?>> getReferences() {
|
||||
return java.util.Arrays.<org.jooq.ForeignKey<mineplex.database.tables.records.ClansRecord, ?>>asList(mineplex.database.Keys.clans_ibfk_1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -16,7 +16,7 @@ package mineplex.database.tables;
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class EloRating extends org.jooq.impl.TableImpl<mineplex.database.tables.records.EloRatingRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -1481831022;
|
||||
private static final long serialVersionUID = -747680746;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.eloRating</code>
|
||||
@ -34,22 +34,32 @@ public class EloRating extends org.jooq.impl.TableImpl<mineplex.database.tables.
|
||||
/**
|
||||
* The column <code>Account.eloRating.id</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.EloRatingRecord, java.lang.Integer> id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.EloRatingRecord, org.jooq.types.UInteger> id = createField("id", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.eloRating.uuid</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.EloRatingRecord, java.lang.String> uuid = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(256), this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.EloRatingRecord, java.lang.String> uuid = createField("uuid", org.jooq.impl.SQLDataType.VARCHAR.length(256).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.eloRating.gameType</code>.
|
||||
* The column <code>Account.eloRating.gamemode</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.EloRatingRecord, java.lang.String> gameType = createField("gameType", org.jooq.impl.SQLDataType.VARCHAR.length(256), this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.EloRatingRecord, org.jooq.types.UByte> gamemode = createField("gamemode", org.jooq.impl.SQLDataType.TINYINTUNSIGNED.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.eloRating.matchesPlayed</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.EloRatingRecord, org.jooq.types.UInteger> matchesPlayed = createField("matchesPlayed", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false).defaulted(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.eloRating.elo</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.EloRatingRecord, java.lang.Integer> elo = createField("elo", org.jooq.impl.SQLDataType.INTEGER, this, "");
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.EloRatingRecord, java.lang.Integer> elo = createField("elo", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.eloRating.gameType</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.EloRatingRecord, java.lang.String> gameType = createField("gameType", org.jooq.impl.SQLDataType.VARCHAR.length(40).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.eloRating</code> table reference
|
||||
@ -77,7 +87,7 @@ public class EloRating extends org.jooq.impl.TableImpl<mineplex.database.tables.
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Identity<mineplex.database.tables.records.EloRatingRecord, java.lang.Integer> getIdentity() {
|
||||
public org.jooq.Identity<mineplex.database.tables.records.EloRatingRecord, org.jooq.types.UInteger> getIdentity() {
|
||||
return mineplex.database.Keys.IDENTITY_eloRating;
|
||||
}
|
||||
|
||||
|
@ -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 StatEvents extends org.jooq.impl.TableImpl<mineplex.database.tables.records.StatEventsRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 180759980;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.statEvents</code>
|
||||
*/
|
||||
public static final mineplex.database.tables.StatEvents statEvents = new mineplex.database.tables.StatEvents();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<mineplex.database.tables.records.StatEventsRecord> getRecordType() {
|
||||
return mineplex.database.tables.records.StatEventsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>Account.statEvents.eventId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.StatEventsRecord, org.jooq.types.UInteger> eventId = createField("eventId", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.statEvents.accountId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.StatEventsRecord, org.jooq.types.UInteger> accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.statEvents.date</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.StatEventsRecord, java.sql.Date> date = createField("date", org.jooq.impl.SQLDataType.DATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.statEvents.gamemode</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.StatEventsRecord, org.jooq.types.UByte> gamemode = createField("gamemode", org.jooq.impl.SQLDataType.TINYINTUNSIGNED.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.statEvents.serverGroup</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.StatEventsRecord, java.lang.String> serverGroup = createField("serverGroup", org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.statEvents.type</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.StatEventsRecord, org.jooq.types.UByte> type = createField("type", org.jooq.impl.SQLDataType.TINYINTUNSIGNED.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.statEvents.value</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.StatEventsRecord, org.jooq.types.UShort> value = createField("value", org.jooq.impl.SQLDataType.SMALLINTUNSIGNED.nullable(false).defaulted(true), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.statEvents</code> table reference
|
||||
*/
|
||||
public StatEvents() {
|
||||
this("statEvents", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>Account.statEvents</code> table reference
|
||||
*/
|
||||
public StatEvents(java.lang.String alias) {
|
||||
this(alias, mineplex.database.tables.StatEvents.statEvents);
|
||||
}
|
||||
|
||||
private StatEvents(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.StatEventsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private StatEvents(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.StatEventsRecord> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, mineplex.database.Account.Account, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Identity<mineplex.database.tables.records.StatEventsRecord, org.jooq.types.UInteger> getIdentity() {
|
||||
return mineplex.database.Keys.IDENTITY_statEvents;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.UniqueKey<mineplex.database.tables.records.StatEventsRecord> getPrimaryKey() {
|
||||
return mineplex.database.Keys.KEY_statEvents_PRIMARY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.StatEventsRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.StatEventsRecord>>asList(mineplex.database.Keys.KEY_statEvents_PRIMARY, mineplex.database.Keys.KEY_statEvents_UK_DailyEntry);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public mineplex.database.tables.StatEvents as(java.lang.String alias) {
|
||||
return new mineplex.database.tables.StatEvents(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public mineplex.database.tables.StatEvents rename(java.lang.String name) {
|
||||
return new mineplex.database.tables.StatEvents(name, null);
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package mineplex.database.tables;
|
||||
|
||||
/**
|
||||
* Stores a reference of the various types of statistics and their associated
|
||||
* stat type IDs.
|
||||
*/
|
||||
@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 StatTypes extends org.jooq.impl.TableImpl<mineplex.database.tables.records.StatTypesRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -371894741;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.statTypes</code>
|
||||
*/
|
||||
public static final mineplex.database.tables.StatTypes statTypes = new mineplex.database.tables.StatTypes();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<mineplex.database.tables.records.StatTypesRecord> getRecordType() {
|
||||
return mineplex.database.tables.records.StatTypesRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>Account.statTypes.id</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.StatTypesRecord, org.jooq.types.UByte> id = createField("id", org.jooq.impl.SQLDataType.TINYINTUNSIGNED.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.statTypes.name</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.StatTypesRecord, java.lang.String> name = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.statTypes</code> table reference
|
||||
*/
|
||||
public StatTypes() {
|
||||
this("statTypes", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>Account.statTypes</code> table reference
|
||||
*/
|
||||
public StatTypes(java.lang.String alias) {
|
||||
this(alias, mineplex.database.tables.StatTypes.statTypes);
|
||||
}
|
||||
|
||||
private StatTypes(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.StatTypesRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private StatTypes(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.StatTypesRecord> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, mineplex.database.Account.Account, aliased, parameters, "Stores a reference of the various types of statistics and their associated stat type IDs.");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.UniqueKey<mineplex.database.tables.records.StatTypesRecord> getPrimaryKey() {
|
||||
return mineplex.database.Keys.KEY_statTypes_PRIMARY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.StatTypesRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.StatTypesRecord>>asList(mineplex.database.Keys.KEY_statTypes_PRIMARY, mineplex.database.Keys.KEY_statTypes_name);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public mineplex.database.tables.StatTypes as(java.lang.String alias) {
|
||||
return new mineplex.database.tables.StatTypes(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public mineplex.database.tables.StatTypes rename(java.lang.String name) {
|
||||
return new mineplex.database.tables.StatTypes(name, null);
|
||||
}
|
||||
}
|
@ -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 Tasks extends org.jooq.impl.TableImpl<mineplex.database.tables.records.TasksRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 787559873;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.tasks</code>
|
||||
*/
|
||||
public static final mineplex.database.tables.Tasks tasks = new mineplex.database.tables.Tasks();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<mineplex.database.tables.records.TasksRecord> getRecordType() {
|
||||
return mineplex.database.tables.records.TasksRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>Account.tasks.id</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.TasksRecord, java.lang.Integer> id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.tasks.name</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.TasksRecord, java.lang.String> name = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(100), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.tasks</code> table reference
|
||||
*/
|
||||
public Tasks() {
|
||||
this("tasks", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>Account.tasks</code> table reference
|
||||
*/
|
||||
public Tasks(java.lang.String alias) {
|
||||
this(alias, mineplex.database.tables.Tasks.tasks);
|
||||
}
|
||||
|
||||
private Tasks(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.TasksRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Tasks(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.TasksRecord> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, mineplex.database.Account.Account, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Identity<mineplex.database.tables.records.TasksRecord, java.lang.Integer> getIdentity() {
|
||||
return mineplex.database.Keys.IDENTITY_tasks;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.UniqueKey<mineplex.database.tables.records.TasksRecord> getPrimaryKey() {
|
||||
return mineplex.database.Keys.KEY_tasks_PRIMARY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.TasksRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.TasksRecord>>asList(mineplex.database.Keys.KEY_tasks_PRIMARY, mineplex.database.Keys.KEY_tasks_name_UNIQUE);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public mineplex.database.tables.Tasks as(java.lang.String alias) {
|
||||
return new mineplex.database.tables.Tasks(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public mineplex.database.tables.Tasks rename(java.lang.String name) {
|
||||
return new mineplex.database.tables.Tasks(name, null);
|
||||
}
|
||||
}
|
@ -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 TournamentLB extends org.jooq.impl.TableImpl<mineplex.database.tables.records.TournamentLBRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = -8859678;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.TournamentLB</code>
|
||||
*/
|
||||
public static final mineplex.database.tables.TournamentLB TournamentLB = new mineplex.database.tables.TournamentLB();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<mineplex.database.tables.records.TournamentLBRecord> getRecordType() {
|
||||
return mineplex.database.tables.records.TournamentLBRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>Account.TournamentLB.rank</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.TournamentLBRecord, org.jooq.types.UInteger> rank = createField("rank", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.TournamentLB.accountId</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.TournamentLBRecord, org.jooq.types.UInteger> accountId = createField("accountId", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.TournamentLB.value</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.TournamentLBRecord, org.jooq.types.UInteger> value = createField("value", org.jooq.impl.SQLDataType.INTEGERUNSIGNED.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.TournamentLB</code> table reference
|
||||
*/
|
||||
public TournamentLB() {
|
||||
this("TournamentLB", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>Account.TournamentLB</code> table reference
|
||||
*/
|
||||
public TournamentLB(java.lang.String alias) {
|
||||
this(alias, mineplex.database.tables.TournamentLB.TournamentLB);
|
||||
}
|
||||
|
||||
private TournamentLB(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.TournamentLBRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private TournamentLB(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.TournamentLBRecord> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, mineplex.database.Account.Account, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.UniqueKey<mineplex.database.tables.records.TournamentLBRecord> getPrimaryKey() {
|
||||
return mineplex.database.Keys.KEY_TournamentLB_PRIMARY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.TournamentLBRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.TournamentLBRecord>>asList(mineplex.database.Keys.KEY_TournamentLB_PRIMARY, mineplex.database.Keys.KEY_TournamentLB_UK_PlayerEntry);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public mineplex.database.tables.TournamentLB as(java.lang.String alias) {
|
||||
return new mineplex.database.tables.TournamentLB(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public mineplex.database.tables.TournamentLB rename(java.lang.String name) {
|
||||
return new mineplex.database.tables.TournamentLB(name, null);
|
||||
}
|
||||
}
|
@ -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 Transactions extends org.jooq.impl.TableImpl<mineplex.database.tables.records.TransactionsRecord> implements java.io.Serializable, java.lang.Cloneable {
|
||||
|
||||
private static final long serialVersionUID = 513318870;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>Account.transactions</code>
|
||||
*/
|
||||
public static final mineplex.database.tables.Transactions transactions = new mineplex.database.tables.Transactions();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Class<mineplex.database.tables.records.TransactionsRecord> getRecordType() {
|
||||
return mineplex.database.tables.records.TransactionsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>Account.transactions.id</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.TransactionsRecord, java.lang.Integer> id = createField("id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>Account.transactions.name</code>.
|
||||
*/
|
||||
public final org.jooq.TableField<mineplex.database.tables.records.TransactionsRecord, java.lang.String> name = createField("name", org.jooq.impl.SQLDataType.VARCHAR.length(60).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* Create a <code>Account.transactions</code> table reference
|
||||
*/
|
||||
public Transactions() {
|
||||
this("transactions", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>Account.transactions</code> table reference
|
||||
*/
|
||||
public Transactions(java.lang.String alias) {
|
||||
this(alias, mineplex.database.tables.Transactions.transactions);
|
||||
}
|
||||
|
||||
private Transactions(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.TransactionsRecord> aliased) {
|
||||
this(alias, aliased, null);
|
||||
}
|
||||
|
||||
private Transactions(java.lang.String alias, org.jooq.Table<mineplex.database.tables.records.TransactionsRecord> aliased, org.jooq.Field<?>[] parameters) {
|
||||
super(alias, mineplex.database.Account.Account, aliased, parameters, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Identity<mineplex.database.tables.records.TransactionsRecord, java.lang.Integer> getIdentity() {
|
||||
return mineplex.database.Keys.IDENTITY_transactions;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.UniqueKey<mineplex.database.tables.records.TransactionsRecord> getPrimaryKey() {
|
||||
return mineplex.database.Keys.KEY_transactions_PRIMARY;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.util.List<org.jooq.UniqueKey<mineplex.database.tables.records.TransactionsRecord>> getKeys() {
|
||||
return java.util.Arrays.<org.jooq.UniqueKey<mineplex.database.tables.records.TransactionsRecord>>asList(mineplex.database.Keys.KEY_transactions_PRIMARY);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public mineplex.database.tables.Transactions as(java.lang.String alias) {
|
||||
return new mineplex.database.tables.Transactions(alias, this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
public mineplex.database.tables.Transactions rename(java.lang.String name) {
|
||||
return new mineplex.database.tables.Transactions(name, null);
|
||||
}
|
||||
}
|
@ -14,9 +14,9 @@ package mineplex.database.tables.records;
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccountCoinTransactionsRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.AccountCoinTransactionsRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4<java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer> {
|
||||
public class AccountCoinTransactionsRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.AccountCoinTransactionsRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4<java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Integer> {
|
||||
|
||||
private static final long serialVersionUID = 542320400;
|
||||
private static final long serialVersionUID = 1454061161;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountCoinTransactions.id</code>.
|
||||
@ -33,17 +33,17 @@ public class AccountCoinTransactionsRecord extends org.jooq.impl.UpdatableRecord
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountCoinTransactions.accounts_uuid</code>.
|
||||
* Setter for <code>Account.accountCoinTransactions.accountId</code>.
|
||||
*/
|
||||
public void setAccounts_uuid(java.lang.String value) {
|
||||
public void setAccountId(java.lang.Integer value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.accountCoinTransactions.accounts_uuid</code>.
|
||||
* Getter for <code>Account.accountCoinTransactions.accountId</code>.
|
||||
*/
|
||||
public java.lang.String getAccounts_uuid() {
|
||||
return (java.lang.String) getValue(1);
|
||||
public java.lang.Integer getAccountId() {
|
||||
return (java.lang.Integer) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -94,7 +94,7 @@ public class AccountCoinTransactionsRecord extends org.jooq.impl.UpdatableRecord
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row4<java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer> fieldsRow() {
|
||||
public org.jooq.Row4<java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Integer> fieldsRow() {
|
||||
return (org.jooq.Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
@ -102,7 +102,7 @@ public class AccountCoinTransactionsRecord extends org.jooq.impl.UpdatableRecord
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row4<java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer> valuesRow() {
|
||||
public org.jooq.Row4<java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Integer> valuesRow() {
|
||||
return (org.jooq.Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
@ -118,8 +118,8 @@ public class AccountCoinTransactionsRecord extends org.jooq.impl.UpdatableRecord
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field2() {
|
||||
return mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions.accounts_uuid;
|
||||
public org.jooq.Field<java.lang.Integer> field2() {
|
||||
return mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions.accountId;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -150,8 +150,8 @@ public class AccountCoinTransactionsRecord extends org.jooq.impl.UpdatableRecord
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value2() {
|
||||
return getAccounts_uuid();
|
||||
public java.lang.Integer value2() {
|
||||
return getAccountId();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -183,8 +183,8 @@ public class AccountCoinTransactionsRecord extends org.jooq.impl.UpdatableRecord
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountCoinTransactionsRecord value2(java.lang.String value) {
|
||||
setAccounts_uuid(value);
|
||||
public AccountCoinTransactionsRecord value2(java.lang.Integer value) {
|
||||
setAccountId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -210,7 +210,7 @@ public class AccountCoinTransactionsRecord extends org.jooq.impl.UpdatableRecord
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountCoinTransactionsRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.Integer value4) {
|
||||
public AccountCoinTransactionsRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.String value3, java.lang.Integer value4) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -228,11 +228,11 @@ public class AccountCoinTransactionsRecord extends org.jooq.impl.UpdatableRecord
|
||||
/**
|
||||
* Create a detached, initialised AccountCoinTransactionsRecord
|
||||
*/
|
||||
public AccountCoinTransactionsRecord(java.lang.Integer id, java.lang.String accounts_uuid, java.lang.String reason, java.lang.Integer coins) {
|
||||
public AccountCoinTransactionsRecord(java.lang.Integer id, java.lang.Integer accountId, java.lang.String reason, java.lang.Integer coins) {
|
||||
super(mineplex.database.tables.AccountCoinTransactions.accountCoinTransactions);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, accounts_uuid);
|
||||
setValue(1, accountId);
|
||||
setValue(2, reason);
|
||||
setValue(3, coins);
|
||||
}
|
||||
|
@ -14,9 +14,9 @@ package mineplex.database.tables.records;
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccountFriendRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.AccountFriendRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record5<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.sql.Timestamp> {
|
||||
public class AccountFriendRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.AccountFriendRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record7<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.sql.Timestamp, java.lang.Integer, java.lang.Integer> {
|
||||
|
||||
private static final long serialVersionUID = -1309490322;
|
||||
private static final long serialVersionUID = -1039002159;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountFriend.id</code>.
|
||||
@ -88,6 +88,34 @@ public class AccountFriendRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
return (java.sql.Timestamp) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountFriend.sourceId</code>.
|
||||
*/
|
||||
public void setSourceId(java.lang.Integer value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.accountFriend.sourceId</code>.
|
||||
*/
|
||||
public java.lang.Integer getSourceId() {
|
||||
return (java.lang.Integer) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountFriend.targetId</code>.
|
||||
*/
|
||||
public void setTargetId(java.lang.Integer value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.accountFriend.targetId</code>.
|
||||
*/
|
||||
public java.lang.Integer getTargetId() {
|
||||
return (java.lang.Integer) getValue(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
@ -101,23 +129,23 @@ public class AccountFriendRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record5 type implementation
|
||||
// Record7 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row5<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.sql.Timestamp> fieldsRow() {
|
||||
return (org.jooq.Row5) super.fieldsRow();
|
||||
public org.jooq.Row7<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.sql.Timestamp, java.lang.Integer, java.lang.Integer> fieldsRow() {
|
||||
return (org.jooq.Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row5<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.sql.Timestamp> valuesRow() {
|
||||
return (org.jooq.Row5) super.valuesRow();
|
||||
public org.jooq.Row7<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.sql.Timestamp, java.lang.Integer, java.lang.Integer> valuesRow() {
|
||||
return (org.jooq.Row7) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -160,6 +188,22 @@ public class AccountFriendRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
return mineplex.database.tables.AccountFriend.accountFriend.created;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field6() {
|
||||
return mineplex.database.tables.AccountFriend.accountFriend.sourceId;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field7() {
|
||||
return mineplex.database.tables.AccountFriend.accountFriend.targetId;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@ -200,6 +244,22 @@ public class AccountFriendRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
return getCreated();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value6() {
|
||||
return getSourceId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value7() {
|
||||
return getTargetId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@ -249,7 +309,25 @@ public class AccountFriendRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountFriendRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.String value4, java.sql.Timestamp value5) {
|
||||
public AccountFriendRecord value6(java.lang.Integer value) {
|
||||
setSourceId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountFriendRecord value7(java.lang.Integer value) {
|
||||
setTargetId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountFriendRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.String value4, java.sql.Timestamp value5, java.lang.Integer value6, java.lang.Integer value7) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -267,7 +345,7 @@ public class AccountFriendRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
/**
|
||||
* Create a detached, initialised AccountFriendRecord
|
||||
*/
|
||||
public AccountFriendRecord(java.lang.Integer id, java.lang.String uuidSource, java.lang.String uuidTarget, java.lang.String status, java.sql.Timestamp created) {
|
||||
public AccountFriendRecord(java.lang.Integer id, java.lang.String uuidSource, java.lang.String uuidTarget, java.lang.String status, java.sql.Timestamp created, java.lang.Integer sourceId, java.lang.Integer targetId) {
|
||||
super(mineplex.database.tables.AccountFriend.accountFriend);
|
||||
|
||||
setValue(0, id);
|
||||
@ -275,5 +353,7 @@ public class AccountFriendRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
setValue(2, uuidTarget);
|
||||
setValue(3, status);
|
||||
setValue(4, created);
|
||||
setValue(5, sourceId);
|
||||
setValue(6, targetId);
|
||||
}
|
||||
}
|
||||
|
@ -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<mineplex.database.tables.records.AccountPreferencesRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record19<java.lang.Integer, java.lang.String, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte> {
|
||||
public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.AccountPreferencesRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record20<java.lang.Integer, java.lang.String, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.String> {
|
||||
|
||||
private static final long serialVersionUID = 944261312;
|
||||
private static final long serialVersionUID = 296650044;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountPreferences.id</code>.
|
||||
@ -284,6 +284,20 @@ public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl<
|
||||
return (java.lang.Byte) getValue(18);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountPreferences.language</code>.
|
||||
*/
|
||||
public void setLanguage(java.lang.String value) {
|
||||
setValue(19, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.accountPreferences.language</code>.
|
||||
*/
|
||||
public java.lang.String getLanguage() {
|
||||
return (java.lang.String) getValue(19);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
@ -297,23 +311,23 @@ public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl<
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record19 type implementation
|
||||
// Record20 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row19<java.lang.Integer, java.lang.String, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte> fieldsRow() {
|
||||
return (org.jooq.Row19) super.fieldsRow();
|
||||
public org.jooq.Row20<java.lang.Integer, java.lang.String, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.String> fieldsRow() {
|
||||
return (org.jooq.Row20) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row19<java.lang.Integer, java.lang.String, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte> valuesRow() {
|
||||
return (org.jooq.Row19) super.valuesRow();
|
||||
public org.jooq.Row20<java.lang.Integer, java.lang.String, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.Byte, java.lang.String> valuesRow() {
|
||||
return (org.jooq.Row20) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -468,6 +482,14 @@ public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl<
|
||||
return mineplex.database.tables.AccountPreferences.accountPreferences.friendAllowMessaging;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field20() {
|
||||
return mineplex.database.tables.AccountPreferences.accountPreferences.language;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@ -620,6 +642,14 @@ public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl<
|
||||
return getFriendAllowMessaging();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value20() {
|
||||
return getLanguage();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@ -795,7 +825,16 @@ public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl<
|
||||
* {@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) {
|
||||
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;
|
||||
}
|
||||
|
||||
@ -813,7 +852,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) {
|
||||
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) {
|
||||
super(mineplex.database.tables.AccountPreferences.accountPreferences);
|
||||
|
||||
setValue(0, id);
|
||||
@ -835,5 +874,6 @@ public class AccountPreferencesRecord extends org.jooq.impl.UpdatableRecordImpl<
|
||||
setValue(16, friendDisplayServerName);
|
||||
setValue(17, friendAllowRequests);
|
||||
setValue(18, friendAllowMessaging);
|
||||
setValue(19, language);
|
||||
}
|
||||
}
|
||||
|
@ -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 AccountTasksRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.AccountTasksRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3<java.lang.Integer, java.lang.Integer, java.lang.Integer> {
|
||||
|
||||
private static final long serialVersionUID = -1714088606;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountTasks.id</code>.
|
||||
*/
|
||||
public void setId(java.lang.Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.accountTasks.id</code>.
|
||||
*/
|
||||
public java.lang.Integer getId() {
|
||||
return (java.lang.Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountTasks.accountId</code>.
|
||||
*/
|
||||
public void setAccountId(java.lang.Integer value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.accountTasks.accountId</code>.
|
||||
*/
|
||||
public java.lang.Integer getAccountId() {
|
||||
return (java.lang.Integer) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountTasks.taskId</code>.
|
||||
*/
|
||||
public void setTaskId(java.lang.Integer value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.accountTasks.taskId</code>.
|
||||
*/
|
||||
public java.lang.Integer getTaskId() {
|
||||
return (java.lang.Integer) getValue(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Record1<java.lang.Integer> key() {
|
||||
return (org.jooq.Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row3<java.lang.Integer, java.lang.Integer, java.lang.Integer> fieldsRow() {
|
||||
return (org.jooq.Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row3<java.lang.Integer, java.lang.Integer, java.lang.Integer> valuesRow() {
|
||||
return (org.jooq.Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field1() {
|
||||
return mineplex.database.tables.AccountTasks.accountTasks.id;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field2() {
|
||||
return mineplex.database.tables.AccountTasks.accountTasks.accountId;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field3() {
|
||||
return mineplex.database.tables.AccountTasks.accountTasks.taskId;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@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 getTaskId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountTasksRecord value1(java.lang.Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountTasksRecord value2(java.lang.Integer value) {
|
||||
setAccountId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountTasksRecord value3(java.lang.Integer value) {
|
||||
setTaskId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountTasksRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached AccountTasksRecord
|
||||
*/
|
||||
public AccountTasksRecord() {
|
||||
super(mineplex.database.tables.AccountTasks.accountTasks);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised AccountTasksRecord
|
||||
*/
|
||||
public AccountTasksRecord(java.lang.Integer id, java.lang.Integer accountId, java.lang.Integer taskId) {
|
||||
super(mineplex.database.tables.AccountTasks.accountTasks);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, accountId);
|
||||
setValue(2, taskId);
|
||||
}
|
||||
}
|
@ -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 AccountTransactionsRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.AccountTransactionsRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record5<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer> {
|
||||
|
||||
private static final long serialVersionUID = 991305106;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountTransactions.id</code>.
|
||||
*/
|
||||
public void setId(java.lang.Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.accountTransactions.id</code>.
|
||||
*/
|
||||
public java.lang.Integer getId() {
|
||||
return (java.lang.Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountTransactions.accountId</code>.
|
||||
*/
|
||||
public void setAccountId(java.lang.Integer value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.accountTransactions.accountId</code>.
|
||||
*/
|
||||
public java.lang.Integer getAccountId() {
|
||||
return (java.lang.Integer) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountTransactions.transactionId</code>.
|
||||
*/
|
||||
public void setTransactionId(java.lang.Integer value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.accountTransactions.transactionId</code>.
|
||||
*/
|
||||
public java.lang.Integer getTransactionId() {
|
||||
return (java.lang.Integer) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountTransactions.coins</code>.
|
||||
*/
|
||||
public void setCoins(java.lang.Integer value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.accountTransactions.coins</code>.
|
||||
*/
|
||||
public java.lang.Integer getCoins() {
|
||||
return (java.lang.Integer) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.accountTransactions.gems</code>.
|
||||
*/
|
||||
public void setGems(java.lang.Integer value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.accountTransactions.gems</code>.
|
||||
*/
|
||||
public java.lang.Integer getGems() {
|
||||
return (java.lang.Integer) getValue(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Record1<java.lang.Integer> key() {
|
||||
return (org.jooq.Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record5 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row5<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer> fieldsRow() {
|
||||
return (org.jooq.Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row5<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer> valuesRow() {
|
||||
return (org.jooq.Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field1() {
|
||||
return mineplex.database.tables.AccountTransactions.accountTransactions.id;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field2() {
|
||||
return mineplex.database.tables.AccountTransactions.accountTransactions.accountId;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field3() {
|
||||
return mineplex.database.tables.AccountTransactions.accountTransactions.transactionId;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field4() {
|
||||
return mineplex.database.tables.AccountTransactions.accountTransactions.coins;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field5() {
|
||||
return mineplex.database.tables.AccountTransactions.accountTransactions.gems;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@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 getTransactionId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value4() {
|
||||
return getCoins();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value5() {
|
||||
return getGems();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountTransactionsRecord value1(java.lang.Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountTransactionsRecord value2(java.lang.Integer value) {
|
||||
setAccountId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountTransactionsRecord value3(java.lang.Integer value) {
|
||||
setTransactionId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountTransactionsRecord value4(java.lang.Integer value) {
|
||||
setCoins(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountTransactionsRecord value5(java.lang.Integer value) {
|
||||
setGems(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public AccountTransactionsRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.lang.Integer value4, java.lang.Integer value5) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached AccountTransactionsRecord
|
||||
*/
|
||||
public AccountTransactionsRecord() {
|
||||
super(mineplex.database.tables.AccountTransactions.accountTransactions);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised AccountTransactionsRecord
|
||||
*/
|
||||
public AccountTransactionsRecord(java.lang.Integer id, java.lang.Integer accountId, java.lang.Integer transactionId, java.lang.Integer coins, java.lang.Integer gems) {
|
||||
super(mineplex.database.tables.AccountTransactions.accountTransactions);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, accountId);
|
||||
setValue(2, transactionId);
|
||||
setValue(3, coins);
|
||||
setValue(4, gems);
|
||||
}
|
||||
}
|
@ -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 ActiveTournamentsRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.ActiveTournamentsRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record5<java.lang.String, java.sql.Date, java.sql.Date, java.lang.Integer, org.jooq.types.UByte> {
|
||||
|
||||
private static final long serialVersionUID = -1633347474;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.activeTournaments.name</code>.
|
||||
*/
|
||||
public void setName(java.lang.String value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.activeTournaments.name</code>.
|
||||
*/
|
||||
public java.lang.String getName() {
|
||||
return (java.lang.String) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.activeTournaments.start_date</code>.
|
||||
*/
|
||||
public void setStart_date(java.sql.Date value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.activeTournaments.start_date</code>.
|
||||
*/
|
||||
public java.sql.Date getStart_date() {
|
||||
return (java.sql.Date) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.activeTournaments.end_date</code>.
|
||||
*/
|
||||
public void setEnd_date(java.sql.Date value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.activeTournaments.end_date</code>.
|
||||
*/
|
||||
public java.sql.Date getEnd_date() {
|
||||
return (java.sql.Date) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.activeTournaments.is_gamemode</code>.
|
||||
*/
|
||||
public void setIs_gamemode(java.lang.Integer value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.activeTournaments.is_gamemode</code>.
|
||||
*/
|
||||
public java.lang.Integer getIs_gamemode() {
|
||||
return (java.lang.Integer) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.activeTournaments.server_id</code>.
|
||||
*/
|
||||
public void setServer_id(org.jooq.types.UByte value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.activeTournaments.server_id</code>.
|
||||
*/
|
||||
public org.jooq.types.UByte getServer_id() {
|
||||
return (org.jooq.types.UByte) getValue(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Record1<java.lang.String> key() {
|
||||
return (org.jooq.Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record5 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row5<java.lang.String, java.sql.Date, java.sql.Date, java.lang.Integer, org.jooq.types.UByte> fieldsRow() {
|
||||
return (org.jooq.Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row5<java.lang.String, java.sql.Date, java.sql.Date, java.lang.Integer, org.jooq.types.UByte> valuesRow() {
|
||||
return (org.jooq.Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field1() {
|
||||
return mineplex.database.tables.ActiveTournaments.activeTournaments.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.sql.Date> field2() {
|
||||
return mineplex.database.tables.ActiveTournaments.activeTournaments.start_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.sql.Date> field3() {
|
||||
return mineplex.database.tables.ActiveTournaments.activeTournaments.end_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field4() {
|
||||
return mineplex.database.tables.ActiveTournaments.activeTournaments.is_gamemode;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<org.jooq.types.UByte> field5() {
|
||||
return mineplex.database.tables.ActiveTournaments.activeTournaments.server_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value1() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.sql.Date value2() {
|
||||
return getStart_date();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.sql.Date value3() {
|
||||
return getEnd_date();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value4() {
|
||||
return getIs_gamemode();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.types.UByte value5() {
|
||||
return getServer_id();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ActiveTournamentsRecord value1(java.lang.String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ActiveTournamentsRecord value2(java.sql.Date value) {
|
||||
setStart_date(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ActiveTournamentsRecord value3(java.sql.Date value) {
|
||||
setEnd_date(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ActiveTournamentsRecord value4(java.lang.Integer value) {
|
||||
setIs_gamemode(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ActiveTournamentsRecord value5(org.jooq.types.UByte value) {
|
||||
setServer_id(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ActiveTournamentsRecord values(java.lang.String value1, java.sql.Date value2, java.sql.Date value3, java.lang.Integer value4, org.jooq.types.UByte value5) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ActiveTournamentsRecord
|
||||
*/
|
||||
public ActiveTournamentsRecord() {
|
||||
super(mineplex.database.tables.ActiveTournaments.activeTournaments);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ActiveTournamentsRecord
|
||||
*/
|
||||
public ActiveTournamentsRecord(java.lang.String name, java.sql.Date start_date, java.sql.Date end_date, java.lang.Integer is_gamemode, org.jooq.types.UByte server_id) {
|
||||
super(mineplex.database.tables.ActiveTournaments.activeTournaments);
|
||||
|
||||
setValue(0, name);
|
||||
setValue(1, start_date);
|
||||
setValue(2, end_date);
|
||||
setValue(3, is_gamemode);
|
||||
setValue(4, server_id);
|
||||
}
|
||||
}
|
@ -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 BonusRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.BonusRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3<java.lang.Integer, java.sql.Timestamp, java.sql.Timestamp> {
|
||||
|
||||
private static final long serialVersionUID = 1527068906;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.bonus.accountId</code>.
|
||||
*/
|
||||
public void setAccountId(java.lang.Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.bonus.accountId</code>.
|
||||
*/
|
||||
public java.lang.Integer getAccountId() {
|
||||
return (java.lang.Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.bonus.dailytime</code>.
|
||||
*/
|
||||
public void setDailytime(java.sql.Timestamp value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.bonus.dailytime</code>.
|
||||
*/
|
||||
public java.sql.Timestamp getDailytime() {
|
||||
return (java.sql.Timestamp) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.bonus.ranktime</code>.
|
||||
*/
|
||||
public void setRanktime(java.sql.Timestamp value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.bonus.ranktime</code>.
|
||||
*/
|
||||
public java.sql.Timestamp getRanktime() {
|
||||
return (java.sql.Timestamp) getValue(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Record1<java.lang.Integer> key() {
|
||||
return (org.jooq.Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row3<java.lang.Integer, java.sql.Timestamp, java.sql.Timestamp> fieldsRow() {
|
||||
return (org.jooq.Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row3<java.lang.Integer, java.sql.Timestamp, java.sql.Timestamp> valuesRow() {
|
||||
return (org.jooq.Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field1() {
|
||||
return mineplex.database.tables.Bonus.bonus.accountId;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.sql.Timestamp> field2() {
|
||||
return mineplex.database.tables.Bonus.bonus.dailytime;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.sql.Timestamp> field3() {
|
||||
return mineplex.database.tables.Bonus.bonus.ranktime;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value1() {
|
||||
return getAccountId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.sql.Timestamp value2() {
|
||||
return getDailytime();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.sql.Timestamp value3() {
|
||||
return getRanktime();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public BonusRecord value1(java.lang.Integer value) {
|
||||
setAccountId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public BonusRecord value2(java.sql.Timestamp value) {
|
||||
setDailytime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public BonusRecord value3(java.sql.Timestamp value) {
|
||||
setRanktime(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public BonusRecord values(java.lang.Integer value1, java.sql.Timestamp value2, java.sql.Timestamp value3) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached BonusRecord
|
||||
*/
|
||||
public BonusRecord() {
|
||||
super(mineplex.database.tables.Bonus.bonus);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised BonusRecord
|
||||
*/
|
||||
public BonusRecord(java.lang.Integer accountId, java.sql.Timestamp dailytime, java.sql.Timestamp ranktime) {
|
||||
super(mineplex.database.tables.Bonus.bonus);
|
||||
|
||||
setValue(0, accountId);
|
||||
setValue(1, dailytime);
|
||||
setValue(2, ranktime);
|
||||
}
|
||||
}
|
@ -14,9 +14,9 @@ package mineplex.database.tables.records;
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ClanAlliancesRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.ClanAlliancesRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Byte> {
|
||||
public class ClanAlliancesRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.ClanAlliancesRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Boolean> {
|
||||
|
||||
private static final long serialVersionUID = 1482018494;
|
||||
private static final long serialVersionUID = -932423532;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanAlliances.id</code>.
|
||||
@ -63,15 +63,15 @@ public class ClanAlliancesRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
/**
|
||||
* Setter for <code>Account.clanAlliances.trusted</code>.
|
||||
*/
|
||||
public void setTrusted(java.lang.Byte value) {
|
||||
public void setTrusted(java.lang.Boolean value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanAlliances.trusted</code>.
|
||||
*/
|
||||
public java.lang.Byte getTrusted() {
|
||||
return (java.lang.Byte) getValue(3);
|
||||
public java.lang.Boolean getTrusted() {
|
||||
return (java.lang.Boolean) getValue(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
@ -94,7 +94,7 @@ public class ClanAlliancesRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row4<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Byte> fieldsRow() {
|
||||
public org.jooq.Row4<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Boolean> fieldsRow() {
|
||||
return (org.jooq.Row4) super.fieldsRow();
|
||||
}
|
||||
|
||||
@ -102,7 +102,7 @@ public class ClanAlliancesRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row4<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Byte> valuesRow() {
|
||||
public org.jooq.Row4<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Boolean> valuesRow() {
|
||||
return (org.jooq.Row4) super.valuesRow();
|
||||
}
|
||||
|
||||
@ -134,7 +134,7 @@ public class ClanAlliancesRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Byte> field4() {
|
||||
public org.jooq.Field<java.lang.Boolean> field4() {
|
||||
return mineplex.database.tables.ClanAlliances.clanAlliances.trusted;
|
||||
}
|
||||
|
||||
@ -166,7 +166,7 @@ public class ClanAlliancesRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Byte value4() {
|
||||
public java.lang.Boolean value4() {
|
||||
return getTrusted();
|
||||
}
|
||||
|
||||
@ -201,7 +201,7 @@ public class ClanAlliancesRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanAlliancesRecord value4(java.lang.Byte value) {
|
||||
public ClanAlliancesRecord value4(java.lang.Boolean value) {
|
||||
setTrusted(value);
|
||||
return this;
|
||||
}
|
||||
@ -210,7 +210,7 @@ public class ClanAlliancesRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanAlliancesRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.lang.Byte value4) {
|
||||
public ClanAlliancesRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.lang.Boolean value4) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -228,7 +228,7 @@ public class ClanAlliancesRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
/**
|
||||
* Create a detached, initialised ClanAlliancesRecord
|
||||
*/
|
||||
public ClanAlliancesRecord(java.lang.Integer id, java.lang.Integer clanId, java.lang.Integer otherClanId, java.lang.Byte trusted) {
|
||||
public ClanAlliancesRecord(java.lang.Integer id, java.lang.Integer clanId, java.lang.Integer otherClanId, java.lang.Boolean trusted) {
|
||||
super(mineplex.database.tables.ClanAlliances.clanAlliances);
|
||||
|
||||
setValue(0, id);
|
||||
|
@ -14,9 +14,9 @@ package mineplex.database.tables.records;
|
||||
comments = "This class is generated by jOOQ"
|
||||
)
|
||||
@java.lang.SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.ClanEnemiesRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record8<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.sql.Timestamp, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer> {
|
||||
public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.ClanEnemiesRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record9<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Boolean, java.sql.Timestamp, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1371005861;
|
||||
private static final long serialVersionUID = -1319061144;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanEnemies.id</code>.
|
||||
@ -60,74 +60,88 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
return (java.lang.Integer) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanEnemies.initiator</code>.
|
||||
*/
|
||||
public void setInitiator(java.lang.Boolean value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanEnemies.initiator</code>.
|
||||
*/
|
||||
public java.lang.Boolean getInitiator() {
|
||||
return (java.lang.Boolean) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanEnemies.timeFormed</code>.
|
||||
*/
|
||||
public void setTimeFormed(java.sql.Timestamp value) {
|
||||
setValue(3, value);
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanEnemies.timeFormed</code>.
|
||||
*/
|
||||
public java.sql.Timestamp getTimeFormed() {
|
||||
return (java.sql.Timestamp) getValue(3);
|
||||
return (java.sql.Timestamp) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanEnemies.clanScore</code>.
|
||||
*/
|
||||
public void setClanScore(java.lang.Integer value) {
|
||||
setValue(4, value);
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanEnemies.clanScore</code>.
|
||||
*/
|
||||
public java.lang.Integer getClanScore() {
|
||||
return (java.lang.Integer) getValue(4);
|
||||
return (java.lang.Integer) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanEnemies.otherClanScore</code>.
|
||||
*/
|
||||
public void setOtherClanScore(java.lang.Integer value) {
|
||||
setValue(5, value);
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanEnemies.otherClanScore</code>.
|
||||
*/
|
||||
public java.lang.Integer getOtherClanScore() {
|
||||
return (java.lang.Integer) getValue(5);
|
||||
return (java.lang.Integer) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanEnemies.clanKills</code>.
|
||||
*/
|
||||
public void setClanKills(java.lang.Integer value) {
|
||||
setValue(6, value);
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanEnemies.clanKills</code>.
|
||||
*/
|
||||
public java.lang.Integer getClanKills() {
|
||||
return (java.lang.Integer) getValue(6);
|
||||
return (java.lang.Integer) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanEnemies.otherClanKills</code>.
|
||||
*/
|
||||
public void setOtherClanKills(java.lang.Integer value) {
|
||||
setValue(7, value);
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanEnemies.otherClanKills</code>.
|
||||
*/
|
||||
public java.lang.Integer getOtherClanKills() {
|
||||
return (java.lang.Integer) getValue(7);
|
||||
return (java.lang.Integer) getValue(8);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
@ -143,23 +157,23 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record8 type implementation
|
||||
// Record9 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row8<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.sql.Timestamp, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer> fieldsRow() {
|
||||
return (org.jooq.Row8) super.fieldsRow();
|
||||
public org.jooq.Row9<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Boolean, java.sql.Timestamp, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer> fieldsRow() {
|
||||
return (org.jooq.Row9) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row8<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.sql.Timestamp, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer> valuesRow() {
|
||||
return (org.jooq.Row8) super.valuesRow();
|
||||
public org.jooq.Row9<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Boolean, java.sql.Timestamp, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.Integer> valuesRow() {
|
||||
return (org.jooq.Row9) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -190,7 +204,15 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.sql.Timestamp> field4() {
|
||||
public org.jooq.Field<java.lang.Boolean> field4() {
|
||||
return mineplex.database.tables.ClanEnemies.clanEnemies.initiator;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.sql.Timestamp> field5() {
|
||||
return mineplex.database.tables.ClanEnemies.clanEnemies.timeFormed;
|
||||
}
|
||||
|
||||
@ -198,7 +220,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field5() {
|
||||
public org.jooq.Field<java.lang.Integer> field6() {
|
||||
return mineplex.database.tables.ClanEnemies.clanEnemies.clanScore;
|
||||
}
|
||||
|
||||
@ -206,7 +228,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field6() {
|
||||
public org.jooq.Field<java.lang.Integer> field7() {
|
||||
return mineplex.database.tables.ClanEnemies.clanEnemies.otherClanScore;
|
||||
}
|
||||
|
||||
@ -214,7 +236,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field7() {
|
||||
public org.jooq.Field<java.lang.Integer> field8() {
|
||||
return mineplex.database.tables.ClanEnemies.clanEnemies.clanKills;
|
||||
}
|
||||
|
||||
@ -222,7 +244,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field8() {
|
||||
public org.jooq.Field<java.lang.Integer> field9() {
|
||||
return mineplex.database.tables.ClanEnemies.clanEnemies.otherClanKills;
|
||||
}
|
||||
|
||||
@ -254,7 +276,15 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.sql.Timestamp value4() {
|
||||
public java.lang.Boolean value4() {
|
||||
return getInitiator();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.sql.Timestamp value5() {
|
||||
return getTimeFormed();
|
||||
}
|
||||
|
||||
@ -262,7 +292,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value5() {
|
||||
public java.lang.Integer value6() {
|
||||
return getClanScore();
|
||||
}
|
||||
|
||||
@ -270,7 +300,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value6() {
|
||||
public java.lang.Integer value7() {
|
||||
return getOtherClanScore();
|
||||
}
|
||||
|
||||
@ -278,7 +308,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value7() {
|
||||
public java.lang.Integer value8() {
|
||||
return getClanKills();
|
||||
}
|
||||
|
||||
@ -286,7 +316,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value8() {
|
||||
public java.lang.Integer value9() {
|
||||
return getOtherClanKills();
|
||||
}
|
||||
|
||||
@ -321,7 +351,16 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanEnemiesRecord value4(java.sql.Timestamp value) {
|
||||
public ClanEnemiesRecord value4(java.lang.Boolean value) {
|
||||
setInitiator(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanEnemiesRecord value5(java.sql.Timestamp value) {
|
||||
setTimeFormed(value);
|
||||
return this;
|
||||
}
|
||||
@ -330,7 +369,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanEnemiesRecord value5(java.lang.Integer value) {
|
||||
public ClanEnemiesRecord value6(java.lang.Integer value) {
|
||||
setClanScore(value);
|
||||
return this;
|
||||
}
|
||||
@ -339,7 +378,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanEnemiesRecord value6(java.lang.Integer value) {
|
||||
public ClanEnemiesRecord value7(java.lang.Integer value) {
|
||||
setOtherClanScore(value);
|
||||
return this;
|
||||
}
|
||||
@ -348,7 +387,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanEnemiesRecord value7(java.lang.Integer value) {
|
||||
public ClanEnemiesRecord value8(java.lang.Integer value) {
|
||||
setClanKills(value);
|
||||
return this;
|
||||
}
|
||||
@ -357,7 +396,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanEnemiesRecord value8(java.lang.Integer value) {
|
||||
public ClanEnemiesRecord value9(java.lang.Integer value) {
|
||||
setOtherClanKills(value);
|
||||
return this;
|
||||
}
|
||||
@ -366,7 +405,7 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanEnemiesRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.sql.Timestamp value4, java.lang.Integer value5, java.lang.Integer value6, java.lang.Integer value7, java.lang.Integer value8) {
|
||||
public ClanEnemiesRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.lang.Boolean value4, java.sql.Timestamp value5, java.lang.Integer value6, java.lang.Integer value7, java.lang.Integer value8, java.lang.Integer value9) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -384,16 +423,17 @@ public class ClanEnemiesRecord extends org.jooq.impl.UpdatableRecordImpl<mineple
|
||||
/**
|
||||
* Create a detached, initialised ClanEnemiesRecord
|
||||
*/
|
||||
public ClanEnemiesRecord(java.lang.Integer id, java.lang.Integer clanId, java.lang.Integer otherClanId, java.sql.Timestamp timeFormed, java.lang.Integer clanScore, java.lang.Integer otherClanScore, java.lang.Integer clanKills, java.lang.Integer otherClanKills) {
|
||||
public ClanEnemiesRecord(java.lang.Integer id, java.lang.Integer clanId, java.lang.Integer otherClanId, java.lang.Boolean initiator, java.sql.Timestamp timeFormed, java.lang.Integer clanScore, java.lang.Integer otherClanScore, java.lang.Integer clanKills, java.lang.Integer otherClanKills) {
|
||||
super(mineplex.database.tables.ClanEnemies.clanEnemies);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, clanId);
|
||||
setValue(2, otherClanId);
|
||||
setValue(3, timeFormed);
|
||||
setValue(4, clanScore);
|
||||
setValue(5, otherClanScore);
|
||||
setValue(6, clanKills);
|
||||
setValue(7, otherClanKills);
|
||||
setValue(3, initiator);
|
||||
setValue(4, timeFormed);
|
||||
setValue(5, clanScore);
|
||||
setValue(6, otherClanScore);
|
||||
setValue(7, clanKills);
|
||||
setValue(8, otherClanKills);
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,307 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package mineplex.database.tables.records;
|
||||
|
||||
/**
|
||||
* VIEW
|
||||
*/
|
||||
@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 ClanMemberRecord extends org.jooq.impl.TableRecordImpl<mineplex.database.tables.records.ClanMemberRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record6<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String> {
|
||||
|
||||
private static final long serialVersionUID = -1927151563;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanMember.id</code>.
|
||||
*/
|
||||
public void setId(java.lang.Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanMember.id</code>.
|
||||
*/
|
||||
public java.lang.Integer getId() {
|
||||
return (java.lang.Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanMember.accountId</code>.
|
||||
*/
|
||||
public void setAccountId(java.lang.Integer value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanMember.accountId</code>.
|
||||
*/
|
||||
public java.lang.Integer getAccountId() {
|
||||
return (java.lang.Integer) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanMember.clanId</code>.
|
||||
*/
|
||||
public void setClanId(java.lang.Integer value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanMember.clanId</code>.
|
||||
*/
|
||||
public java.lang.Integer getClanId() {
|
||||
return (java.lang.Integer) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanMember.clanRole</code>.
|
||||
*/
|
||||
public void setClanRole(java.lang.String value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanMember.clanRole</code>.
|
||||
*/
|
||||
public java.lang.String getClanRole() {
|
||||
return (java.lang.String) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanMember.uuid</code>.
|
||||
*/
|
||||
public void setUuid(java.lang.String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanMember.uuid</code>.
|
||||
*/
|
||||
public java.lang.String getUuid() {
|
||||
return (java.lang.String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanMember.name</code>.
|
||||
*/
|
||||
public void setName(java.lang.String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanMember.name</code>.
|
||||
*/
|
||||
public java.lang.String getName() {
|
||||
return (java.lang.String) getValue(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record6 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row6<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String> fieldsRow() {
|
||||
return (org.jooq.Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row6<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String> valuesRow() {
|
||||
return (org.jooq.Row6) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field1() {
|
||||
return mineplex.database.tables.ClanMember.clanMember.id;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field2() {
|
||||
return mineplex.database.tables.ClanMember.clanMember.accountId;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field3() {
|
||||
return mineplex.database.tables.ClanMember.clanMember.clanId;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field4() {
|
||||
return mineplex.database.tables.ClanMember.clanMember.clanRole;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field5() {
|
||||
return mineplex.database.tables.ClanMember.clanMember.uuid;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field6() {
|
||||
return mineplex.database.tables.ClanMember.clanMember.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@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 getClanId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value4() {
|
||||
return getClanRole();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value5() {
|
||||
return getUuid();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value6() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanMemberRecord value1(java.lang.Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanMemberRecord value2(java.lang.Integer value) {
|
||||
setAccountId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanMemberRecord value3(java.lang.Integer value) {
|
||||
setClanId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanMemberRecord value4(java.lang.String value) {
|
||||
setClanRole(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanMemberRecord value5(java.lang.String value) {
|
||||
setUuid(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanMemberRecord value6(java.lang.String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanMemberRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.lang.String value4, java.lang.String value5, java.lang.String value6) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ClanMemberRecord
|
||||
*/
|
||||
public ClanMemberRecord() {
|
||||
super(mineplex.database.tables.ClanMember.clanMember);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ClanMemberRecord
|
||||
*/
|
||||
public ClanMemberRecord(java.lang.Integer id, java.lang.Integer accountId, java.lang.Integer clanId, java.lang.String clanRole, java.lang.String uuid, java.lang.String name) {
|
||||
super(mineplex.database.tables.ClanMember.clanMember);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, accountId);
|
||||
setValue(2, clanId);
|
||||
setValue(3, clanRole);
|
||||
setValue(4, uuid);
|
||||
setValue(5, name);
|
||||
}
|
||||
}
|
@ -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 ClanServerRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.ClanServerRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2<java.lang.Integer, java.lang.String> {
|
||||
|
||||
private static final long serialVersionUID = -306321343;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanServer.id</code>.
|
||||
*/
|
||||
public void setId(java.lang.Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanServer.id</code>.
|
||||
*/
|
||||
public java.lang.Integer getId() {
|
||||
return (java.lang.Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanServer.serverName</code>.
|
||||
*/
|
||||
public void setServerName(java.lang.String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanServer.serverName</code>.
|
||||
*/
|
||||
public java.lang.String getServerName() {
|
||||
return (java.lang.String) getValue(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Record2<java.lang.Integer, java.lang.String> key() {
|
||||
return (org.jooq.Record2) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record2 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row2<java.lang.Integer, java.lang.String> fieldsRow() {
|
||||
return (org.jooq.Row2) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row2<java.lang.Integer, java.lang.String> valuesRow() {
|
||||
return (org.jooq.Row2) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field1() {
|
||||
return mineplex.database.tables.ClanServer.clanServer.id;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field2() {
|
||||
return mineplex.database.tables.ClanServer.clanServer.serverName;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value1() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value2() {
|
||||
return getServerName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanServerRecord value1(java.lang.Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanServerRecord value2(java.lang.String value) {
|
||||
setServerName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanServerRecord values(java.lang.Integer value1, java.lang.String value2) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ClanServerRecord
|
||||
*/
|
||||
public ClanServerRecord() {
|
||||
super(mineplex.database.tables.ClanServer.clanServer);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ClanServerRecord
|
||||
*/
|
||||
public ClanServerRecord(java.lang.Integer id, java.lang.String serverName) {
|
||||
super(mineplex.database.tables.ClanServer.clanServer);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, serverName);
|
||||
}
|
||||
}
|
@ -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 ClanShopItemRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.ClanShopItemRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record10<java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.Byte, java.lang.String, java.lang.String, java.lang.Integer, java.lang.Integer> {
|
||||
|
||||
private static final long serialVersionUID = -1472389200;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanShopItem.id</code>.
|
||||
*/
|
||||
public void setId(java.lang.Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanShopItem.id</code>.
|
||||
*/
|
||||
public java.lang.Integer getId() {
|
||||
return (java.lang.Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanShopItem.shopName</code>.
|
||||
*/
|
||||
public void setShopName(java.lang.String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanShopItem.shopName</code>.
|
||||
*/
|
||||
public java.lang.String getShopName() {
|
||||
return (java.lang.String) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanShopItem.shopPage</code>.
|
||||
*/
|
||||
public void setShopPage(java.lang.String value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanShopItem.shopPage</code>.
|
||||
*/
|
||||
public java.lang.String getShopPage() {
|
||||
return (java.lang.String) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanShopItem.slot</code>.
|
||||
*/
|
||||
public void setSlot(java.lang.Integer value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanShopItem.slot</code>.
|
||||
*/
|
||||
public java.lang.Integer getSlot() {
|
||||
return (java.lang.Integer) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanShopItem.material</code>.
|
||||
*/
|
||||
public void setMaterial(java.lang.String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanShopItem.material</code>.
|
||||
*/
|
||||
public java.lang.String getMaterial() {
|
||||
return (java.lang.String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanShopItem.data</code>.
|
||||
*/
|
||||
public void setData(java.lang.Byte value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanShopItem.data</code>.
|
||||
*/
|
||||
public java.lang.Byte getData() {
|
||||
return (java.lang.Byte) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanShopItem.lore</code>.
|
||||
*/
|
||||
public void setLore(java.lang.String value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanShopItem.lore</code>.
|
||||
*/
|
||||
public java.lang.String getLore() {
|
||||
return (java.lang.String) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanShopItem.displayName</code>.
|
||||
*/
|
||||
public void setDisplayName(java.lang.String value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanShopItem.displayName</code>.
|
||||
*/
|
||||
public java.lang.String getDisplayName() {
|
||||
return (java.lang.String) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanShopItem.price</code>.
|
||||
*/
|
||||
public void setPrice(java.lang.Integer value) {
|
||||
setValue(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanShopItem.price</code>.
|
||||
*/
|
||||
public java.lang.Integer getPrice() {
|
||||
return (java.lang.Integer) getValue(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanShopItem.bulkCount</code>.
|
||||
*/
|
||||
public void setBulkCount(java.lang.Integer value) {
|
||||
setValue(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanShopItem.bulkCount</code>.
|
||||
*/
|
||||
public java.lang.Integer getBulkCount() {
|
||||
return (java.lang.Integer) getValue(9);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Record1<java.lang.Integer> key() {
|
||||
return (org.jooq.Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record10 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row10<java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.Byte, java.lang.String, java.lang.String, java.lang.Integer, java.lang.Integer> fieldsRow() {
|
||||
return (org.jooq.Row10) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row10<java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.Byte, java.lang.String, java.lang.String, java.lang.Integer, java.lang.Integer> valuesRow() {
|
||||
return (org.jooq.Row10) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field1() {
|
||||
return mineplex.database.tables.ClanShopItem.clanShopItem.id;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field2() {
|
||||
return mineplex.database.tables.ClanShopItem.clanShopItem.shopName;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field3() {
|
||||
return mineplex.database.tables.ClanShopItem.clanShopItem.shopPage;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field4() {
|
||||
return mineplex.database.tables.ClanShopItem.clanShopItem.slot;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field5() {
|
||||
return mineplex.database.tables.ClanShopItem.clanShopItem.material;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Byte> field6() {
|
||||
return mineplex.database.tables.ClanShopItem.clanShopItem.data;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field7() {
|
||||
return mineplex.database.tables.ClanShopItem.clanShopItem.lore;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field8() {
|
||||
return mineplex.database.tables.ClanShopItem.clanShopItem.displayName;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field9() {
|
||||
return mineplex.database.tables.ClanShopItem.clanShopItem.price;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field10() {
|
||||
return mineplex.database.tables.ClanShopItem.clanShopItem.bulkCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value1() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value2() {
|
||||
return getShopName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value3() {
|
||||
return getShopPage();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value4() {
|
||||
return getSlot();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value5() {
|
||||
return getMaterial();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Byte value6() {
|
||||
return getData();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value7() {
|
||||
return getLore();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value8() {
|
||||
return getDisplayName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value9() {
|
||||
return getPrice();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value10() {
|
||||
return getBulkCount();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanShopItemRecord value1(java.lang.Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanShopItemRecord value2(java.lang.String value) {
|
||||
setShopName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanShopItemRecord value3(java.lang.String value) {
|
||||
setShopPage(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanShopItemRecord value4(java.lang.Integer value) {
|
||||
setSlot(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanShopItemRecord value5(java.lang.String value) {
|
||||
setMaterial(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanShopItemRecord value6(java.lang.Byte value) {
|
||||
setData(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanShopItemRecord value7(java.lang.String value) {
|
||||
setLore(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanShopItemRecord value8(java.lang.String value) {
|
||||
setDisplayName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanShopItemRecord value9(java.lang.Integer value) {
|
||||
setPrice(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanShopItemRecord value10(java.lang.Integer value) {
|
||||
setBulkCount(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanShopItemRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.Integer value4, java.lang.String value5, java.lang.Byte value6, java.lang.String value7, java.lang.String value8, java.lang.Integer value9, java.lang.Integer value10) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ClanShopItemRecord
|
||||
*/
|
||||
public ClanShopItemRecord() {
|
||||
super(mineplex.database.tables.ClanShopItem.clanShopItem);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ClanShopItemRecord
|
||||
*/
|
||||
public ClanShopItemRecord(java.lang.Integer id, java.lang.String shopName, java.lang.String shopPage, java.lang.Integer slot, java.lang.String material, java.lang.Byte data, java.lang.String lore, java.lang.String displayName, java.lang.Integer price, java.lang.Integer bulkCount) {
|
||||
super(mineplex.database.tables.ClanShopItem.clanShopItem);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, shopName);
|
||||
setValue(2, shopPage);
|
||||
setValue(3, slot);
|
||||
setValue(4, material);
|
||||
setValue(5, data);
|
||||
setValue(6, lore);
|
||||
setValue(7, displayName);
|
||||
setValue(8, price);
|
||||
setValue(9, bulkCount);
|
||||
}
|
||||
}
|
@ -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<mineplex.database.tables.records.ClanTerritoryRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record5<java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.lang.Byte> {
|
||||
public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.ClanTerritoryRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record5<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Boolean> {
|
||||
|
||||
private static final long serialVersionUID = 166696952;
|
||||
private static final long serialVersionUID = 1422111385;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanTerritory.id</code>.
|
||||
@ -47,17 +47,17 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clanTerritory.serverName</code>.
|
||||
* Setter for <code>Account.clanTerritory.serverId</code>.
|
||||
*/
|
||||
public void setServerName(java.lang.String value) {
|
||||
public void setServerId(java.lang.Integer value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanTerritory.serverName</code>.
|
||||
* Getter for <code>Account.clanTerritory.serverId</code>.
|
||||
*/
|
||||
public java.lang.String getServerName() {
|
||||
return (java.lang.String) getValue(2);
|
||||
public java.lang.Integer getServerId() {
|
||||
return (java.lang.Integer) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -77,15 +77,15 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
/**
|
||||
* Setter for <code>Account.clanTerritory.safe</code>.
|
||||
*/
|
||||
public void setSafe(java.lang.Byte value) {
|
||||
public void setSafe(java.lang.Boolean value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clanTerritory.safe</code>.
|
||||
*/
|
||||
public java.lang.Byte getSafe() {
|
||||
return (java.lang.Byte) getValue(4);
|
||||
public java.lang.Boolean getSafe() {
|
||||
return (java.lang.Boolean) getValue(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
@ -108,7 +108,7 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row5<java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.lang.Byte> fieldsRow() {
|
||||
public org.jooq.Row5<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Boolean> fieldsRow() {
|
||||
return (org.jooq.Row5) super.fieldsRow();
|
||||
}
|
||||
|
||||
@ -116,7 +116,7 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row5<java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.lang.Byte> valuesRow() {
|
||||
public org.jooq.Row5<java.lang.Integer, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.Boolean> valuesRow() {
|
||||
return (org.jooq.Row5) super.valuesRow();
|
||||
}
|
||||
|
||||
@ -140,8 +140,8 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field3() {
|
||||
return mineplex.database.tables.ClanTerritory.clanTerritory.serverName;
|
||||
public org.jooq.Field<java.lang.Integer> field3() {
|
||||
return mineplex.database.tables.ClanTerritory.clanTerritory.serverId;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -156,7 +156,7 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Byte> field5() {
|
||||
public org.jooq.Field<java.lang.Boolean> field5() {
|
||||
return mineplex.database.tables.ClanTerritory.clanTerritory.safe;
|
||||
}
|
||||
|
||||
@ -180,8 +180,8 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value3() {
|
||||
return getServerName();
|
||||
public java.lang.Integer value3() {
|
||||
return getServerId();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -196,7 +196,7 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Byte value5() {
|
||||
public java.lang.Boolean value5() {
|
||||
return getSafe();
|
||||
}
|
||||
|
||||
@ -222,8 +222,8 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanTerritoryRecord value3(java.lang.String value) {
|
||||
setServerName(value);
|
||||
public ClanTerritoryRecord value3(java.lang.Integer value) {
|
||||
setServerId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -240,7 +240,7 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanTerritoryRecord value5(java.lang.Byte value) {
|
||||
public ClanTerritoryRecord value5(java.lang.Boolean value) {
|
||||
setSafe(value);
|
||||
return this;
|
||||
}
|
||||
@ -249,7 +249,7 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClanTerritoryRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.String value3, java.lang.String value4, java.lang.Byte value5) {
|
||||
public ClanTerritoryRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.Integer value3, java.lang.String value4, java.lang.Boolean value5) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -267,12 +267,12 @@ public class ClanTerritoryRecord extends org.jooq.impl.UpdatableRecordImpl<minep
|
||||
/**
|
||||
* Create a detached, initialised ClanTerritoryRecord
|
||||
*/
|
||||
public ClanTerritoryRecord(java.lang.Integer id, java.lang.Integer clanId, java.lang.String serverName, java.lang.String chunk, java.lang.Byte safe) {
|
||||
public ClanTerritoryRecord(java.lang.Integer id, java.lang.Integer clanId, java.lang.Integer serverId, java.lang.String chunk, java.lang.Boolean safe) {
|
||||
super(mineplex.database.tables.ClanTerritory.clanTerritory);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, clanId);
|
||||
setValue(2, serverName);
|
||||
setValue(2, serverId);
|
||||
setValue(3, chunk);
|
||||
setValue(4, safe);
|
||||
}
|
||||
|
@ -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<mineplex.database.tables.records.ClansRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record9<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Byte, java.lang.String, java.lang.String, java.lang.Integer> {
|
||||
public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.ClansRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record9<java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, java.sql.Timestamp, java.sql.Timestamp, java.lang.Integer> {
|
||||
|
||||
private static final long serialVersionUID = 1282971231;
|
||||
private static final long serialVersionUID = -1803774546;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clans.id</code>.
|
||||
@ -33,17 +33,17 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clans.serverName</code>.
|
||||
* Setter for <code>Account.clans.serverId</code>.
|
||||
*/
|
||||
public void setServerName(java.lang.String value) {
|
||||
public void setServerId(java.lang.Integer value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clans.serverName</code>.
|
||||
* Getter for <code>Account.clans.serverId</code>.
|
||||
*/
|
||||
public java.lang.String getServerName() {
|
||||
return (java.lang.String) getValue(1);
|
||||
public java.lang.Integer getServerId() {
|
||||
return (java.lang.Integer) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -91,43 +91,43 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
/**
|
||||
* Setter for <code>Account.clans.admin</code>.
|
||||
*/
|
||||
public void setAdmin(java.lang.Byte value) {
|
||||
public void setAdmin(java.lang.Boolean value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clans.admin</code>.
|
||||
*/
|
||||
public java.lang.Byte getAdmin() {
|
||||
return (java.lang.Byte) getValue(5);
|
||||
public java.lang.Boolean getAdmin() {
|
||||
return (java.lang.Boolean) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clans.dateCreated</code>.
|
||||
*/
|
||||
public void setDateCreated(java.lang.String value) {
|
||||
public void setDateCreated(java.sql.Timestamp value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clans.dateCreated</code>.
|
||||
*/
|
||||
public java.lang.String getDateCreated() {
|
||||
return (java.lang.String) getValue(6);
|
||||
public java.sql.Timestamp getDateCreated() {
|
||||
return (java.sql.Timestamp) getValue(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.clans.lastOnline</code>.
|
||||
*/
|
||||
public void setLastOnline(java.lang.String value) {
|
||||
public void setLastOnline(java.sql.Timestamp value) {
|
||||
setValue(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.clans.lastOnline</code>.
|
||||
*/
|
||||
public java.lang.String getLastOnline() {
|
||||
return (java.lang.String) getValue(7);
|
||||
public java.sql.Timestamp getLastOnline() {
|
||||
return (java.sql.Timestamp) getValue(7);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -164,7 +164,7 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row9<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Byte, java.lang.String, java.lang.String, java.lang.Integer> fieldsRow() {
|
||||
public org.jooq.Row9<java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, java.sql.Timestamp, java.sql.Timestamp, java.lang.Integer> fieldsRow() {
|
||||
return (org.jooq.Row9) super.fieldsRow();
|
||||
}
|
||||
|
||||
@ -172,7 +172,7 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row9<java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Byte, java.lang.String, java.lang.String, java.lang.Integer> valuesRow() {
|
||||
public org.jooq.Row9<java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, java.sql.Timestamp, java.sql.Timestamp, java.lang.Integer> valuesRow() {
|
||||
return (org.jooq.Row9) super.valuesRow();
|
||||
}
|
||||
|
||||
@ -188,8 +188,8 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field2() {
|
||||
return mineplex.database.tables.Clans.clans.serverName;
|
||||
public org.jooq.Field<java.lang.Integer> field2() {
|
||||
return mineplex.database.tables.Clans.clans.serverId;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -220,7 +220,7 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Byte> field6() {
|
||||
public org.jooq.Field<java.lang.Boolean> field6() {
|
||||
return mineplex.database.tables.Clans.clans.admin;
|
||||
}
|
||||
|
||||
@ -228,7 +228,7 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field7() {
|
||||
public org.jooq.Field<java.sql.Timestamp> field7() {
|
||||
return mineplex.database.tables.Clans.clans.dateCreated;
|
||||
}
|
||||
|
||||
@ -236,7 +236,7 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field8() {
|
||||
public org.jooq.Field<java.sql.Timestamp> field8() {
|
||||
return mineplex.database.tables.Clans.clans.lastOnline;
|
||||
}
|
||||
|
||||
@ -260,8 +260,8 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value2() {
|
||||
return getServerName();
|
||||
public java.lang.Integer value2() {
|
||||
return getServerId();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -292,7 +292,7 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Byte value6() {
|
||||
public java.lang.Boolean value6() {
|
||||
return getAdmin();
|
||||
}
|
||||
|
||||
@ -300,7 +300,7 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value7() {
|
||||
public java.sql.Timestamp value7() {
|
||||
return getDateCreated();
|
||||
}
|
||||
|
||||
@ -308,7 +308,7 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value8() {
|
||||
public java.sql.Timestamp value8() {
|
||||
return getLastOnline();
|
||||
}
|
||||
|
||||
@ -333,8 +333,8 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClansRecord value2(java.lang.String value) {
|
||||
setServerName(value);
|
||||
public ClansRecord value2(java.lang.Integer value) {
|
||||
setServerId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -369,7 +369,7 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClansRecord value6(java.lang.Byte value) {
|
||||
public ClansRecord value6(java.lang.Boolean value) {
|
||||
setAdmin(value);
|
||||
return this;
|
||||
}
|
||||
@ -378,7 +378,7 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClansRecord value7(java.lang.String value) {
|
||||
public ClansRecord value7(java.sql.Timestamp value) {
|
||||
setDateCreated(value);
|
||||
return this;
|
||||
}
|
||||
@ -387,7 +387,7 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClansRecord value8(java.lang.String value) {
|
||||
public ClansRecord value8(java.sql.Timestamp value) {
|
||||
setLastOnline(value);
|
||||
return this;
|
||||
}
|
||||
@ -405,7 +405,7 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public ClansRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.String value4, java.lang.String value5, java.lang.Byte value6, java.lang.String value7, java.lang.String value8, java.lang.Integer value9) {
|
||||
public ClansRecord values(java.lang.Integer value1, java.lang.Integer value2, java.lang.String value3, java.lang.String value4, java.lang.String value5, java.lang.Boolean value6, java.sql.Timestamp value7, java.sql.Timestamp value8, java.lang.Integer value9) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -423,11 +423,11 @@ public class ClansRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.data
|
||||
/**
|
||||
* Create a detached, initialised ClansRecord
|
||||
*/
|
||||
public ClansRecord(java.lang.Integer id, java.lang.String serverName, java.lang.String name, java.lang.String description, java.lang.String home, java.lang.Byte admin, java.lang.String dateCreated, java.lang.String lastOnline, java.lang.Integer energy) {
|
||||
public ClansRecord(java.lang.Integer id, java.lang.Integer serverId, java.lang.String name, java.lang.String description, java.lang.String home, java.lang.Boolean admin, java.sql.Timestamp dateCreated, java.sql.Timestamp lastOnline, java.lang.Integer energy) {
|
||||
super(mineplex.database.tables.Clans.clans);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, serverName);
|
||||
setValue(1, serverId);
|
||||
setValue(2, name);
|
||||
setValue(3, description);
|
||||
setValue(4, home);
|
||||
|
@ -14,22 +14,22 @@ 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<mineplex.database.tables.records.EloRatingRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record4<java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer> {
|
||||
public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.EloRatingRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record6<org.jooq.types.UInteger, java.lang.String, org.jooq.types.UByte, org.jooq.types.UInteger, java.lang.Integer, java.lang.String> {
|
||||
|
||||
private static final long serialVersionUID = 1948352677;
|
||||
private static final long serialVersionUID = 329740739;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.eloRating.id</code>.
|
||||
*/
|
||||
public void setId(java.lang.Integer value) {
|
||||
public void setId(org.jooq.types.UInteger value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.eloRating.id</code>.
|
||||
*/
|
||||
public java.lang.Integer getId() {
|
||||
return (java.lang.Integer) getValue(0);
|
||||
public org.jooq.types.UInteger getId() {
|
||||
return (org.jooq.types.UInteger) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -47,31 +47,59 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.eloRating.gameType</code>.
|
||||
* Setter for <code>Account.eloRating.gamemode</code>.
|
||||
*/
|
||||
public void setGameType(java.lang.String value) {
|
||||
public void setGamemode(org.jooq.types.UByte value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.eloRating.gameType</code>.
|
||||
* Getter for <code>Account.eloRating.gamemode</code>.
|
||||
*/
|
||||
public java.lang.String getGameType() {
|
||||
return (java.lang.String) getValue(2);
|
||||
public org.jooq.types.UByte getGamemode() {
|
||||
return (org.jooq.types.UByte) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.eloRating.matchesPlayed</code>.
|
||||
*/
|
||||
public void setMatchesPlayed(org.jooq.types.UInteger value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.eloRating.matchesPlayed</code>.
|
||||
*/
|
||||
public org.jooq.types.UInteger getMatchesPlayed() {
|
||||
return (org.jooq.types.UInteger) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.eloRating.elo</code>.
|
||||
*/
|
||||
public void setElo(java.lang.Integer value) {
|
||||
setValue(3, value);
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.eloRating.elo</code>.
|
||||
*/
|
||||
public java.lang.Integer getElo() {
|
||||
return (java.lang.Integer) getValue(3);
|
||||
return (java.lang.Integer) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.eloRating.gameType</code>.
|
||||
*/
|
||||
public void setGameType(java.lang.String value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.eloRating.gameType</code>.
|
||||
*/
|
||||
public java.lang.String getGameType() {
|
||||
return (java.lang.String) getValue(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
@ -82,35 +110,35 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Record1<java.lang.Integer> key() {
|
||||
public org.jooq.Record1<org.jooq.types.UInteger> key() {
|
||||
return (org.jooq.Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record4 type implementation
|
||||
// Record6 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row4<java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer> fieldsRow() {
|
||||
return (org.jooq.Row4) super.fieldsRow();
|
||||
public org.jooq.Row6<org.jooq.types.UInteger, java.lang.String, org.jooq.types.UByte, org.jooq.types.UInteger, java.lang.Integer, java.lang.String> fieldsRow() {
|
||||
return (org.jooq.Row6) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row4<java.lang.Integer, java.lang.String, java.lang.String, java.lang.Integer> valuesRow() {
|
||||
return (org.jooq.Row4) super.valuesRow();
|
||||
public org.jooq.Row6<org.jooq.types.UInteger, java.lang.String, org.jooq.types.UByte, org.jooq.types.UInteger, java.lang.Integer, java.lang.String> valuesRow() {
|
||||
return (org.jooq.Row6) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field1() {
|
||||
public org.jooq.Field<org.jooq.types.UInteger> field1() {
|
||||
return mineplex.database.tables.EloRating.eloRating.id;
|
||||
}
|
||||
|
||||
@ -126,15 +154,23 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field3() {
|
||||
return mineplex.database.tables.EloRating.eloRating.gameType;
|
||||
public org.jooq.Field<org.jooq.types.UByte> field3() {
|
||||
return mineplex.database.tables.EloRating.eloRating.gamemode;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field4() {
|
||||
public org.jooq.Field<org.jooq.types.UInteger> field4() {
|
||||
return mineplex.database.tables.EloRating.eloRating.matchesPlayed;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field5() {
|
||||
return mineplex.database.tables.EloRating.eloRating.elo;
|
||||
}
|
||||
|
||||
@ -142,7 +178,15 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value1() {
|
||||
public org.jooq.Field<java.lang.String> field6() {
|
||||
return mineplex.database.tables.EloRating.eloRating.gameType;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.types.UInteger value1() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
@ -158,15 +202,23 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value3() {
|
||||
return getGameType();
|
||||
public org.jooq.types.UByte value3() {
|
||||
return getGamemode();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value4() {
|
||||
public org.jooq.types.UInteger value4() {
|
||||
return getMatchesPlayed();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value5() {
|
||||
return getElo();
|
||||
}
|
||||
|
||||
@ -174,7 +226,15 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public EloRatingRecord value1(java.lang.Integer value) {
|
||||
public java.lang.String value6() {
|
||||
return getGameType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public EloRatingRecord value1(org.jooq.types.UInteger value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
@ -192,8 +252,8 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public EloRatingRecord value3(java.lang.String value) {
|
||||
setGameType(value);
|
||||
public EloRatingRecord value3(org.jooq.types.UByte value) {
|
||||
setGamemode(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -201,7 +261,16 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public EloRatingRecord value4(java.lang.Integer value) {
|
||||
public EloRatingRecord value4(org.jooq.types.UInteger value) {
|
||||
setMatchesPlayed(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public EloRatingRecord value5(java.lang.Integer value) {
|
||||
setElo(value);
|
||||
return this;
|
||||
}
|
||||
@ -210,7 +279,16 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public EloRatingRecord values(java.lang.Integer value1, java.lang.String value2, java.lang.String value3, java.lang.Integer value4) {
|
||||
public EloRatingRecord value6(java.lang.String value) {
|
||||
setGameType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public EloRatingRecord values(org.jooq.types.UInteger value1, java.lang.String value2, org.jooq.types.UByte value3, org.jooq.types.UInteger value4, java.lang.Integer value5, java.lang.String value6) {
|
||||
return this;
|
||||
}
|
||||
|
||||
@ -228,12 +306,14 @@ public class EloRatingRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.
|
||||
/**
|
||||
* Create a detached, initialised EloRatingRecord
|
||||
*/
|
||||
public EloRatingRecord(java.lang.Integer id, java.lang.String uuid, java.lang.String gameType, java.lang.Integer elo) {
|
||||
public EloRatingRecord(org.jooq.types.UInteger id, java.lang.String uuid, org.jooq.types.UByte gamemode, org.jooq.types.UInteger matchesPlayed, java.lang.Integer elo, java.lang.String gameType) {
|
||||
super(mineplex.database.tables.EloRating.eloRating);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, uuid);
|
||||
setValue(2, gameType);
|
||||
setValue(3, elo);
|
||||
setValue(2, gamemode);
|
||||
setValue(3, matchesPlayed);
|
||||
setValue(4, elo);
|
||||
setValue(5, gameType);
|
||||
}
|
||||
}
|
||||
|
@ -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 StatEventsRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.StatEventsRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record7<org.jooq.types.UInteger, org.jooq.types.UInteger, java.sql.Date, org.jooq.types.UByte, java.lang.String, org.jooq.types.UByte, org.jooq.types.UShort> {
|
||||
|
||||
private static final long serialVersionUID = -85575801;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.statEvents.eventId</code>.
|
||||
*/
|
||||
public void setEventId(org.jooq.types.UInteger value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.statEvents.eventId</code>.
|
||||
*/
|
||||
public org.jooq.types.UInteger getEventId() {
|
||||
return (org.jooq.types.UInteger) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.statEvents.accountId</code>.
|
||||
*/
|
||||
public void setAccountId(org.jooq.types.UInteger value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.statEvents.accountId</code>.
|
||||
*/
|
||||
public org.jooq.types.UInteger getAccountId() {
|
||||
return (org.jooq.types.UInteger) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.statEvents.date</code>.
|
||||
*/
|
||||
public void setDate(java.sql.Date value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.statEvents.date</code>.
|
||||
*/
|
||||
public java.sql.Date getDate() {
|
||||
return (java.sql.Date) getValue(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.statEvents.gamemode</code>.
|
||||
*/
|
||||
public void setGamemode(org.jooq.types.UByte value) {
|
||||
setValue(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.statEvents.gamemode</code>.
|
||||
*/
|
||||
public org.jooq.types.UByte getGamemode() {
|
||||
return (org.jooq.types.UByte) getValue(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.statEvents.serverGroup</code>.
|
||||
*/
|
||||
public void setServerGroup(java.lang.String value) {
|
||||
setValue(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.statEvents.serverGroup</code>.
|
||||
*/
|
||||
public java.lang.String getServerGroup() {
|
||||
return (java.lang.String) getValue(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.statEvents.type</code>.
|
||||
*/
|
||||
public void setType(org.jooq.types.UByte value) {
|
||||
setValue(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.statEvents.type</code>.
|
||||
*/
|
||||
public org.jooq.types.UByte getType() {
|
||||
return (org.jooq.types.UByte) getValue(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.statEvents.value</code>.
|
||||
*/
|
||||
public void setValue(org.jooq.types.UShort value) {
|
||||
setValue(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.statEvents.value</code>.
|
||||
*/
|
||||
public org.jooq.types.UShort getValue() {
|
||||
return (org.jooq.types.UShort) getValue(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Record1<org.jooq.types.UInteger> key() {
|
||||
return (org.jooq.Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record7 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row7<org.jooq.types.UInteger, org.jooq.types.UInteger, java.sql.Date, org.jooq.types.UByte, java.lang.String, org.jooq.types.UByte, org.jooq.types.UShort> fieldsRow() {
|
||||
return (org.jooq.Row7) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row7<org.jooq.types.UInteger, org.jooq.types.UInteger, java.sql.Date, org.jooq.types.UByte, java.lang.String, org.jooq.types.UByte, org.jooq.types.UShort> valuesRow() {
|
||||
return (org.jooq.Row7) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<org.jooq.types.UInteger> field1() {
|
||||
return mineplex.database.tables.StatEvents.statEvents.eventId;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<org.jooq.types.UInteger> field2() {
|
||||
return mineplex.database.tables.StatEvents.statEvents.accountId;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.sql.Date> field3() {
|
||||
return mineplex.database.tables.StatEvents.statEvents.date;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<org.jooq.types.UByte> field4() {
|
||||
return mineplex.database.tables.StatEvents.statEvents.gamemode;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field5() {
|
||||
return mineplex.database.tables.StatEvents.statEvents.serverGroup;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<org.jooq.types.UByte> field6() {
|
||||
return mineplex.database.tables.StatEvents.statEvents.type;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<org.jooq.types.UShort> field7() {
|
||||
return mineplex.database.tables.StatEvents.statEvents.value;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.types.UInteger value1() {
|
||||
return getEventId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.types.UInteger value2() {
|
||||
return getAccountId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.sql.Date value3() {
|
||||
return getDate();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.types.UByte value4() {
|
||||
return getGamemode();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value5() {
|
||||
return getServerGroup();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.types.UByte value6() {
|
||||
return getType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.types.UShort value7() {
|
||||
return getValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public StatEventsRecord value1(org.jooq.types.UInteger value) {
|
||||
setEventId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public StatEventsRecord value2(org.jooq.types.UInteger value) {
|
||||
setAccountId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public StatEventsRecord value3(java.sql.Date value) {
|
||||
setDate(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public StatEventsRecord value4(org.jooq.types.UByte value) {
|
||||
setGamemode(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public StatEventsRecord value5(java.lang.String value) {
|
||||
setServerGroup(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public StatEventsRecord value6(org.jooq.types.UByte value) {
|
||||
setType(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public StatEventsRecord value7(org.jooq.types.UShort value) {
|
||||
setValue(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public StatEventsRecord values(org.jooq.types.UInteger value1, org.jooq.types.UInteger value2, java.sql.Date value3, org.jooq.types.UByte value4, java.lang.String value5, org.jooq.types.UByte value6, org.jooq.types.UShort value7) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached StatEventsRecord
|
||||
*/
|
||||
public StatEventsRecord() {
|
||||
super(mineplex.database.tables.StatEvents.statEvents);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised StatEventsRecord
|
||||
*/
|
||||
public StatEventsRecord(org.jooq.types.UInteger eventId, org.jooq.types.UInteger accountId, java.sql.Date date, org.jooq.types.UByte gamemode, java.lang.String serverGroup, org.jooq.types.UByte type, org.jooq.types.UShort value) {
|
||||
super(mineplex.database.tables.StatEvents.statEvents);
|
||||
|
||||
setValue(0, eventId);
|
||||
setValue(1, accountId);
|
||||
setValue(2, date);
|
||||
setValue(3, gamemode);
|
||||
setValue(4, serverGroup);
|
||||
setValue(5, type);
|
||||
setValue(6, value);
|
||||
}
|
||||
}
|
@ -0,0 +1,160 @@
|
||||
/**
|
||||
* This class is generated by jOOQ
|
||||
*/
|
||||
package mineplex.database.tables.records;
|
||||
|
||||
/**
|
||||
* Stores a reference of the various types of statistics and their associated
|
||||
* stat type IDs.
|
||||
*/
|
||||
@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 StatTypesRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.StatTypesRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2<org.jooq.types.UByte, java.lang.String> {
|
||||
|
||||
private static final long serialVersionUID = 1383731453;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.statTypes.id</code>.
|
||||
*/
|
||||
public void setId(org.jooq.types.UByte value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.statTypes.id</code>.
|
||||
*/
|
||||
public org.jooq.types.UByte getId() {
|
||||
return (org.jooq.types.UByte) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.statTypes.name</code>.
|
||||
*/
|
||||
public void setName(java.lang.String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.statTypes.name</code>.
|
||||
*/
|
||||
public java.lang.String getName() {
|
||||
return (java.lang.String) getValue(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Record1<org.jooq.types.UByte> key() {
|
||||
return (org.jooq.Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record2 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row2<org.jooq.types.UByte, java.lang.String> fieldsRow() {
|
||||
return (org.jooq.Row2) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row2<org.jooq.types.UByte, java.lang.String> valuesRow() {
|
||||
return (org.jooq.Row2) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<org.jooq.types.UByte> field1() {
|
||||
return mineplex.database.tables.StatTypes.statTypes.id;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field2() {
|
||||
return mineplex.database.tables.StatTypes.statTypes.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.types.UByte value1() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value2() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public StatTypesRecord value1(org.jooq.types.UByte value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public StatTypesRecord value2(java.lang.String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public StatTypesRecord values(org.jooq.types.UByte value1, java.lang.String value2) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached StatTypesRecord
|
||||
*/
|
||||
public StatTypesRecord() {
|
||||
super(mineplex.database.tables.StatTypes.statTypes);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised StatTypesRecord
|
||||
*/
|
||||
public StatTypesRecord(org.jooq.types.UByte id, java.lang.String name) {
|
||||
super(mineplex.database.tables.StatTypes.statTypes);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, name);
|
||||
}
|
||||
}
|
@ -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 TasksRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.TasksRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2<java.lang.Integer, java.lang.String> {
|
||||
|
||||
private static final long serialVersionUID = -934514634;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.tasks.id</code>.
|
||||
*/
|
||||
public void setId(java.lang.Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.tasks.id</code>.
|
||||
*/
|
||||
public java.lang.Integer getId() {
|
||||
return (java.lang.Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.tasks.name</code>.
|
||||
*/
|
||||
public void setName(java.lang.String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.tasks.name</code>.
|
||||
*/
|
||||
public java.lang.String getName() {
|
||||
return (java.lang.String) getValue(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Record1<java.lang.Integer> key() {
|
||||
return (org.jooq.Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record2 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row2<java.lang.Integer, java.lang.String> fieldsRow() {
|
||||
return (org.jooq.Row2) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row2<java.lang.Integer, java.lang.String> valuesRow() {
|
||||
return (org.jooq.Row2) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field1() {
|
||||
return mineplex.database.tables.Tasks.tasks.id;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field2() {
|
||||
return mineplex.database.tables.Tasks.tasks.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value1() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value2() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TasksRecord value1(java.lang.Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TasksRecord value2(java.lang.String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TasksRecord values(java.lang.Integer value1, java.lang.String value2) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TasksRecord
|
||||
*/
|
||||
public TasksRecord() {
|
||||
super(mineplex.database.tables.Tasks.tasks);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TasksRecord
|
||||
*/
|
||||
public TasksRecord(java.lang.Integer id, java.lang.String name) {
|
||||
super(mineplex.database.tables.Tasks.tasks);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, name);
|
||||
}
|
||||
}
|
@ -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 TournamentLBRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.TournamentLBRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record3<org.jooq.types.UInteger, org.jooq.types.UInteger, org.jooq.types.UInteger> {
|
||||
|
||||
private static final long serialVersionUID = 91822650;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.TournamentLB.rank</code>.
|
||||
*/
|
||||
public void setRank(org.jooq.types.UInteger value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.TournamentLB.rank</code>.
|
||||
*/
|
||||
public org.jooq.types.UInteger getRank() {
|
||||
return (org.jooq.types.UInteger) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.TournamentLB.accountId</code>.
|
||||
*/
|
||||
public void setAccountId(org.jooq.types.UInteger value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.TournamentLB.accountId</code>.
|
||||
*/
|
||||
public org.jooq.types.UInteger getAccountId() {
|
||||
return (org.jooq.types.UInteger) getValue(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.TournamentLB.value</code>.
|
||||
*/
|
||||
public void setValue(org.jooq.types.UInteger value) {
|
||||
setValue(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.TournamentLB.value</code>.
|
||||
*/
|
||||
public org.jooq.types.UInteger getValue() {
|
||||
return (org.jooq.types.UInteger) getValue(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Record1<org.jooq.types.UInteger> key() {
|
||||
return (org.jooq.Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record3 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row3<org.jooq.types.UInteger, org.jooq.types.UInteger, org.jooq.types.UInteger> fieldsRow() {
|
||||
return (org.jooq.Row3) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row3<org.jooq.types.UInteger, org.jooq.types.UInteger, org.jooq.types.UInteger> valuesRow() {
|
||||
return (org.jooq.Row3) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<org.jooq.types.UInteger> field1() {
|
||||
return mineplex.database.tables.TournamentLB.TournamentLB.rank;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<org.jooq.types.UInteger> field2() {
|
||||
return mineplex.database.tables.TournamentLB.TournamentLB.accountId;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<org.jooq.types.UInteger> field3() {
|
||||
return mineplex.database.tables.TournamentLB.TournamentLB.value;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.types.UInteger value1() {
|
||||
return getRank();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.types.UInteger value2() {
|
||||
return getAccountId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.types.UInteger value3() {
|
||||
return getValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TournamentLBRecord value1(org.jooq.types.UInteger value) {
|
||||
setRank(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TournamentLBRecord value2(org.jooq.types.UInteger value) {
|
||||
setAccountId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TournamentLBRecord value3(org.jooq.types.UInteger value) {
|
||||
setValue(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TournamentLBRecord values(org.jooq.types.UInteger value1, org.jooq.types.UInteger value2, org.jooq.types.UInteger value3) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TournamentLBRecord
|
||||
*/
|
||||
public TournamentLBRecord() {
|
||||
super(mineplex.database.tables.TournamentLB.TournamentLB);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TournamentLBRecord
|
||||
*/
|
||||
public TournamentLBRecord(org.jooq.types.UInteger rank, org.jooq.types.UInteger accountId, org.jooq.types.UInteger value) {
|
||||
super(mineplex.database.tables.TournamentLB.TournamentLB);
|
||||
|
||||
setValue(0, rank);
|
||||
setValue(1, accountId);
|
||||
setValue(2, value);
|
||||
}
|
||||
}
|
@ -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 TransactionsRecord extends org.jooq.impl.UpdatableRecordImpl<mineplex.database.tables.records.TransactionsRecord> implements java.io.Serializable, java.lang.Cloneable, org.jooq.Record2<java.lang.Integer, java.lang.String> {
|
||||
|
||||
private static final long serialVersionUID = -1995707431;
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.transactions.id</code>.
|
||||
*/
|
||||
public void setId(java.lang.Integer value) {
|
||||
setValue(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.transactions.id</code>.
|
||||
*/
|
||||
public java.lang.Integer getId() {
|
||||
return (java.lang.Integer) getValue(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>Account.transactions.name</code>.
|
||||
*/
|
||||
public void setName(java.lang.String value) {
|
||||
setValue(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>Account.transactions.name</code>.
|
||||
*/
|
||||
public java.lang.String getName() {
|
||||
return (java.lang.String) getValue(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Record1<java.lang.Integer> key() {
|
||||
return (org.jooq.Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Record2 type implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row2<java.lang.Integer, java.lang.String> fieldsRow() {
|
||||
return (org.jooq.Row2) super.fieldsRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Row2<java.lang.Integer, java.lang.String> valuesRow() {
|
||||
return (org.jooq.Row2) super.valuesRow();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.Integer> field1() {
|
||||
return mineplex.database.tables.Transactions.transactions.id;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public org.jooq.Field<java.lang.String> field2() {
|
||||
return mineplex.database.tables.Transactions.transactions.name;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.Integer value1() {
|
||||
return getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public java.lang.String value2() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TransactionsRecord value1(java.lang.Integer value) {
|
||||
setId(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TransactionsRecord value2(java.lang.String value) {
|
||||
setName(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public TransactionsRecord values(java.lang.Integer value1, java.lang.String value2) {
|
||||
return this;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached TransactionsRecord
|
||||
*/
|
||||
public TransactionsRecord() {
|
||||
super(mineplex.database.tables.Transactions.transactions);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised TransactionsRecord
|
||||
*/
|
||||
public TransactionsRecord(java.lang.Integer id, java.lang.String name) {
|
||||
super(mineplex.database.tables.Transactions.transactions);
|
||||
|
||||
setValue(0, id);
|
||||
setValue(1, name);
|
||||
}
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7"/>
|
||||
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/craftbukkit.jar" sourcepath="/REPO_DIR/GitHubLibraries/CraftBukkit/src"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/Mineplex.Core"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/Mineplex.Core.Common"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/Mineplex.Database"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
@ -34,7 +34,7 @@ import mineplex.game.clans.shop.pvp.PvpShop;
|
||||
public class Clans extends JavaPlugin
|
||||
{
|
||||
private String WEB_CONFIG = "webServer";
|
||||
|
||||
|
||||
//Modules
|
||||
private CoreClientManager _clientManager;
|
||||
private DonationManager _donationManager;
|
||||
@ -77,7 +77,7 @@ public class Clans extends JavaPlugin
|
||||
AntiHack.Instance.setKick(false);
|
||||
|
||||
BlockRestore blockRestore = new BlockRestore(this);
|
||||
|
||||
|
||||
IgnoreManager ignoreManager = new IgnoreManager(this, _clientManager, preferenceManager, portal);
|
||||
Chat chat = new Chat(this, _clientManager, preferenceManager, serverStatusManager.getCurrentServerName());
|
||||
new MessageManager(this, _clientManager, preferenceManager, ignoreManager, punish, new FriendManager(this, _clientManager, preferenceManager, portal), chat);
|
||||
|
@ -41,6 +41,7 @@ public class Farming extends MiniPlugin
|
||||
ItemStackFactory.Instance.CreateStack(Material.GOLDEN_APPLE));
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@EventHandler
|
||||
public void BlockPlace(BlockPlaceEvent event)
|
||||
{
|
||||
|
@ -521,12 +521,14 @@ public class HubManager extends MiniClientPlugin<HubClient>
|
||||
playerName = AprilFoolsManager.Instance.getName(player);
|
||||
|
||||
//Public Message
|
||||
if (_clientManager.Get(player).GetRank() != Rank.LEGEND)
|
||||
event.setJoinMessage(null);
|
||||
else
|
||||
{
|
||||
event.setJoinMessage(C.cGreen + C.Bold + "Legend " + playerName + " has joined!");
|
||||
}
|
||||
event.setJoinMessage(null);
|
||||
|
||||
// if (_clientManager.Get(player).GetRank() != Rank.LEGEND)
|
||||
// event.setJoinMessage(null);
|
||||
// else
|
||||
// {
|
||||
// event.setJoinMessage(C.cGreen + C.Bold + "Legend " + playerName + " has joined!");
|
||||
// }
|
||||
|
||||
//Teleport
|
||||
player.teleport(GetSpawn().add(0, 10, 0));
|
||||
|
@ -398,10 +398,18 @@ public class ParkourManager extends MiniPlugin
|
||||
{
|
||||
public void run(Boolean completed)
|
||||
{
|
||||
UtilPlayer.message(player, F.main("Parkour", "You received " + F.elem(C.cGreen + fData.Gems + " Gems") + "."));
|
||||
|
||||
//Sound
|
||||
player.playSound(player.getLocation(), Sound.LEVEL_UP, 2f, 1.5f);
|
||||
if (completed)
|
||||
{
|
||||
UtilPlayer.message(player, F.main("Parkour", "You received " + F.elem(C.cGreen + fData.Gems + " Gems") + "."));
|
||||
|
||||
//Sound
|
||||
player.playSound(player.getLocation(), Sound.LEVEL_UP, 2f, 1.5f);
|
||||
}
|
||||
else
|
||||
{
|
||||
_taskManager.Get(player).TasksCompleted.remove(_taskManager.getTaskId(fData.Name));
|
||||
UtilPlayer.message(player, F.main("Parkour", "There as an error giving " + F.elem(C.cGreen + fData.Gems + " gems to you. Please click the NPC again.") + "."));
|
||||
}
|
||||
}
|
||||
}, "Parkour " + fData.Name, player.getName(), player.getUniqueId(), fData.Gems);
|
||||
|
||||
|
@ -81,14 +81,14 @@ public class TextManager extends MiniPlugin
|
||||
UtilBlockText.MakeText("SURVIVAL", locSurvival, faceSurvival, 159, (byte)5, TextAlign.CENTER);
|
||||
UtilBlockText.MakeText("SURVIVAL", locSurvival.clone().add(-1, 0, 0), faceSurvival, (Manager.Type == HubType.Halloween) ? 89 : 159, (Manager.Type == HubType.Halloween) ? (byte)0 : (byte)15, TextAlign.CENTER);
|
||||
|
||||
UtilBlockText.MakeText("THE BRIDGES", locSurvival.clone().add(-15, 14, 0), faceSurvival, 159, (byte)4, TextAlign.CENTER);
|
||||
UtilBlockText.MakeText("THE BRIDGES", locSurvival.clone().add(-16, 14, 0), faceSurvival, (Manager.Type == HubType.Halloween) ? 89 : 159, (Manager.Type == HubType.Halloween) ? (byte)0 : (byte)15, TextAlign.CENTER);
|
||||
UtilBlockText.MakeText("SKYWARS", locSurvival.clone().add(-15, 14, 0), faceSurvival, 159, (byte)4, TextAlign.CENTER);
|
||||
UtilBlockText.MakeText("SKYWARS", locSurvival.clone().add(-16, 14, 0), faceSurvival, (Manager.Type == HubType.Halloween) ? 89 : 159, (Manager.Type == HubType.Halloween) ? (byte)0 : (byte)15, TextAlign.CENTER);
|
||||
|
||||
UtilBlockText.MakeText("SURVIVAL GAMES", locSurvival.clone().add(-15, 21, 0), faceSurvival, 159, (byte)1, TextAlign.CENTER);
|
||||
UtilBlockText.MakeText("SURVIVAL GAMES", locSurvival.clone().add(-16, 21, 0), faceSurvival, (Manager.Type == HubType.Halloween) ? 89 : 159, (Manager.Type == HubType.Halloween) ? (byte)0 : (byte)15, TextAlign.CENTER);
|
||||
UtilBlockText.MakeText("THE BRIDGES", locSurvival.clone().add(-15, 21, 0), faceSurvival, 159, (byte)1, TextAlign.CENTER);
|
||||
UtilBlockText.MakeText("THE BRIDGES", locSurvival.clone().add(-16, 21, 0), faceSurvival, (Manager.Type == HubType.Halloween) ? 89 : 159, (Manager.Type == HubType.Halloween) ? (byte)0 : (byte)15, TextAlign.CENTER);
|
||||
|
||||
UtilBlockText.MakeText("ULTRA HARDCORE", locSurvival.clone().add(-15, 28, 0), faceSurvival, 159, (byte)14, TextAlign.CENTER);
|
||||
UtilBlockText.MakeText("ULTRA HARDCORE", locSurvival.clone().add(-16, 28, 0), faceSurvival, (Manager.Type == HubType.Halloween) ? 89 : 159, (Manager.Type == HubType.Halloween) ? (byte)0 : (byte)15, TextAlign.CENTER);
|
||||
UtilBlockText.MakeText("SURVIVAL GAMES", locSurvival.clone().add(-15, 28, 0), faceSurvival, 159, (byte)14, TextAlign.CENTER);
|
||||
UtilBlockText.MakeText("SURVIVAL GAMES", locSurvival.clone().add(-16, 28, 0), faceSurvival, (Manager.Type == HubType.Halloween) ? 89 : 159, (Manager.Type == HubType.Halloween) ? (byte)0 : (byte)15, TextAlign.CENTER);
|
||||
|
||||
//Other
|
||||
UtilBlockText.MakeText("CLASSICS", locClassics, faceOther, 159, (byte)5, TextAlign.CENTER);
|
||||
|
@ -150,9 +150,6 @@ public class PollManager extends MiniDbClientPlugin<PlayerPollData>
|
||||
// First update answer locally so we know it was answered
|
||||
Get(player).addAnswer(poll.getId(), answer);
|
||||
|
||||
UtilPlayer.message(player, F.main("Poll", "Thanks for your response!"));
|
||||
player.playSound(player.getEyeLocation(), Sound.LEVEL_UP, 1F, 0);
|
||||
|
||||
// Here we add the answer into the database, and once that is successful we give the coin reward
|
||||
_plugin.getServer().getScheduler().runTaskAsynchronously(_plugin, new Runnable()
|
||||
{
|
||||
@ -167,15 +164,20 @@ public class PollManager extends MiniDbClientPlugin<PlayerPollData>
|
||||
@Override
|
||||
public void run(Boolean completed)
|
||||
{
|
||||
// Need to get out of Async code
|
||||
_plugin.getServer().getScheduler().runTask(_plugin, new Runnable()
|
||||
if (completed)
|
||||
{
|
||||
@Override
|
||||
public void run()
|
||||
// Need to get out of Async code
|
||||
_plugin.getServer().getScheduler().runTask(_plugin, new Runnable()
|
||||
{
|
||||
UtilPlayer.message(player, F.main("Gem", "You received " + F.elem(poll.getCoinReward() + "") + " Gems!"));
|
||||
}
|
||||
});
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
UtilPlayer.message(player, F.main("Poll", "Thanks for your response!"));
|
||||
player.playSound(player.getEyeLocation(), Sound.LEVEL_UP, 1F, 0);
|
||||
UtilPlayer.message(player, F.main("Gem", "You received " + F.elem(poll.getCoinReward() + "") + " Gems!"));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}, "Poll", name, uuid, poll.getCoinReward());
|
||||
}
|
||||
|
@ -720,6 +720,11 @@ public class ServerManager extends MiniPlugin
|
||||
return _serverNpcShopMap.get("Ultra Hardcore");
|
||||
}
|
||||
|
||||
public ServerNpcShop getSKYShop()
|
||||
{
|
||||
return _serverNpcShopMap.get("SkyWars");
|
||||
}
|
||||
|
||||
public ServerNpcShop getPlayerGamesShop()
|
||||
{
|
||||
return _serverNpcShopMap.get("Mineplex Player Servers");
|
||||
|
@ -25,6 +25,7 @@ import mineplex.hub.server.ui.button.SelectMINButton;
|
||||
import mineplex.hub.server.ui.button.SelectMSButton;
|
||||
import mineplex.hub.server.ui.button.SelectPLAYERButton;
|
||||
import mineplex.hub.server.ui.button.SelectSGButton;
|
||||
import mineplex.hub.server.ui.button.SelectSKYButton;
|
||||
import mineplex.hub.server.ui.button.SelectSSMButton;
|
||||
import mineplex.hub.server.ui.button.SelectTDMButton;
|
||||
import mineplex.hub.server.ui.button.SelectUHCButton;
|
||||
@ -73,18 +74,28 @@ public class ServerGameMenu extends ShopPageBase<ServerManager, QuickShop>
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("HG") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(4, ItemStackFactory.Instance.CreateStack(Material.TNT.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Mine-Strike " + C.cGray + "Team Survival", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "One team must defend two bomb sites from",
|
||||
ChatColor.RESET + "the other team, who are trying to plant a bomb",
|
||||
ChatColor.RESET + "and blow them up!",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("MS") + ChatColor.RESET + " other players!",
|
||||
setItem(4, ItemStackFactory.Instance.CreateStack(Material.FEATHER.getId(), (byte) 0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Skywars " + C.cGray + "Solo Survival", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "16 contenders fight for the right to rule the skies!",
|
||||
ChatColor.RESET + "Spawn on a sky island and build your path!",
|
||||
ChatColor.RESET + "Find weapons to take your enemies down!",
|
||||
ChatColor.RESET + "Way up there, death ever looming if you fall..",
|
||||
ChatColor.RESET + "Can you fight? Can you live? Can you win Skywars?",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("SKY") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(6, _superSmashCycle.get(_ssmIndex));
|
||||
|
||||
|
||||
setItem(6, ItemStackFactory.Instance.CreateStack(Material.GOLDEN_APPLE.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "UHC " + C.cGray + "Ultra Hardcore Mode", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Extremely hard team-based survival ",
|
||||
ChatColor.RESET + "Gather materials and fight your way",
|
||||
ChatColor.RESET + "to become the last team standing!",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("UHC") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(8, ItemStackFactory.Instance.CreateStack(Material.BLAZE_ROD.getId(), (byte) 0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Wizards " + C.cGray + "Last Man Standing", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
@ -94,8 +105,40 @@ public class ServerGameMenu extends ShopPageBase<ServerManager, QuickShop>
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("WIZ") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(18, ItemStackFactory.Instance.CreateStack(Material.DIAMOND_CHESTPLATE, (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Castle Siege " + C.cGray + "Team Game", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Defenders must protect King Sparklez",
|
||||
ChatColor.RESET + "from the endless waves of Undead",
|
||||
ChatColor.RESET + "until the sun rises!",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("CS") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(20, ItemStackFactory.Instance.CreateStack(Material.GRASS.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Block Hunt " + C.cGray + "Cat and Mouse", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Hide as blocks/animals, upgrade your ",
|
||||
ChatColor.RESET + "weapon and fight to survive against",
|
||||
ChatColor.RESET + "the Hunters!",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("BH") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(22, _superSmashCycle.get(_ssmIndex));
|
||||
|
||||
setItem(24, ItemStackFactory.Instance.CreateStack(Material.TNT.getId(), (byte) 0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Mine-Strike " + C.cGray + "Team Survival", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "One team must defend two bomb sites from",
|
||||
ChatColor.RESET + "the other team, who are trying to plant a bomb",
|
||||
ChatColor.RESET + "and blow them up!",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("MS") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(18, ItemStackFactory.Instance.CreateStack(Material.BOOK_AND_QUILL.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Draw My Thing " + C.cGray + "Pictionary!", new String[]
|
||||
setItem(26, ItemStackFactory.Instance.CreateStack(Material.BOOK_AND_QUILL.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Draw My Thing " + C.cGray + "Pictionary!", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Players take turns at drawing a random",
|
||||
@ -105,17 +148,7 @@ public class ServerGameMenu extends ShopPageBase<ServerManager, QuickShop>
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("DMT") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(20, ItemStackFactory.Instance.CreateStack(Material.DIAMOND_CHESTPLATE, (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Castle Siege " + C.cGray + "Team Game", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Defenders must protect King Sparklez",
|
||||
ChatColor.RESET + "from the endless waves of Undead",
|
||||
ChatColor.RESET + "until the sun rises!",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("CS") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(22, ItemStackFactory.Instance.CreateStack(Material.BEACON.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Dominate " + C.cGray + "Team Game", new String[]
|
||||
setItem(36, ItemStackFactory.Instance.CreateStack(Material.BEACON.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Dominate " + C.cGray + "Team Game", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Customize one of five exciting champions",
|
||||
@ -125,7 +158,7 @@ public class ServerGameMenu extends ShopPageBase<ServerManager, QuickShop>
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("DOM") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(24, ItemStackFactory.Instance.CreateStack(Material.GOLD_SWORD.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Team Deathmatch " + C.cGray + "Team Game", new String[]
|
||||
setItem(38, ItemStackFactory.Instance.CreateStack(Material.GOLD_SWORD.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Team Deathmatch " + C.cGray + "Team Game", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Customize one of five exciting champions",
|
||||
@ -134,28 +167,8 @@ public class ServerGameMenu extends ShopPageBase<ServerManager, QuickShop>
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("TDM") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(26, ItemStackFactory.Instance.CreateStack(Material.GRASS.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Block Hunt " + C.cGray + "Cat and Mouse", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Hide as blocks/animals, upgrade your ",
|
||||
ChatColor.RESET + "weapon and fight to survive against",
|
||||
ChatColor.RESET + "the Hunters!",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("BH") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(36, ItemStackFactory.Instance.CreateStack(Material.GOLDEN_APPLE.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "UHC " + C.cGray + "Ultra Hardcore Mode", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Extremely hard team-based survival ",
|
||||
ChatColor.RESET + "Gather materials and fight your way",
|
||||
ChatColor.RESET + "to become the last team standing!",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("UHC") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(38, ItemStackFactory.Instance.CreateStack(Material.WOOD.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Master Builders " + C.cGray + "Creative Build", new String[]
|
||||
setItem(40, ItemStackFactory.Instance.CreateStack(Material.WOOD.getId(), (byte)0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Master Builders " + C.cGray + "Creative Build", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Players are given a Build Theme and ",
|
||||
@ -165,9 +178,9 @@ public class ServerGameMenu extends ShopPageBase<ServerManager, QuickShop>
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("BLD") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
setItem(40, _minigameCycle.get(_minigameIndex));
|
||||
setItem(42, _minigameCycle.get(_minigameIndex));
|
||||
|
||||
setItem(42, ItemStackFactory.Instance.CreateStack(Material.SKULL_ITEM.getId(), (byte) 3, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Player Servers " + C.cGray + "Player Hosted Games", new String[]
|
||||
setItem(44, ItemStackFactory.Instance.CreateStack(Material.SKULL_ITEM.getId(), (byte) 3, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Player Servers " + C.cGray + "Player Hosted Games", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join your friends in their own ",
|
||||
@ -176,31 +189,23 @@ public class ServerGameMenu extends ShopPageBase<ServerManager, QuickShop>
|
||||
ChatColor.RESET + "",
|
||||
}));
|
||||
|
||||
setItem(44, ItemStackFactory.Instance.CreateStack(Material.ANVIL.getId(), (byte) 0, 1, ChatColor.RESET + C.Bold + ChatColor.YELLOW + "Beta Games " + C.cGray + "Play Unreleased Games", new String[]
|
||||
{
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Help test and improve our ",
|
||||
ChatColor.RESET + "unreleased games.",
|
||||
ChatColor.RESET + "",
|
||||
ChatColor.RESET + "Join " + ChatColor.GREEN + getPlugin().getGroupTagPlayerCount("BETA") + ChatColor.RESET + " other players!",
|
||||
}));
|
||||
|
||||
getButtonMap().put(0, new SelectBRButton(this));
|
||||
getButtonMap().put(2, new SelectSGButton(this));
|
||||
getButtonMap().put(4, new SelectMSButton(this));
|
||||
getButtonMap().put(6, new SelectSSMButton(this));
|
||||
getButtonMap().put(4, new SelectSKYButton(this));
|
||||
getButtonMap().put(6, new SelectUHCButton(this));
|
||||
getButtonMap().put(8, new SelectWIZButton(this));
|
||||
|
||||
getButtonMap().put(18, new SelectDMTButton(this));
|
||||
getButtonMap().put(20, new SelectCSButton(this));
|
||||
getButtonMap().put(22, new SelectDOMButton(this));
|
||||
getButtonMap().put(24, new SelectTDMButton(this));
|
||||
getButtonMap().put(26, new SelectBHButton(this));
|
||||
getButtonMap().put(36, new SelectUHCButton(this));
|
||||
getButtonMap().put(38, new SelectBLDButton(this));
|
||||
getButtonMap().put(40, new SelectMINButton(this));
|
||||
getButtonMap().put(42, new SelectPLAYERButton(this));
|
||||
getButtonMap().put(44, new SelectBETAButton(this));
|
||||
getButtonMap().put(18, new SelectCSButton(this));
|
||||
getButtonMap().put(20, new SelectBHButton(this));
|
||||
getButtonMap().put(22, new SelectSSMButton(this));
|
||||
getButtonMap().put(24, new SelectMSButton(this));
|
||||
getButtonMap().put(26, new SelectDMTButton(this));
|
||||
getButtonMap().put(36, new SelectDOMButton(this));
|
||||
getButtonMap().put(38, new SelectTDMButton(this));
|
||||
getButtonMap().put(40, new SelectBLDButton(this));
|
||||
getButtonMap().put(42, new SelectMINButton(this));
|
||||
getButtonMap().put(44, new SelectPLAYERButton(this));
|
||||
// getButtonMap().put(44, new SelectBETAButton(this));
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@ -538,6 +543,11 @@ public class ServerGameMenu extends ShopPageBase<ServerManager, QuickShop>
|
||||
getPlugin().getUHCShop().attemptShopOpen(player);
|
||||
}
|
||||
|
||||
public void openSKY(Player player)
|
||||
{
|
||||
getPlugin().getSKYShop().attemptShopOpen(player);
|
||||
}
|
||||
|
||||
public void openPlayerGames(Player player)
|
||||
{
|
||||
getPlugin().getPlayerGamesShop().attemptShopOpen(player);
|
||||
|
@ -11,10 +11,12 @@ import org.bukkit.event.inventory.ClickType;
|
||||
import org.bukkit.inventory.meta.SkullMeta;
|
||||
|
||||
import mineplex.core.account.CoreClientManager;
|
||||
import mineplex.core.achievement.AchievementCategory;
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.UtilTime;
|
||||
import mineplex.core.donation.DonationManager;
|
||||
import mineplex.core.game.GameDisplay;
|
||||
import mineplex.core.shop.item.IButton;
|
||||
import mineplex.core.shop.item.ShopItem;
|
||||
import mineplex.core.shop.page.ShopPageBase;
|
||||
@ -299,6 +301,8 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
|
||||
String hostName = serverInfo.Name.substring(0, serverInfo.Name.indexOf('-'));
|
||||
String server = ChatColor.GREEN + C.Bold + serverInfo.Name;
|
||||
String host = ChatColor.YELLOW + "Host: " + C.cWhite + hostName;
|
||||
Material material = Material.SKULL_ITEM;
|
||||
byte data = (byte) 3;
|
||||
|
||||
ArrayList<String> lore = new ArrayList<String>();
|
||||
lore.add(host);
|
||||
@ -307,7 +311,15 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
|
||||
lore.add(" ");
|
||||
|
||||
if (serverInfo.Game != null)
|
||||
{
|
||||
lore.add(ChatColor.RESET + C.cYellow + "Game: " + C.cWhite + serverInfo.Game);
|
||||
GameDisplay display = GameDisplay.matchName(serverInfo.Game);
|
||||
if (display != null)
|
||||
{
|
||||
material = display.getMaterial();
|
||||
data = display.getMaterialData();
|
||||
}
|
||||
}
|
||||
|
||||
if (serverInfo.Map != null)
|
||||
lore.add(ChatColor.RESET + C.cYellow + "Map: " + C.cWhite + serverInfo.Map);
|
||||
@ -318,10 +330,14 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
|
||||
lore.add(ChatColor.RESET + C.cGreen + "Hosted by a Staff Member");
|
||||
}
|
||||
|
||||
ShopItem shopItem = new ShopItem(Material.SKULL_ITEM, (byte)3, server, lore.toArray(new String[0]), 1, false, false);
|
||||
SkullMeta meta = (SkullMeta) shopItem.getItemMeta();
|
||||
meta.setOwner(hostName);
|
||||
shopItem.setItemMeta(meta);
|
||||
ShopItem shopItem = new ShopItem(material, data, server, lore.toArray(new String[0]), 1, false, false);
|
||||
if (material == Material.SKULL_ITEM)
|
||||
{
|
||||
SkullMeta meta = (SkullMeta) shopItem.getItemMeta();
|
||||
meta.setOwner(hostName);
|
||||
shopItem.setItemMeta(meta);
|
||||
}
|
||||
|
||||
return shopItem;
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,23 @@
|
||||
package mineplex.hub.server.ui.button;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.inventory.ClickType;
|
||||
|
||||
import mineplex.core.shop.item.IButton;
|
||||
import mineplex.hub.server.ui.ServerGameMenu;
|
||||
|
||||
public class SelectSKYButton implements IButton
|
||||
{
|
||||
private ServerGameMenu _menu;
|
||||
|
||||
public SelectSKYButton(ServerGameMenu menu)
|
||||
{
|
||||
_menu = menu;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onClick(Player player, ClickType clickType)
|
||||
{
|
||||
_menu.openSKY(player);
|
||||
}
|
||||
}
|
@ -137,10 +137,13 @@ public class TutorialManager extends MiniPlugin
|
||||
{
|
||||
public void run(Boolean completed)
|
||||
{
|
||||
UtilPlayer.message(player, F.main("Tutorial", "You received " + F.elem(C.cGreen + tut.GetGems() + " Gems") + "."));
|
||||
|
||||
//Sound
|
||||
player.playSound(player.getLocation(), Sound.LEVEL_UP, 2f, 1.5f);
|
||||
if (completed)
|
||||
{
|
||||
UtilPlayer.message(player, F.main("Tutorial", "You received " + F.elem(C.cGreen + tut.GetGems() + " Gems") + "."));
|
||||
|
||||
//Sound
|
||||
player.playSound(player.getLocation(), Sound.LEVEL_UP, 2f, 1.5f);
|
||||
}
|
||||
}
|
||||
}, "Tutorial " + tut.GetTutName(), player.getName(), player.getUniqueId(), tut.GetGems());
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ public enum GameType
|
||||
Runner("Runner"),
|
||||
SearchAndDestroy("Search and Destroy"),
|
||||
Sheep("Sheep Quest"),
|
||||
Skywars("SkyWars"),
|
||||
Skywars("Skywars"),
|
||||
Smash("Super Smash Mobs"),
|
||||
SmashTeams("Super Smash Mobs Teams", "Super Smash Mobs"),
|
||||
SmashDomination("Super Smash Mobs Domination", "Super Smash Mobs"),
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7"/>
|
||||
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/bukkit.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/Mineplex.ServerData"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7"/>
|
||||
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/craftbukkit.jar" sourcepath="/REPO_DIR/GitHubLibraries/CraftBukkit/src"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/Mineplex.Core"/>
|
||||
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/commons-pool2-2.2.jar"/>
|
||||
@ -12,5 +11,6 @@
|
||||
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/httpclient-4.2.jar"/>
|
||||
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/commons-codec-1.6.jar"/>
|
||||
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/gson-2.2.1.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
@ -7,8 +7,6 @@ import mineplex.core.achievement.AchievementManager;
|
||||
import mineplex.core.antihack.AntiHack;
|
||||
import mineplex.core.chat.Chat;
|
||||
import mineplex.core.command.CommandCenter;
|
||||
import mineplex.core.common.util.ProfileLoader;
|
||||
import mineplex.core.common.util.UUIDFetcher;
|
||||
import mineplex.core.creature.Creature;
|
||||
import mineplex.core.donation.DonationManager;
|
||||
import mineplex.core.inventory.InventoryManager;
|
||||
@ -24,7 +22,6 @@ import mineplex.core.status.ServerStatusManager;
|
||||
import mineplex.core.updater.FileUpdater;
|
||||
import mineplex.core.updater.Updater;
|
||||
import mineplex.staffServer.customerSupport.CustomerSupport;
|
||||
import mineplex.staffServer.password.Password;
|
||||
import mineplex.staffServer.salespackage.SalesPackageManager;
|
||||
import net.minecraft.server.v1_7_R4.MinecraftServer;
|
||||
import net.minecraft.util.com.mojang.authlib.GameProfile;
|
||||
|
@ -2,33 +2,31 @@ package mineplex.staffServer.customerSupport;
|
||||
|
||||
import java.util.HashSet;
|
||||
|
||||
import mineplex.core.MiniPlugin;
|
||||
import mineplex.core.account.CoreClient;
|
||||
import mineplex.core.account.CoreClientManager;
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.NautHashMap;
|
||||
import mineplex.core.donation.DonationManager;
|
||||
import mineplex.core.donation.Donor;
|
||||
import mineplex.core.donation.repository.token.CoinTransactionToken;
|
||||
import mineplex.core.donation.repository.token.TransactionToken;
|
||||
import mineplex.staffServer.salespackage.SalesPackageManager;
|
||||
|
||||
import org.bukkit.GameMode;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.block.BlockBreakEvent;
|
||||
import org.bukkit.event.entity.EntityDamageEvent;
|
||||
import org.bukkit.event.entity.FoodLevelChangeEvent;
|
||||
import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
|
||||
import org.bukkit.event.entity.FoodLevelChangeEvent;
|
||||
import org.bukkit.event.player.AsyncPlayerChatEvent;
|
||||
import org.bukkit.event.player.PlayerJoinEvent;
|
||||
import org.bukkit.event.player.PlayerQuitEvent;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import mineplex.core.MiniPlugin;
|
||||
import mineplex.core.account.CoreClient;
|
||||
import mineplex.core.account.CoreClientManager;
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.jsonchat.JsonMessage;
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.NautHashMap;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
import mineplex.core.donation.DonationManager;
|
||||
import mineplex.core.donation.Donor;
|
||||
import mineplex.core.donation.repository.token.CoinTransactionToken;
|
||||
import mineplex.core.donation.repository.token.TransactionToken;
|
||||
import mineplex.staffServer.salespackage.SalesPackageManager;
|
||||
|
||||
public class CustomerSupport extends MiniPlugin
|
||||
{
|
||||
private CoreClientManager _clientManager;
|
||||
|
@ -7,8 +7,10 @@ import org.bukkit.entity.Player;
|
||||
import mineplex.core.account.CoreClient;
|
||||
import mineplex.core.command.CommandBase;
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.core.common.util.Callback;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.UUIDFetcher;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
import mineplex.staffServer.salespackage.SalesPackageManager;
|
||||
|
||||
public class CoinCommand extends CommandBase<SalesPackageManager>
|
||||
@ -35,8 +37,21 @@ public class CoinCommand extends CommandBase<SalesPackageManager>
|
||||
|
||||
if (client != null)
|
||||
{
|
||||
Plugin.getDonationManager().RewardCoins(null, caller.getName(), playerName, client.getAccountId(), amount);
|
||||
caller.sendMessage(F.main(Plugin.getName(), "Added " + amount + " coins to " + playerName + "'s account!"));
|
||||
Plugin.getDonationManager().RewardCoins(new Callback<Boolean>()
|
||||
{
|
||||
public void run(Boolean completed)
|
||||
{
|
||||
if (completed)
|
||||
{
|
||||
caller.sendMessage(F.main(Plugin.getName(), "Added " + amount + " coins to " + playerName + "'s account!"));
|
||||
}
|
||||
else
|
||||
{
|
||||
UtilPlayer.message(caller, F.main(Plugin.getName(), "There was an error giving " + F.elem(amount + "Coins") + " to " + F.name(playerName) + "."));
|
||||
}
|
||||
}
|
||||
}, caller.getName(), playerName, client.getAccountId(), amount);
|
||||
|
||||
}
|
||||
else
|
||||
caller.sendMessage(F.main(Plugin.getName(), "Couldn't find " + playerName + "'s account!"));
|
||||
|
@ -9,3 +9,287 @@ org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.7
|
||||
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_assignment=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
|
||||
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
|
||||
org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
|
||||
org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
|
||||
org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
|
||||
org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_after_package=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_field=0
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_method=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_before_package=0
|
||||
org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
|
||||
org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=next_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=next_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_block=next_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=next_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=next_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=next_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line
|
||||
org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line
|
||||
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
|
||||
org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
|
||||
org.eclipse.jdt.core.formatter.comment.format_block_comments=true
|
||||
org.eclipse.jdt.core.formatter.comment.format_header=false
|
||||
org.eclipse.jdt.core.formatter.comment.format_html=true
|
||||
org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
|
||||
org.eclipse.jdt.core.formatter.comment.format_line_comments=true
|
||||
org.eclipse.jdt.core.formatter.comment.format_source_code=true
|
||||
org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
|
||||
org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
|
||||
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
|
||||
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
|
||||
org.eclipse.jdt.core.formatter.comment.line_length=80
|
||||
org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
|
||||
org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
|
||||
org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
|
||||
org.eclipse.jdt.core.formatter.compact_else_if=true
|
||||
org.eclipse.jdt.core.formatter.continuation_indentation=2
|
||||
org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
|
||||
org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
|
||||
org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
|
||||
org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
|
||||
org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
|
||||
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
|
||||
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
|
||||
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
|
||||
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
|
||||
org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
|
||||
org.eclipse.jdt.core.formatter.indent_empty_lines=false
|
||||
org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
|
||||
org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
|
||||
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
|
||||
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
|
||||
org.eclipse.jdt.core.formatter.indentation.size=4
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_label=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
|
||||
org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
|
||||
org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
|
||||
org.eclipse.jdt.core.formatter.join_lines_in_comments=true
|
||||
org.eclipse.jdt.core.formatter.join_wrapped_lines=true
|
||||
org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=true
|
||||
org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
|
||||
org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
|
||||
org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
|
||||
org.eclipse.jdt.core.formatter.lineSplit=80
|
||||
org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
|
||||
org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
|
||||
org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
|
||||
org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
|
||||
org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
|
||||
org.eclipse.jdt.core.formatter.tabulation.char=tab
|
||||
org.eclipse.jdt.core.formatter.tabulation.size=4
|
||||
org.eclipse.jdt.core.formatter.use_on_off_tags=false
|
||||
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
|
||||
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
|
||||
org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
|
||||
org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
|
||||
|
@ -0,0 +1,3 @@
|
||||
eclipse.preferences.version=1
|
||||
formatter_profile=_Mineplex
|
||||
formatter_settings_version=12
|
@ -63,7 +63,7 @@ public class Arcade extends JavaPlugin
|
||||
private DamageManager _damageManager;
|
||||
|
||||
private ArcadeManager _gameManager;
|
||||
|
||||
|
||||
private ServerConfiguration _serverConfiguration;
|
||||
|
||||
@Override
|
||||
|
@ -880,8 +880,10 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
||||
public ArrayList<String> LoadFiles(String gameName)
|
||||
{
|
||||
TimingManager.start("ArcadeManager LoadFiles");
|
||||
|
||||
File folder = new File(".." + File.separatorChar + ".." + File.separatorChar + "update" + File.separatorChar
|
||||
+ "maps" + File.separatorChar + gameName);
|
||||
System.out.println(folder.getAbsolutePath()+" -=-=-=-=-=" );
|
||||
if (!folder.exists())
|
||||
folder.mkdirs();
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
package nautilus.game.arcade;
|
||||
|
||||
import mineplex.core.game.GameCategory;
|
||||
import mineplex.core.game.GameDisplay;
|
||||
import nautilus.game.arcade.game.Game;
|
||||
import nautilus.game.arcade.game.games.baconbrawl.BaconBrawl;
|
||||
import nautilus.game.arcade.game.games.barbarians.Barbarians;
|
||||
@ -35,6 +37,7 @@ import nautilus.game.arcade.game.games.quiver.QuiverTeams;
|
||||
import nautilus.game.arcade.game.games.runner.Runner;
|
||||
import nautilus.game.arcade.game.games.searchanddestroy.SearchAndDestroy;
|
||||
import nautilus.game.arcade.game.games.sheep.SheepGame;
|
||||
import nautilus.game.arcade.game.games.skywars.Skywars;
|
||||
import nautilus.game.arcade.game.games.smash.SuperSmash;
|
||||
import nautilus.game.arcade.game.games.smash.SuperSmashDominate;
|
||||
import nautilus.game.arcade.game.games.smash.SuperSmashTeam;
|
||||
@ -59,68 +62,66 @@ import org.bukkit.Material;
|
||||
public enum GameType
|
||||
{
|
||||
//Mini
|
||||
BaconBrawl(BaconBrawl.class, "Bacon Brawl", Material.PORK, (byte)0, GameCategory.ARCADE, 1),
|
||||
Barbarians(Barbarians.class, "A Barbarians Life", Material.WOOD_AXE, (byte)0, GameCategory.EXTRA, 2),
|
||||
Bridge(Bridge.class, "The Bridges", Material.IRON_PICKAXE, (byte)0, GameCategory.SURVIVAL, 3),
|
||||
CastleSiege(CastleSiege.class, "Castle Siege", Material.DIAMOND_CHESTPLATE, (byte)0, GameCategory.CLASSICS, 4),
|
||||
ChampionsDominate(ChampionsDominate.class, "Champions Domination", "Champions", Material.BEACON, (byte)0, GameCategory.CHAMPIONS, 6),
|
||||
BaconBrawl(BaconBrawl.class, GameDisplay.BaconBrawl),
|
||||
Barbarians(Barbarians.class, GameDisplay.Barbarians),
|
||||
Bridge(Bridge.class, GameDisplay.Bridge),
|
||||
CastleSiege(CastleSiege.class, GameDisplay.CastleSiege),
|
||||
ChampionsDominate(ChampionsDominate.class, GameDisplay.ChampionsDominate),
|
||||
//ChampionsMOBA(ChampionsMOBA.class, "Champions MOBA", "Champions", Material.SKULL_ITEM, (byte)0, GameCategory.CHAMPIONS, 7),
|
||||
ChampionsTDM(ChampionsTDM.class, "Champions TDM", "Champions", Material.GOLD_SWORD, (byte)0, GameCategory.CHAMPIONS, 5),
|
||||
Christmas(Christmas.class, "Christmas Chaos", Material.SNOW_BALL, (byte)0, GameCategory.CLASSICS, 8),
|
||||
DeathTag(DeathTag.class, "Death Tag", Material.SKULL_ITEM, (byte)0, GameCategory.ARCADE, 9),
|
||||
DragonEscape(DragonEscape.class, "Dragon Escape", Material.DRAGON_EGG, (byte)0, GameCategory.ARCADE, 10),
|
||||
DragonEscapeTeams(DragonEscapeTeams.class, "Dragon Escape Teams", Material.DRAGON_EGG, (byte)0, GameCategory.TEAM_VARIANT, 11),
|
||||
DragonRiders(DragonRiders.class, "Dragon Riders", Material.DRAGON_EGG, (byte)0, GameCategory.ARCADE, 12),
|
||||
Dragons(Dragons.class, "Dragons", Material.ENDER_STONE, (byte)0, GameCategory.ARCADE, 13),
|
||||
DragonsTeams(DragonsTeams.class, "Dragons Teams", Material.ENDER_STONE, (byte)0, GameCategory.TEAM_VARIANT, 14),
|
||||
Draw(Draw.class, "Draw My Thing", Material.BOOK_AND_QUILL, (byte)0, GameCategory.CLASSICS, 15),
|
||||
Evolution(Evolution.class, "Evolution", Material.EMERALD, (byte)0, GameCategory.ARCADE, 16),
|
||||
ChampionsTDM(ChampionsTDM.class, GameDisplay.ChampionsTDM),
|
||||
Christmas(Christmas.class, GameDisplay.Christmas),
|
||||
DeathTag(DeathTag.class, GameDisplay.DeathTag),
|
||||
DragonEscape(DragonEscape.class, GameDisplay.DragonEscape),
|
||||
DragonEscapeTeams(DragonEscapeTeams.class, GameDisplay.DragonEscapeTeams),
|
||||
DragonRiders(DragonRiders.class, GameDisplay.DragonRiders),
|
||||
Dragons(Dragons.class, GameDisplay.Dragons),
|
||||
DragonsTeams(DragonsTeams.class, GameDisplay.DragonsTeams),
|
||||
Draw(Draw.class, GameDisplay.Draw),
|
||||
Evolution(Evolution.class, GameDisplay.Evolution),
|
||||
//FlappyBird(FlappyBird.class, "Flappy Bird", Material.FEATHER, (byte)0, GameCategory.ARCADE, 17),
|
||||
Gravity(Gravity.class, "Gravity", Material.ENDER_PORTAL, (byte)0, GameCategory.EXTRA, 18),
|
||||
Halloween(Halloween.class, "Halloween Horror", Material.PUMPKIN, (byte)0, GameCategory.CLASSICS, 19),
|
||||
HideSeek(HideSeek.class, "Block Hunt", Material.GRASS, (byte)0, GameCategory.CLASSICS, 20),
|
||||
HoleInTheWall(HoleInTheWall.class, "Hole in the Wall", Material.STAINED_GLASS, (byte) 2, GameCategory.ARCADE, 52),
|
||||
Horse(Horse.class, "Horseback", Material.IRON_BARDING, (byte)0, GameCategory.ARCADE, 21),
|
||||
Micro(Micro.class, "Micro Battle", Material.LAVA_BUCKET, (byte)0, GameCategory.ARCADE, 24),
|
||||
MilkCow(MilkCow.class, "Milk the Cow", Material.MILK_BUCKET, (byte)0, GameCategory.ARCADE, 27),
|
||||
MineStrike(MineStrike.class, "MineStrike", Material.TNT, (byte)0, GameCategory.CLASSICS, 25, "http://chivebox.com/file/c/assets.zip", true),
|
||||
MineWare(MineWare.class, "MineWare", Material.PAPER, (byte)0, GameCategory.EXTRA, 26),
|
||||
OldMineWare(OldMineWare.class, "Old MineWare", Material.PAPER, (byte)0, GameCategory.EXTRA, 26),
|
||||
Paintball(Paintball.class, "Super Paintball", Material.ENDER_PEARL, (byte)0, GameCategory.ARCADE, 28),
|
||||
Quiver(Quiver.class, "One in the Quiver", Material.ARROW, (byte)0, GameCategory.ARCADE, 29),
|
||||
QuiverTeams(QuiverTeams.class, "One in the Quiver Teams", Material.ARROW, (byte)0, GameCategory.TEAM_VARIANT, 30),
|
||||
Runner(Runner.class, "Runner", Material.LEATHER_BOOTS, (byte)0, GameCategory.ARCADE, 31),
|
||||
SearchAndDestroy(SearchAndDestroy.class, "Search and Destroy", Material.TNT, (byte)0, GameCategory.SURVIVAL, 32),
|
||||
Sheep(SheepGame.class, "Sheep Quest", Material.WOOL, (byte)4, GameCategory.ARCADE, 33),
|
||||
Smash(SuperSmash.class, "Super Smash Mobs", Material.SKULL_ITEM, (byte)4, GameCategory.CLASSICS, 34),
|
||||
SmashDomination(SuperSmashDominate.class, "Super Smash Mobs Domination", "Super Smash Mobs", Material.SKULL_ITEM, (byte)4, GameCategory.EXTRA, 36),
|
||||
SmashTeams(SuperSmashTeam.class, "Super Smash Mobs Teams", "Super Smash Mobs", Material.SKULL_ITEM, (byte)4, GameCategory.TEAM_VARIANT, 35),
|
||||
Snake(Snake.class, "Snake", Material.WOOL, (byte)0, GameCategory.ARCADE, 37),
|
||||
SneakyAssassins(SneakyAssassins.class, "Sneaky Assassins", Material.INK_SACK, (byte)0, GameCategory.ARCADE, 38),
|
||||
SnowFight(SnowFight.class, "Snow Fight", Material.SNOW_BALL, (byte)0, GameCategory.EXTRA, 39),
|
||||
Spleef(Spleef.class, "Super Spleef", Material.IRON_SPADE, (byte)0, GameCategory.ARCADE, 40),
|
||||
SpleefTeams(SpleefTeams.class, "Super Spleef Teams", Material.IRON_SPADE, (byte)0, GameCategory.TEAM_VARIANT, 41),
|
||||
SquidShooter(SquidShooter.class, "Squid Shooter", Material.FIREWORK_CHARGE, (byte)0, GameCategory.ARCADE, 43),
|
||||
Stacker(Stacker.class, "Super Stacker", Material.BOWL, (byte)0, GameCategory.ARCADE, 42),
|
||||
SurvivalGames(SurvivalGames.class, "Survival Games", Material.IRON_SWORD, (byte)0, GameCategory.SURVIVAL, 22),
|
||||
SurvivalGamesTeams(SurvivalGamesTeams.class, "Survival Games Teams", Material.IRON_SWORD, (byte)0, GameCategory.TEAM_VARIANT, 23),
|
||||
Tug(Tug.class, "Tug of Wool", Material.WHEAT, (byte)0, GameCategory.ARCADE, 44),
|
||||
TurfWars(TurfForts.class, "Turf Wars", Material.STAINED_CLAY, (byte)14, GameCategory.ARCADE, 45),
|
||||
UHC(UHC.class, "Ultra Hardcore", Material.GOLDEN_APPLE, (byte)0, GameCategory.SURVIVAL, 46),
|
||||
WitherAssault(WitherGame.class, "Wither Assault", Material.SKULL_ITEM, (byte)1, GameCategory.ARCADE, 47),
|
||||
Wizards(Wizards.class, "Wizards", Material.BLAZE_ROD, (byte)0, GameCategory.SURVIVAL, 48, "http://chivebox.com/file/c/ResWizards.zip", true),
|
||||
ZombieSurvival(ZombieSurvival.class, "Zombie Survival", Material.SKULL_ITEM, (byte)2, GameCategory.SURVIVAL, 49),
|
||||
Gravity(Gravity.class, GameDisplay.Gravity),
|
||||
Halloween(Halloween.class, GameDisplay.Halloween),
|
||||
HideSeek(HideSeek.class, GameDisplay.HideSeek),
|
||||
HoleInTheWall(HoleInTheWall.class, GameDisplay.HoleInTheWall),
|
||||
Horse(Horse.class, GameDisplay.Horse),
|
||||
Micro(Micro.class, GameDisplay.Micro),
|
||||
MilkCow(MilkCow.class, GameDisplay.MilkCow),
|
||||
MineStrike(MineStrike.class, GameDisplay.MineStrike, "http://chivebox.com/file/c/assets.zip", true),// Temp set to CHAMPIONS to fix UI bug
|
||||
MineWare(MineWare.class, GameDisplay.MineWare),
|
||||
OldMineWare(OldMineWare.class, GameDisplay.OldMineWare),
|
||||
Paintball(Paintball.class, GameDisplay.Paintball),
|
||||
Quiver(Quiver.class, GameDisplay.Quiver),
|
||||
QuiverTeams(QuiverTeams.class, GameDisplay.QuiverTeams),
|
||||
Runner(Runner.class, GameDisplay.Runner),
|
||||
SearchAndDestroy(SearchAndDestroy.class, GameDisplay.SearchAndDestroy),
|
||||
Sheep(SheepGame.class, GameDisplay.Sheep),
|
||||
|
||||
Build(Build.class, "Master Builders", Material.BRICK, (byte)0, GameCategory.CLASSICS, 50),
|
||||
Cards(Cards.class, "Craft Against Humanity", Material.MAP, (byte)0, GameCategory.CLASSICS, 51),
|
||||
Smash(SuperSmash.class, GameDisplay.Smash),
|
||||
SmashDomination(SuperSmashDominate.class, GameDisplay.SmashDomination),
|
||||
SmashTeams(SuperSmashTeam.class, GameDisplay.SmashTeams),
|
||||
Snake(Snake.class, GameDisplay.Snake),
|
||||
SneakyAssassins(SneakyAssassins.class, GameDisplay.SneakyAssassins),
|
||||
SnowFight(SnowFight.class, GameDisplay.SnowFight),
|
||||
Spleef(Spleef.class, GameDisplay.Spleef),
|
||||
SpleefTeams(SpleefTeams.class, GameDisplay.SpleefTeams),
|
||||
SquidShooter(SquidShooter.class, GameDisplay.SquidShooter),
|
||||
Stacker(Stacker.class, GameDisplay.Stacker),
|
||||
SurvivalGames(SurvivalGames.class, GameDisplay.SurvivalGames),
|
||||
SurvivalGamesTeams(SurvivalGamesTeams.class, GameDisplay.SurvivalGamesTeams),
|
||||
Tug(Tug.class, GameDisplay.Tug),
|
||||
TurfWars(TurfForts.class, GameDisplay.TurfWars),
|
||||
UHC(UHC.class, GameDisplay.UHC),
|
||||
WitherAssault(WitherGame.class, GameDisplay.WitherAssault),
|
||||
Wizards(Wizards.class, GameDisplay.Barbarians.Wizards, "http://chivebox.com/file/c/ResWizards.zip", true),
|
||||
ZombieSurvival(ZombieSurvival.class, GameDisplay.ZombieSurvival),
|
||||
|
||||
Build(Build.class, GameDisplay.Build),
|
||||
Cards(Cards.class, GameDisplay.Cards),
|
||||
Skywars(Skywars.class, GameDisplay.Skywars),
|
||||
|
||||
Event(EventGame.class, GameDisplay.Event);
|
||||
|
||||
Event(EventGame.class, "Mineplex Event", Material.CAKE, (byte)0, GameCategory.EVENT, 999);
|
||||
|
||||
String _name;
|
||||
String _lobbyName;
|
||||
Material _mat;
|
||||
byte _data;
|
||||
GameCategory _gameCategory;
|
||||
GameDisplay _display;
|
||||
boolean _enforceResourcePack;
|
||||
String _resourcePack;
|
||||
Class<? extends Game> _gameClass;
|
||||
@ -128,30 +129,15 @@ public enum GameType
|
||||
private int _gameId; // Unique identifying id for this gamemode (used for statistics)
|
||||
public int getGameId() { return _gameId; }
|
||||
|
||||
GameType(Class<? extends Game> gameClass, String name, Material mat, byte data, GameCategory gameCategory, int gameId)
|
||||
GameType(Class<? extends Game> gameClass, GameDisplay display)
|
||||
{
|
||||
this(gameClass, name, name, mat, data, gameCategory, gameId);
|
||||
this(gameClass, display, null, false);
|
||||
}
|
||||
|
||||
GameType(Class<? extends Game> gameClass, String name, Material mat, byte data, GameCategory gameCategory, int gameId, String resourcePackUrl, boolean enforceResourcePack)
|
||||
{
|
||||
this(gameClass, name, name, mat, data, gameCategory, gameId, resourcePackUrl, enforceResourcePack);
|
||||
}
|
||||
|
||||
GameType(Class<? extends Game> gameClass, String name, String lobbyName, Material mat, byte data, GameCategory gameCategory, int gameId)
|
||||
{
|
||||
this(gameClass, name, lobbyName, mat, data, gameCategory, gameId, null, false);
|
||||
}
|
||||
|
||||
GameType(Class<? extends Game> gameClass, String name, String lobbyName, Material mat, byte data, GameCategory gameCategory, int gameId, String resourcePackUrl, boolean enforceResourcePack)
|
||||
GameType(Class<? extends Game> gameClass, GameDisplay display, String resourcePackUrl, boolean enforceResourcePack)
|
||||
{
|
||||
_display = display;
|
||||
_gameClass = gameClass;
|
||||
_name = name;
|
||||
_lobbyName = lobbyName;
|
||||
_mat = mat;
|
||||
_data = data;
|
||||
_gameCategory = gameCategory;
|
||||
_gameId = gameId;
|
||||
_resourcePack = resourcePackUrl;
|
||||
_enforceResourcePack = enforceResourcePack;
|
||||
}
|
||||
@ -173,31 +159,26 @@ public enum GameType
|
||||
|
||||
public String GetName()
|
||||
{
|
||||
return _name;
|
||||
return _display.getName();
|
||||
}
|
||||
|
||||
public String GetLobbyName()
|
||||
{
|
||||
return _lobbyName;
|
||||
return _display.getLobbyName();
|
||||
}
|
||||
|
||||
public Material GetMaterial()
|
||||
{
|
||||
return _mat;
|
||||
return _display.getMaterial();
|
||||
}
|
||||
|
||||
public byte GetMaterialData()
|
||||
{
|
||||
return _data;
|
||||
return _display.getMaterialData();
|
||||
}
|
||||
|
||||
public GameCategory getGameCategory()
|
||||
{
|
||||
return _gameCategory;
|
||||
}
|
||||
|
||||
public enum GameCategory
|
||||
{
|
||||
SURVIVAL, CLASSICS, CHAMPIONS, ARCADE, EVENT, TEAM_VARIANT, EXTRA;
|
||||
return _display.getGameCategory();
|
||||
}
|
||||
}
|
@ -18,7 +18,7 @@ public class DisguiseCommand extends CommandBase<ArcadeManager>
|
||||
{
|
||||
public DisguiseCommand(ArcadeManager plugin)
|
||||
{
|
||||
super(plugin, Rank.OWNER, new Rank[] {Rank.OWNER}, "disguise");
|
||||
super(plugin, Rank.YOUTUBE, new Rank[] {Rank.YOUTUBE}, "disguise");
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -37,13 +37,18 @@ public class DisguiseCommand extends CommandBase<ArcadeManager>
|
||||
{
|
||||
try
|
||||
{
|
||||
GameProfile profile = new ProfileLoader(UUIDFetcher.getUUIDOf(args[0]).toString(), args[0]).loadProfile();
|
||||
final GameProfile profile = new ProfileLoader(UUIDFetcher.getUUIDOf(args[0]).toString(), args[0]).loadProfile();
|
||||
|
||||
|
||||
DisguisePlayer playerDisguise = new DisguisePlayer(caller, profile);
|
||||
Plugin.GetDisguise().disguise(playerDisguise);
|
||||
|
||||
UtilPlayer.message(caller, C.cGreen + C.Bold + "Disguise Active: " + ChatColor.RESET + args[0]);
|
||||
Bukkit.getServer().getScheduler().runTask(Plugin.getPlugin(), new Runnable()
|
||||
{
|
||||
public void run()
|
||||
{
|
||||
DisguisePlayer playerDisguise = new DisguisePlayer(caller, profile);
|
||||
Plugin.GetDisguise().disguise(playerDisguise);
|
||||
|
||||
UtilPlayer.message(caller, C.cGreen + C.Bold + "Disguise Active: " + ChatColor.RESET + args[0]);
|
||||
}
|
||||
});
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@ -209,7 +209,7 @@ public class Bridge extends TeamGame implements OreObsfucation
|
||||
new BridgesSniperStatTracker(this),
|
||||
new TntMinerStatTracker(this),
|
||||
new KillFastStatTracker(this, 4, 10, "Rampage"),
|
||||
new DeathBomberStatTracker(this)
|
||||
new DeathBomberStatTracker(this, 5)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,7 @@ public class KitDestructor extends Kit
|
||||
|
||||
new Perk[]
|
||||
{
|
||||
new PerkDestructor(40, 2)
|
||||
new PerkDestructor(40, 2, 400, false)
|
||||
},
|
||||
EntityType.ZOMBIE,
|
||||
new ItemStack(Material.ENDER_PEARL));
|
||||
|
@ -107,7 +107,7 @@ public class Draw extends SoloGame
|
||||
this.Damage = false;
|
||||
this.HungerSet = 20;
|
||||
this.WorldTimeSet = 8000;
|
||||
|
||||
|
||||
_words = new String[]
|
||||
{
|
||||
"Bird", "Volcano", "Sloth", "Love", "Dance", "Hair", "Glasses", "Domino", "Dice", "Computer", "Top Hat", "Beard", "Wind", "Rain", "Minecraft", "Push", "Fighting", "Juggle", "Clown", "Miner", "Creeper", "Ghast", "Spider", "Punch", "Roll", "River", "Desert", "Cold", "Pregnant", "Photo", "Quick", "Mario", "Luigi", "Bridge", "Turtle", "Door Knob", "Mineplex", "Binoculars", "Telescope", "Planet", "Mountain Bike", "Moon", "Comet", "Flower", "Squirrel", "Horse Riding", "Chef", "Elephant", "Yoshi", "Shotgun", "Pistol", "James Bond", "Money", "Salt and Pepper", "Truck", "Helicopter", "Hot Air Balloon", "Sprout", "Yelling", "Muscles", "Skinny", "Zombie", "Lava", "Snake", "Motorbike", "Whale", "Boat", "Letterbox", "Window", "Lollipop", "Handcuffs", "Police", "Uppercut", "Windmill", "Eyepatch", "Campfire", "Rainbow", "Storm", "Pikachu", "Charmander", "Tornado", "Crying", "King", "Hobo", "Worm", "Snail", "XBox", "Playstation", "Nintendo", "Duck", "Pull", "Dinosaur", "Alligator", "Ankle", "Angel", "Acorn", "Bread", "Booty", "Bacon", "Crown", "Donut", "Drill", "Leash", "Magic", "Wizard", "Igloo", "Plant", "Screw", "Rifle", "Puppy", "Stool", "Stamp", "Letter", "Witch", "Zebra", "Wagon", "Compass", "Watch", "Clock", "Time", "Cyclops", "Coconut", "Hang", "Penguin", "Confused", "Bucket", "Lion", "Rubbish", "Spaceship", "Bowl", "Shark", "Pizza", "Pyramid", "Dress", "Pants", "Shorts", "Boots", "Boy", "Girl", "Math", "Sunglasses", "Frog", "Chair", "Cake", "Grapes", "Kiss", "Snorlax", "Earth", "Spaghetti", "Couch", "Family", "Milk", "Blood", "Pig", "Giraffe", "Mouse", "Couch", "Fat", "Chocolate", "Camel", "Cheese", "Beans", "Water", "Chicken", "Cannibal", "Zipper", "Book", "Swimming", "Horse", "Paper", "Toaster", "Television", "Hammer", "Piano", "Sleeping", "Yawn", "Sheep", "Night", "Chest", "Lamp", "Redstone", "Grass", "Plane", "Ocean", "Lake", "Melon", "Pumpkin", "Gift", "Fishing", "Pirate", "Lightning", "Stomach", "Belly Button", "Fishing Rod", "Iron Ore", "Diamonds", "Emeralds", "Nether Portal", "Ender Dragon", "Rabbit", "Harry Potter", "Torch", "Light", "Battery", "Zombie Pigman", "Telephone", "Tent", "Hand", "Traffic Lights", "Anvil", "Tail", "Umbrella", "Piston", "Skeleton", "Spikes", "Bridge", "Bomb", "Spoon", "Rainbow", "Staircase", "Poop", "Dragon", "Fire", "Apple", "Shoe", "Squid", "Cookie", "Tooth", "Camera", "Sock", "Monkey", "Unicorn", "Smile", "Pool", "Rabbit", "Cupcake", "Pancake", "Princess", "Castle", "Flag", "Planet", "Stars", "Camp Fire", "Rose", "Spray", "Pencil", "Ice Cream", "Toilet", "Moose", "Bear", "Beer", "Batman", "Eggs", "Teapot", "Golf Club", "Tennis Racket", "Shield", "Crab", "Pot of Gold", "Cactus", "Television", "Pumpkin Pie", "Chimney", "Stable", "Nether", "Wither", "Beach", "Stop Sign", "Chestplate", "Pokeball", "Christmas Tree", "Present", "Snowflake", "Laptop", "Superman", "Football", "Basketball", "Creeper", "Tetris", "Jump", "Ninja", "Baby", "Troll Face", "Grim Reaper", "Temple", "Explosion", "Vomit", "Ants", "Barn", "Burn", "Baggage", "Frisbee", "Iceberg", "Sleeping", "Dream", "Snorlax", "Balloons", "Elevator", "Alligator", "Bikini", "Butterfly", "Bumblebee", "Pizza", "Jellyfish", "Sideburns", "Speedboat", "Treehouse", "Water Gun", "Drink", "Hook", "Dance", "Fall", "Summer", "Autumn", "Spring", "Winter", "Night Time", "Galaxy", "Sunrise", "Sunset", "Picnic", "Snowflake", "Holding Hands", "America", "Laptop", "Anvil", "Bagel", "Bench", "Cigar", "Darts", "Muffin", "Queen", "Wheat", "Dolphin", "Scarf", "Swing", "Thumb", "Tomato", "Alcohol", "Armor", "Alien", "Beans", "Cheek", "Phone", "Keyboard", "Orange", "Calculator", "Paper", "Desk", "Disco", "Elbow", "Drool", "Giant", "Golem", "Grave", "Llama", "Moose", "Party", "Panda", "Plumber", "Salsa", "Salad", "Skunk", "Skull", "Stump", "Sugar", "Ruler", "Bookcase", "Hamster", "Soup", "Teapot", "Towel", "Waist", "Archer", "Anchor", "Bamboo", "Branch", "Booger", "Carrot", "Cereal", "Coffee", "Wolf", "Crayon", "Finger", "Forest", "Hotdog", "Burger", "Obsidian", "Pillow", "Swing", "YouTube", "Farm", "Rain", "Cloud", "Frozen", "Garbage", "Music", "Twitter", "Facebook", "Santa Hat", "Rope", "Neck", "Sponge", "Sushi", "Noodles", "Soup", "Tower", "Berry", "Capture", "Prison", "Robot", "Trash", "School", "Skype", "Snowman", "Crowd", "Bank", "Mudkip", "Joker", "Lizard", "Tiger", "Royal", "Erupt", "Wizard", "Stain", "Cinema", "Notebook", "Blanket", "Paint", "Guard", "Astronaut" , "Slime" , "Mansion" , "Radar" , "Thorn" , "Tears" , "Tiny" , "Candy" , "Pepsi" , "Flint" , "Draw My Thing" , "Rice" , "Shout" , "Prize" , "Skirt" , "Thief" , "Syrup" , "Kirby" , "Brush" , "Violin", "Car", "Sun", "Eye", "Bow", "Axe", "Face", "Mushroom", "Guitar", "Book",
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,144 @@
|
||||
package nautilus.game.arcade.game.games.skywars.data;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.UtilFirework;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
import mineplex.core.common.util.UtilTime;
|
||||
import mineplex.core.itemstack.ItemStackFactory;
|
||||
import nautilus.game.arcade.game.GameTeam;
|
||||
import nautilus.game.arcade.game.games.skywars.Skywars;
|
||||
import nautilus.game.arcade.game.games.skywars.events.TNTPickupEvent;
|
||||
|
||||
import org.bukkit.Color;
|
||||
import org.bukkit.FireworkEffect;
|
||||
import org.bukkit.FireworkEffect.Type;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.Sound;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.entity.Item;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
public class TNTGenerator
|
||||
{
|
||||
private Skywars Host;
|
||||
|
||||
private Location _loc;
|
||||
|
||||
private long _time;
|
||||
private long _timeDelay = 15000;
|
||||
private Item _ent;
|
||||
|
||||
public TNTGenerator(Skywars host, Location loc)
|
||||
{
|
||||
Host = host;
|
||||
|
||||
_time = System.currentTimeMillis();
|
||||
|
||||
_loc = loc;
|
||||
|
||||
_loc.getBlock().getRelative(BlockFace.DOWN)
|
||||
.setType(Material.IRON_BLOCK);
|
||||
}
|
||||
|
||||
public void update()
|
||||
{
|
||||
if (_ent != null)
|
||||
{
|
||||
if (!_ent.isValid())
|
||||
{
|
||||
_ent.remove();
|
||||
_ent = null;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (!UtilTime.elapsed(_time, _timeDelay))
|
||||
return;
|
||||
|
||||
// Spawn
|
||||
_ent = _loc.getWorld().dropItem(_loc.clone().add(0, 1, 0),
|
||||
new ItemStack(Material.TNT));
|
||||
_ent.setVelocity(new Vector(0, 1, 0));
|
||||
|
||||
// Block
|
||||
_loc.getBlock().getRelative(BlockFace.DOWN)
|
||||
.setType(Material.REDSTONE_BLOCK);
|
||||
|
||||
// Firework
|
||||
UtilFirework.playFirework(_loc.clone().add(0, 1, 0), FireworkEffect
|
||||
.builder().flicker(false).withColor(Color.RED).with(Type.BURST)
|
||||
.trail(true).build());
|
||||
}
|
||||
|
||||
public void pickup(Player player, Item item)
|
||||
{
|
||||
if (_ent == null)
|
||||
{
|
||||
_ent.remove();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!_ent.equals(item))
|
||||
return;
|
||||
|
||||
if (!Host.IsAlive(player))
|
||||
return;
|
||||
|
||||
if (Host.Manager.isSpectator(player))
|
||||
return;
|
||||
|
||||
GameTeam team = Host.GetTeam(player);
|
||||
if (team == null)
|
||||
return;
|
||||
|
||||
// Remove
|
||||
_ent.remove();
|
||||
_ent = null;
|
||||
_time = System.currentTimeMillis();
|
||||
_loc.getBlock().getRelative(BlockFace.DOWN)
|
||||
.setType(Material.IRON_BLOCK);
|
||||
|
||||
// Inform
|
||||
UtilPlayer.message(
|
||||
player,
|
||||
F.main("Game", "You collected " + C.cYellow
|
||||
+ "Super Throwing TNT"));
|
||||
|
||||
// Firework
|
||||
UtilFirework.playFirework(_loc.clone().add(0, 1, 0),
|
||||
FireworkEffect.builder().flicker(false).withColor(Color.YELLOW)
|
||||
.with(Type.BALL_LARGE).trail(true).build());
|
||||
|
||||
player.getInventory().addItem(
|
||||
ItemStackFactory.Instance.CreateStack(
|
||||
Material.TNT,
|
||||
(byte) 0,
|
||||
1,
|
||||
F.item(C.cYellow + C.Bold + "Left Click - Far "
|
||||
+ C.cWhite + " / " + C.cYellow + C.Bold
|
||||
+ " Right Click - Short")));
|
||||
|
||||
player.playSound(player.getLocation(), Sound.ENDERDRAGON_HIT, 3F, 1F);
|
||||
|
||||
Bukkit.getPluginManager().callEvent(new TNTPickupEvent(player));
|
||||
}
|
||||
|
||||
public String getScoreboardInfo()
|
||||
{
|
||||
if (_ent != null)
|
||||
return "Lootable";
|
||||
else
|
||||
return UtilTime.MakeStr(_timeDelay - (System.currentTimeMillis() - _time), 0);
|
||||
}
|
||||
|
||||
public boolean active()
|
||||
{
|
||||
return _ent != null;
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user