mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-13 06:07:26 +01:00
Renamed to Bentobox
This commit is contained in:
parent
1e6b68507a
commit
9261001823
@ -1,5 +1,5 @@
|
||||
name: BSkyBlock-Level
|
||||
main: bskyblock.addon.level.Level
|
||||
name: BentoBox-Level
|
||||
main: bentobox.addon.level.Level
|
||||
version: 0.1
|
||||
|
||||
authors: tastybento
|
||||
|
@ -1,4 +1,4 @@
|
||||
package bskyblock.addon.level;
|
||||
package bentobox.addon.level;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
@ -6,13 +6,13 @@ import java.util.UUID;
|
||||
|
||||
import org.bukkit.World;
|
||||
|
||||
import bskyblock.addon.level.commands.AdminLevel;
|
||||
import bskyblock.addon.level.commands.AdminTop;
|
||||
import bskyblock.addon.level.commands.IslandLevel;
|
||||
import bskyblock.addon.level.commands.IslandTop;
|
||||
import bskyblock.addon.level.config.Settings;
|
||||
import bskyblock.addon.level.database.object.LevelsData;
|
||||
import bskyblock.addon.level.listeners.NewIslandListener;
|
||||
import bentobox.addon.level.commands.AdminLevel;
|
||||
import bentobox.addon.level.commands.AdminTop;
|
||||
import bentobox.addon.level.commands.IslandLevel;
|
||||
import bentobox.addon.level.commands.IslandTop;
|
||||
import bentobox.addon.level.config.Settings;
|
||||
import bentobox.addon.level.database.object.LevelsData;
|
||||
import bentobox.addon.level.listeners.NewIslandListener;
|
||||
import world.bentobox.bentobox.api.addons.Addon;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
@ -93,7 +93,7 @@ public class Level extends Addon {
|
||||
public void onEnable() {
|
||||
// Check if it is enabled - it might be loaded, but not enabled.
|
||||
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);
|
||||
return;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package bskyblock.addon.level;
|
||||
package bentobox.addon.level;
|
||||
|
||||
import java.util.Calendar;
|
||||
import java.util.HashMap;
|
||||
@ -6,7 +6,7 @@ import java.util.UUID;
|
||||
|
||||
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.api.user.User;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package bskyblock.addon.level;
|
||||
package bentobox.addon.level;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
@ -14,8 +14,8 @@ import org.bukkit.World;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.Listener;
|
||||
|
||||
import bskyblock.addon.level.database.object.LevelsData;
|
||||
import bskyblock.addon.level.database.object.TopTenData;
|
||||
import bentobox.addon.level.database.object.LevelsData;
|
||||
import bentobox.addon.level.database.object.TopTenData;
|
||||
import world.bentobox.bentobox.api.panels.PanelItem;
|
||||
import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder;
|
@ -1,4 +1,4 @@
|
||||
package bskyblock.addon.level.calculators;
|
||||
package bentobox.addon.level.calculators;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
@ -17,9 +17,11 @@ import org.bukkit.scheduler.BukkitTask;
|
||||
import com.google.common.collect.HashMultiset;
|
||||
import com.google.common.collect.Multiset;
|
||||
import com.google.common.collect.Multiset.Entry;
|
||||
|
||||
import bentobox.addon.level.Level;
|
||||
|
||||
import com.google.common.collect.Multisets;
|
||||
|
||||
import bskyblock.addon.level.Level;
|
||||
import world.bentobox.bentobox.database.objects.Island;
|
||||
import world.bentobox.bentobox.util.Pair;
|
||||
import world.bentobox.bentobox.util.Util;
|
@ -1,13 +1,13 @@
|
||||
package bskyblock.addon.level.calculators;
|
||||
package bentobox.addon.level.calculators;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.bukkit.World;
|
||||
|
||||
import bskyblock.addon.level.Level;
|
||||
import bskyblock.addon.level.calculators.CalcIslandLevel.Results;
|
||||
import bskyblock.addon.level.event.IslandLevelCalculatedEvent;
|
||||
import bskyblock.addon.level.event.IslandPreLevelEvent;
|
||||
import bentobox.addon.level.Level;
|
||||
import bentobox.addon.level.calculators.CalcIslandLevel.Results;
|
||||
import bentobox.addon.level.event.IslandLevelCalculatedEvent;
|
||||
import bentobox.addon.level.event.IslandPreLevelEvent;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
import world.bentobox.bentobox.database.objects.Island;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package bskyblock.addon.level.commands;
|
||||
package bentobox.addon.level.commands;
|
||||
|
||||
import java.util.List;
|
||||
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.user.User;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package bskyblock.addon.level.commands;
|
||||
package bentobox.addon.level.commands;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map.Entry;
|
||||
@ -6,7 +6,7 @@ import java.util.UUID;
|
||||
|
||||
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.user.User;
|
||||
import world.bentobox.bentobox.database.objects.Island;
|
@ -1,9 +1,9 @@
|
||||
package bskyblock.addon.level.commands;
|
||||
package bentobox.addon.level.commands;
|
||||
|
||||
import java.util.List;
|
||||
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.user.User;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package bskyblock.addon.level.commands;
|
||||
package bentobox.addon.level.commands;
|
||||
|
||||
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.user.User;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package bskyblock.addon.level.config;
|
||||
package bentobox.addon.level.config;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
@ -8,7 +8,7 @@ import org.bukkit.Material;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.configuration.ConfigurationSection;
|
||||
|
||||
import bskyblock.addon.level.Level;
|
||||
import bentobox.addon.level.Level;
|
||||
|
||||
public class Settings {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package bskyblock.addon.level.database.object;
|
||||
package bentobox.addon.level.database.object;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
@ -1,4 +1,4 @@
|
||||
package bskyblock.addon.level.database.object;
|
||||
package bentobox.addon.level.database.object;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.LinkedHashMap;
|
@ -1,8 +1,8 @@
|
||||
package bskyblock.addon.level.event;
|
||||
package bentobox.addon.level.event;
|
||||
|
||||
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.database.objects.Island;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package bskyblock.addon.level.event;
|
||||
package bentobox.addon.level.event;
|
||||
|
||||
import java.util.UUID;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package bskyblock.addon.level.event;
|
||||
package bentobox.addon.level.event;
|
||||
|
||||
import org.bukkit.event.Cancellable;
|
||||
import org.bukkit.event.Event;
|
@ -1,4 +1,4 @@
|
||||
package bskyblock.addon.level.listeners;
|
||||
package bentobox.addon.level.listeners;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
@ -7,8 +7,8 @@ import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.EventPriority;
|
||||
import org.bukkit.event.Listener;
|
||||
|
||||
import bskyblock.addon.level.Level;
|
||||
import bskyblock.addon.level.calculators.CalcIslandLevel;
|
||||
import bentobox.addon.level.Level;
|
||||
import bentobox.addon.level.calculators.CalcIslandLevel;
|
||||
import world.bentobox.bentobox.api.events.island.IslandEvent.IslandCreatedEvent;
|
||||
import world.bentobox.bentobox.api.events.island.IslandEvent.IslandResettedEvent;
|
||||
import world.bentobox.bentobox.database.objects.Island;
|
Loading…
Reference in New Issue
Block a user