Skip to content

Commit

Permalink
Move classes from package com.songoda to com.craftaro
Browse files Browse the repository at this point in the history
  • Loading branch information
SpraxDev committed Jun 29, 2023
1 parent 2190393 commit 332a058
Show file tree
Hide file tree
Showing 65 changed files with 278 additions and 280 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.songoda.epichoppers;
package com.craftaro.epichoppers;

import com.songoda.epichoppers.boost.BoostManager;
import com.songoda.epichoppers.containers.ContainerManager;
import com.songoda.epichoppers.database.DataManager;
import com.songoda.epichoppers.hopper.levels.LevelManager;
import com.songoda.epichoppers.hopper.teleport.TeleportHandler;
import com.songoda.epichoppers.player.PlayerDataManager;
import com.craftaro.epichoppers.boost.BoostManager;
import com.craftaro.epichoppers.containers.ContainerManager;
import com.craftaro.epichoppers.database.DataManager;
import com.craftaro.epichoppers.hopper.teleport.TeleportHandler;
import com.craftaro.epichoppers.player.PlayerDataManager;
import com.craftaro.epichoppers.hopper.levels.LevelManager;
import org.jetbrains.annotations.ApiStatus;

public class EpicHoppersApi {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.songoda.epichoppers.api.events;
package com.craftaro.epichoppers.api.events;

import com.songoda.epichoppers.hopper.Hopper;
import com.craftaro.epichoppers.hopper.Hopper;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.songoda.epichoppers.api.events;
package com.craftaro.epichoppers.api.events;

import com.songoda.epichoppers.hopper.Hopper;
import com.craftaro.epichoppers.hopper.Hopper;
import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.songoda.epichoppers.api.events;
package com.craftaro.epichoppers.api.events;

import com.songoda.epichoppers.hopper.Hopper;
import com.craftaro.epichoppers.hopper.Hopper;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.player.PlayerEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.songoda.epichoppers.api.events;
package com.craftaro.epichoppers.api.events;

import com.songoda.epichoppers.hopper.Hopper;
import com.craftaro.epichoppers.hopper.Hopper;
import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.boost;
package com.craftaro.epichoppers.boost;

import java.util.Objects;
import java.util.UUID;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.boost;
package com.craftaro.epichoppers.boost;

import java.util.List;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.containers;
package com.craftaro.epichoppers.containers;

import org.bukkit.block.Block;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.containers;
package com.craftaro.epichoppers.containers;

import org.bukkit.inventory.ItemStack;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.containers;
package com.craftaro.epichoppers.containers;

import org.bukkit.block.Block;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.songoda.epichoppers.database;
package com.craftaro.epichoppers.database;

import com.songoda.epichoppers.boost.BoostData;
import com.songoda.epichoppers.hopper.Hopper;
import com.songoda.epichoppers.hopper.ItemType;
import com.songoda.epichoppers.hopper.LinkType;
import com.craftaro.epichoppers.boost.BoostData;
import com.craftaro.epichoppers.hopper.Hopper;
import com.craftaro.epichoppers.hopper.ItemType;
import com.craftaro.epichoppers.hopper.LinkType;
import org.bukkit.Location;
import org.bukkit.inventory.ItemStack;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.hopper;
package com.craftaro.epichoppers.hopper;

import org.bukkit.Location;
import org.bukkit.inventory.ItemStack;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
package com.songoda.epichoppers.hopper;
package com.craftaro.epichoppers.hopper;

import com.craftaro.core.SongodaPlugin;
import com.craftaro.core.compatibility.CompatibleParticleHandler;
import com.craftaro.core.compatibility.ServerVersion;
import com.craftaro.core.hooks.EconomyManager;
import com.craftaro.core.third_party.com.cryptomorin.xseries.XSound;
import com.songoda.epichoppers.EpicHoppersApi;
import com.songoda.epichoppers.api.events.HopperAccessEvent;
import com.songoda.epichoppers.database.DataManager;
import com.songoda.epichoppers.hopper.levels.Level;
import com.songoda.epichoppers.hopper.levels.LevelManager;
import com.songoda.epichoppers.hopper.teleport.TeleportTrigger;
import com.songoda.epichoppers.player.PlayerData;
import com.songoda.epichoppers.player.PlayerDataManager;
import com.songoda.epichoppers.utils.CostType;
import com.songoda.epichoppers.utils.Methods;
import com.craftaro.epichoppers.EpicHoppersApi;
import com.craftaro.epichoppers.api.events.HopperAccessEvent;
import com.craftaro.epichoppers.database.DataManager;
import com.craftaro.epichoppers.hopper.levels.Level;
import com.craftaro.epichoppers.hopper.levels.LevelManager;
import com.craftaro.epichoppers.player.PlayerData;
import com.craftaro.epichoppers.player.PlayerDataManager;
import com.craftaro.epichoppers.utils.CostType;
import com.craftaro.epichoppers.utils.Methods;
import com.craftaro.epichoppers.hopper.teleport.TeleportTrigger;
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.Location;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.hopper;
package com.craftaro.epichoppers.hopper;

public enum ItemType {
WHITELIST, BLACKLIST, VOID, AUTO_SELL_WHITELIST, AUTO_SELL_BLACKLIST
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.hopper;
package com.craftaro.epichoppers.hopper;

public enum LinkType {
REGULAR, REJECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.songoda.epichoppers.hopper.levels;
package com.craftaro.epichoppers.hopper.levels;

import com.craftaro.core.SongodaPlugin;
import com.songoda.epichoppers.hopper.levels.modules.Module;
import com.craftaro.epichoppers.hopper.levels.modules.Module;
import org.bukkit.Bukkit;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.songoda.epichoppers.hopper.levels;
package com.craftaro.epichoppers.hopper.levels;

import com.songoda.epichoppers.hopper.levels.modules.Module;
import com.craftaro.epichoppers.hopper.levels.modules.Module;
import org.bukkit.inventory.ItemStack;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.songoda.epichoppers.hopper.levels.modules;
package com.craftaro.epichoppers.hopper.levels.modules;

import com.craftaro.core.SongodaPlugin;
import com.craftaro.core.configuration.Config;
import com.craftaro.core.gui.GuiManager;
import com.songoda.epichoppers.hopper.Hopper;
import com.songoda.epichoppers.utils.StorageContainerCache;
import com.craftaro.epichoppers.utils.StorageContainerCache;
import com.craftaro.epichoppers.hopper.Hopper;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.Player;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.songoda.epichoppers.hopper.teleport;
package com.craftaro.epichoppers.hopper.teleport;

import com.songoda.epichoppers.hopper.Hopper;
import com.craftaro.epichoppers.hopper.Hopper;
import org.bukkit.entity.Entity;

public interface TeleportHandler {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.hopper.teleport;
package com.craftaro.epichoppers.hopper.teleport;

public enum TeleportTrigger {
DISABLED, WALK_ON, SNEAK
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.songoda.epichoppers.player;
package com.craftaro.epichoppers.player;

import com.songoda.epichoppers.hopper.Hopper;
import com.craftaro.epichoppers.hopper.Hopper;

public class PlayerData {
private Hopper lastHopper = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.player;
package com.craftaro.epichoppers.player;

import org.bukkit.entity.Player;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.player;
package com.craftaro.epichoppers.player;

public enum SyncType {
REGULAR, FILTERED
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.utils;
package com.craftaro.epichoppers.utils;

public enum CostType {
ECONOMY, EXPERIENCE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.utils;
package com.craftaro.epichoppers.utils;

import com.craftaro.core.SongodaPlugin;
import com.craftaro.core.compatibility.ServerVersion;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.utils;
package com.craftaro.epichoppers.utils;

import com.craftaro.core.compatibility.CompatibleMaterial;
import com.craftaro.core.compatibility.ServerVersion;
Expand Down
2 changes: 1 addition & 1 deletion EpicHoppers-Plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<relocations>
<relocation>
<pattern>com.craftaro.core</pattern>
<shadedPattern>com.songoda.epichoppers.core</shadedPattern>
<shadedPattern>com.craftaro.epichoppers.core</shadedPattern>
</relocation>
</relocations>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers;
package com.craftaro.epichoppers;

import com.craftaro.core.SongodaCore;
import com.craftaro.core.SongodaPlugin;
Expand All @@ -15,40 +15,40 @@
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
import com.craftaro.core.third_party.de.tr7zw.nbtapi.NBTItem;
import com.craftaro.core.utils.TextUtils;
import com.songoda.epichoppers.boost.BoostManager;
import com.songoda.epichoppers.boost.BoostManagerImpl;
import com.songoda.epichoppers.commands.CommandBoost;
import com.songoda.epichoppers.commands.CommandGive;
import com.songoda.epichoppers.commands.CommandReload;
import com.songoda.epichoppers.commands.CommandSettings;
import com.songoda.epichoppers.containers.ContainerManager;
import com.songoda.epichoppers.containers.ContainerManagerImpl;
import com.songoda.epichoppers.database.DataManager;
import com.songoda.epichoppers.database.DataManagerImpl;
import com.songoda.epichoppers.database.migrations._1_InitialMigration;
import com.songoda.epichoppers.hopper.HopperManager;
import com.songoda.epichoppers.hopper.levels.Level;
import com.songoda.epichoppers.hopper.levels.LevelManager;
import com.songoda.epichoppers.hopper.levels.LevelManagerImpl;
import com.songoda.epichoppers.hopper.levels.modules.Module;
import com.songoda.epichoppers.hopper.levels.modules.ModuleAutoCrafting;
import com.songoda.epichoppers.hopper.levels.modules.ModuleAutoSell;
import com.songoda.epichoppers.hopper.levels.modules.ModuleAutoSmelter;
import com.songoda.epichoppers.hopper.levels.modules.ModuleBlockBreak;
import com.songoda.epichoppers.hopper.levels.modules.ModuleMobHopper;
import com.songoda.epichoppers.hopper.levels.modules.ModuleSuction;
import com.songoda.epichoppers.hopper.teleport.TeleportHandler;
import com.songoda.epichoppers.hopper.teleport.TeleportHandlerImpl;
import com.songoda.epichoppers.listeners.BlockListeners;
import com.songoda.epichoppers.listeners.EntityListeners;
import com.songoda.epichoppers.listeners.HopperListeners;
import com.songoda.epichoppers.listeners.InteractListeners;
import com.songoda.epichoppers.listeners.InventoryListeners;
import com.songoda.epichoppers.player.PlayerDataManager;
import com.songoda.epichoppers.player.PlayerDataManagerImpl;
import com.songoda.epichoppers.settings.Settings;
import com.songoda.epichoppers.tasks.HopTask;
import com.songoda.epichoppers.utils.Methods;
import com.craftaro.epichoppers.boost.BoostManager;
import com.craftaro.epichoppers.boost.BoostManagerImpl;
import com.craftaro.epichoppers.commands.CommandBoost;
import com.craftaro.epichoppers.commands.CommandGive;
import com.craftaro.epichoppers.commands.CommandReload;
import com.craftaro.epichoppers.commands.CommandSettings;
import com.craftaro.epichoppers.containers.ContainerManager;
import com.craftaro.epichoppers.containers.ContainerManagerImpl;
import com.craftaro.epichoppers.database.DataManager;
import com.craftaro.epichoppers.database.DataManagerImpl;
import com.craftaro.epichoppers.database.migrations._1_InitialMigration;
import com.craftaro.epichoppers.hopper.HopperManager;
import com.craftaro.epichoppers.hopper.levels.Level;
import com.craftaro.epichoppers.hopper.levels.LevelManager;
import com.craftaro.epichoppers.hopper.levels.LevelManagerImpl;
import com.craftaro.epichoppers.hopper.levels.modules.Module;
import com.craftaro.epichoppers.hopper.levels.modules.ModuleAutoCrafting;
import com.craftaro.epichoppers.hopper.levels.modules.ModuleAutoSell;
import com.craftaro.epichoppers.hopper.levels.modules.ModuleAutoSmelter;
import com.craftaro.epichoppers.hopper.levels.modules.ModuleBlockBreak;
import com.craftaro.epichoppers.hopper.levels.modules.ModuleMobHopper;
import com.craftaro.epichoppers.hopper.levels.modules.ModuleSuction;
import com.craftaro.epichoppers.hopper.teleport.TeleportHandler;
import com.craftaro.epichoppers.listeners.BlockListeners;
import com.craftaro.epichoppers.listeners.EntityListeners;
import com.craftaro.epichoppers.listeners.HopperListeners;
import com.craftaro.epichoppers.listeners.InteractListeners;
import com.craftaro.epichoppers.listeners.InventoryListeners;
import com.craftaro.epichoppers.player.PlayerDataManager;
import com.craftaro.epichoppers.player.PlayerDataManagerImpl;
import com.craftaro.epichoppers.settings.Settings;
import com.craftaro.epichoppers.tasks.HopTask;
import com.craftaro.epichoppers.utils.Methods;
import com.craftaro.epichoppers.hopper.teleport.TeleportHandlerImpl;
import com.songoda.skyblock.SkyBlock;
import com.songoda.skyblock.permission.BasicPermission;
import org.bukkit.Bukkit;
Expand Down Expand Up @@ -90,7 +90,6 @@ public void onPluginDisable() {

@Override
public void onPluginEnable() {
// Run Songoda Updater
SongodaCore.registerPlugin(this, 15, XMaterial.HOPPER);

// Load Economy
Expand Down Expand Up @@ -172,7 +171,7 @@ public void onPluginEnable() {
if (pluginManager.isPluginEnabled("FabledSkyBlock")) {
try {
SkyBlock.getInstance().getPermissionManager().registerPermission(
(BasicPermission) Class.forName("com.songoda.epichoppers.compatibility.EpicHoppersPermission").getDeclaredConstructor().newInstance());
(BasicPermission) Class.forName("com.craftaro.epichoppers.compatibility.EpicHoppersPermission").getDeclaredConstructor().newInstance());
} catch (ReflectiveOperationException ex) {
ex.printStackTrace();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.songoda.epichoppers.boost;
package com.craftaro.epichoppers.boost;

import java.util.Collections;
import java.util.HashSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.songoda.epichoppers.commands;
package com.craftaro.epichoppers.commands;

import com.craftaro.core.commands.AbstractCommand;
import com.craftaro.core.utils.NumberUtils;
import com.craftaro.core.utils.TimeUtils;
import com.songoda.epichoppers.EpicHoppers;
import com.songoda.epichoppers.boost.BoostData;
import com.craftaro.epichoppers.boost.BoostData;
import com.craftaro.epichoppers.EpicHoppers;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.songoda.epichoppers.commands;
package com.craftaro.epichoppers.commands;

import com.craftaro.core.commands.AbstractCommand;
import com.songoda.epichoppers.EpicHoppers;
import com.songoda.epichoppers.hopper.levels.Level;
import com.craftaro.epichoppers.EpicHoppers;
import com.craftaro.epichoppers.hopper.levels.Level;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.songoda.epichoppers.commands;
package com.craftaro.epichoppers.commands;

import com.craftaro.core.commands.AbstractCommand;
import com.songoda.epichoppers.EpicHoppers;
import com.craftaro.epichoppers.EpicHoppers;
import org.bukkit.command.CommandSender;

import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.songoda.epichoppers.commands;
package com.craftaro.epichoppers.commands;

import com.craftaro.core.commands.AbstractCommand;
import com.craftaro.core.configuration.editor.PluginConfigGui;
import com.songoda.epichoppers.EpicHoppers;
import com.craftaro.epichoppers.EpicHoppers;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;

Expand Down
Loading

0 comments on commit 332a058

Please sign in to comment.