mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-24 19:45:14 +01:00
Updated to new package name
This commit is contained in:
parent
2d25850b3a
commit
353a9c3309
@ -4,8 +4,8 @@ import org.bukkit.Bukkit;
|
||||
|
||||
import bskyblock.addon.challenges.commands.ChallengesCommand;
|
||||
import bskyblock.addon.challenges.commands.admin.ChallengesAdminImportCommand;
|
||||
import world.bentobox.bbox.api.addons.Addon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.addons.Addon;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
|
||||
/**
|
||||
* Add-on to BSkyBlock that enables challenges
|
||||
|
@ -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.PlayerData;
|
||||
import bskyblock.addon.challenges.panel.ChallengesPanels;
|
||||
import world.bentobox.bbox.api.configuration.BSBConfig;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bbox.database.BSBDatabase;
|
||||
import world.bentobox.bbox.util.Util;
|
||||
import world.bentobox.bentobox.api.configuration.BSBConfig;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
import world.bentobox.bentobox.database.BSBDatabase;
|
||||
import world.bentobox.bentobox.util.Util;
|
||||
|
||||
public class ChallengesManager {
|
||||
|
||||
|
@ -18,8 +18,8 @@ import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import bskyblock.addon.challenges.database.object.ChallengeLevels;
|
||||
import bskyblock.addon.challenges.database.object.Challenges;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bbox.util.Util;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
import world.bentobox.bentobox.util.Util;
|
||||
|
||||
/**
|
||||
* Imports challenges
|
||||
|
@ -4,8 +4,8 @@ import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import bskyblock.addon.challenges.panel.ChallengesPanels;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
public class ChallengesCommand extends CompositeCommand {
|
||||
public static final String CHALLENGE_COMMAND = "challenges";
|
||||
|
@ -5,9 +5,9 @@ import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bbox.util.Util;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
import world.bentobox.bentobox.util.Util;
|
||||
|
||||
public class ChallengesAdminImportCommand extends CompositeCommand {
|
||||
|
||||
|
@ -4,9 +4,9 @@ import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import bskyblock.addon.challenges.panel.CreateChallengeListener;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
public class CreateChallenge extends CompositeCommand {
|
||||
|
||||
|
@ -17,9 +17,9 @@ import org.bukkit.event.player.PlayerInteractEvent;
|
||||
import org.bukkit.event.player.PlayerQuitEvent;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bbox.util.Util;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
import world.bentobox.bentobox.util.Util;
|
||||
|
||||
/**
|
||||
* Command to create a surrounding type challenge
|
||||
|
@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -9,8 +9,8 @@ import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import bskyblock.addon.challenges.database.object.Challenges;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -7,7 +7,7 @@ import org.bukkit.Material;
|
||||
import org.bukkit.entity.EntityType;
|
||||
|
||||
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
|
||||
|
@ -6,8 +6,8 @@ package bskyblock.addon.challenges.commands.admin;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
/**
|
||||
* @author tastybento
|
||||
|
@ -6,8 +6,8 @@ import java.util.List;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesManager;
|
||||
import world.bentobox.bbox.api.configuration.ConfigComment;
|
||||
import world.bentobox.bbox.database.objects.DataObject;
|
||||
import world.bentobox.bentobox.api.configuration.ConfigComment;
|
||||
import world.bentobox.bentobox.database.objects.DataObject;
|
||||
|
||||
/**
|
||||
* Represent a challenge level
|
||||
|
@ -13,8 +13,8 @@ import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesManager;
|
||||
import world.bentobox.bbox.api.configuration.ConfigComment;
|
||||
import world.bentobox.bbox.database.objects.DataObject;
|
||||
import world.bentobox.bentobox.api.configuration.ConfigComment;
|
||||
import world.bentobox.bentobox.database.objects.DataObject;
|
||||
|
||||
/**
|
||||
* Data object for challenges
|
||||
|
@ -12,8 +12,8 @@ import org.bukkit.World;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
|
||||
import world.bentobox.bbox.database.objects.DataObject;
|
||||
import world.bentobox.bbox.util.Util;
|
||||
import world.bentobox.bentobox.database.objects.DataObject;
|
||||
import world.bentobox.bentobox.util.Util;
|
||||
|
||||
/**
|
||||
* Stores the player's challenge situation
|
||||
|
@ -15,11 +15,11 @@ import bskyblock.addon.challenges.LevelStatus;
|
||||
import bskyblock.addon.challenges.commands.ChallengesCommand;
|
||||
import bskyblock.addon.challenges.database.object.Challenges;
|
||||
import bskyblock.addon.challenges.database.object.Challenges.ChallengeType;
|
||||
import world.bentobox.bbox.api.panels.Panel;
|
||||
import world.bentobox.bbox.api.panels.PanelItem;
|
||||
import world.bentobox.bbox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bbox.api.panels.builders.PanelItemBuilder;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.panels.Panel;
|
||||
import world.bentobox.bentobox.api.panels.PanelItem;
|
||||
import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
|
||||
public class ChallengesPanels {
|
||||
|
@ -4,8 +4,8 @@ import org.bukkit.event.inventory.InventoryClickEvent;
|
||||
import org.bukkit.event.inventory.InventoryCloseEvent;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.panels.PanelListener;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.panels.PanelListener;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
public class CreateChallengeListener implements PanelListener {
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
package bskyblock.addon.challenges.panel;
|
||||
|
||||
import bskyblock.addon.challenges.ChallengesAddon;
|
||||
import world.bentobox.bbox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
public class CreateChallengePanel {
|
||||
|
||||
|
@ -20,8 +20,8 @@ import bskyblock.addon.challenges.commands.ChallengesCommand;
|
||||
import bskyblock.addon.challenges.database.object.Challenges;
|
||||
import bskyblock.addon.challenges.database.object.Challenges.ChallengeType;
|
||||
import bskyblock.addon.level.Level;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bbox.util.Util;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
import world.bentobox.bentobox.util.Util;
|
||||
|
||||
/**
|
||||
* Run when a user tries to complete a challenge
|
||||
|
Loading…
Reference in New Issue
Block a user