Renamed to Bentobox

This commit is contained in:
tastybento 2018-08-03 23:36:04 -07:00
parent 1e6b68507a
commit 9261001823
17 changed files with 44 additions and 42 deletions

View File

@ -1,5 +1,5 @@
name: BSkyBlock-Level name: BentoBox-Level
main: bskyblock.addon.level.Level main: bentobox.addon.level.Level
version: 0.1 version: 0.1
authors: tastybento authors: tastybento

View File

@ -1,4 +1,4 @@
package bskyblock.addon.level; package bentobox.addon.level;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@ -6,13 +6,13 @@ import java.util.UUID;
import org.bukkit.World; import org.bukkit.World;
import bskyblock.addon.level.commands.AdminLevel; import bentobox.addon.level.commands.AdminLevel;
import bskyblock.addon.level.commands.AdminTop; import bentobox.addon.level.commands.AdminTop;
import bskyblock.addon.level.commands.IslandLevel; import bentobox.addon.level.commands.IslandLevel;
import bskyblock.addon.level.commands.IslandTop; import bentobox.addon.level.commands.IslandTop;
import bskyblock.addon.level.config.Settings; import bentobox.addon.level.config.Settings;
import bskyblock.addon.level.database.object.LevelsData; import bentobox.addon.level.database.object.LevelsData;
import bskyblock.addon.level.listeners.NewIslandListener; import bentobox.addon.level.listeners.NewIslandListener;
import world.bentobox.bentobox.api.addons.Addon; import world.bentobox.bentobox.api.addons.Addon;
import world.bentobox.bentobox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bentobox.api.user.User; import world.bentobox.bentobox.api.user.User;
@ -93,7 +93,7 @@ public class Level extends Addon {
public void onEnable() { public void onEnable() {
// Check if it is enabled - it might be loaded, but not enabled. // Check if it is enabled - it might be loaded, but not enabled.
if (getPlugin() == null || !getPlugin().isEnabled()) { if (getPlugin() == null || !getPlugin().isEnabled()) {
getLogger().severe("BSkyBlock does not exist or is not enabled. Stopping."); getLogger().severe("BentoBox does not exist or is not enabled. Stopping.");
this.setEnabled(false); this.setEnabled(false);
return; return;
} }

View File

@ -1,4 +1,4 @@
package bskyblock.addon.level; package bentobox.addon.level;
import java.util.Calendar; import java.util.Calendar;
import java.util.HashMap; import java.util.HashMap;
@ -6,7 +6,7 @@ import java.util.UUID;
import org.bukkit.World; import org.bukkit.World;
import bskyblock.addon.level.calculators.PlayerLevel; import bentobox.addon.level.calculators.PlayerLevel;
import world.bentobox.bentobox.BentoBox; import world.bentobox.bentobox.BentoBox;
import world.bentobox.bentobox.api.user.User; import world.bentobox.bentobox.api.user.User;

View File

@ -1,4 +1,4 @@
package bskyblock.addon.level; package bentobox.addon.level;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
@ -14,8 +14,8 @@ import org.bukkit.World;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;
import bskyblock.addon.level.database.object.LevelsData; import bentobox.addon.level.database.object.LevelsData;
import bskyblock.addon.level.database.object.TopTenData; import bentobox.addon.level.database.object.TopTenData;
import world.bentobox.bentobox.api.panels.PanelItem; import world.bentobox.bentobox.api.panels.PanelItem;
import world.bentobox.bentobox.api.panels.builders.PanelBuilder; import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder; import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder;

View File

@ -1,4 +1,4 @@
package bskyblock.addon.level.calculators; package bentobox.addon.level.calculators;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
@ -17,9 +17,11 @@ import org.bukkit.scheduler.BukkitTask;
import com.google.common.collect.HashMultiset; import com.google.common.collect.HashMultiset;
import com.google.common.collect.Multiset; import com.google.common.collect.Multiset;
import com.google.common.collect.Multiset.Entry; import com.google.common.collect.Multiset.Entry;
import bentobox.addon.level.Level;
import com.google.common.collect.Multisets; import com.google.common.collect.Multisets;
import bskyblock.addon.level.Level;
import world.bentobox.bentobox.database.objects.Island; import world.bentobox.bentobox.database.objects.Island;
import world.bentobox.bentobox.util.Pair; import world.bentobox.bentobox.util.Pair;
import world.bentobox.bentobox.util.Util; import world.bentobox.bentobox.util.Util;

View File

@ -1,13 +1,13 @@
package bskyblock.addon.level.calculators; package bentobox.addon.level.calculators;
import java.util.UUID; import java.util.UUID;
import org.bukkit.World; import org.bukkit.World;
import bskyblock.addon.level.Level; import bentobox.addon.level.Level;
import bskyblock.addon.level.calculators.CalcIslandLevel.Results; import bentobox.addon.level.calculators.CalcIslandLevel.Results;
import bskyblock.addon.level.event.IslandLevelCalculatedEvent; import bentobox.addon.level.event.IslandLevelCalculatedEvent;
import bskyblock.addon.level.event.IslandPreLevelEvent; import bentobox.addon.level.event.IslandPreLevelEvent;
import world.bentobox.bentobox.api.user.User; import world.bentobox.bentobox.api.user.User;
import world.bentobox.bentobox.database.objects.Island; import world.bentobox.bentobox.database.objects.Island;

View File

@ -1,9 +1,9 @@
package bskyblock.addon.level.commands; package bentobox.addon.level.commands;
import java.util.List; import java.util.List;
import java.util.UUID; import java.util.UUID;
import bskyblock.addon.level.Level; import bentobox.addon.level.Level;
import world.bentobox.bentobox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bentobox.api.user.User; import world.bentobox.bentobox.api.user.User;

View File

@ -1,4 +1,4 @@
package bskyblock.addon.level.commands; package bentobox.addon.level.commands;
import java.util.List; import java.util.List;
import java.util.Map.Entry; import java.util.Map.Entry;
@ -6,7 +6,7 @@ import java.util.UUID;
import org.bukkit.World; import org.bukkit.World;
import bskyblock.addon.level.Level; import bentobox.addon.level.Level;
import world.bentobox.bentobox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bentobox.api.user.User; import world.bentobox.bentobox.api.user.User;
import world.bentobox.bentobox.database.objects.Island; import world.bentobox.bentobox.database.objects.Island;

View File

@ -1,9 +1,9 @@
package bskyblock.addon.level.commands; package bentobox.addon.level.commands;
import java.util.List; import java.util.List;
import java.util.UUID; import java.util.UUID;
import bskyblock.addon.level.Level; import bentobox.addon.level.Level;
import world.bentobox.bentobox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bentobox.api.user.User; import world.bentobox.bentobox.api.user.User;

View File

@ -1,8 +1,8 @@
package bskyblock.addon.level.commands; package bentobox.addon.level.commands;
import java.util.List; import java.util.List;
import bskyblock.addon.level.Level; import bentobox.addon.level.Level;
import world.bentobox.bentobox.api.commands.CompositeCommand; import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bentobox.api.user.User; import world.bentobox.bentobox.api.user.User;

View File

@ -1,4 +1,4 @@
package bskyblock.addon.level.config; package bentobox.addon.level.config;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@ -8,7 +8,7 @@ import org.bukkit.Material;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.ConfigurationSection;
import bskyblock.addon.level.Level; import bentobox.addon.level.Level;
public class Settings { public class Settings {

View File

@ -1,4 +1,4 @@
package bskyblock.addon.level.database.object; package bentobox.addon.level.database.object;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;

View File

@ -1,4 +1,4 @@
package bskyblock.addon.level.database.object; package bentobox.addon.level.database.object;
import java.util.Collections; import java.util.Collections;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;

View File

@ -1,8 +1,8 @@
package bskyblock.addon.level.event; package bentobox.addon.level.event;
import java.util.UUID; import java.util.UUID;
import bskyblock.addon.level.calculators.CalcIslandLevel.Results; import bentobox.addon.level.calculators.CalcIslandLevel.Results;
import world.bentobox.bentobox.api.events.IslandBaseEvent; import world.bentobox.bentobox.api.events.IslandBaseEvent;
import world.bentobox.bentobox.database.objects.Island; import world.bentobox.bentobox.database.objects.Island;

View File

@ -1,4 +1,4 @@
package bskyblock.addon.level.event; package bentobox.addon.level.event;
import java.util.UUID; import java.util.UUID;

View File

@ -1,4 +1,4 @@
package bskyblock.addon.level.event; package bentobox.addon.level.event;
import org.bukkit.event.Cancellable; import org.bukkit.event.Cancellable;
import org.bukkit.event.Event; import org.bukkit.event.Event;

View File

@ -1,4 +1,4 @@
package bskyblock.addon.level.listeners; package bentobox.addon.level.listeners;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@ -7,8 +7,8 @@ import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority; import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;
import bskyblock.addon.level.Level; import bentobox.addon.level.Level;
import bskyblock.addon.level.calculators.CalcIslandLevel; import bentobox.addon.level.calculators.CalcIslandLevel;
import world.bentobox.bentobox.api.events.island.IslandEvent.IslandCreatedEvent; import world.bentobox.bentobox.api.events.island.IslandEvent.IslandCreatedEvent;
import world.bentobox.bentobox.api.events.island.IslandEvent.IslandResettedEvent; import world.bentobox.bentobox.api.events.island.IslandEvent.IslandResettedEvent;
import world.bentobox.bentobox.database.objects.Island; import world.bentobox.bentobox.database.objects.Island;