Moved all classes fromcom.songoda package to com.craftaro package

This commit is contained in:
Christian Koop 2023-06-24 11:20:17 +02:00
parent 8e5cb2405d
commit 3967209265
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3
31 changed files with 99 additions and 99 deletions

View File

@ -1,6 +1,6 @@
package com.songoda.epicanchors; package com.craftaro.epicanchors;
import com.songoda.epicanchors.api.AnchorManager; import com.craftaro.epicanchors.api.AnchorManager;
public final class EpicAnchorsApi { public final class EpicAnchorsApi {
private static EpicAnchorsApi instance; private static EpicAnchorsApi instance;

View File

@ -1,4 +1,4 @@
package com.songoda.epicanchors.api; package com.craftaro.epicanchors.api;
import org.bukkit.Chunk; import org.bukkit.Chunk;
import org.bukkit.Location; import org.bukkit.Location;

View File

@ -1,4 +1,4 @@
package com.songoda.epicanchors.api; package com.craftaro.epicanchors.api;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;

View File

@ -1,7 +1,7 @@
package com.songoda.epicanchors.api; package com.craftaro.epicanchors.api;
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial; import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
import com.songoda.epicanchors.utils.Callback; import com.craftaro.epicanchors.utils.Callback;
import org.bukkit.Chunk; import org.bukkit.Chunk;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.Material; import org.bukkit.Material;

View File

@ -1,4 +1,4 @@
package com.songoda.epicanchors.utils; package com.craftaro.epicanchors.utils;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;

View File

@ -36,7 +36,7 @@
<relocations> <relocations>
<relocation> <relocation>
<pattern>com.craftaro.core</pattern> <pattern>com.craftaro.core</pattern>
<shadedPattern>com.songoda.epicanchors.core</shadedPattern> <shadedPattern>com.craftaro.epicanchors.core</shadedPattern>
</relocation> </relocation>
</relocations> </relocations>

View File

@ -1,7 +1,7 @@
package com.songoda.epicanchors; package com.craftaro.epicanchors;
import com.songoda.epicanchors.api.Anchor; import com.craftaro.epicanchors.api.Anchor;
import com.songoda.epicanchors.utils.WorldUtils; import com.craftaro.epicanchors.utils.WorldUtils;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Chunk; import org.bukkit.Chunk;
import org.bukkit.Location; import org.bukkit.Location;

View File

@ -1,4 +1,4 @@
package com.songoda.epicanchors; package com.craftaro.epicanchors;
import com.craftaro.core.SongodaPlugin; import com.craftaro.core.SongodaPlugin;
import com.craftaro.core.compatibility.CompatibleMaterial; import com.craftaro.core.compatibility.CompatibleMaterial;
@ -9,14 +9,14 @@ import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
import com.craftaro.core.third_party.de.tr7zw.nbtapi.NBTItem; import com.craftaro.core.third_party.de.tr7zw.nbtapi.NBTItem;
import com.craftaro.core.utils.TextUtils; import com.craftaro.core.utils.TextUtils;
import com.craftaro.core.utils.TimeUtils; import com.craftaro.core.utils.TimeUtils;
import com.songoda.epicanchors.api.Anchor; import com.craftaro.epicanchors.api.Anchor;
import com.songoda.epicanchors.api.AnchorAccessCheck; import com.craftaro.epicanchors.api.AnchorAccessCheck;
import com.songoda.epicanchors.api.AnchorManager; import com.craftaro.epicanchors.api.AnchorManager;
import com.songoda.epicanchors.files.DataManager; import com.craftaro.epicanchors.files.DataManager;
import com.songoda.epicanchors.files.Settings; import com.craftaro.epicanchors.files.Settings;
import com.songoda.epicanchors.utils.Callback; import com.craftaro.epicanchors.utils.Callback;
import com.songoda.epicanchors.utils.UpdateCallback; import com.craftaro.epicanchors.utils.UpdateCallback;
import com.songoda.epicanchors.utils.Utils; import com.craftaro.epicanchors.utils.Utils;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Chunk; import org.bukkit.Chunk;
import org.bukkit.Location; import org.bukkit.Location;

View File

@ -1,4 +1,4 @@
package com.songoda.epicanchors; package com.craftaro.epicanchors;
import com.craftaro.core.SongodaCore; import com.craftaro.core.SongodaCore;
import com.craftaro.core.SongodaPlugin; import com.craftaro.core.SongodaPlugin;
@ -10,22 +10,22 @@ import com.craftaro.core.gui.GuiManager;
import com.craftaro.core.hooks.EconomyManager; import com.craftaro.core.hooks.EconomyManager;
import com.craftaro.core.hooks.HologramManager; import com.craftaro.core.hooks.HologramManager;
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial; import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
import com.songoda.epicanchors.api.AnchorManager; import com.craftaro.epicanchors.api.AnchorManager;
import com.songoda.epicanchors.commands.EpicAnchorsCommand; import com.craftaro.epicanchors.commands.EpicAnchorsCommand;
import com.songoda.epicanchors.commands.sub.GiveCommand; import com.craftaro.epicanchors.commands.sub.GiveCommand;
import com.songoda.epicanchors.commands.sub.ReloadCommand; import com.craftaro.epicanchors.commands.sub.ReloadCommand;
import com.songoda.epicanchors.commands.sub.SettingsCommand; import com.craftaro.epicanchors.commands.sub.SettingsCommand;
import com.songoda.epicanchors.commands.sub.ShowCommand; import com.craftaro.epicanchors.commands.sub.ShowCommand;
import com.songoda.epicanchors.files.DataManager; import com.craftaro.epicanchors.files.DataManager;
import com.songoda.epicanchors.files.Settings; import com.craftaro.epicanchors.files.Settings;
import com.songoda.epicanchors.files.migration.AnchorMigration; import com.craftaro.epicanchors.files.migration.AnchorMigration;
import com.songoda.epicanchors.files.migration._1_InitialMigration; import com.craftaro.epicanchors.files.migration._1_InitialMigration;
import com.songoda.epicanchors.listener.AnchorListener; import com.craftaro.epicanchors.listener.AnchorListener;
import com.songoda.epicanchors.listener.BlockListener; import com.craftaro.epicanchors.listener.BlockListener;
import com.songoda.epicanchors.listener.WorldListener; import com.craftaro.epicanchors.listener.WorldListener;
import com.songoda.epicanchors.tasks.AnchorTask; import com.craftaro.epicanchors.tasks.AnchorTask;
import com.songoda.epicanchors.tasks.VisualizeTask; import com.craftaro.epicanchors.tasks.VisualizeTask;
import com.songoda.epicanchors.utils.ThreadSync; import com.craftaro.epicanchors.utils.ThreadSync;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.PluginManager;

View File

@ -1,8 +1,8 @@
package com.songoda.epicanchors.commands; package com.craftaro.epicanchors.commands;
import com.craftaro.core.commands.AbstractCommand; import com.craftaro.core.commands.AbstractCommand;
import com.craftaro.core.commands.CommandManager; import com.craftaro.core.commands.CommandManager;
import com.songoda.epicanchors.EpicAnchors; import com.craftaro.epicanchors.EpicAnchors;
import org.bukkit.ChatColor; import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;

View File

@ -1,8 +1,8 @@
package com.songoda.epicanchors.commands.sub; package com.craftaro.epicanchors.commands.sub;
import com.craftaro.core.commands.AbstractCommand; import com.craftaro.core.commands.AbstractCommand;
import com.songoda.epicanchors.EpicAnchors; import com.craftaro.epicanchors.EpicAnchors;
import com.songoda.epicanchors.utils.Utils; import com.craftaro.epicanchors.utils.Utils;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View File

@ -1,7 +1,7 @@
package com.songoda.epicanchors.commands.sub; package com.craftaro.epicanchors.commands.sub;
import com.craftaro.core.commands.AbstractCommand; import com.craftaro.core.commands.AbstractCommand;
import com.songoda.epicanchors.EpicAnchors; import com.craftaro.epicanchors.EpicAnchors;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import java.util.Collections; import java.util.Collections;

View File

@ -1,9 +1,9 @@
package com.songoda.epicanchors.commands.sub; package com.craftaro.epicanchors.commands.sub;
import com.craftaro.core.commands.AbstractCommand; import com.craftaro.core.commands.AbstractCommand;
import com.craftaro.core.configuration.editor.PluginConfigGui; import com.craftaro.core.configuration.editor.PluginConfigGui;
import com.craftaro.core.gui.GuiManager; import com.craftaro.core.gui.GuiManager;
import com.songoda.epicanchors.EpicAnchors; import com.craftaro.epicanchors.EpicAnchors;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View File

@ -1,7 +1,7 @@
package com.songoda.epicanchors.commands.sub; package com.craftaro.epicanchors.commands.sub;
import com.craftaro.core.commands.AbstractCommand; import com.craftaro.core.commands.AbstractCommand;
import com.songoda.epicanchors.EpicAnchors; import com.craftaro.epicanchors.EpicAnchors;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View File

@ -1,13 +1,13 @@
package com.songoda.epicanchors.files; package com.craftaro.epicanchors.files;
import com.craftaro.core.database.DataManagerAbstract; import com.craftaro.core.database.DataManagerAbstract;
import com.craftaro.core.database.DatabaseConnector; import com.craftaro.core.database.DatabaseConnector;
import com.songoda.epicanchors.api.Anchor; import com.craftaro.epicanchors.AnchorImpl;
import com.songoda.epicanchors.AnchorImpl; import com.craftaro.epicanchors.api.Anchor;
import com.songoda.epicanchors.files.migration.AnchorMigration; import com.craftaro.epicanchors.files.migration.AnchorMigration;
import com.songoda.epicanchors.utils.Callback; import com.craftaro.epicanchors.utils.Callback;
import com.songoda.epicanchors.utils.UpdateCallback; import com.craftaro.epicanchors.utils.UpdateCallback;
import com.songoda.epicanchors.utils.Utils; import com.craftaro.epicanchors.utils.Utils;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.World; import org.bukkit.World;

View File

@ -1,4 +1,4 @@
package com.songoda.epicanchors.files; package com.craftaro.epicanchors.files;
import com.craftaro.core.compatibility.CompatibleMaterial; import com.craftaro.core.compatibility.CompatibleMaterial;
import com.craftaro.core.compatibility.CompatibleParticleHandler; import com.craftaro.core.compatibility.CompatibleParticleHandler;
@ -6,7 +6,7 @@ import com.craftaro.core.configuration.Config;
import com.craftaro.core.configuration.ConfigSetting; import com.craftaro.core.configuration.ConfigSetting;
import com.craftaro.core.hooks.EconomyManager; import com.craftaro.core.hooks.EconomyManager;
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial; import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
import com.songoda.epicanchors.EpicAnchors; import com.craftaro.epicanchors.EpicAnchors;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
public class Settings { public class Settings {

View File

@ -1,12 +1,12 @@
package com.songoda.epicanchors.files.migration; package com.craftaro.epicanchors.files.migration;
import com.craftaro.core.configuration.Config; import com.craftaro.core.configuration.Config;
import com.craftaro.core.configuration.ConfigSection; import com.craftaro.core.configuration.ConfigSection;
import com.craftaro.core.database.DataMigration; import com.craftaro.core.database.DataMigration;
import com.craftaro.core.database.DataMigrationManager; import com.craftaro.core.database.DataMigrationManager;
import com.craftaro.core.database.DatabaseConnector; import com.craftaro.core.database.DatabaseConnector;
import com.songoda.epicanchors.files.DataManager; import com.craftaro.epicanchors.files.DataManager;
import com.songoda.epicanchors.utils.ThreadSync; import com.craftaro.epicanchors.utils.ThreadSync;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;

View File

@ -1,7 +1,7 @@
package com.songoda.epicanchors.files.migration; package com.craftaro.epicanchors.files.migration;
import com.craftaro.core.database.DataMigration; import com.craftaro.core.database.DataMigration;
import com.songoda.epicanchors.files.DataManager; import com.craftaro.epicanchors.files.DataManager;
import java.sql.Connection; import java.sql.Connection;
import java.sql.SQLException; import java.sql.SQLException;

View File

@ -1,4 +1,4 @@
package com.songoda.epicanchors.guis; package com.craftaro.epicanchors.guis;
import com.craftaro.core.compatibility.CompatibleParticleHandler; import com.craftaro.core.compatibility.CompatibleParticleHandler;
import com.craftaro.core.compatibility.CompatibleSound; import com.craftaro.core.compatibility.CompatibleSound;
@ -8,9 +8,9 @@ import com.craftaro.core.hooks.EconomyManager;
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial; import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
import com.craftaro.core.utils.TextUtils; import com.craftaro.core.utils.TextUtils;
import com.craftaro.core.utils.TimeUtils; import com.craftaro.core.utils.TimeUtils;
import com.songoda.epicanchors.EpicAnchors; import com.craftaro.epicanchors.EpicAnchors;
import com.songoda.epicanchors.api.Anchor; import com.craftaro.epicanchors.api.Anchor;
import com.songoda.epicanchors.files.Settings; import com.craftaro.epicanchors.files.Settings;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.ChatColor; import org.bukkit.ChatColor;
import org.bukkit.GameMode; import org.bukkit.GameMode;

View File

@ -1,14 +1,14 @@
package com.songoda.epicanchors.guis; package com.craftaro.epicanchors.guis;
import com.craftaro.core.gui.Gui; import com.craftaro.core.gui.Gui;
import com.craftaro.core.gui.GuiUtils; import com.craftaro.core.gui.GuiUtils;
import com.craftaro.core.gui.methods.Closable; import com.craftaro.core.gui.methods.Closable;
import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial; import com.craftaro.core.third_party.com.cryptomorin.xseries.XMaterial;
import com.craftaro.core.utils.TextUtils; import com.craftaro.core.utils.TextUtils;
import com.songoda.epicanchors.EpicAnchors; import com.craftaro.epicanchors.EpicAnchors;
import com.songoda.epicanchors.api.Anchor; import com.craftaro.epicanchors.api.Anchor;
import com.songoda.epicanchors.files.Settings; import com.craftaro.epicanchors.files.Settings;
import com.songoda.epicanchors.utils.Callback; import com.craftaro.epicanchors.utils.Callback;
public class DestroyConfirmationGui extends Gui { public class DestroyConfirmationGui extends Gui {
private final EpicAnchors plugin; private final EpicAnchors plugin;

View File

@ -1,15 +1,15 @@
package com.songoda.epicanchors.listener; package com.craftaro.epicanchors.listener;
import com.craftaro.core.compatibility.CompatibleHand; import com.craftaro.core.compatibility.CompatibleHand;
import com.craftaro.core.compatibility.CompatibleParticleHandler; import com.craftaro.core.compatibility.CompatibleParticleHandler;
import com.craftaro.core.compatibility.CompatibleSound; import com.craftaro.core.compatibility.CompatibleSound;
import com.songoda.epicanchors.AnchorManagerImpl; import com.craftaro.epicanchors.AnchorManagerImpl;
import com.songoda.epicanchors.EpicAnchors; import com.craftaro.epicanchors.EpicAnchors;
import com.songoda.epicanchors.api.Anchor; import com.craftaro.epicanchors.api.Anchor;
import com.songoda.epicanchors.files.Settings; import com.craftaro.epicanchors.files.Settings;
import com.songoda.epicanchors.guis.AnchorGui; import com.craftaro.epicanchors.guis.AnchorGui;
import com.songoda.epicanchors.guis.DestroyConfirmationGui; import com.craftaro.epicanchors.guis.DestroyConfirmationGui;
import com.songoda.epicanchors.utils.Utils; import com.craftaro.epicanchors.utils.Utils;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.GameMode; import org.bukkit.GameMode;
import org.bukkit.Material; import org.bukkit.Material;

View File

@ -1,6 +1,6 @@
package com.songoda.epicanchors.listener; package com.craftaro.epicanchors.listener;
import com.songoda.epicanchors.api.AnchorManager; import com.craftaro.epicanchors.api.AnchorManager;
import org.bukkit.block.Block; import org.bukkit.block.Block;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;

View File

@ -1,6 +1,6 @@
package com.songoda.epicanchors.listener; package com.craftaro.epicanchors.listener;
import com.songoda.epicanchors.EpicAnchors; import com.craftaro.epicanchors.EpicAnchors;
import org.apache.commons.lang.WordUtils; import org.apache.commons.lang.WordUtils;
import org.bukkit.Chunk; import org.bukkit.Chunk;
import org.bukkit.Location; import org.bukkit.Location;

View File

@ -1,4 +1,4 @@
package com.songoda.epicanchors.listener; package com.craftaro.epicanchors.listener;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;

View File

@ -1,12 +1,12 @@
package com.songoda.epicanchors.tasks; package com.craftaro.epicanchors.tasks;
import com.craftaro.core.nms.Nms; import com.craftaro.core.nms.Nms;
import com.craftaro.core.nms.UnsupportedServerVersionException; import com.craftaro.core.nms.UnsupportedServerVersionException;
import com.songoda.epicanchors.EpicAnchors; import com.craftaro.epicanchors.EpicAnchors;
import com.songoda.epicanchors.api.Anchor; import com.craftaro.epicanchors.api.Anchor;
import com.songoda.epicanchors.api.AnchorManager; import com.craftaro.epicanchors.api.AnchorManager;
import com.songoda.epicanchors.utils.Utils; import com.craftaro.epicanchors.utils.Utils;
import com.songoda.epicanchors.utils.WorldUtils; import com.craftaro.epicanchors.utils.WorldUtils;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Chunk; import org.bukkit.Chunk;
import org.bukkit.World; import org.bukkit.World;

View File

@ -1,9 +1,9 @@
package com.songoda.epicanchors.tasks; package com.craftaro.epicanchors.tasks;
import com.craftaro.core.compatibility.CompatibleParticleHandler; import com.craftaro.core.compatibility.CompatibleParticleHandler;
import com.songoda.epicanchors.api.Anchor; import com.craftaro.epicanchors.EpicAnchors;
import com.songoda.epicanchors.EpicAnchors; import com.craftaro.epicanchors.api.Anchor;
import com.songoda.epicanchors.files.Settings; import com.craftaro.epicanchors.files.Settings;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Chunk; import org.bukkit.Chunk;
import org.bukkit.Location; import org.bukkit.Location;

View File

@ -1,4 +1,4 @@
package com.songoda.epicanchors.utils; package com.craftaro.epicanchors.utils;
import java.util.concurrent.atomic.AtomicReference; import java.util.concurrent.atomic.AtomicReference;

View File

@ -1,4 +1,4 @@
package com.songoda.epicanchors.utils; package com.craftaro.epicanchors.utils;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;

View File

@ -1,4 +1,4 @@
package com.songoda.epicanchors.utils; package com.craftaro.epicanchors.utils;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;

View File

@ -1,4 +1,4 @@
package com.songoda.epicanchors.utils; package com.craftaro.epicanchors.utils;
import org.bukkit.Chunk; import org.bukkit.Chunk;
import org.bukkit.World; import org.bukkit.World;

View File

@ -3,7 +3,7 @@ description: ${project.parent.description}
version: ${project.version} version: ${project.version}
api-version: 1.13 api-version: 1.13
main: com.songoda.epicanchors.EpicAnchors main: com.craftaro.epicanchors.EpicAnchors
softdepend: softdepend:
- Holograms - Holograms
- HolographicDisplays - HolographicDisplays