The Flattening & renamed the addon "Level" instead of "BentoBox-Level"

This commit is contained in:
Florian CUNY 2018-10-31 14:09:56 +01:00
parent c269482447
commit 70d29e62ae
20 changed files with 48 additions and 48 deletions

View File

@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>bskyblock.addon</groupId>
<groupId>world.bentobox</groupId>
<artifactId>Level</artifactId>
<version>0.1.0-SNAPSHOT</version>

View File

@ -1,4 +1,4 @@
package bentobox.addon.level;
package world.bentobox.level;
import java.util.HashMap;
import java.util.Map;
@ -6,14 +6,14 @@ import java.util.UUID;
import org.bukkit.World;
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.JoinLeaveListener;
import bentobox.addon.level.listeners.NewIslandListener;
import world.bentobox.level.commands.AdminLevel;
import world.bentobox.level.commands.AdminTop;
import world.bentobox.level.commands.IslandLevel;
import world.bentobox.level.commands.IslandTop;
import world.bentobox.level.config.Settings;
import world.bentobox.level.objects.LevelsData;
import world.bentobox.level.listeners.JoinLeaveListener;
import world.bentobox.level.listeners.NewIslandListener;
import world.bentobox.bentobox.api.addons.Addon;
import world.bentobox.bentobox.api.commands.CompositeCommand;
import world.bentobox.bentobox.api.user.User;

View File

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

View File

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

View File

@ -1,4 +1,4 @@
package bentobox.addon.level.calculators;
package world.bentobox.level.calculators;
import java.util.ArrayList;
import java.util.Collection;
@ -19,7 +19,7 @@ import com.google.common.collect.Multiset;
import com.google.common.collect.Multiset.Entry;
import com.google.common.collect.Multisets;
import bentobox.addon.level.Level;
import world.bentobox.level.Level;
import world.bentobox.bentobox.database.objects.Island;
import world.bentobox.bentobox.util.Pair;
import world.bentobox.bentobox.util.Util;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
package bentobox.addon.level.config;
package world.bentobox.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 bentobox.addon.level.Level;
import world.bentobox.level.Level;
public class Settings {

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
package bentobox.addon.level.listeners;
package world.bentobox.level.listeners;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
@ -6,7 +6,7 @@ import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerQuitEvent;
import bentobox.addon.level.Level;
import world.bentobox.level.Level;
/**
* Listens for when players join and leave

View File

@ -1,4 +1,4 @@
package bentobox.addon.level.listeners;
package world.bentobox.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 bentobox.addon.level.Level;
import bentobox.addon.level.calculators.CalcIslandLevel;
import world.bentobox.level.Level;
import world.bentobox.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;

View File

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

View File

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

View File

@ -1,5 +1,5 @@
name: BentoBox-Level
main: bentobox.addon.level.Level
name: Level
main: world.bentobox.level.Level
version: ${version}
softdepend: AcidIsland, BSkyBlock

View File

@ -1,4 +1,4 @@
package bentobox.addon.level;
package world.bentobox.level;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
@ -15,7 +15,7 @@ import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import bentobox.addon.level.calculators.PlayerLevel;
import world.bentobox.level.calculators.PlayerLevel;
import world.bentobox.bentobox.BentoBox;
import world.bentobox.bentobox.api.user.User;
import world.bentobox.bentobox.managers.IslandWorldManager;
@ -55,7 +55,7 @@ public class LevelPresenterTest {
}
/**
* Test method for {@link bentobox.addon.level.LevelPresenter#LevelPresenter(bentobox.addon.level.Level, world.bentobox.bentobox.BentoBox)}.
* Test method for {@link LevelPresenter#LevelPresenter(Level, world.bentobox.bentobox.BentoBox)}.
*/
@Test
public void testLevelPresenter() {
@ -63,7 +63,7 @@ public class LevelPresenterTest {
}
/**
* Test method for {@link bentobox.addon.level.LevelPresenter#calculateIslandLevel(org.bukkit.World, world.bentobox.bentobox.api.user.User, java.util.UUID)}.
* Test method for {@link LevelPresenter#calculateIslandLevel(org.bukkit.World, world.bentobox.bentobox.api.user.User, java.util.UUID)}.
*/
@Test
public void testCalculateIslandLevel() {