Updated to new package name

This commit is contained in:
tastybento 2018-08-01 09:52:49 -07:00
parent 2d25850b3a
commit 353a9c3309
28 changed files with 78 additions and 78 deletions

View File

@ -4,8 +4,8 @@ import org.bukkit.Bukkit;
import bskyblock.addon.challenges.commands.ChallengesCommand; import bskyblock.addon.challenges.commands.ChallengesCommand;
import bskyblock.addon.challenges.commands.admin.ChallengesAdminImportCommand; import bskyblock.addon.challenges.commands.admin.ChallengesAdminImportCommand;
import world.bentobox.bbox.api.addons.Addon; import world.bentobox.bentobox.api.addons.Addon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
/** /**
* Add-on to BSkyBlock that enables challenges * Add-on to BSkyBlock that enables challenges

View File

@ -26,10 +26,10 @@ import bskyblock.addon.challenges.database.object.Challenges;
import bskyblock.addon.challenges.database.object.Challenges.ChallengeType; import bskyblock.addon.challenges.database.object.Challenges.ChallengeType;
import bskyblock.addon.challenges.database.object.PlayerData; import bskyblock.addon.challenges.database.object.PlayerData;
import bskyblock.addon.challenges.panel.ChallengesPanels; import bskyblock.addon.challenges.panel.ChallengesPanels;
import world.bentobox.bbox.api.configuration.BSBConfig; import world.bentobox.bentobox.api.configuration.BSBConfig;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
import world.bentobox.bbox.database.BSBDatabase; import world.bentobox.bentobox.database.BSBDatabase;
import world.bentobox.bbox.util.Util; import world.bentobox.bentobox.util.Util;
public class ChallengesManager { public class ChallengesManager {

View File

@ -18,8 +18,8 @@ import org.bukkit.inventory.ItemStack;
import bskyblock.addon.challenges.database.object.ChallengeLevels; import bskyblock.addon.challenges.database.object.ChallengeLevels;
import bskyblock.addon.challenges.database.object.Challenges; import bskyblock.addon.challenges.database.object.Challenges;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
import world.bentobox.bbox.util.Util; import world.bentobox.bentobox.util.Util;
/** /**
* Imports challenges * Imports challenges

View File

@ -4,8 +4,8 @@ import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import bskyblock.addon.challenges.panel.ChallengesPanels; import bskyblock.addon.challenges.panel.ChallengesPanels;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
public class ChallengesCommand extends CompositeCommand { public class ChallengesCommand extends CompositeCommand {
public static final String CHALLENGE_COMMAND = "challenges"; public static final String CHALLENGE_COMMAND = "challenges";

View File

@ -5,9 +5,9 @@ import java.util.List;
import java.util.Optional; import java.util.Optional;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
import world.bentobox.bbox.util.Util; import world.bentobox.bentobox.util.Util;
public class ChallengesAdminImportCommand extends CompositeCommand { public class ChallengesAdminImportCommand extends CompositeCommand {

View File

@ -4,9 +4,9 @@ import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import bskyblock.addon.challenges.panel.CreateChallengeListener; import bskyblock.addon.challenges.panel.CreateChallengeListener;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.panels.builders.PanelBuilder; import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
public class CreateChallenge extends CompositeCommand { public class CreateChallenge extends CompositeCommand {

View File

@ -17,9 +17,9 @@ import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.event.player.PlayerQuitEvent; import org.bukkit.event.player.PlayerQuitEvent;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
import world.bentobox.bbox.util.Util; import world.bentobox.bentobox.util.Util;
/** /**
* Command to create a surrounding type challenge * Command to create a surrounding type challenge

View File

@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
import java.util.List; import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
import java.util.List; import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
import java.util.List; import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
import java.util.List; import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
import java.util.List; import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -9,8 +9,8 @@ import org.bukkit.inventory.ItemStack;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import bskyblock.addon.challenges.database.object.Challenges; import bskyblock.addon.challenges.database.object.Challenges;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
import java.util.List; import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
import java.util.List; import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
import java.util.List; import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
import java.util.List; import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
import java.util.List; import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
import java.util.List; import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -7,7 +7,7 @@ import org.bukkit.Material;
import org.bukkit.entity.EntityType; import org.bukkit.entity.EntityType;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* Enables the state of a Surrounding Challenge to be stored as it is built * Enables the state of a Surrounding Challenge to be stored as it is built

View File

@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
import java.util.List; import java.util.List;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
/** /**
* @author tastybento * @author tastybento

View File

@ -6,8 +6,8 @@ import java.util.List;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
import bskyblock.addon.challenges.ChallengesManager; import bskyblock.addon.challenges.ChallengesManager;
import world.bentobox.bbox.api.configuration.ConfigComment; import world.bentobox.bentobox.api.configuration.ConfigComment;
import world.bentobox.bbox.database.objects.DataObject; import world.bentobox.bentobox.database.objects.DataObject;
/** /**
* Represent a challenge level * Represent a challenge level

View File

@ -13,8 +13,8 @@ import org.bukkit.entity.EntityType;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
import bskyblock.addon.challenges.ChallengesManager; import bskyblock.addon.challenges.ChallengesManager;
import world.bentobox.bbox.api.configuration.ConfigComment; import world.bentobox.bentobox.api.configuration.ConfigComment;
import world.bentobox.bbox.database.objects.DataObject; import world.bentobox.bentobox.database.objects.DataObject;
/** /**
* Data object for challenges * Data object for challenges

View File

@ -12,8 +12,8 @@ import org.bukkit.World;
import com.google.gson.annotations.Expose; import com.google.gson.annotations.Expose;
import world.bentobox.bbox.database.objects.DataObject; import world.bentobox.bentobox.database.objects.DataObject;
import world.bentobox.bbox.util.Util; import world.bentobox.bentobox.util.Util;
/** /**
* Stores the player's challenge situation * Stores the player's challenge situation

View File

@ -15,11 +15,11 @@ import bskyblock.addon.challenges.LevelStatus;
import bskyblock.addon.challenges.commands.ChallengesCommand; import bskyblock.addon.challenges.commands.ChallengesCommand;
import bskyblock.addon.challenges.database.object.Challenges; import bskyblock.addon.challenges.database.object.Challenges;
import bskyblock.addon.challenges.database.object.Challenges.ChallengeType; import bskyblock.addon.challenges.database.object.Challenges.ChallengeType;
import world.bentobox.bbox.api.panels.Panel; import world.bentobox.bentobox.api.panels.Panel;
import world.bentobox.bbox.api.panels.PanelItem; import world.bentobox.bentobox.api.panels.PanelItem;
import world.bentobox.bbox.api.panels.builders.PanelBuilder; import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
import world.bentobox.bbox.api.panels.builders.PanelItemBuilder; import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
public class ChallengesPanels { public class ChallengesPanels {

View File

@ -4,8 +4,8 @@ import org.bukkit.event.inventory.InventoryClickEvent;
import org.bukkit.event.inventory.InventoryCloseEvent; import org.bukkit.event.inventory.InventoryCloseEvent;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.panels.PanelListener; import world.bentobox.bentobox.api.panels.PanelListener;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
public class CreateChallengeListener implements PanelListener { public class CreateChallengeListener implements PanelListener {

View File

@ -1,8 +1,8 @@
package bskyblock.addon.challenges.panel; package bskyblock.addon.challenges.panel;
import bskyblock.addon.challenges.ChallengesAddon; import bskyblock.addon.challenges.ChallengesAddon;
import world.bentobox.bbox.api.panels.builders.PanelBuilder; import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
public class CreateChallengePanel { public class CreateChallengePanel {

View File

@ -20,8 +20,8 @@ import bskyblock.addon.challenges.commands.ChallengesCommand;
import bskyblock.addon.challenges.database.object.Challenges; import bskyblock.addon.challenges.database.object.Challenges;
import bskyblock.addon.challenges.database.object.Challenges.ChallengeType; import bskyblock.addon.challenges.database.object.Challenges.ChallengeType;
import bskyblock.addon.level.Level; import bskyblock.addon.level.Level;
import world.bentobox.bbox.api.user.User; import world.bentobox.bentobox.api.user.User;
import world.bentobox.bbox.util.Util; import world.bentobox.bentobox.util.Util;
/** /**
* Run when a user tries to complete a challenge * Run when a user tries to complete a challenge