Reorganize the communities package
It was kinda stressing me out
This commit is contained in:
parent
9da4abf235
commit
9b83566605
@ -41,6 +41,13 @@ import mineplex.core.common.util.UtilPlayer;
|
|||||||
import mineplex.core.common.util.UtilServer;
|
import mineplex.core.common.util.UtilServer;
|
||||||
import mineplex.core.communities.Community.PrivacySetting;
|
import mineplex.core.communities.Community.PrivacySetting;
|
||||||
import mineplex.core.communities.commands.CommunityCommand;
|
import mineplex.core.communities.commands.CommunityCommand;
|
||||||
|
import mineplex.core.communities.events.CommunityBrowserUpdateEvent;
|
||||||
|
import mineplex.core.communities.events.CommunityDisbandEvent;
|
||||||
|
import mineplex.core.communities.events.CommunityJoinRequestsUpdateEvent;
|
||||||
|
import mineplex.core.communities.events.CommunityMemberDataUpdateEvent;
|
||||||
|
import mineplex.core.communities.events.CommunityMembershipUpdateEvent;
|
||||||
|
import mineplex.core.communities.events.CommunityNameUpdateEvent;
|
||||||
|
import mineplex.core.communities.events.CommunitySettingUpdateEvent;
|
||||||
import mineplex.core.communities.redis.CommunityChat;
|
import mineplex.core.communities.redis.CommunityChat;
|
||||||
import mineplex.core.communities.redis.CommunityChatHandler;
|
import mineplex.core.communities.redis.CommunityChatHandler;
|
||||||
import mineplex.core.communities.redis.CommunityCloseJoinRequest;
|
import mineplex.core.communities.redis.CommunityCloseJoinRequest;
|
||||||
@ -65,7 +72,6 @@ import mineplex.core.communities.redis.CommunityUpdateName;
|
|||||||
import mineplex.core.communities.redis.CommunityUpdateNameHandler;
|
import mineplex.core.communities.redis.CommunityUpdateNameHandler;
|
||||||
import mineplex.core.communities.redis.CommunityUpdateSetting;
|
import mineplex.core.communities.redis.CommunityUpdateSetting;
|
||||||
import mineplex.core.communities.redis.CommunityUpdateSettingHandler;
|
import mineplex.core.communities.redis.CommunityUpdateSettingHandler;
|
||||||
import mineplex.core.communities.storage.CommunityRepository;
|
|
||||||
import mineplex.core.customdata.CustomDataManager;
|
import mineplex.core.customdata.CustomDataManager;
|
||||||
import mineplex.core.preferences.Preference;
|
import mineplex.core.preferences.Preference;
|
||||||
import mineplex.core.preferences.PreferencesManager;
|
import mineplex.core.preferences.PreferencesManager;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.storage;
|
package mineplex.core.communities;
|
||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.mcs;
|
package mineplex.core.communities;
|
||||||
|
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
|
|
@ -8,8 +8,8 @@ import mineplex.core.common.util.F;
|
|||||||
import mineplex.core.common.util.UtilPlayer;
|
import mineplex.core.common.util.UtilPlayer;
|
||||||
import mineplex.core.communities.Community;
|
import mineplex.core.communities.Community;
|
||||||
import mineplex.core.communities.CommunityManager;
|
import mineplex.core.communities.CommunityManager;
|
||||||
import mineplex.core.communities.gui.community.CommunityMembersPage;
|
import mineplex.core.communities.gui.pages.CommunityMembersPage;
|
||||||
import mineplex.core.communities.gui.overview.CommunityOverviewPage;
|
import mineplex.core.communities.gui.pages.CommunityOverviewPage;
|
||||||
|
|
||||||
public class CommunityCommand extends MultiCommandBase<CommunityManager>
|
public class CommunityCommand extends MultiCommandBase<CommunityManager>
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,7 @@ import org.bukkit.entity.Player;
|
|||||||
|
|
||||||
import mineplex.core.command.CommandBase;
|
import mineplex.core.command.CommandBase;
|
||||||
import mineplex.core.communities.CommunityManager;
|
import mineplex.core.communities.CommunityManager;
|
||||||
import mineplex.core.communities.gui.overview.CommunityOverviewPage;
|
import mineplex.core.communities.gui.pages.CommunityOverviewPage;
|
||||||
|
|
||||||
public class CommunityMenuCommand extends CommandBase<CommunityManager>
|
public class CommunityMenuCommand extends CommandBase<CommunityManager>
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities;
|
package mineplex.core.communities.events;
|
||||||
|
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
@ -1,8 +1,10 @@
|
|||||||
package mineplex.core.communities;
|
package mineplex.core.communities.events;
|
||||||
|
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
||||||
|
import mineplex.core.communities.Community;
|
||||||
|
|
||||||
public class CommunityDisbandEvent extends Event
|
public class CommunityDisbandEvent extends Event
|
||||||
{
|
{
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
@ -1,8 +1,10 @@
|
|||||||
package mineplex.core.communities;
|
package mineplex.core.communities.events;
|
||||||
|
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
||||||
|
import mineplex.core.communities.Community;
|
||||||
|
|
||||||
public class CommunityJoinRequestsUpdateEvent extends Event
|
public class CommunityJoinRequestsUpdateEvent extends Event
|
||||||
{
|
{
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities;
|
package mineplex.core.communities.events;
|
||||||
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
@ -1,8 +1,10 @@
|
|||||||
package mineplex.core.communities;
|
package mineplex.core.communities.events;
|
||||||
|
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
||||||
|
import mineplex.core.communities.Community;
|
||||||
|
|
||||||
public class CommunityMembershipUpdateEvent extends Event
|
public class CommunityMembershipUpdateEvent extends Event
|
||||||
{
|
{
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
@ -1,8 +1,10 @@
|
|||||||
package mineplex.core.communities;
|
package mineplex.core.communities.events;
|
||||||
|
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
||||||
|
import mineplex.core.communities.Community;
|
||||||
|
|
||||||
public class CommunityNameUpdateEvent extends Event
|
public class CommunityNameUpdateEvent extends Event
|
||||||
{
|
{
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
@ -1,8 +1,10 @@
|
|||||||
package mineplex.core.communities;
|
package mineplex.core.communities.events;
|
||||||
|
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
||||||
|
import mineplex.core.communities.Community;
|
||||||
|
|
||||||
public class CommunitySettingUpdateEvent extends Event
|
public class CommunitySettingUpdateEvent extends Event
|
||||||
{
|
{
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
@ -1,9 +1,10 @@
|
|||||||
package mineplex.core.communities.gui;
|
package mineplex.core.communities.gui.buttons;
|
||||||
|
|
||||||
import org.bukkit.event.inventory.ClickType;
|
import org.bukkit.event.inventory.ClickType;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
|
||||||
import mineplex.core.common.util.Callback;
|
import mineplex.core.common.util.Callback;
|
||||||
|
import mineplex.core.communities.gui.buttons.CommunitiesGUIButton;
|
||||||
|
|
||||||
public class ActionButton extends CommunitiesGUIButton
|
public class ActionButton extends CommunitiesGUIButton
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui;
|
package mineplex.core.communities.gui.buttons;
|
||||||
|
|
||||||
import org.bukkit.event.inventory.ClickType;
|
import org.bukkit.event.inventory.ClickType;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui.browser;
|
package mineplex.core.communities.gui.buttons;
|
||||||
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.inventory.ClickType;
|
import org.bukkit.event.inventory.ClickType;
|
||||||
@ -8,8 +8,8 @@ import mineplex.core.common.util.C;
|
|||||||
import mineplex.core.common.util.LineFormat;
|
import mineplex.core.common.util.LineFormat;
|
||||||
import mineplex.core.common.util.UtilText;
|
import mineplex.core.common.util.UtilText;
|
||||||
import mineplex.core.communities.Community;
|
import mineplex.core.communities.Community;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIButton;
|
import mineplex.core.communities.gui.buttons.CommunitiesGUIButton;
|
||||||
import mineplex.core.communities.gui.community.CommunityMembersPage;
|
import mineplex.core.communities.gui.pages.CommunityMembersPage;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
|
||||||
public class CommunityBrowserButton extends CommunitiesGUIButton
|
public class CommunityBrowserButton extends CommunitiesGUIButton
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui.community;
|
package mineplex.core.communities.gui.buttons;
|
||||||
|
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@ -13,7 +13,7 @@ import mineplex.core.common.util.UtilText;
|
|||||||
import mineplex.core.communities.Community;
|
import mineplex.core.communities.Community;
|
||||||
import mineplex.core.communities.Community.PrivacySetting;
|
import mineplex.core.communities.Community.PrivacySetting;
|
||||||
import mineplex.core.communities.CommunityRole;
|
import mineplex.core.communities.CommunityRole;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIButton;
|
import mineplex.core.communities.gui.buttons.CommunitiesGUIButton;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
|
||||||
public class CommunityButton extends CommunitiesGUIButton
|
public class CommunityButton extends CommunitiesGUIButton
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui.community;
|
package mineplex.core.communities.gui.buttons;
|
||||||
|
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@ -7,7 +7,7 @@ import org.bukkit.inventory.ItemStack;
|
|||||||
|
|
||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.communities.Community;
|
import mineplex.core.communities.Community;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIButton;
|
import mineplex.core.communities.gui.buttons.CommunitiesGUIButton;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
|
||||||
public class CommunityChatReadingButton extends CommunitiesGUIButton
|
public class CommunityChatReadingButton extends CommunitiesGUIButton
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui.community;
|
package mineplex.core.communities.gui.buttons;
|
||||||
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.inventory.ClickType;
|
import org.bukkit.event.inventory.ClickType;
|
||||||
@ -6,7 +6,7 @@ import org.bukkit.event.inventory.ClickType;
|
|||||||
import mineplex.core.communities.Community;
|
import mineplex.core.communities.Community;
|
||||||
import mineplex.core.communities.CommunityJoinRequestInfo;
|
import mineplex.core.communities.CommunityJoinRequestInfo;
|
||||||
import mineplex.core.communities.CommunityRole;
|
import mineplex.core.communities.CommunityRole;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIButton;
|
import mineplex.core.communities.gui.buttons.CommunitiesGUIButton;
|
||||||
|
|
||||||
public class CommunityJoinRequestButton extends CommunitiesGUIButton
|
public class CommunityJoinRequestButton extends CommunitiesGUIButton
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui.community;
|
package mineplex.core.communities.gui.buttons;
|
||||||
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.inventory.ClickType;
|
import org.bukkit.event.inventory.ClickType;
|
||||||
@ -11,7 +11,7 @@ import mineplex.core.communities.Community;
|
|||||||
import mineplex.core.communities.CommunityManager;
|
import mineplex.core.communities.CommunityManager;
|
||||||
import mineplex.core.communities.CommunityMemberInfo;
|
import mineplex.core.communities.CommunityMemberInfo;
|
||||||
import mineplex.core.communities.CommunityRole;
|
import mineplex.core.communities.CommunityRole;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIButton;
|
import mineplex.core.communities.gui.buttons.CommunitiesGUIButton;
|
||||||
|
|
||||||
public class CommunityMemberButton extends CommunitiesGUIButton
|
public class CommunityMemberButton extends CommunitiesGUIButton
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui.community;
|
package mineplex.core.communities.gui.buttons;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
@ -17,7 +17,7 @@ import mineplex.core.communities.Community;
|
|||||||
import mineplex.core.communities.Community.PrivacySetting;
|
import mineplex.core.communities.Community.PrivacySetting;
|
||||||
import mineplex.core.communities.CommunityRole;
|
import mineplex.core.communities.CommunityRole;
|
||||||
import mineplex.core.communities.CommunitySetting;
|
import mineplex.core.communities.CommunitySetting;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIButton;
|
import mineplex.core.communities.gui.buttons.CommunitiesGUIButton;
|
||||||
import mineplex.core.game.GameDisplay;
|
import mineplex.core.game.GameDisplay;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui.overview;
|
package mineplex.core.communities.gui.buttons;
|
||||||
|
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@ -9,8 +9,8 @@ import mineplex.core.common.util.C;
|
|||||||
import mineplex.core.common.util.LineFormat;
|
import mineplex.core.common.util.LineFormat;
|
||||||
import mineplex.core.common.util.UtilText;
|
import mineplex.core.common.util.UtilText;
|
||||||
import mineplex.core.communities.Community;
|
import mineplex.core.communities.Community;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIButton;
|
import mineplex.core.communities.gui.buttons.CommunitiesGUIButton;
|
||||||
import mineplex.core.communities.gui.community.CommunityMembersPage;
|
import mineplex.core.communities.gui.pages.CommunityMembersPage;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
|
||||||
public class CommunityVisualizationButton extends CommunitiesGUIButton
|
public class CommunityVisualizationButton extends CommunitiesGUIButton
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui;
|
package mineplex.core.communities.gui.pages;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -14,6 +14,7 @@ import org.bukkit.inventory.Inventory;
|
|||||||
import mineplex.core.Managers;
|
import mineplex.core.Managers;
|
||||||
import mineplex.core.common.util.UtilServer;
|
import mineplex.core.common.util.UtilServer;
|
||||||
import mineplex.core.communities.CommunityManager;
|
import mineplex.core.communities.CommunityManager;
|
||||||
|
import mineplex.core.communities.gui.buttons.CommunitiesGUIButton;
|
||||||
import mineplex.core.recharge.Recharge;
|
import mineplex.core.recharge.Recharge;
|
||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui.browser;
|
package mineplex.core.communities.gui.pages;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -8,13 +8,11 @@ import org.bukkit.entity.Player;
|
|||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
|
|
||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.communities.CommunityBrowserUpdateEvent;
|
import mineplex.core.communities.events.CommunityBrowserUpdateEvent;
|
||||||
import mineplex.core.communities.CommunityDisbandEvent;
|
import mineplex.core.communities.events.CommunityDisbandEvent;
|
||||||
import mineplex.core.communities.CommunityManager;
|
import mineplex.core.communities.CommunityManager;
|
||||||
import mineplex.core.communities.gui.ActionButton;
|
import mineplex.core.communities.gui.buttons.CommunityBrowserButton;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIPage;
|
import mineplex.core.communities.gui.buttons.ActionButton;
|
||||||
import mineplex.core.communities.gui.overview.CommunityInvitesPage;
|
|
||||||
import mineplex.core.communities.gui.overview.CommunityOverviewPage;
|
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
|
||||||
public class CommunityBrowserPage extends CommunitiesGUIPage
|
public class CommunityBrowserPage extends CommunitiesGUIPage
|
@ -1,15 +1,14 @@
|
|||||||
package mineplex.core.communities.gui.overview;
|
package mineplex.core.communities.gui.pages;
|
||||||
|
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
|
|
||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.communities.CommunityDisbandEvent;
|
import mineplex.core.communities.events.CommunityDisbandEvent;
|
||||||
import mineplex.core.communities.CommunityMemberDataUpdateEvent;
|
import mineplex.core.communities.events.CommunityMemberDataUpdateEvent;
|
||||||
import mineplex.core.communities.gui.ActionButton;
|
import mineplex.core.communities.gui.buttons.ActionButton;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIPage;
|
import mineplex.core.communities.gui.buttons.CommunityVisualizationButton;
|
||||||
import mineplex.core.communities.gui.browser.CommunityBrowserPage;
|
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
|
||||||
public class CommunityInvitesPage extends CommunitiesGUIPage
|
public class CommunityInvitesPage extends CommunitiesGUIPage
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui.community;
|
package mineplex.core.communities.gui.pages;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -9,15 +9,16 @@ import org.bukkit.event.EventHandler;
|
|||||||
|
|
||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.communities.Community;
|
import mineplex.core.communities.Community;
|
||||||
import mineplex.core.communities.CommunityDisbandEvent;
|
import mineplex.core.communities.events.CommunityDisbandEvent;
|
||||||
import mineplex.core.communities.CommunityJoinRequestInfo;
|
import mineplex.core.communities.CommunityJoinRequestInfo;
|
||||||
import mineplex.core.communities.CommunityJoinRequestsUpdateEvent;
|
import mineplex.core.communities.events.CommunityJoinRequestsUpdateEvent;
|
||||||
import mineplex.core.communities.CommunityMemberDataUpdateEvent;
|
import mineplex.core.communities.events.CommunityMemberDataUpdateEvent;
|
||||||
import mineplex.core.communities.CommunityMembershipUpdateEvent;
|
import mineplex.core.communities.events.CommunityMembershipUpdateEvent;
|
||||||
import mineplex.core.communities.CommunityRole;
|
import mineplex.core.communities.CommunityRole;
|
||||||
import mineplex.core.communities.gui.ActionButton;
|
import mineplex.core.communities.gui.buttons.ActionButton;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIPage;
|
import mineplex.core.communities.gui.buttons.CommunityButton;
|
||||||
import mineplex.core.communities.gui.overview.CommunityOverviewPage;
|
import mineplex.core.communities.gui.buttons.CommunityChatReadingButton;
|
||||||
|
import mineplex.core.communities.gui.buttons.CommunityJoinRequestButton;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
|
||||||
public class CommunityJoinRequestsPage extends CommunitiesGUIPage
|
public class CommunityJoinRequestsPage extends CommunitiesGUIPage
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui.community;
|
package mineplex.core.communities.gui.pages;
|
||||||
|
|
||||||
import java.util.LinkedList;
|
import java.util.LinkedList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -9,16 +9,17 @@ import org.bukkit.event.EventHandler;
|
|||||||
|
|
||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.communities.Community;
|
import mineplex.core.communities.Community;
|
||||||
import mineplex.core.communities.CommunityDisbandEvent;
|
import mineplex.core.communities.events.CommunityDisbandEvent;
|
||||||
import mineplex.core.communities.CommunityJoinRequestsUpdateEvent;
|
import mineplex.core.communities.events.CommunityJoinRequestsUpdateEvent;
|
||||||
import mineplex.core.communities.CommunityMemberDataUpdateEvent;
|
import mineplex.core.communities.events.CommunityMemberDataUpdateEvent;
|
||||||
import mineplex.core.communities.CommunityMemberInfo;
|
import mineplex.core.communities.CommunityMemberInfo;
|
||||||
import mineplex.core.communities.CommunityMembershipUpdateEvent;
|
import mineplex.core.communities.events.CommunityMembershipUpdateEvent;
|
||||||
import mineplex.core.communities.CommunityRole;
|
import mineplex.core.communities.CommunityRole;
|
||||||
import mineplex.core.communities.gui.ActionButton;
|
import mineplex.core.communities.gui.buttons.ActionButton;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIButton;
|
import mineplex.core.communities.gui.buttons.CommunitiesGUIButton;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIPage;
|
import mineplex.core.communities.gui.buttons.CommunityButton;
|
||||||
import mineplex.core.communities.gui.overview.CommunityOverviewPage;
|
import mineplex.core.communities.gui.buttons.CommunityChatReadingButton;
|
||||||
|
import mineplex.core.communities.gui.buttons.CommunityMemberButton;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
|
||||||
public class CommunityMembersPage extends CommunitiesGUIPage
|
public class CommunityMembersPage extends CommunitiesGUIPage
|
@ -1,6 +1,5 @@
|
|||||||
package mineplex.core.communities.gui.overview;
|
package mineplex.core.communities.gui.pages;
|
||||||
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
@ -9,11 +8,10 @@ import org.bukkit.event.EventHandler;
|
|||||||
|
|
||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.communities.Community;
|
import mineplex.core.communities.Community;
|
||||||
import mineplex.core.communities.CommunityDisbandEvent;
|
import mineplex.core.communities.events.CommunityDisbandEvent;
|
||||||
import mineplex.core.communities.CommunityMemberDataUpdateEvent;
|
import mineplex.core.communities.events.CommunityMemberDataUpdateEvent;
|
||||||
import mineplex.core.communities.gui.ActionButton;
|
import mineplex.core.communities.gui.buttons.ActionButton;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIPage;
|
import mineplex.core.communities.gui.buttons.CommunityVisualizationButton;
|
||||||
import mineplex.core.communities.gui.browser.CommunityBrowserPage;
|
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
|
||||||
public class CommunityOverviewPage extends CommunitiesGUIPage
|
public class CommunityOverviewPage extends CommunitiesGUIPage
|
@ -1,4 +1,4 @@
|
|||||||
package mineplex.core.communities.gui.community;
|
package mineplex.core.communities.gui.pages;
|
||||||
|
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@ -6,17 +6,18 @@ import org.bukkit.event.EventHandler;
|
|||||||
|
|
||||||
import mineplex.core.common.util.C;
|
import mineplex.core.common.util.C;
|
||||||
import mineplex.core.communities.Community;
|
import mineplex.core.communities.Community;
|
||||||
import mineplex.core.communities.CommunityDisbandEvent;
|
import mineplex.core.communities.events.CommunityDisbandEvent;
|
||||||
import mineplex.core.communities.CommunityJoinRequestsUpdateEvent;
|
import mineplex.core.communities.events.CommunityJoinRequestsUpdateEvent;
|
||||||
import mineplex.core.communities.CommunityMemberDataUpdateEvent;
|
import mineplex.core.communities.events.CommunityMemberDataUpdateEvent;
|
||||||
import mineplex.core.communities.CommunityMembershipUpdateEvent;
|
import mineplex.core.communities.events.CommunityMembershipUpdateEvent;
|
||||||
import mineplex.core.communities.CommunityRole;
|
import mineplex.core.communities.CommunityRole;
|
||||||
import mineplex.core.communities.CommunitySetting;
|
import mineplex.core.communities.CommunitySetting;
|
||||||
import mineplex.core.communities.CommunitySettingUpdateEvent;
|
import mineplex.core.communities.events.CommunitySettingUpdateEvent;
|
||||||
import mineplex.core.communities.gui.ActionButton;
|
import mineplex.core.communities.gui.buttons.ActionButton;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIButton;
|
import mineplex.core.communities.gui.buttons.CommunitiesGUIButton;
|
||||||
import mineplex.core.communities.gui.CommunitiesGUIPage;
|
import mineplex.core.communities.gui.buttons.CommunityButton;
|
||||||
import mineplex.core.communities.gui.overview.CommunityOverviewPage;
|
import mineplex.core.communities.gui.buttons.CommunityChatReadingButton;
|
||||||
|
import mineplex.core.communities.gui.buttons.CommunitySettingButton;
|
||||||
import mineplex.core.itemstack.ItemBuilder;
|
import mineplex.core.itemstack.ItemBuilder;
|
||||||
|
|
||||||
public class CommunitySettingsPage extends CommunitiesGUIPage
|
public class CommunitySettingsPage extends CommunitiesGUIPage
|
@ -42,7 +42,7 @@ import mineplex.core.common.util.UtilServer;
|
|||||||
import mineplex.core.common.util.UtilTextBottom;
|
import mineplex.core.common.util.UtilTextBottom;
|
||||||
import mineplex.core.common.util.UtilTime;
|
import mineplex.core.common.util.UtilTime;
|
||||||
import mineplex.core.communities.Community;
|
import mineplex.core.communities.Community;
|
||||||
import mineplex.core.communities.CommunityDisbandEvent;
|
import mineplex.core.communities.events.CommunityDisbandEvent;
|
||||||
import mineplex.core.communities.CommunityManager;
|
import mineplex.core.communities.CommunityManager;
|
||||||
import mineplex.core.communities.CommunityRole;
|
import mineplex.core.communities.CommunityRole;
|
||||||
import mineplex.core.itemstack.ItemStackFactory;
|
import mineplex.core.itemstack.ItemStackFactory;
|
||||||
|
Loading…
Reference in New Issue
Block a user