diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fa44a68 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +target +.gitignore +.idea \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..c362edd --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..aa00ffa --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..1266ef2 --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..d99a48f --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml new file mode 100644 index 0000000..e96534f --- /dev/null +++ b/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/EventCore.iml b/EventCore.iml new file mode 100644 index 0000000..f5de878 --- /dev/null +++ b/EventCore.iml @@ -0,0 +1,13 @@ + + + + + + + PAPER + ADVENTURE + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index ab57f2d..2eb92d1 100644 --- a/pom.xml +++ b/pom.xml @@ -109,5 +109,10 @@ 2.10.9 provided + + net.wesjd + anvilgui + 1.5.3-SNAPSHOT + \ No newline at end of file diff --git a/src/main/java/com/loganmagnan/eventcore/managers/event/Event.java b/src/main/java/com/loganmagnan/eventcore/managers/event/Event.java index f45e272..410e9fc 100644 --- a/src/main/java/com/loganmagnan/eventcore/managers/event/Event.java +++ b/src/main/java/com/loganmagnan/eventcore/managers/event/Event.java @@ -6,7 +6,6 @@ import lombok.AllArgsConstructor; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.Setter; - import java.util.List; @Getter @@ -18,7 +17,7 @@ public class Event { // General Information private String name; private CustomLocation spawnPoint; - private String duration; + private int duration; // Teams Information private List teams; diff --git a/src/main/java/com/loganmagnan/eventcore/managers/event/EventManager.java b/src/main/java/com/loganmagnan/eventcore/managers/event/EventManager.java index 1253f2f..ef33bad 100644 --- a/src/main/java/com/loganmagnan/eventcore/managers/event/EventManager.java +++ b/src/main/java/com/loganmagnan/eventcore/managers/event/EventManager.java @@ -37,25 +37,31 @@ public class EventManager { ConfigurationSection configurationSection = this.config.getConfigurationSection("EVENT.TEAMS"); if (configurationSection != null) { - configurationSection.getKeys(false).forEach((name) -> { + configurationSection.getKeys(false).forEach((index) -> { + String name = ""; + UUID leader = null; List allPlayers = new ArrayList(); List playingPlayers = new ArrayList(); - if (configurationSection.getString(name + ".LEADER") != null) { - leader = UUID.fromString(configurationSection.getString(name + ".LEADER")); + if (configurationSection.getString(index + ".NAME") != null) { + name = configurationSection.getString(index + ".LEADER"); } - for (String allPlayerUUID : configurationSection.getStringList(name + ".ALL-PLAYERS")) { + if (configurationSection.getString(index + ".LEADER") != null) { + leader = UUID.fromString(configurationSection.getString(index + ".LEADER")); + } + + for (String allPlayerUUID : configurationSection.getStringList(index + ".ALL-PLAYERS")) { allPlayers.add(UUID.fromString(allPlayerUUID)); } - for (String playingPlayerUUID : configurationSection.getStringList(name + ".PLAYING-PLAYERS")) { + for (String playingPlayerUUID : configurationSection.getStringList(index + ".PLAYING-PLAYERS")) { playingPlayers.add(UUID.fromString(playingPlayerUUID)); } - teams.add(new Team(leader, allPlayers, playingPlayers)); + teams.add(new Team(name, leader, allPlayers, playingPlayers)); }); } } @@ -68,7 +74,7 @@ public class EventManager { this.event = new Event( this.config.getString("EVENT.NAME"), CustomLocation.stringToLocation(this.config.getString("EVENT.SPAWN-POINT")), - this.config.getString("EVENT.DURATION"), + this.config.getInt("EVENT.DURATION"), teams, this.config.getInt("EVENT.AMOUNT-OF-TEAMS"), this.config.getInt("EVENT.AMOUNT-PER-TEAM"), @@ -87,7 +93,7 @@ public class EventManager { this.event = new Event( "Event", this.main.getSpawnManager().getSpawnLocation(), - "10m", + 600, new ArrayList(), 2, 10, @@ -122,6 +128,7 @@ public class EventManager { playingPlayers.add(playingPlayerUUID.toString()); } + this.config.set("EVENT.TEAMS." + index + ".NAME", team.getName()); this.config.set("EVENT.TEAMS." + index + ".LEADER", team.getLeader().toString()); this.config.set("EVENT.TEAMS." + index + ".ALL-PLAYERS", allPlayers); this.config.set("EVENT.TEAMS." + index + ".PLAYING-PLAYERS", playingPlayers); diff --git a/src/main/java/com/loganmagnan/eventcore/managers/event/teams/Team.java b/src/main/java/com/loganmagnan/eventcore/managers/event/teams/Team.java index edd2f78..b78ff84 100644 --- a/src/main/java/com/loganmagnan/eventcore/managers/event/teams/Team.java +++ b/src/main/java/com/loganmagnan/eventcore/managers/event/teams/Team.java @@ -16,17 +16,20 @@ public class Team { private EventCore main = EventCore.getInstance(); + private String name; private List allPlayers; private List playingPlayers = new ArrayList<>(); private UUID leader; - public Team(UUID leader, List allPlayers) { + public Team(String name, UUID leader, List allPlayers) { + this.name = name; this.leader = leader; this.allPlayers = allPlayers; this.playingPlayers.addAll(allPlayers); } - public Team(UUID leader, List allPlayers, List playingPlayers) { + public Team(String name, UUID leader, List allPlayers, List playingPlayers) { + this.name = name; this.leader = leader; this.allPlayers = allPlayers; this.playingPlayers = playingPlayers; diff --git a/src/main/java/com/loganmagnan/eventcore/managers/hotbar/HotBar.java b/src/main/java/com/loganmagnan/eventcore/managers/hotbar/HotBar.java index 4bd095d..4c0256a 100644 --- a/src/main/java/com/loganmagnan/eventcore/managers/hotbar/HotBar.java +++ b/src/main/java/com/loganmagnan/eventcore/managers/hotbar/HotBar.java @@ -4,7 +4,6 @@ import com.loganmagnan.eventcore.EventCore; import lombok.Getter; import lombok.Setter; import org.bukkit.entity.Player; -import org.bukkit.scheduler.BukkitRunnable; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; diff --git a/src/main/java/com/loganmagnan/eventcore/menusystem/menus/ChatManageMenu.java b/src/main/java/com/loganmagnan/eventcore/menusystem/menus/ChatManageMenu.java index f5c4b0b..f598593 100644 --- a/src/main/java/com/loganmagnan/eventcore/menusystem/menus/ChatManageMenu.java +++ b/src/main/java/com/loganmagnan/eventcore/menusystem/menus/ChatManageMenu.java @@ -38,6 +38,10 @@ public class ChatManageMenu extends Menu { public void handleMenu(InventoryClickEvent event) { Player player = (Player) event.getWhoClicked(); + if (event.getCurrentItem() == null) { + return; + } + if (event.getView().getTitle().equalsIgnoreCase(ColorUtils.getMessageType("&b&lChat Management"))) { switch (event.getCurrentItem().getType()) { case DIAMOND_SWORD: @@ -45,16 +49,24 @@ public class ChatManageMenu extends Menu { break; case SOUL_SAND: - if (event.getClick().isShiftClick()) { - this.main.getChatManager().slowChat(player, this.delayAmount); - } else if (event.getClick().isLeftClick()) { - this.delayAmount++; - } else if (event.getClick().isRightClick()) { - if (this.delayAmount <= 0) { - return; - } + switch (event.getClick()) { + case LEFT: + this.delayAmount++; - this.delayAmount--; + break; + case RIGHT: + if (this.delayAmount <= 0) { + return; + } + + this.delayAmount--; + + break; + case SHIFT_LEFT: + case SHIFT_RIGHT: + this.main.getChatManager().slowChat(player, this.delayAmount); + + break; } break; diff --git a/src/main/java/com/loganmagnan/eventcore/menusystem/menus/EventManageMenu.java b/src/main/java/com/loganmagnan/eventcore/menusystem/menus/EventManageMenu.java index d924db5..a815e6e 100644 --- a/src/main/java/com/loganmagnan/eventcore/menusystem/menus/EventManageMenu.java +++ b/src/main/java/com/loganmagnan/eventcore/menusystem/menus/EventManageMenu.java @@ -1,18 +1,18 @@ package com.loganmagnan.eventcore.menusystem.menus; import com.loganmagnan.eventcore.EventCore; -import com.loganmagnan.eventcore.managers.event.teams.Team; import com.loganmagnan.eventcore.menusystem.ItemStackButton; import com.loganmagnan.eventcore.menusystem.Menu; import com.loganmagnan.eventcore.menusystem.PlayerMenuUtil; import com.loganmagnan.eventcore.utils.ColorUtils; import com.loganmagnan.eventcore.utils.CustomLocation; +import com.loganmagnan.eventcore.utils.TimeUtils; import com.loganmagnan.eventcore.utils.Utils; +import net.wesjd.anvilgui.AnvilGUI; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.event.inventory.InventoryClickEvent; import org.bukkit.inventory.ItemStack; - import java.util.ArrayList; import java.util.Arrays; import java.util.List; @@ -21,6 +21,8 @@ public class EventManageMenu extends Menu { private EventCore main = EventCore.getInstance(); + // To Do: Fix The Anvil Menu + public EventManageMenu(PlayerMenuUtil playerMenuUtil) { super(playerMenuUtil); } @@ -39,9 +41,141 @@ public class EventManageMenu extends Menu { public void handleMenu(InventoryClickEvent event) { Player player = (Player) event.getWhoClicked(); + if (event.getCurrentItem() == null) { + return; + } + if (event.getView().getTitle().equalsIgnoreCase(ColorUtils.getMessageType("&b&lEvent Management"))) { switch (event.getCurrentItem().getType()) { + case NAME_TAG: + new AnvilGUI.Builder().onComplete((anvilGUIPlayer, string) -> { + this.main.getEventManager().getEvent().setName(string); + return AnvilGUI.Response.close(); + }).onClose(anvilGUIPlayer -> { + + }).title(ColorUtils.getMessageType("&b&lEvent Management")).text(ColorUtils.getMessageType("Enter it here")).plugin(this.main).open(player); + + break; + case COMPASS: + switch (event.getClick()) { + case LEFT: + player.teleport(this.main.getEventManager().getEvent().getSpawnPoint().toBukkitLocation()); + + break; + case RIGHT: + this.main.getEventManager().getEvent().setSpawnPoint(CustomLocation.fromBukkitLocation(player.getLocation())); + + break; + } + + break; + case CLOCK: + new AnvilGUI.Builder().onComplete((anvilGUIPlayer, string) -> { + if (!Utils.isNumeric(string)) { + new EventManageMenu(this.playerMenuUtil).open(player); + + return AnvilGUI.Response.close(); + } + + int duration = Integer.parseInt(string); + + this.main.getEventManager().getEvent().setDuration(duration); + + return AnvilGUI.Response.close(); + }).onClose(anvilGUIPlayer -> { + + }).title(ColorUtils.getMessageType("&b&lEvent Management")).text(ColorUtils.getMessageType("Enter it here")).plugin(this.main).open(player); + + break; + case BOOK: + new AnvilGUI.Builder().onComplete((anvilGUIPlayer, string) -> { + if (!Utils.isNumeric(string)) { + new EventManageMenu(this.playerMenuUtil).open(player); + + return AnvilGUI.Response.close(); + } + + int amountOfTeams = Integer.parseInt(string); + + this.main.getEventManager().getEvent().setAmountOfTeams(amountOfTeams); + + return AnvilGUI.Response.close(); + }).onClose(anvilGUIPlayer -> { + + }).title(ColorUtils.getMessageType("&b&lEvent Management")).text(ColorUtils.getMessageType("Enter it here")).plugin(this.main).open(player); + + break; + case PAPER: + new AnvilGUI.Builder().onComplete((anvilGUIPlayer, string) -> { + if (!Utils.isNumeric(string)) { + new EventManageMenu(this.playerMenuUtil).open(player); + + return AnvilGUI.Response.close(); + } + + int amountPerTeam = Integer.parseInt(string); + + this.main.getEventManager().getEvent().setAmountPerTeam(amountPerTeam); + + return AnvilGUI.Response.close(); + }).onClose(anvilGUIPlayer -> { + + }).title(ColorUtils.getMessageType("&b&lEvent Management")).text(ColorUtils.getMessageType("Enter it here")).plugin(this.main).open(player); + + break; + case ENDER_EYE: + switch (event.getClick()) { + case LEFT: + if (this.main.getEventManager().getEvent().getAmountOfTeams() == this.main.getEventManager().getEvent().getTeamSpawnPoints().size()) { + return; + } + + this.main.getEventManager().getEvent().getTeamSpawnPoints().add(CustomLocation.fromBukkitLocation(player.getLocation())); + + break; + case RIGHT: + new TeamSpawnPointsMenu(this.playerMenuUtil).open(player); + + return; + } + + break; + case PAINTING: + this.main.getEventManager().getEvent().setScoreboardEnabled(!this.main.getEventManager().getEvent().isScoreboardEnabled()); + + break; + case ANVIL: + this.main.getEventManager().getEvent().setTimerEnabled(!this.main.getEventManager().getEvent().isTimerEnabled()); + + break; + case DIAMOND: + switch (event.getClick()) { + case LEFT: + this.main.getEventManager().getEvent().setEventsEnabled(!this.main.getEventManager().getEvent().isEventsEnabled()); + + break; + case RIGHT: + // To Do: Setup Events Menu + + return; + } + + break; + case LIME_WOOL: + // To Do: Event Start System + + break; + case RED_WOOL: + // To Do: Event Stop System + + break; + case NETHER_STAR: + // To Do: Setup Started Mode + // * Show Duration + // * Show Each Team's Information + + break; } new EventManageMenu(this.playerMenuUtil).open(player); @@ -68,10 +202,11 @@ public class EventManageMenu extends Menu { } teamSpawnPointsLore.add(""); - teamSpawnPointsLore.add("&bClick to change"); + teamSpawnPointsLore.add("&fLeft Click: &3Add"); + teamSpawnPointsLore.add("&fRight Click: &3Change"); ItemStackButton nameItemStackButton = new ItemStackButton( - ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lAccess Denied" : "&b&lName"), + ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lNo Permission" : "&b&lName"), ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? new ArrayList() : Arrays.asList( "&7» &3" + this.main.getEventManager().getEvent().getName(), @@ -85,7 +220,7 @@ public class EventManageMenu extends Menu { ); ItemStackButton spawnPointItemStackButton = new ItemStackButton( - ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lAccess Denied" : "&b&lSpawn Point"), + ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lNo Permission" : "&b&lSpawn Point"), ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? new ArrayList() : Arrays.asList( "&7» &3" + Math.floor(this.main.getEventManager().getEvent().getSpawnPoint().toBukkitLocation().getX()) + "&7, &3" + Math.floor(this.main.getEventManager().getEvent().getSpawnPoint().toBukkitLocation().getY()) + "&7, &3" + Math.floor(this.main.getEventManager().getEvent().getSpawnPoint().toBukkitLocation().getZ()) + " &7(&f" + this.main.getEventManager().getEvent().getSpawnPoint().toBukkitLocation().getWorld().getName() + "&7)", @@ -100,10 +235,10 @@ public class EventManageMenu extends Menu { ); ItemStackButton durationItemStackButton = new ItemStackButton( - ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lAccess Denied" : "&b&lDuration"), + ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lNo Permission" : "&b&lDuration"), ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? new ArrayList() : Arrays.asList( - "&7» &3" + Utils.makeTimeReadable(Utils.parseTime(this.main.getEventManager().getEvent().getDuration())), + "&7» &3" + TimeUtils.formatIntoMMSS(this.main.getEventManager().getEvent().getDuration()), "", "&bClick to change" ) @@ -114,7 +249,7 @@ public class EventManageMenu extends Menu { ); ItemStackButton amountOfTeamsItemStackButton = new ItemStackButton( - ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lAccess Denied" : "&b&lAmount of Teams"), + ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lNo Permission" : "&b&lAmount of Teams"), ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? new ArrayList() : Arrays.asList( "&7» &3" + this.main.getEventManager().getEvent().getAmountOfTeams(), @@ -128,7 +263,7 @@ public class EventManageMenu extends Menu { ); ItemStackButton amountPerTeamItemStackButton = new ItemStackButton( - ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lAccess Denied" : "&b&lAmount Per Team"), + ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lNo Permission" : "&b&lAmount Per Team"), ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? new ArrayList() : Arrays.asList( "&7» &3" + this.main.getEventManager().getEvent().getAmountPerTeam(), @@ -142,7 +277,7 @@ public class EventManageMenu extends Menu { ); ItemStackButton teamSpawnPointsItemStackButton = new ItemStackButton( - ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lAccess Denied" : "&b&lTeam Spawn Points"), + ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lNo Permission" : "&b&lTeam Spawn Points"), ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? new ArrayList() : teamSpawnPointsLore ), @@ -152,7 +287,7 @@ public class EventManageMenu extends Menu { ); ItemStackButton scoreboardEnabledItemStackButton = new ItemStackButton( - ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lAccess Denied" : "&b&lScoreboard Enabled"), + ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lNo Permission" : "&b&lScoreboard Enabled"), ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? new ArrayList() : Arrays.asList( "&7» " + (this.main.getEventManager().getEvent().isScoreboardEnabled() ? "&aYes" : "&cNo"), @@ -166,7 +301,7 @@ public class EventManageMenu extends Menu { ); ItemStackButton timerEnabledItemStackButton = new ItemStackButton( - ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lAccess Denied" : "&b&lTimer Enabled"), + ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lNo Permission" : "&b&lTimer Enabled"), ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? new ArrayList() : Arrays.asList( "&7» " + (this.main.getEventManager().getEvent().isTimerEnabled() ? "&aYes" : "&cNo"), @@ -180,7 +315,7 @@ public class EventManageMenu extends Menu { ); ItemStackButton eventsEnabledItemStackButton = new ItemStackButton( - ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lAccess Denied" : "&b&lEvents Enabled"), + ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lNo Permission" : "&b&lEvents Enabled"), ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? new ArrayList() : Arrays.asList( "&7» " + (this.main.getEventManager().getEvent().isEventsEnabled() ? "&aYes" : "&cNo"), @@ -199,7 +334,7 @@ public class EventManageMenu extends Menu { ); ItemStackButton startItemStackButton = new ItemStackButton( - ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lAccess Denied" : "&b&lStart"), + ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&c&lNo Permission" : "&b&lStart"), ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? new ArrayList() : Arrays.asList( "&bClick to start" @@ -211,7 +346,7 @@ public class EventManageMenu extends Menu { ); ItemStackButton stopItemStackButton = new ItemStackButton( - ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&b&lStop" : "&c&lAccess Denied"), + ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? "&b&lStop" : "&c&lNo Permission"), ColorUtils.getMessageType(this.main.getEventManager().getEvent().isStarted() ? Arrays.asList( "&bClick to stop" @@ -226,7 +361,9 @@ public class EventManageMenu extends Menu { ColorUtils.getMessageType("&b&lStarted"), ColorUtils.getMessageType( Arrays.asList( - "&7» " + (this.main.getEventManager().getEvent().isStarted() ? "&aYes" : "&cNo") + "&7» " + (this.main.getEventManager().getEvent().isStarted() ? "&aYes" : "&cNo"), + "", + "&bClick for more information" ) ), Material.NETHER_STAR, diff --git a/src/main/java/com/loganmagnan/eventcore/menusystem/menus/StaffOnlineMenu.java b/src/main/java/com/loganmagnan/eventcore/menusystem/menus/StaffOnlineMenu.java index 7bcdef3..37c0743 100644 --- a/src/main/java/com/loganmagnan/eventcore/menusystem/menus/StaffOnlineMenu.java +++ b/src/main/java/com/loganmagnan/eventcore/menusystem/menus/StaffOnlineMenu.java @@ -32,7 +32,7 @@ public class StaffOnlineMenu extends PaginatedMenu { @Override public String getMenuName() { - return ColorUtils.getMessageType("&bStaff Online"); + return ColorUtils.getMessageType("&b&lStaff Online"); } @Override @@ -44,7 +44,11 @@ public class StaffOnlineMenu extends PaginatedMenu { public void handleMenu(InventoryClickEvent event) { Player player = (Player) event.getWhoClicked(); - if (event.getView().getTitle().equalsIgnoreCase(ColorUtils.getMessageType("&bStaff Online"))) { + if (event.getCurrentItem() == null) { + return; + } + + if (event.getView().getTitle().equalsIgnoreCase(ColorUtils.getMessageType("&b&lStaff Online"))) { ItemStack itemStack = event.getCurrentItem(); switch (ChatColor.stripColor(event.getCurrentItem().getItemMeta().getDisplayName())) { @@ -72,8 +76,6 @@ public class StaffOnlineMenu extends PaginatedMenu { break; } - String targetName = event.getCurrentItem().getItemMeta().getDisplayName(); - Player target = this.main.getServer().getPlayer(ChatColor.stripColor(event.getCurrentItem().getItemMeta().getDisplayName())); if (target == null) { diff --git a/src/main/java/com/loganmagnan/eventcore/menusystem/menus/TeamSpawnPointsMenu.java b/src/main/java/com/loganmagnan/eventcore/menusystem/menus/TeamSpawnPointsMenu.java new file mode 100644 index 0000000..72d5e4b --- /dev/null +++ b/src/main/java/com/loganmagnan/eventcore/menusystem/menus/TeamSpawnPointsMenu.java @@ -0,0 +1,141 @@ +package com.loganmagnan.eventcore.menusystem.menus; + +import com.loganmagnan.eventcore.EventCore; +import com.loganmagnan.eventcore.menusystem.ItemStackButton; +import com.loganmagnan.eventcore.menusystem.PaginatedMenu; +import com.loganmagnan.eventcore.menusystem.PlayerMenuUtil; +import com.loganmagnan.eventcore.utils.ColorUtils; +import com.loganmagnan.eventcore.utils.CustomLocation; +import com.loganmagnan.eventcore.utils.PlayerHeadUtils; +import org.bukkit.ChatColor; +import org.bukkit.Material; +import org.bukkit.entity.Player; +import org.bukkit.event.inventory.InventoryClickEvent; +import org.bukkit.inventory.ItemStack; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +public class TeamSpawnPointsMenu extends PaginatedMenu { + + private EventCore main = EventCore.getInstance(); + + public TeamSpawnPointsMenu(PlayerMenuUtil playerMenuUtil) { + super(playerMenuUtil); + } + + @Override + public String getMenuName() { + return ColorUtils.getMessageType("&b&lTeam Spawn Points"); + } + + @Override + public int getSlots() { + return 27; + } + + @Override + public void handleMenu(InventoryClickEvent event) { + Player player = (Player) event.getWhoClicked(); + + if (event.getCurrentItem() == null) { + return; + } + + if (event.getView().getTitle().equalsIgnoreCase(ColorUtils.getMessageType("&b&lTeam Spawn Points"))) { + ItemStack itemStack = event.getCurrentItem(); + + switch (ChatColor.stripColor(event.getCurrentItem().getItemMeta().getDisplayName())) { + case "Previous Page": + if (this.page == 0) { + player.sendMessage(ColorUtils.getMessageType("&aYou're on the first page")); + } else { + this.page--; + this.open(player); + } + + break; + case "Close": + player.closeInventory(); + + break; + case "Next Page": + if (!((this.index++) >= this.main.getEventManager().getEvent().getTeamSpawnPoints().size())) { + this.page++; + this.open(player); + } else { + player.sendMessage(ColorUtils.getMessageType("&aYou're on the last page")); + } + + break; + } + + CustomLocation teamSpawnPoint = this.main.getEventManager().getEvent().getTeamSpawnPoints().get(Integer.parseInt(ChatColor.stripColor(event.getCurrentItem().getItemMeta().getDisplayName()).substring(ChatColor.stripColor(event.getCurrentItem().getItemMeta().getDisplayName()).length() - 1, ChatColor.stripColor(event.getCurrentItem().getItemMeta().getDisplayName()).length())) - 1); + + switch (event.getClick()) { + case LEFT: + this.main.getEventManager().getEvent().getTeamSpawnPoints().remove(teamSpawnPoint); + + break; + case RIGHT: + this.main.getEventManager().getEvent().getTeamSpawnPoints().remove(teamSpawnPoint); + this.main.getEventManager().getEvent().getTeamSpawnPoints().add(Integer.parseInt(ChatColor.stripColor(event.getCurrentItem().getItemMeta().getDisplayName()).substring(ChatColor.stripColor(event.getCurrentItem().getItemMeta().getDisplayName()).length() - 1, ChatColor.stripColor(event.getCurrentItem().getItemMeta().getDisplayName()).length())) - 1, CustomLocation.fromBukkitLocation(player.getLocation())); + + break; + } + + new TeamSpawnPointsMenu(this.playerMenuUtil).open(player); + } + } + + @Override + public void setMenuItems(Player player) { + this.addMenuBorder(); + + int number = 1; + + if (this.main.getEventManager().getEvent().getTeamSpawnPoints().isEmpty()) { + return; + } + + for (int i = 0; i < this.getMaxItemsPerPage(); i++) { + this.index = this.getMaxItemsPerPage() * this.page + i; + + if (this.index >= this.main.getEventManager().getEvent().getTeamSpawnPoints().size()) { + break; + } + + if (this.main.getEventManager().getEvent().getTeamSpawnPoints().get(this.index) == null) { + continue; + } + + CustomLocation teamSpawnPoint = this.main.getEventManager().getEvent().getTeamSpawnPoints().get(this.index); + + if (teamSpawnPoint == null) { + continue; + } + + ItemStackButton teamSpawnPointItemStackButton = new ItemStackButton( + ColorUtils.getMessageType("&b&lTeam Spawn Point " + number), + ColorUtils.getMessageType( + Arrays.asList( + "&7» &3" + (Math.floor(teamSpawnPoint.toBukkitLocation().getX()) + "&7, &3" + Math.floor(teamSpawnPoint.toBukkitLocation().getY()) + "&7, &3" + Math.floor(teamSpawnPoint.toBukkitLocation().getZ()) + " &7(&f" + teamSpawnPoint.toBukkitLocation().getWorld().getName() + "&7)"), + "", + "&fLeft Click: &3Remove", + "&fRight Click: &3Change" + ) + ), + Material.ENDER_EYE, + 0, + 1 + ); + + number++; + + ItemStack teamSpawnPointItemStack = teamSpawnPointItemStackButton.makeItemStack(); + + this.inventory.addItem(teamSpawnPointItemStack); + } + } +} diff --git a/target/EventCore-1.0-shaded.jar b/target/EventCore-1.0-shaded.jar new file mode 100644 index 0000000..a16e2af Binary files /dev/null and b/target/EventCore-1.0-shaded.jar differ diff --git a/target/EventCore-1.0.jar b/target/EventCore-1.0.jar new file mode 100644 index 0000000..a16e2af Binary files /dev/null and b/target/EventCore-1.0.jar differ diff --git a/target/classes/aether/Aether$1.class b/target/classes/aether/Aether$1.class new file mode 100644 index 0000000..d1594fc Binary files /dev/null and b/target/classes/aether/Aether$1.class differ diff --git a/target/classes/aether/Aether.class b/target/classes/aether/Aether.class new file mode 100644 index 0000000..e912417 Binary files /dev/null and b/target/classes/aether/Aether.class differ diff --git a/target/classes/aether/AetherOptions.class b/target/classes/aether/AetherOptions.class new file mode 100644 index 0000000..5a5fb0b Binary files /dev/null and b/target/classes/aether/AetherOptions.class differ diff --git a/target/classes/aether/event/BoardCreateEvent.class b/target/classes/aether/event/BoardCreateEvent.class new file mode 100644 index 0000000..a7b50ce Binary files /dev/null and b/target/classes/aether/event/BoardCreateEvent.class differ diff --git a/target/classes/aether/scoreboard/Board.class b/target/classes/aether/scoreboard/Board.class new file mode 100644 index 0000000..d552f78 Binary files /dev/null and b/target/classes/aether/scoreboard/Board.class differ diff --git a/target/classes/aether/scoreboard/BoardAdapter.class b/target/classes/aether/scoreboard/BoardAdapter.class new file mode 100644 index 0000000..d78d9bc Binary files /dev/null and b/target/classes/aether/scoreboard/BoardAdapter.class differ diff --git a/target/classes/aether/scoreboard/BoardEntry.class b/target/classes/aether/scoreboard/BoardEntry.class new file mode 100644 index 0000000..329e3b0 Binary files /dev/null and b/target/classes/aether/scoreboard/BoardEntry.class differ diff --git a/target/classes/aether/scoreboard/cooldown/BoardCooldown.class b/target/classes/aether/scoreboard/cooldown/BoardCooldown.class new file mode 100644 index 0000000..002fcf8 Binary files /dev/null and b/target/classes/aether/scoreboard/cooldown/BoardCooldown.class differ diff --git a/target/classes/aether/scoreboard/cooldown/BoardFormat.class b/target/classes/aether/scoreboard/cooldown/BoardFormat.class new file mode 100644 index 0000000..079207a Binary files /dev/null and b/target/classes/aether/scoreboard/cooldown/BoardFormat.class differ diff --git a/target/classes/com/loganmagnan/eventcore/EventCore.class b/target/classes/com/loganmagnan/eventcore/EventCore.class new file mode 100644 index 0000000..e149dbd Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/EventCore.class differ diff --git a/target/classes/com/loganmagnan/eventcore/chatcolor/ColorSet.class b/target/classes/com/loganmagnan/eventcore/chatcolor/ColorSet.class new file mode 100644 index 0000000..793a4d9 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/chatcolor/ColorSet.class differ diff --git a/target/classes/com/loganmagnan/eventcore/chatcolor/GradientColor.class b/target/classes/com/loganmagnan/eventcore/chatcolor/GradientColor.class new file mode 100644 index 0000000..1dc87af Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/chatcolor/GradientColor.class differ diff --git a/target/classes/com/loganmagnan/eventcore/commands/BypassModeCommand.class b/target/classes/com/loganmagnan/eventcore/commands/BypassModeCommand.class new file mode 100644 index 0000000..b33e930 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/commands/BypassModeCommand.class differ diff --git a/target/classes/com/loganmagnan/eventcore/commands/ChatColorCommand.class b/target/classes/com/loganmagnan/eventcore/commands/ChatColorCommand.class new file mode 100644 index 0000000..634e3f5 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/commands/ChatColorCommand.class differ diff --git a/target/classes/com/loganmagnan/eventcore/commands/ChatCommand.class b/target/classes/com/loganmagnan/eventcore/commands/ChatCommand.class new file mode 100644 index 0000000..66240fe Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/commands/ChatCommand.class differ diff --git a/target/classes/com/loganmagnan/eventcore/commands/EventCommand.class b/target/classes/com/loganmagnan/eventcore/commands/EventCommand.class new file mode 100644 index 0000000..a5de76c Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/commands/EventCommand.class differ diff --git a/target/classes/com/loganmagnan/eventcore/commands/SetSpawnCommand.class b/target/classes/com/loganmagnan/eventcore/commands/SetSpawnCommand.class new file mode 100644 index 0000000..3d967ec Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/commands/SetSpawnCommand.class differ diff --git a/target/classes/com/loganmagnan/eventcore/commands/StaffModeCommand.class b/target/classes/com/loganmagnan/eventcore/commands/StaffModeCommand.class new file mode 100644 index 0000000..dee275c Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/commands/StaffModeCommand.class differ diff --git a/target/classes/com/loganmagnan/eventcore/listeners/AsyncPlayerChatListener.class b/target/classes/com/loganmagnan/eventcore/listeners/AsyncPlayerChatListener.class new file mode 100644 index 0000000..9408abc Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/listeners/AsyncPlayerChatListener.class differ diff --git a/target/classes/com/loganmagnan/eventcore/listeners/ClickableItemListener.class b/target/classes/com/loganmagnan/eventcore/listeners/ClickableItemListener.class new file mode 100644 index 0000000..328bf77 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/listeners/ClickableItemListener.class differ diff --git a/target/classes/com/loganmagnan/eventcore/listeners/MenuListener.class b/target/classes/com/loganmagnan/eventcore/listeners/MenuListener.class new file mode 100644 index 0000000..079368f Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/listeners/MenuListener.class differ diff --git a/target/classes/com/loganmagnan/eventcore/listeners/PlayerDataListener.class b/target/classes/com/loganmagnan/eventcore/listeners/PlayerDataListener.class new file mode 100644 index 0000000..1fd961f Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/listeners/PlayerDataListener.class differ diff --git a/target/classes/com/loganmagnan/eventcore/listeners/StaffModeListener.class b/target/classes/com/loganmagnan/eventcore/listeners/StaffModeListener.class new file mode 100644 index 0000000..3317bde Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/listeners/StaffModeListener.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/ChatManager.class b/target/classes/com/loganmagnan/eventcore/managers/ChatManager.class new file mode 100644 index 0000000..6cf88dd Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/ChatManager.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/CooldownManager.class b/target/classes/com/loganmagnan/eventcore/managers/CooldownManager.class new file mode 100644 index 0000000..fb97fa3 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/CooldownManager.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/PlayerDataManager$1.class b/target/classes/com/loganmagnan/eventcore/managers/PlayerDataManager$1.class new file mode 100644 index 0000000..08eb3df Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/PlayerDataManager$1.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/PlayerDataManager.class b/target/classes/com/loganmagnan/eventcore/managers/PlayerDataManager.class new file mode 100644 index 0000000..8030e9d Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/PlayerDataManager.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/SpawnManager.class b/target/classes/com/loganmagnan/eventcore/managers/SpawnManager.class new file mode 100644 index 0000000..d4ca343 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/SpawnManager.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/StaffManager.class b/target/classes/com/loganmagnan/eventcore/managers/StaffManager.class new file mode 100644 index 0000000..8251a7a Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/StaffManager.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/event/Event.class b/target/classes/com/loganmagnan/eventcore/managers/event/Event.class new file mode 100644 index 0000000..508ac9f Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/event/Event.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/event/EventManager.class b/target/classes/com/loganmagnan/eventcore/managers/event/EventManager.class new file mode 100644 index 0000000..d5a37d3 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/event/EventManager.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/event/teams/Team.class b/target/classes/com/loganmagnan/eventcore/managers/event/teams/Team.class new file mode 100644 index 0000000..3d9d5ba Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/event/teams/Team.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/hotbar/ClickHandler.class b/target/classes/com/loganmagnan/eventcore/managers/hotbar/ClickHandler.class new file mode 100644 index 0000000..1e53bd3 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/hotbar/ClickHandler.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/hotbar/ClickableItem.class b/target/classes/com/loganmagnan/eventcore/managers/hotbar/ClickableItem.class new file mode 100644 index 0000000..1545abf Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/hotbar/ClickableItem.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/hotbar/HotBar.class b/target/classes/com/loganmagnan/eventcore/managers/hotbar/HotBar.class new file mode 100644 index 0000000..a6f0467 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/hotbar/HotBar.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/hotbar/HotBarManager.class b/target/classes/com/loganmagnan/eventcore/managers/hotbar/HotBarManager.class new file mode 100644 index 0000000..f001335 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/hotbar/HotBarManager.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/hotbar/types/StaffModeHotBar.class b/target/classes/com/loganmagnan/eventcore/managers/hotbar/types/StaffModeHotBar.class new file mode 100644 index 0000000..4b5aaa6 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/hotbar/types/StaffModeHotBar.class differ diff --git a/target/classes/com/loganmagnan/eventcore/managers/mongo/MongoManager.class b/target/classes/com/loganmagnan/eventcore/managers/mongo/MongoManager.class new file mode 100644 index 0000000..7ceef26 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/managers/mongo/MongoManager.class differ diff --git a/target/classes/com/loganmagnan/eventcore/menusystem/ItemStackButton.class b/target/classes/com/loganmagnan/eventcore/menusystem/ItemStackButton.class new file mode 100644 index 0000000..c3d403c Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/menusystem/ItemStackButton.class differ diff --git a/target/classes/com/loganmagnan/eventcore/menusystem/Menu.class b/target/classes/com/loganmagnan/eventcore/menusystem/Menu.class new file mode 100644 index 0000000..f68ffcf Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/menusystem/Menu.class differ diff --git a/target/classes/com/loganmagnan/eventcore/menusystem/PaginatedMenu.class b/target/classes/com/loganmagnan/eventcore/menusystem/PaginatedMenu.class new file mode 100644 index 0000000..3e99b13 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/menusystem/PaginatedMenu.class differ diff --git a/target/classes/com/loganmagnan/eventcore/menusystem/PlayerMenuUtil.class b/target/classes/com/loganmagnan/eventcore/menusystem/PlayerMenuUtil.class new file mode 100644 index 0000000..35f5bb1 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/menusystem/PlayerMenuUtil.class differ diff --git a/target/classes/com/loganmagnan/eventcore/menusystem/menus/ChatManageMenu$1.class b/target/classes/com/loganmagnan/eventcore/menusystem/menus/ChatManageMenu$1.class new file mode 100644 index 0000000..26975a0 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/menusystem/menus/ChatManageMenu$1.class differ diff --git a/target/classes/com/loganmagnan/eventcore/menusystem/menus/ChatManageMenu.class b/target/classes/com/loganmagnan/eventcore/menusystem/menus/ChatManageMenu.class new file mode 100644 index 0000000..53eaf41 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/menusystem/menus/ChatManageMenu.class differ diff --git a/target/classes/com/loganmagnan/eventcore/menusystem/menus/EventManageMenu$1.class b/target/classes/com/loganmagnan/eventcore/menusystem/menus/EventManageMenu$1.class new file mode 100644 index 0000000..f1b65b0 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/menusystem/menus/EventManageMenu$1.class differ diff --git a/target/classes/com/loganmagnan/eventcore/menusystem/menus/EventManageMenu.class b/target/classes/com/loganmagnan/eventcore/menusystem/menus/EventManageMenu.class new file mode 100644 index 0000000..7ba8f8f Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/menusystem/menus/EventManageMenu.class differ diff --git a/target/classes/com/loganmagnan/eventcore/menusystem/menus/StaffOnlineMenu.class b/target/classes/com/loganmagnan/eventcore/menusystem/menus/StaffOnlineMenu.class new file mode 100644 index 0000000..5a87e99 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/menusystem/menus/StaffOnlineMenu.class differ diff --git a/target/classes/com/loganmagnan/eventcore/menusystem/menus/TeamSpawnPointsMenu$1.class b/target/classes/com/loganmagnan/eventcore/menusystem/menus/TeamSpawnPointsMenu$1.class new file mode 100644 index 0000000..3aba04c Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/menusystem/menus/TeamSpawnPointsMenu$1.class differ diff --git a/target/classes/com/loganmagnan/eventcore/menusystem/menus/TeamSpawnPointsMenu.class b/target/classes/com/loganmagnan/eventcore/menusystem/menus/TeamSpawnPointsMenu.class new file mode 100644 index 0000000..d09ae90 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/menusystem/menus/TeamSpawnPointsMenu.class differ diff --git a/target/classes/com/loganmagnan/eventcore/playerdata/PlayerData.class b/target/classes/com/loganmagnan/eventcore/playerdata/PlayerData.class new file mode 100644 index 0000000..cfbd480 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/playerdata/PlayerData.class differ diff --git a/target/classes/com/loganmagnan/eventcore/playerdata/PlayerSettings.class b/target/classes/com/loganmagnan/eventcore/playerdata/PlayerSettings.class new file mode 100644 index 0000000..e7dc82c Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/playerdata/PlayerSettings.class differ diff --git a/target/classes/com/loganmagnan/eventcore/playerdata/PlayerState.class b/target/classes/com/loganmagnan/eventcore/playerdata/PlayerState.class new file mode 100644 index 0000000..88e157b Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/playerdata/PlayerState.class differ diff --git a/target/classes/com/loganmagnan/eventcore/playerdata/currentgame/PlayerCurrentGameData.class b/target/classes/com/loganmagnan/eventcore/playerdata/currentgame/PlayerCurrentGameData.class new file mode 100644 index 0000000..c3010d7 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/playerdata/currentgame/PlayerCurrentGameData.class differ diff --git a/target/classes/com/loganmagnan/eventcore/runnables/CooldownRunnable.class b/target/classes/com/loganmagnan/eventcore/runnables/CooldownRunnable.class new file mode 100644 index 0000000..30de658 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/runnables/CooldownRunnable.class differ diff --git a/target/classes/com/loganmagnan/eventcore/scoreboard/ScoreboardProvider$1.class b/target/classes/com/loganmagnan/eventcore/scoreboard/ScoreboardProvider$1.class new file mode 100644 index 0000000..ca5f311 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/scoreboard/ScoreboardProvider$1.class differ diff --git a/target/classes/com/loganmagnan/eventcore/scoreboard/ScoreboardProvider.class b/target/classes/com/loganmagnan/eventcore/scoreboard/ScoreboardProvider.class new file mode 100644 index 0000000..368fc0c Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/scoreboard/ScoreboardProvider.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/AsyncScheduler.class b/target/classes/com/loganmagnan/eventcore/utils/AsyncScheduler.class new file mode 100644 index 0000000..e1cde41 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/AsyncScheduler.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/BlockUtils.class b/target/classes/com/loganmagnan/eventcore/utils/BlockUtils.class new file mode 100644 index 0000000..f1de655 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/BlockUtils.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/Cache$CacheContentProvider.class b/target/classes/com/loganmagnan/eventcore/utils/Cache$CacheContentProvider.class new file mode 100644 index 0000000..1472f67 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/Cache$CacheContentProvider.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/Cache.class b/target/classes/com/loganmagnan/eventcore/utils/Cache.class new file mode 100644 index 0000000..b5b9d05 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/Cache.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/CachedInventory$1.class b/target/classes/com/loganmagnan/eventcore/utils/CachedInventory$1.class new file mode 100644 index 0000000..96f77b3 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/CachedInventory$1.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/CachedInventory.class b/target/classes/com/loganmagnan/eventcore/utils/CachedInventory.class new file mode 100644 index 0000000..f9fcd78 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/CachedInventory.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/ClassRegistrationUtils.class b/target/classes/com/loganmagnan/eventcore/utils/ClassRegistrationUtils.class new file mode 100644 index 0000000..75b3fcc Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/ClassRegistrationUtils.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/Clickable.class b/target/classes/com/loganmagnan/eventcore/utils/Clickable.class new file mode 100644 index 0000000..8df5e47 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/Clickable.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/ColorUtils.class b/target/classes/com/loganmagnan/eventcore/utils/ColorUtils.class new file mode 100644 index 0000000..400745d Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/ColorUtils.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/Constants.class b/target/classes/com/loganmagnan/eventcore/utils/Constants.class new file mode 100644 index 0000000..0b2f565 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/Constants.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/Cuboid.class b/target/classes/com/loganmagnan/eventcore/utils/Cuboid.class new file mode 100644 index 0000000..878b872 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/Cuboid.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/CustomLocation.class b/target/classes/com/loganmagnan/eventcore/utils/CustomLocation.class new file mode 100644 index 0000000..084df17 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/CustomLocation.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/ItemBuilder.class b/target/classes/com/loganmagnan/eventcore/utils/ItemBuilder.class new file mode 100644 index 0000000..ae6f67d Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/ItemBuilder.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/ItemUtil$1.class b/target/classes/com/loganmagnan/eventcore/utils/ItemUtil$1.class new file mode 100644 index 0000000..bef59aa Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/ItemUtil$1.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/ItemUtil$ReloreType.class b/target/classes/com/loganmagnan/eventcore/utils/ItemUtil$ReloreType.class new file mode 100644 index 0000000..a6143b7 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/ItemUtil$ReloreType.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/ItemUtil.class b/target/classes/com/loganmagnan/eventcore/utils/ItemUtil.class new file mode 100644 index 0000000..54c2b43 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/ItemUtil.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/LocationUtils.class b/target/classes/com/loganmagnan/eventcore/utils/LocationUtils.class new file mode 100644 index 0000000..dda0335 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/LocationUtils.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/MathUtil.class b/target/classes/com/loganmagnan/eventcore/utils/MathUtil.class new file mode 100644 index 0000000..75cab18 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/MathUtil.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/NBTEditor$MinecraftVersion.class b/target/classes/com/loganmagnan/eventcore/utils/NBTEditor$MinecraftVersion.class new file mode 100644 index 0000000..6c45d76 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/NBTEditor$MinecraftVersion.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/NBTEditor$NBTCompound.class b/target/classes/com/loganmagnan/eventcore/utils/NBTEditor$NBTCompound.class new file mode 100644 index 0000000..46c2706 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/NBTEditor$NBTCompound.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/NBTEditor$Type.class b/target/classes/com/loganmagnan/eventcore/utils/NBTEditor$Type.class new file mode 100644 index 0000000..87bca9a Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/NBTEditor$Type.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/NBTEditor.class b/target/classes/com/loganmagnan/eventcore/utils/NBTEditor.class new file mode 100644 index 0000000..d63c91d Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/NBTEditor.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/Pair.class b/target/classes/com/loganmagnan/eventcore/utils/Pair.class new file mode 100644 index 0000000..0347c49 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/Pair.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/ParameterType.class b/target/classes/com/loganmagnan/eventcore/utils/ParameterType.class new file mode 100644 index 0000000..e0e48f0 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/ParameterType.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/PlayerHeadUtils.class b/target/classes/com/loganmagnan/eventcore/utils/PlayerHeadUtils.class new file mode 100644 index 0000000..3db3f91 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/PlayerHeadUtils.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/PlayerUtil.class b/target/classes/com/loganmagnan/eventcore/utils/PlayerUtil.class new file mode 100644 index 0000000..e018b7c Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/PlayerUtil.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/SpigotUtils.class b/target/classes/com/loganmagnan/eventcore/utils/SpigotUtils.class new file mode 100644 index 0000000..148f294 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/SpigotUtils.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/StringUtils$NumberUnit.class b/target/classes/com/loganmagnan/eventcore/utils/StringUtils$NumberUnit.class new file mode 100644 index 0000000..0af978c Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/StringUtils$NumberUnit.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/StringUtils.class b/target/classes/com/loganmagnan/eventcore/utils/StringUtils.class new file mode 100644 index 0000000..0f1200f Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/StringUtils.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/TeamAction.class b/target/classes/com/loganmagnan/eventcore/utils/TeamAction.class new file mode 100644 index 0000000..6c5d006 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/TeamAction.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/TimeUtil.class b/target/classes/com/loganmagnan/eventcore/utils/TimeUtil.class new file mode 100644 index 0000000..8ec9808 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/TimeUtil.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/TimeUtils.class b/target/classes/com/loganmagnan/eventcore/utils/TimeUtils.class new file mode 100644 index 0000000..18ea0f7 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/TimeUtils.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/TimerRunnable.class b/target/classes/com/loganmagnan/eventcore/utils/TimerRunnable.class new file mode 100644 index 0000000..2ac8e10 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/TimerRunnable.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/TtlHandler.class b/target/classes/com/loganmagnan/eventcore/utils/TtlHandler.class new file mode 100644 index 0000000..03d4123 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/TtlHandler.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/TtlHashMap.class b/target/classes/com/loganmagnan/eventcore/utils/TtlHashMap.class new file mode 100644 index 0000000..fe025a0 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/TtlHashMap.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/Utils.class b/target/classes/com/loganmagnan/eventcore/utils/Utils.class new file mode 100644 index 0000000..80f4d60 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/Utils.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/Vector3.class b/target/classes/com/loganmagnan/eventcore/utils/Vector3.class new file mode 100644 index 0000000..f5627e4 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/Vector3.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/WorldUtils.class b/target/classes/com/loganmagnan/eventcore/utils/WorldUtils.class new file mode 100644 index 0000000..c381be2 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/WorldUtils.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/command/BaseCommand.class b/target/classes/com/loganmagnan/eventcore/utils/command/BaseCommand.class new file mode 100644 index 0000000..0ff8a4c Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/command/BaseCommand.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/command/BukkitCommand.class b/target/classes/com/loganmagnan/eventcore/utils/command/BukkitCommand.class new file mode 100644 index 0000000..c399158 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/command/BukkitCommand.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/command/BukkitCompleter.class b/target/classes/com/loganmagnan/eventcore/utils/command/BukkitCompleter.class new file mode 100644 index 0000000..fbed0db Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/command/BukkitCompleter.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/command/Command.class b/target/classes/com/loganmagnan/eventcore/utils/command/Command.class new file mode 100644 index 0000000..f0bf535 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/command/Command.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/command/CommandArguments.class b/target/classes/com/loganmagnan/eventcore/utils/command/CommandArguments.class new file mode 100644 index 0000000..70424da Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/command/CommandArguments.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/command/CommandFramework.class b/target/classes/com/loganmagnan/eventcore/utils/command/CommandFramework.class new file mode 100644 index 0000000..b5f4cc8 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/command/CommandFramework.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/command/Completer.class b/target/classes/com/loganmagnan/eventcore/utils/command/Completer.class new file mode 100644 index 0000000..2824a1f Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/command/Completer.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/config/ConfigCursor.class b/target/classes/com/loganmagnan/eventcore/utils/config/ConfigCursor.class new file mode 100644 index 0000000..473bd28 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/config/ConfigCursor.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/config/FileConfig.class b/target/classes/com/loganmagnan/eventcore/utils/config/FileConfig.class new file mode 100644 index 0000000..a3a18b7 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/config/FileConfig.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/config/file/Config.class b/target/classes/com/loganmagnan/eventcore/utils/config/file/Config.class new file mode 100644 index 0000000..dc79004 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/config/file/Config.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/config/file/ConfigFile.class b/target/classes/com/loganmagnan/eventcore/utils/config/file/ConfigFile.class new file mode 100644 index 0000000..b3f8cdb Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/config/file/ConfigFile.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/cuboid/Cuboid$1.class b/target/classes/com/loganmagnan/eventcore/utils/cuboid/Cuboid$1.class new file mode 100644 index 0000000..3097a89 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/cuboid/Cuboid$1.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/cuboid/Cuboid.class b/target/classes/com/loganmagnan/eventcore/utils/cuboid/Cuboid.class new file mode 100644 index 0000000..55a8bf2 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/cuboid/Cuboid.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/cuboid/CuboidBlockIterator.class b/target/classes/com/loganmagnan/eventcore/utils/cuboid/CuboidBlockIterator.class new file mode 100644 index 0000000..b8a9d47 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/cuboid/CuboidBlockIterator.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/cuboid/CuboidDirection$1.class b/target/classes/com/loganmagnan/eventcore/utils/cuboid/CuboidDirection$1.class new file mode 100644 index 0000000..3a244ed Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/cuboid/CuboidDirection$1.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/cuboid/CuboidDirection.class b/target/classes/com/loganmagnan/eventcore/utils/cuboid/CuboidDirection.class new file mode 100644 index 0000000..e96fe98 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/cuboid/CuboidDirection.class differ diff --git a/target/classes/com/loganmagnan/eventcore/utils/cuboid/CuboidLocationIterator.class b/target/classes/com/loganmagnan/eventcore/utils/cuboid/CuboidLocationIterator.class new file mode 100644 index 0000000..50a1908 Binary files /dev/null and b/target/classes/com/loganmagnan/eventcore/utils/cuboid/CuboidLocationIterator.class differ diff --git a/target/classes/config.yml b/target/classes/config.yml new file mode 100644 index 0000000..7161839 --- /dev/null +++ b/target/classes/config.yml @@ -0,0 +1,21 @@ +# -------------------------------------------------- +# MongoDB configuration +# -------------------------------------------------- +MONGO: + URI-MODE: false + NORMAL: + HOST: "" + PORT: 27017 + DATABASE: "" + AUTH: + ENABLED: false + USERNAME: "user" + PASSWORD: "pass" + AUTH-DATABASE: "admin" + URI: + CONNECTION-STRING: "" + DATABASE-NAME: "" + +SERVER-IP-ADDRESS: "dev.loganmagnan.com" +PERMISSION-NODES: + CHAT-BYPASS: "eventcore.chat.bypass" \ No newline at end of file diff --git a/target/classes/messages.yml b/target/classes/messages.yml new file mode 100644 index 0000000..ada4984 --- /dev/null +++ b/target/classes/messages.yml @@ -0,0 +1,50 @@ +MESSAGES: + COMMANDS: + CHAT: # Permission Node - eventcore.command.chat + HELP: + - "%line%" + - "&bChat Commands" + - "%line%" + - "&7⚫ &9/chat &7- &eList of commands" + - "&7⚫ &9/chat manage &7- &eManagement menu" + - "&7⚫ &9/chat toggle &7- &eToggle the chat" + - "&7⚫ &9/chat slow &7- &eSlow the chat" + - "&7⚫ &9/chat clear &7- &eClear the chat" + - "%line%" + SLOW: + INVALID-ARGUMENT: "&cEnter an amount of time to slow the chat for" + INVALID-AMOUNT: "&cEnter a valid amount of time to slow the chat for" + SET-SPAWN: # Permission Node - eventcore.command.setspawn + SPAWN-SET: "&aSet the spawn location" + STAFF-MODE: # Permission Node - eventcore.command.staffmode + ENABLED: "&bYou've &aenabled &bstaff mode" + DISABLED: "&bYou've &cdisabled &bstaff mode" + BYPASS-MODE: # Permission Node - eventcore.command.bypassmode + ENABLED: "&bYou've &aenabled &bbypass mode" + DISABLED: "&bYou've &cdisabled &bbypass mode" + EVENT: # Permission Node - eventcore.command.event + HELP: + - "%line%" + - "&bEvent Commands" + - "%line%" + - "&7⚫ &9/event &7- &eList of commands" + - "&7⚫ &9/event start &7- &eStart the event" + - "&7⚫ &9/event stop &7- &eStop the event" + - "&7⚫ &9/event manage &7- &eManagement menu" + - "%line%" + LISTENERS: + CHAT-MUTED: "&cChat is muted" + CHAT-COOLDOWN: + - "" + - "&c&lChat Cooldown" + - "&cYou're on a chat cooldown for &c&l%time%" + - "" + CHAT-MANAGEMENT: + MUTED: "&cChat has been muted by &c&l%player%" + UNMUTED: "&aChat has been unmuted by &a&l%player%" + SLOWED: "&cChat has been slowed for &c&l%amount% by &c&l%player%" + CLEARED: "&cChat has been cleared by &c&l%player%" + STAFF-MANAGEMENT: + VANISH: + ENABLED: "&bYou've &aenabled &bvanish" + DISABLED: "&bYou've &cdisabled &bvanish" \ No newline at end of file diff --git a/target/classes/plugin.yml b/target/classes/plugin.yml new file mode 100644 index 0000000..89196d5 --- /dev/null +++ b/target/classes/plugin.yml @@ -0,0 +1,5 @@ +name: EventCore +author: Trixkz +version: 1.0 +api-version: 1.13 +main: com.loganmagnan.eventcore.EventCore \ No newline at end of file diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties new file mode 100644 index 0000000..251b8d6 --- /dev/null +++ b/target/maven-archiver/pom.properties @@ -0,0 +1,5 @@ +#Generated by Maven +#Thu Oct 26 16:09:22 EDT 2023 +groupId=com.loganmagnan +artifactId=EventCore +version=1.0 diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst new file mode 100644 index 0000000..b313113 --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst @@ -0,0 +1,111 @@ +com\loganmagnan\eventcore\utils\Cache.class +com\loganmagnan\eventcore\utils\BlockUtils.class +com\loganmagnan\eventcore\utils\TtlHashMap.class +com\loganmagnan\eventcore\menusystem\PaginatedMenu.class +com\loganmagnan\eventcore\utils\NBTEditor$NBTCompound.class +aether\scoreboard\Board.class +com\loganmagnan\eventcore\playerdata\PlayerSettings.class +com\loganmagnan\eventcore\menusystem\menus\EventManageMenu$1.class +com\loganmagnan\eventcore\utils\PlayerHeadUtils.class +aether\scoreboard\cooldown\BoardCooldown.class +com\loganmagnan\eventcore\utils\Vector3.class +com\loganmagnan\eventcore\utils\TtlHandler.class +com\loganmagnan\eventcore\utils\CachedInventory$1.class +com\loganmagnan\eventcore\menusystem\PlayerMenuUtil.class +com\loganmagnan\eventcore\utils\TeamAction.class +com\loganmagnan\eventcore\utils\WorldUtils.class +com\loganmagnan\eventcore\commands\SetSpawnCommand.class +aether\AetherOptions.class +com\loganmagnan\eventcore\utils\NBTEditor.class +com\loganmagnan\eventcore\utils\cuboid\Cuboid$1.class +com\loganmagnan\eventcore\EventCore.class +aether\scoreboard\BoardEntry.class +com\loganmagnan\eventcore\utils\config\file\Config.class +aether\Aether.class +com\loganmagnan\eventcore\utils\MathUtil.class +com\loganmagnan\eventcore\managers\PlayerDataManager$1.class +com\loganmagnan\eventcore\commands\EventCommand.class +com\loganmagnan\eventcore\listeners\ClickableItemListener.class +com\loganmagnan\eventcore\runnables\CooldownRunnable.class +com\loganmagnan\eventcore\listeners\PlayerDataListener.class +com\loganmagnan\eventcore\listeners\MenuListener.class +com\loganmagnan\eventcore\chatcolor\GradientColor.class +com\loganmagnan\eventcore\managers\mongo\MongoManager.class +com\loganmagnan\eventcore\menusystem\Menu.class +com\loganmagnan\eventcore\utils\TimeUtils.class +aether\scoreboard\cooldown\BoardFormat.class +com\loganmagnan\eventcore\managers\event\EventManager.class +com\loganmagnan\eventcore\utils\command\CommandArguments.class +com\loganmagnan\eventcore\utils\AsyncScheduler.class +aether\Aether$1.class +com\loganmagnan\eventcore\utils\config\file\ConfigFile.class +com\loganmagnan\eventcore\utils\Cache$CacheContentProvider.class +aether\event\BoardCreateEvent.class +com\loganmagnan\eventcore\utils\ItemUtil$ReloreType.class +com\loganmagnan\eventcore\utils\TimeUtil.class +com\loganmagnan\eventcore\menusystem\menus\ChatManageMenu.class +com\loganmagnan\eventcore\utils\Clickable.class +com\loganmagnan\eventcore\utils\ParameterType.class +com\loganmagnan\eventcore\utils\command\Completer.class +com\loganmagnan\eventcore\utils\cuboid\CuboidLocationIterator.class +com\loganmagnan\eventcore\utils\TimerRunnable.class +com\loganmagnan\eventcore\utils\config\ConfigCursor.class +com\loganmagnan\eventcore\managers\ChatManager.class +com\loganmagnan\eventcore\playerdata\currentgame\PlayerCurrentGameData.class +com\loganmagnan\eventcore\listeners\StaffModeListener.class +com\loganmagnan\eventcore\listeners\AsyncPlayerChatListener.class +com\loganmagnan\eventcore\utils\config\FileConfig.class +com\loganmagnan\eventcore\menusystem\menus\StaffOnlineMenu.class +com\loganmagnan\eventcore\menusystem\menus\TeamSpawnPointsMenu$1.class +com\loganmagnan\eventcore\utils\StringUtils$NumberUnit.class +com\loganmagnan\eventcore\utils\cuboid\CuboidDirection$1.class +com\loganmagnan\eventcore\chatcolor\ColorSet.class +com\loganmagnan\eventcore\utils\command\BaseCommand.class +com\loganmagnan\eventcore\utils\cuboid\CuboidBlockIterator.class +com\loganmagnan\eventcore\utils\NBTEditor$MinecraftVersion.class +com\loganmagnan\eventcore\menusystem\menus\ChatManageMenu$1.class +com\loganmagnan\eventcore\managers\event\Event.class +com\loganmagnan\eventcore\utils\CachedInventory.class +com\loganmagnan\eventcore\utils\Cuboid.class +com\loganmagnan\eventcore\managers\hotbar\types\StaffModeHotBar.class +com\loganmagnan\eventcore\utils\Utils.class +com\loganmagnan\eventcore\playerdata\PlayerState.class +com\loganmagnan\eventcore\utils\LocationUtils.class +com\loganmagnan\eventcore\managers\CooldownManager.class +com\loganmagnan\eventcore\managers\StaffManager.class +com\loganmagnan\eventcore\utils\cuboid\Cuboid.class +com\loganmagnan\eventcore\scoreboard\ScoreboardProvider$1.class +com\loganmagnan\eventcore\utils\cuboid\CuboidDirection.class +com\loganmagnan\eventcore\utils\Constants.class +com\loganmagnan\eventcore\managers\hotbar\ClickHandler.class +com\loganmagnan\eventcore\managers\hotbar\HotBarManager.class +com\loganmagnan\eventcore\managers\event\teams\Team.class +com\loganmagnan\eventcore\managers\SpawnManager.class +aether\scoreboard\BoardAdapter.class +com\loganmagnan\eventcore\menusystem\menus\TeamSpawnPointsMenu.class +com\loganmagnan\eventcore\scoreboard\ScoreboardProvider.class +com\loganmagnan\eventcore\utils\CustomLocation.class +com\loganmagnan\eventcore\managers\hotbar\ClickableItem.class +com\loganmagnan\eventcore\utils\NBTEditor$Type.class +com\loganmagnan\eventcore\utils\ClassRegistrationUtils.class +com\loganmagnan\eventcore\utils\command\CommandFramework.class +com\loganmagnan\eventcore\utils\ItemBuilder.class +com\loganmagnan\eventcore\utils\ItemUtil.class +com\loganmagnan\eventcore\utils\StringUtils.class +com\loganmagnan\eventcore\managers\hotbar\HotBar.class +com\loganmagnan\eventcore\utils\command\BukkitCommand.class +com\loganmagnan\eventcore\menusystem\ItemStackButton.class +com\loganmagnan\eventcore\playerdata\PlayerData.class +com\loganmagnan\eventcore\commands\ChatColorCommand.class +com\loganmagnan\eventcore\utils\ColorUtils.class +com\loganmagnan\eventcore\utils\command\Command.class +com\loganmagnan\eventcore\utils\PlayerUtil.class +com\loganmagnan\eventcore\commands\BypassModeCommand.class +com\loganmagnan\eventcore\menusystem\menus\EventManageMenu.class +com\loganmagnan\eventcore\utils\ItemUtil$1.class +com\loganmagnan\eventcore\commands\StaffModeCommand.class +com\loganmagnan\eventcore\utils\Pair.class +com\loganmagnan\eventcore\utils\command\BukkitCompleter.class +com\loganmagnan\eventcore\commands\ChatCommand.class +com\loganmagnan\eventcore\managers\PlayerDataManager.class +com\loganmagnan\eventcore\utils\SpigotUtils.class diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst new file mode 100644 index 0000000..496b8bd --- /dev/null +++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst @@ -0,0 +1,92 @@ +D:\Plugins\EventCore\src\main\java\aether\scoreboard\BoardEntry.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\listeners\StaffModeListener.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\hotbar\HotBarManager.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\playerdata\PlayerState.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\PlayerHeadUtils.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\TimeUtils.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\hotbar\HotBar.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\commands\ChatCommand.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\TimeUtil.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\menusystem\menus\ChatManagementMenu.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\AsyncScheduler.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\ColorUtils.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\cuboid\Cuboid.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\Vector3.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\TtlHandler.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\commands\BypassModeCommand.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\ItemBuilder.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\commands\ChatColorCommand.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\event\EventManager.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\PlayerDataManager.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\cuboid\CuboidDirection.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\CustomLocation.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\Utils.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\ClassRegistrationUtils.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\config\file\Config.java +D:\Plugins\EventCore\src\main\java\aether\scoreboard\cooldown\BoardCooldown.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\Clickable.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\config\file\ConfigFile.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\Cache.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\event\Event.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\menusystem\ItemStackButton.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\command\Command.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\runnables\CooldownRunnable.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\command\BukkitCompleter.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\mongo\MongoManager.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\hotbar\ClickableItem.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\ItemUtil.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\WorldUtils.java +D:\Plugins\EventCore\src\main\java\aether\AetherOptions.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\ParameterType.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\listeners\AsyncPlayerChatListener.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\commands\SetSpawnCommand.java +D:\Plugins\EventCore\src\main\java\aether\scoreboard\BoardAdapter.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\menusystem\menus\StaffOnlineMenu.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\ChatManager.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\listeners\PlayerDataListener.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\playerdata\PlayerSettings.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\chatcolor\ColorSet.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\cuboid\CuboidBlockIterator.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\playerdata\PlayerData.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\TimerRunnable.java +D:\Plugins\EventCore\src\main\java\aether\event\BoardCreateEvent.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\playerdata\currentgame\PlayerCurrentGameData.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\menusystem\Menu.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\cuboid\CuboidLocationIterator.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\scoreboard\ScoreboardProvider.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\command\Completer.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\Cuboid.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\hotbar\types\StaffModeHotBar.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\config\ConfigCursor.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\command\CommandFramework.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\SpawnManager.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\CachedInventory.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\command\BukkitCommand.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\TtlHashMap.java +D:\Plugins\EventCore\src\main\java\aether\scoreboard\Board.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\menusystem\PlayerMenuUtil.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\MathUtil.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\command\BaseCommand.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\Pair.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\Constants.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\SpigotUtils.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\CooldownManager.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\command\CommandArguments.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\PlayerUtil.java +D:\Plugins\EventCore\src\main\java\aether\scoreboard\cooldown\BoardFormat.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\chatcolor\GradientColor.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\LocationUtils.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\NBTEditor.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\StaffManager.java +D:\Plugins\EventCore\src\main\java\aether\Aether.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\listeners\MenuListener.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\hotbar\ClickHandler.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\EventCore.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\TeamAction.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\commands\StaffModeCommand.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\menusystem\PaginatedMenu.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\StringUtils.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\BlockUtils.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\listeners\ClickableItemListener.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\utils\config\FileConfig.java +D:\Plugins\EventCore\src\main\java\com\loganmagnan\eventcore\managers\event\teams\Team.java diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst new file mode 100644 index 0000000..e69de29 diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst new file mode 100644 index 0000000..e69de29 diff --git a/target/original-EventCore-1.0.jar b/target/original-EventCore-1.0.jar new file mode 100644 index 0000000..712b557 Binary files /dev/null and b/target/original-EventCore-1.0.jar differ