refactor: move package

This commit is contained in:
ineanto 2023-05-17 13:27:15 +02:00
parent 3ad3da9179
commit f3088fca8c
69 changed files with 225 additions and 230 deletions

7
.gitignore vendored
View file

@ -46,9 +46,4 @@ v1_19_R1/target
target target
# Maven Dependency Reduced Pom # Maven Dependency Reduced Pom
dependency-reduced-pom.xml dependency-reduced-pom.xml
# Kept for convenience
v1_19_R3
# MockBukkit logs
logs

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"> 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> <modelVersion>4.0.0</modelVersion>
<groupId>net.artelnatif</groupId> <groupId>xyz.atnrch</groupId>
<artifactId>nicko</artifactId> <artifactId>nicko</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<name>Nicko</name> <name>Nicko</name>

View file

@ -1,20 +1,20 @@
package net.artelnatif.nicko; package xyz.atnrch.nicko;
import com.comphenix.protocol.ProtocolLibrary; import com.comphenix.protocol.ProtocolLibrary;
import com.comphenix.protocol.ProtocolManager; import com.comphenix.protocol.ProtocolManager;
import net.artelnatif.nicko.command.NickoCommand; import xyz.atnrch.nicko.command.NickoCommand;
import net.artelnatif.nicko.config.Configuration; import xyz.atnrch.nicko.config.Configuration;
import net.artelnatif.nicko.config.ConfigurationManager; import xyz.atnrch.nicko.config.ConfigurationManager;
import net.artelnatif.nicko.event.PlayerJoinListener; import xyz.atnrch.nicko.event.PlayerJoinListener;
import net.artelnatif.nicko.event.PlayerQuitListener; import xyz.atnrch.nicko.event.PlayerQuitListener;
import net.artelnatif.nicko.gui.items.common.OptionUnavailable; import xyz.atnrch.nicko.gui.items.common.OptionUnavailable;
import net.artelnatif.nicko.gui.items.main.ExitGUI; import xyz.atnrch.nicko.gui.items.main.ExitGUI;
import net.artelnatif.nicko.i18n.Locale; import xyz.atnrch.nicko.i18n.Locale;
import net.artelnatif.nicko.i18n.LocaleFileManager; import xyz.atnrch.nicko.i18n.LocaleFileManager;
import net.artelnatif.nicko.mojang.MojangAPI; import xyz.atnrch.nicko.mojang.MojangAPI;
import net.artelnatif.nicko.placeholder.PlaceHolderHook; import xyz.atnrch.nicko.placeholder.PlaceHolderHook;
import net.artelnatif.nicko.storage.PlayerDataStore; import xyz.atnrch.nicko.storage.PlayerDataStore;
import net.artelnatif.nicko.storage.name.PlayerNameStore; import xyz.atnrch.nicko.storage.name.PlayerNameStore;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.command.PluginCommand; import org.bukkit.command.PluginCommand;

View file

@ -1,11 +1,11 @@
package net.artelnatif.nicko.anvil; package xyz.atnrch.nicko.anvil;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.disguise.AppearanceManager; import xyz.atnrch.nicko.disguise.AppearanceManager;
import net.artelnatif.nicko.disguise.ActionResult; import xyz.atnrch.nicko.disguise.ActionResult;
import net.artelnatif.nicko.i18n.I18N; import xyz.atnrch.nicko.i18n.I18N;
import net.artelnatif.nicko.i18n.I18NDict; import xyz.atnrch.nicko.i18n.I18NDict;
import net.artelnatif.nicko.mojang.MojangUtils; import xyz.atnrch.nicko.mojang.MojangUtils;
import net.wesjd.anvilgui.AnvilGUI; import net.wesjd.anvilgui.AnvilGUI;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View file

@ -1,9 +1,9 @@
package net.artelnatif.nicko.command; package xyz.atnrch.nicko.command;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.command.sub.NickoCheckSubCmd; import xyz.atnrch.nicko.command.sub.NickoCheckSubCmd;
import net.artelnatif.nicko.command.sub.NickoDebugSubCmd; import xyz.atnrch.nicko.command.sub.NickoDebugSubCmd;
import net.artelnatif.nicko.gui.MainGUI; import xyz.atnrch.nicko.gui.MainGUI;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;

View file

@ -1,10 +1,10 @@
package net.artelnatif.nicko.command.sub; package xyz.atnrch.nicko.command.sub;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.disguise.AppearanceManager; import xyz.atnrch.nicko.disguise.AppearanceManager;
import net.artelnatif.nicko.i18n.I18N; import xyz.atnrch.nicko.i18n.I18N;
import net.artelnatif.nicko.i18n.I18NDict; import xyz.atnrch.nicko.i18n.I18NDict;
import net.artelnatif.nicko.mojang.MojangUtils; import xyz.atnrch.nicko.mojang.MojangUtils;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View file

@ -1,8 +1,8 @@
package net.artelnatif.nicko.command.sub; package xyz.atnrch.nicko.command.sub;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.disguise.AppearanceManager; import xyz.atnrch.nicko.disguise.AppearanceManager;
import net.artelnatif.nicko.mojang.MojangUtils; import xyz.atnrch.nicko.mojang.MojangUtils;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Sound; import org.bukkit.Sound;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.config; package xyz.atnrch.nicko.config;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.config; package xyz.atnrch.nicko.config;
import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.config; package xyz.atnrch.nicko.config;
public class DataSourceConfiguration { public class DataSourceConfiguration {
public static final DataSourceConfiguration SQL_EMPTY = new DataSourceConfiguration("127.0.0.1", 3306, "root", ""); public static final DataSourceConfiguration SQL_EMPTY = new DataSourceConfiguration("127.0.0.1", 3306, "root", "");

View file

@ -1,6 +1,6 @@
package net.artelnatif.nicko.disguise; package xyz.atnrch.nicko.disguise;
import net.artelnatif.nicko.i18n.I18NDict; import xyz.atnrch.nicko.i18n.I18NDict;
public class ActionResult<R> { public class ActionResult<R> {
private final I18NDict errorMessage; private final I18NDict errorMessage;

View file

@ -1,17 +1,17 @@
package net.artelnatif.nicko.disguise; package xyz.atnrch.nicko.disguise;
import com.comphenix.protocol.wrappers.*; import com.comphenix.protocol.wrappers.*;
import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableList;
import com.google.common.collect.Multimap; import com.google.common.collect.Multimap;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.i18n.I18NDict; import xyz.atnrch.nicko.i18n.I18NDict;
import net.artelnatif.nicko.mojang.MojangAPI; import xyz.atnrch.nicko.mojang.MojangAPI;
import net.artelnatif.nicko.mojang.MojangSkin; import xyz.atnrch.nicko.mojang.MojangSkin;
import net.artelnatif.nicko.storage.PlayerDataStore; import xyz.atnrch.nicko.storage.PlayerDataStore;
import net.artelnatif.nicko.storage.name.PlayerNameStore; import xyz.atnrch.nicko.storage.name.PlayerNameStore;
import net.artelnatif.nicko.wrapper.WrapperPlayServerRespawn; import xyz.atnrch.nicko.wrapper.WrapperPlayServerRespawn;
import net.artelnatif.nicko.wrapper.WrapperPlayerServerPlayerInfo; import xyz.atnrch.nicko.wrapper.WrapperPlayerServerPlayerInfo;
import net.artelnatif.nicko.wrapper.WrapperPlayerServerPlayerInfoRemove; import xyz.atnrch.nicko.wrapper.WrapperPlayerServerPlayerInfoRemove;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View file

@ -1,6 +1,6 @@
package net.artelnatif.nicko.disguise; package xyz.atnrch.nicko.disguise;
import net.artelnatif.nicko.i18n.Locale; import xyz.atnrch.nicko.i18n.Locale;
public class NickoProfile implements Cloneable { public class NickoProfile implements Cloneable {
public static final NickoProfile EMPTY_PROFILE = new NickoProfile(null, null, Locale.ENGLISH, true); public static final NickoProfile EMPTY_PROFILE = new NickoProfile(null, null, Locale.ENGLISH, true);

View file

@ -1,13 +1,13 @@
package net.artelnatif.nicko.event; package xyz.atnrch.nicko.event;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.disguise.AppearanceManager; import xyz.atnrch.nicko.disguise.AppearanceManager;
import net.artelnatif.nicko.disguise.ActionResult; import xyz.atnrch.nicko.disguise.ActionResult;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import net.artelnatif.nicko.i18n.I18N; import xyz.atnrch.nicko.i18n.I18N;
import net.artelnatif.nicko.i18n.I18NDict; import xyz.atnrch.nicko.i18n.I18NDict;
import net.artelnatif.nicko.storage.PlayerDataStore; import xyz.atnrch.nicko.storage.PlayerDataStore;
import net.artelnatif.nicko.storage.name.PlayerNameStore; import xyz.atnrch.nicko.storage.name.PlayerNameStore;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;

View file

@ -1,7 +1,7 @@
package net.artelnatif.nicko.event; package xyz.atnrch.nicko.event;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.disguise.ActionResult; import xyz.atnrch.nicko.disguise.ActionResult;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;

View file

@ -1,7 +1,7 @@
package net.artelnatif.nicko.gui; package xyz.atnrch.nicko.gui;
import net.artelnatif.nicko.gui.items.admin.ManageCache; import xyz.atnrch.nicko.gui.items.admin.ManageCache;
import net.artelnatif.nicko.gui.items.common.GoBack; import xyz.atnrch.nicko.gui.items.common.GoBack;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import xyz.xenondevs.invui.gui.Gui; import xyz.xenondevs.invui.gui.Gui;
import xyz.xenondevs.invui.window.Window; import xyz.xenondevs.invui.window.Window;

View file

@ -1,11 +1,11 @@
package net.artelnatif.nicko.gui; package xyz.atnrch.nicko.gui;
import net.artelnatif.nicko.gui.items.main.AdminSubGUI; import xyz.atnrch.nicko.gui.items.main.AdminSubGUI;
import net.artelnatif.nicko.gui.items.main.ResetAppearance; import xyz.atnrch.nicko.gui.items.main.ResetAppearance;
import net.artelnatif.nicko.gui.items.main.SettingsSubGUI; import xyz.atnrch.nicko.gui.items.main.SettingsSubGUI;
import net.artelnatif.nicko.gui.items.skin.ChangeName; import xyz.atnrch.nicko.gui.items.skin.ChangeName;
import net.artelnatif.nicko.gui.items.skin.ChangeNameAndSkin; import xyz.atnrch.nicko.gui.items.skin.ChangeNameAndSkin;
import net.artelnatif.nicko.gui.items.skin.ChangeSkin; import xyz.atnrch.nicko.gui.items.skin.ChangeSkin;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import xyz.xenondevs.invui.gui.Gui; import xyz.xenondevs.invui.gui.Gui;
import xyz.xenondevs.invui.window.Window; import xyz.xenondevs.invui.window.Window;

View file

@ -1,8 +1,8 @@
package net.artelnatif.nicko.gui; package xyz.atnrch.nicko.gui;
import net.artelnatif.nicko.gui.items.common.GoBack; import xyz.atnrch.nicko.gui.items.common.GoBack;
import net.artelnatif.nicko.gui.items.settings.BungeeCordCycling; import xyz.atnrch.nicko.gui.items.settings.BungeeCordCycling;
import net.artelnatif.nicko.gui.items.settings.LanguageCycling; import xyz.atnrch.nicko.gui.items.settings.LanguageCycling;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import xyz.xenondevs.invui.gui.Gui; import xyz.xenondevs.invui.gui.Gui;
import xyz.xenondevs.invui.window.Window; import xyz.xenondevs.invui.window.Window;

View file

@ -1,10 +1,10 @@
package net.artelnatif.nicko.gui.admin; package xyz.atnrch.nicko.gui.admin;
import net.artelnatif.nicko.gui.AdminGUI; import xyz.atnrch.nicko.gui.AdminGUI;
import net.artelnatif.nicko.gui.items.admin.cache.CacheDetailed; import xyz.atnrch.nicko.gui.items.admin.cache.CacheDetailed;
import net.artelnatif.nicko.gui.items.admin.cache.CacheInvalidate; import xyz.atnrch.nicko.gui.items.admin.cache.CacheInvalidate;
import net.artelnatif.nicko.gui.items.admin.cache.CacheOverview; import xyz.atnrch.nicko.gui.items.admin.cache.CacheOverview;
import net.artelnatif.nicko.gui.items.common.GoBack; import xyz.atnrch.nicko.gui.items.common.GoBack;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import xyz.xenondevs.invui.gui.Gui; import xyz.xenondevs.invui.gui.Gui;
import xyz.xenondevs.invui.window.Window; import xyz.xenondevs.invui.window.Window;

View file

@ -1,16 +1,16 @@
package net.artelnatif.nicko.gui.admin.cache; package xyz.atnrch.nicko.gui.admin.cache;
import xyz.atnrch.nicko.gui.items.common.GoBack;
import xyz.atnrch.nicko.gui.items.common.ScrollUp;
import xyz.atnrch.nicko.mojang.MojangSkin;
import xyz.xenondevs.invui.gui.Gui; import xyz.xenondevs.invui.gui.Gui;
import xyz.xenondevs.invui.gui.ScrollGui; import xyz.xenondevs.invui.gui.ScrollGui;
import xyz.xenondevs.invui.gui.structure.Markers; import xyz.xenondevs.invui.gui.structure.Markers;
import xyz.xenondevs.invui.item.Item; import xyz.xenondevs.invui.item.Item;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.gui.items.admin.cache.SkinPlaceholder; import xyz.atnrch.nicko.gui.items.admin.cache.SkinPlaceholder;
import net.artelnatif.nicko.gui.admin.CacheManagementGUI; import xyz.atnrch.nicko.gui.admin.CacheManagementGUI;
import net.artelnatif.nicko.gui.items.common.GoBack; import xyz.atnrch.nicko.gui.items.common.ScrollDown;
import net.artelnatif.nicko.gui.items.common.ScrollDown;
import net.artelnatif.nicko.gui.items.common.ScrollUp;
import net.artelnatif.nicko.mojang.MojangSkin;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import xyz.xenondevs.invui.window.Window; import xyz.xenondevs.invui.window.Window;

View file

@ -1,9 +1,9 @@
package net.artelnatif.nicko.gui.items.admin; package xyz.atnrch.nicko.gui.items.admin;
import xyz.xenondevs.invui.item.builder.ItemBuilder; import xyz.xenondevs.invui.item.builder.ItemBuilder;
import xyz.xenondevs.invui.item.builder.SkullBuilder; import xyz.xenondevs.invui.item.builder.SkullBuilder;
import xyz.xenondevs.invui.item.impl.AsyncItem; import xyz.xenondevs.invui.item.impl.AsyncItem;
import net.artelnatif.nicko.gui.admin.CacheManagementGUI; import xyz.atnrch.nicko.gui.admin.CacheManagementGUI;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.inventory.ClickType; import org.bukkit.event.inventory.ClickType;

View file

@ -1,6 +1,6 @@
package net.artelnatif.nicko.gui.items.admin.cache; package xyz.atnrch.nicko.gui.items.admin.cache;
import net.artelnatif.nicko.gui.admin.cache.CacheDetailedGUI; import xyz.atnrch.nicko.gui.admin.cache.CacheDetailedGUI;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.event.inventory.ClickType; import org.bukkit.event.inventory.ClickType;
import xyz.xenondevs.invui.item.builder.ItemBuilder; import xyz.xenondevs.invui.item.builder.ItemBuilder;

View file

@ -1,8 +1,8 @@
package net.artelnatif.nicko.gui.items.admin.cache; package xyz.atnrch.nicko.gui.items.admin.cache;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.i18n.I18N; import xyz.atnrch.nicko.i18n.I18N;
import net.artelnatif.nicko.i18n.I18NDict; import xyz.atnrch.nicko.i18n.I18NDict;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.inventory.ClickType; import org.bukkit.event.inventory.ClickType;

View file

@ -1,9 +1,9 @@
package net.artelnatif.nicko.gui.items.admin.cache; package xyz.atnrch.nicko.gui.items.admin.cache;
import com.google.common.cache.CacheStats; import com.google.common.cache.CacheStats;
import com.google.common.cache.LoadingCache; import com.google.common.cache.LoadingCache;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.mojang.MojangSkin; import xyz.atnrch.nicko.mojang.MojangSkin;
import org.bukkit.Material; import org.bukkit.Material;
import xyz.xenondevs.invui.item.builder.ItemBuilder; import xyz.xenondevs.invui.item.builder.ItemBuilder;
import xyz.xenondevs.invui.item.impl.SuppliedItem; import xyz.xenondevs.invui.item.impl.SuppliedItem;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.gui.items.admin.cache; package xyz.atnrch.nicko.gui.items.admin.cache;
import org.bukkit.Material; import org.bukkit.Material;
import xyz.xenondevs.invui.item.builder.ItemBuilder; import xyz.xenondevs.invui.item.builder.ItemBuilder;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.gui.items.common; package xyz.atnrch.nicko.gui.items.common;
import org.bukkit.Material; import org.bukkit.Material;
import xyz.xenondevs.invui.gui.Gui; import xyz.xenondevs.invui.gui.Gui;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.gui.items.common; package xyz.atnrch.nicko.gui.items.common;
import org.bukkit.Material; import org.bukkit.Material;
import xyz.xenondevs.invui.item.builder.ItemBuilder; import xyz.xenondevs.invui.item.builder.ItemBuilder;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.gui.items.common; package xyz.atnrch.nicko.gui.items.common;
import org.bukkit.Material; import org.bukkit.Material;
import xyz.xenondevs.invui.gui.ScrollGui; import xyz.xenondevs.invui.gui.ScrollGui;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.gui.items.common; package xyz.atnrch.nicko.gui.items.common;
import org.bukkit.Material; import org.bukkit.Material;
import xyz.xenondevs.invui.gui.ScrollGui; import xyz.xenondevs.invui.gui.ScrollGui;

View file

@ -1,6 +1,6 @@
package net.artelnatif.nicko.gui.items.main; package xyz.atnrch.nicko.gui.items.main;
import net.artelnatif.nicko.gui.AdminGUI; import xyz.atnrch.nicko.gui.AdminGUI;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.enchantments.Enchantment; import org.bukkit.enchantments.Enchantment;
import org.bukkit.event.inventory.ClickType; import org.bukkit.event.inventory.ClickType;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.gui.items.main; package xyz.atnrch.nicko.gui.items.main;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.event.inventory.ClickType; import org.bukkit.event.inventory.ClickType;

View file

@ -1,8 +1,8 @@
package net.artelnatif.nicko.gui.items.main; package xyz.atnrch.nicko.gui.items.main;
import net.artelnatif.nicko.disguise.AppearanceManager; import xyz.atnrch.nicko.disguise.AppearanceManager;
import net.artelnatif.nicko.i18n.I18N; import xyz.atnrch.nicko.i18n.I18N;
import net.artelnatif.nicko.i18n.I18NDict; import xyz.atnrch.nicko.i18n.I18NDict;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.inventory.ClickType; import org.bukkit.event.inventory.ClickType;

View file

@ -1,6 +1,6 @@
package net.artelnatif.nicko.gui.items.main; package xyz.atnrch.nicko.gui.items.main;
import net.artelnatif.nicko.gui.SettingsGUI; import xyz.atnrch.nicko.gui.SettingsGUI;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.event.inventory.ClickType; import org.bukkit.event.inventory.ClickType;
import xyz.xenondevs.invui.item.builder.ItemBuilder; import xyz.xenondevs.invui.item.builder.ItemBuilder;

View file

@ -1,7 +1,7 @@
package net.artelnatif.nicko.gui.items.settings; package xyz.atnrch.nicko.gui.items.settings;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.Sound; import org.bukkit.Sound;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View file

@ -1,8 +1,8 @@
package net.artelnatif.nicko.gui.items.settings; package xyz.atnrch.nicko.gui.items.settings;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import net.artelnatif.nicko.i18n.Locale; import xyz.atnrch.nicko.i18n.Locale;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.Sound; import org.bukkit.Sound;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View file

@ -1,6 +1,6 @@
package net.artelnatif.nicko.gui.items.skin; package xyz.atnrch.nicko.gui.items.skin;
import net.artelnatif.nicko.anvil.AnvilManager; import xyz.atnrch.nicko.anvil.AnvilManager;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.event.inventory.ClickType; import org.bukkit.event.inventory.ClickType;
import xyz.xenondevs.invui.item.builder.ItemBuilder; import xyz.xenondevs.invui.item.builder.ItemBuilder;

View file

@ -1,6 +1,6 @@
package net.artelnatif.nicko.gui.items.skin; package xyz.atnrch.nicko.gui.items.skin;
import net.artelnatif.nicko.anvil.AnvilManager; import xyz.atnrch.nicko.anvil.AnvilManager;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.event.inventory.ClickType; import org.bukkit.event.inventory.ClickType;
import xyz.xenondevs.invui.item.builder.ItemBuilder; import xyz.xenondevs.invui.item.builder.ItemBuilder;

View file

@ -1,6 +1,6 @@
package net.artelnatif.nicko.gui.items.skin; package xyz.atnrch.nicko.gui.items.skin;
import net.artelnatif.nicko.anvil.AnvilManager; import xyz.atnrch.nicko.anvil.AnvilManager;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.inventory.ClickType; import org.bukkit.event.inventory.ClickType;
import xyz.xenondevs.invui.item.builder.SkullBuilder; import xyz.xenondevs.invui.item.builder.SkullBuilder;

View file

@ -1,8 +1,8 @@
package net.artelnatif.nicko.i18n; package xyz.atnrch.nicko.i18n;
import com.github.jsixface.YamlConfig; import com.github.jsixface.YamlConfig;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import java.io.InputStream; import java.io.InputStream;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.i18n; package xyz.atnrch.nicko.i18n;
public class I18NDict { public class I18NDict {
private final String key; private final String key;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.i18n; package xyz.atnrch.nicko.i18n;
import java.io.Serializable; import java.io.Serializable;

View file

@ -1,7 +1,7 @@
package net.artelnatif.nicko.i18n; package xyz.atnrch.nicko.i18n;
import com.github.jsixface.YamlConfig; import com.github.jsixface.YamlConfig;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import xyz.xenondevs.invui.util.IOUtils; import xyz.xenondevs.invui.util.IOUtils;
import java.io.*; import java.io.*;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.mojang; package xyz.atnrch.nicko.mojang;
import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader; import com.google.common.cache.CacheLoader;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.mojang; package xyz.atnrch.nicko.mojang;
import com.google.gson.JsonObject; import com.google.gson.JsonObject;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.mojang; package xyz.atnrch.nicko.mojang;
import java.util.UUID; import java.util.UUID;
import java.util.regex.Pattern; import java.util.regex.Pattern;

View file

@ -1,8 +1,8 @@
package net.artelnatif.nicko.placeholder; package xyz.atnrch.nicko.placeholder;
import me.clip.placeholderapi.expansion.PlaceholderExpansion; import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;

View file

@ -1,6 +1,6 @@
package net.artelnatif.nicko.placeholder; package xyz.atnrch.nicko.placeholder;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
public class PlaceHolderHook { public class PlaceHolderHook {

View file

@ -1,15 +1,15 @@
package net.artelnatif.nicko.storage; package xyz.atnrch.nicko.storage;
import net.artelnatif.nicko.config.Configuration; import xyz.atnrch.nicko.config.Configuration;
import net.artelnatif.nicko.disguise.ActionResult; import xyz.atnrch.nicko.disguise.ActionResult;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import net.artelnatif.nicko.i18n.I18NDict; import xyz.atnrch.nicko.i18n.I18NDict;
import net.artelnatif.nicko.mojang.MojangAPI; import xyz.atnrch.nicko.mojang.MojangAPI;
import net.artelnatif.nicko.mojang.MojangUtils; import xyz.atnrch.nicko.mojang.MojangUtils;
import net.artelnatif.nicko.storage.cache.Cache; import xyz.atnrch.nicko.storage.cache.Cache;
import net.artelnatif.nicko.storage.cache.redis.RedisCache; import xyz.atnrch.nicko.storage.cache.redis.RedisCache;
import net.artelnatif.nicko.storage.json.JSONStorage; import xyz.atnrch.nicko.storage.json.JSONStorage;
import net.artelnatif.nicko.storage.sql.SQLStorage; import xyz.atnrch.nicko.storage.sql.SQLStorage;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import java.io.IOException; import java.io.IOException;

View file

@ -1,7 +1,7 @@
package net.artelnatif.nicko.storage; package xyz.atnrch.nicko.storage;
import net.artelnatif.nicko.disguise.ActionResult; import xyz.atnrch.nicko.disguise.ActionResult;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import java.util.Optional; import java.util.Optional;
import java.util.UUID; import java.util.UUID;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.storage; package xyz.atnrch.nicko.storage;
public interface StorageProvider { public interface StorageProvider {
boolean init(); boolean init();

View file

@ -1,7 +1,7 @@
package net.artelnatif.nicko.storage.cache; package xyz.atnrch.nicko.storage.cache;
import net.artelnatif.nicko.disguise.ActionResult; import xyz.atnrch.nicko.disguise.ActionResult;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import java.util.Optional; import java.util.Optional;
import java.util.UUID; import java.util.UUID;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.storage.cache; package xyz.atnrch.nicko.storage.cache;
public interface CacheProvider { public interface CacheProvider {
boolean init(); boolean init();

View file

@ -1,9 +1,9 @@
package net.artelnatif.nicko.storage.cache.redis; package xyz.atnrch.nicko.storage.cache.redis;
import net.artelnatif.nicko.disguise.ActionResult; import xyz.atnrch.nicko.disguise.ActionResult;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import net.artelnatif.nicko.storage.cache.Cache; import xyz.atnrch.nicko.storage.cache.Cache;
import net.artelnatif.nicko.storage.cache.CacheProvider; import xyz.atnrch.nicko.storage.cache.CacheProvider;
import java.util.Optional; import java.util.Optional;
import java.util.UUID; import java.util.UUID;

View file

@ -1,6 +1,6 @@
package net.artelnatif.nicko.storage.cache.redis; package xyz.atnrch.nicko.storage.cache.redis;
import net.artelnatif.nicko.storage.cache.CacheProvider; import xyz.atnrch.nicko.storage.cache.CacheProvider;
import redis.clients.jedis.Jedis; import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool; import redis.clients.jedis.JedisPool;

View file

@ -1,13 +1,13 @@
package net.artelnatif.nicko.storage.json; package xyz.atnrch.nicko.storage.json;
import com.google.gson.Gson; import com.google.gson.Gson;
import com.google.gson.GsonBuilder; import com.google.gson.GsonBuilder;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.disguise.ActionResult; import xyz.atnrch.nicko.disguise.ActionResult;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import net.artelnatif.nicko.i18n.I18NDict; import xyz.atnrch.nicko.i18n.I18NDict;
import net.artelnatif.nicko.storage.Storage; import xyz.atnrch.nicko.storage.Storage;
import net.artelnatif.nicko.storage.StorageProvider; import xyz.atnrch.nicko.storage.StorageProvider;
import java.io.*; import java.io.*;
import java.util.Optional; import java.util.Optional;

View file

@ -1,6 +1,6 @@
package net.artelnatif.nicko.storage.json; package xyz.atnrch.nicko.storage.json;
import net.artelnatif.nicko.storage.StorageProvider; import xyz.atnrch.nicko.storage.StorageProvider;
import java.io.File; import java.io.File;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.storage.name; package xyz.atnrch.nicko.storage.name;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;

View file

@ -1,11 +1,11 @@
package net.artelnatif.nicko.storage.sql; package xyz.atnrch.nicko.storage.sql;
import net.artelnatif.nicko.config.Configuration; import xyz.atnrch.nicko.config.Configuration;
import net.artelnatif.nicko.disguise.ActionResult; import xyz.atnrch.nicko.disguise.ActionResult;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import net.artelnatif.nicko.i18n.I18NDict; import xyz.atnrch.nicko.i18n.I18NDict;
import net.artelnatif.nicko.i18n.Locale; import xyz.atnrch.nicko.i18n.Locale;
import net.artelnatif.nicko.storage.Storage; import xyz.atnrch.nicko.storage.Storage;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.nio.ByteBuffer; import java.nio.ByteBuffer;

View file

@ -1,8 +1,8 @@
package net.artelnatif.nicko.storage.sql; package xyz.atnrch.nicko.storage.sql;
import net.artelnatif.nicko.config.Configuration; import xyz.atnrch.nicko.config.Configuration;
import net.artelnatif.nicko.config.DataSourceConfiguration; import xyz.atnrch.nicko.config.DataSourceConfiguration;
import net.artelnatif.nicko.storage.StorageProvider; import xyz.atnrch.nicko.storage.StorageProvider;
import org.mariadb.jdbc.MariaDbDataSource; import org.mariadb.jdbc.MariaDbDataSource;
import java.sql.Connection; import java.sql.Connection;

View file

@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
package net.artelnatif.nicko.wrapper; package xyz.atnrch.nicko.wrapper;
import com.comphenix.protocol.PacketType; import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.ProtocolLibrary; import com.comphenix.protocol.ProtocolLibrary;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.wrapper; package xyz.atnrch.nicko.wrapper;
import com.comphenix.protocol.PacketType; import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.events.InternalStructure; import com.comphenix.protocol.events.InternalStructure;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.wrapper; package xyz.atnrch.nicko.wrapper;
import com.comphenix.protocol.PacketType; import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.events.PacketContainer; import com.comphenix.protocol.events.PacketContainer;

View file

@ -1,4 +1,4 @@
package net.artelnatif.nicko.wrapper; package xyz.atnrch.nicko.wrapper;
import com.comphenix.protocol.PacketType; import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.events.PacketContainer; import com.comphenix.protocol.events.PacketContainer;

View file

@ -1,5 +1,5 @@
name: Nicko name: Nicko
main: net.artelnatif.nicko.NickoBukkit main: xyz.atnrch.nicko.NickoBukkit
version: 1.0-SNAPSHOT version: 1.0-SNAPSHOT
author: Ineanto author: Ineanto
api-version: 1.13 api-version: 1.13

View file

@ -1,9 +1,9 @@
package net.artelnatif.nicko.test; package xyz.atnrch.nicko.test;
import be.seeseemelk.mockbukkit.MockBukkit; import be.seeseemelk.mockbukkit.MockBukkit;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.config.Configuration; import xyz.atnrch.nicko.config.Configuration;
import net.artelnatif.nicko.config.DataSourceConfiguration; import xyz.atnrch.nicko.config.DataSourceConfiguration;
import org.junit.jupiter.api.*; import org.junit.jupiter.api.*;
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNotNull;

View file

@ -1,8 +1,8 @@
package net.artelnatif.nicko.test.config; package xyz.atnrch.nicko.test.config;
import be.seeseemelk.mockbukkit.MockBukkit; import be.seeseemelk.mockbukkit.MockBukkit;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.config.Configuration; import xyz.atnrch.nicko.config.Configuration;
import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.DisplayName;

View file

@ -1,13 +1,13 @@
package net.artelnatif.nicko.test.storage; package xyz.atnrch.nicko.test.storage;
import be.seeseemelk.mockbukkit.MockBukkit; import be.seeseemelk.mockbukkit.MockBukkit;
import be.seeseemelk.mockbukkit.ServerMock; import be.seeseemelk.mockbukkit.ServerMock;
import be.seeseemelk.mockbukkit.entity.PlayerMock; import be.seeseemelk.mockbukkit.entity.PlayerMock;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.config.Configuration; import xyz.atnrch.nicko.config.Configuration;
import net.artelnatif.nicko.config.DataSourceConfiguration; import xyz.atnrch.nicko.config.DataSourceConfiguration;
import net.artelnatif.nicko.disguise.ActionResult; import xyz.atnrch.nicko.disguise.ActionResult;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import org.junit.jupiter.api.*; import org.junit.jupiter.api.*;
import java.util.Optional; import java.util.Optional;

View file

@ -1,14 +1,14 @@
package net.artelnatif.nicko.test.storage; package xyz.atnrch.nicko.test.storage;
import be.seeseemelk.mockbukkit.MockBukkit; import be.seeseemelk.mockbukkit.MockBukkit;
import be.seeseemelk.mockbukkit.ServerMock; import be.seeseemelk.mockbukkit.ServerMock;
import be.seeseemelk.mockbukkit.entity.PlayerMock; import be.seeseemelk.mockbukkit.entity.PlayerMock;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.config.DataSourceConfiguration; import xyz.atnrch.nicko.config.DataSourceConfiguration;
import net.artelnatif.nicko.i18n.Locale; import xyz.atnrch.nicko.i18n.Locale;
import net.artelnatif.nicko.config.Configuration; import xyz.atnrch.nicko.config.Configuration;
import net.artelnatif.nicko.disguise.ActionResult; import xyz.atnrch.nicko.disguise.ActionResult;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import org.junit.jupiter.api.*; import org.junit.jupiter.api.*;
import java.util.Optional; import java.util.Optional;

View file

@ -1,12 +1,12 @@
package net.artelnatif.nicko.test.storage.cache; package xyz.atnrch.nicko.test.storage.cache;
import be.seeseemelk.mockbukkit.MockBukkit; import be.seeseemelk.mockbukkit.MockBukkit;
import be.seeseemelk.mockbukkit.ServerMock; import be.seeseemelk.mockbukkit.ServerMock;
import be.seeseemelk.mockbukkit.entity.PlayerMock; import be.seeseemelk.mockbukkit.entity.PlayerMock;
import net.artelnatif.nicko.NickoBukkit; import xyz.atnrch.nicko.NickoBukkit;
import net.artelnatif.nicko.config.Configuration; import xyz.atnrch.nicko.config.Configuration;
import net.artelnatif.nicko.config.DataSourceConfiguration; import xyz.atnrch.nicko.config.DataSourceConfiguration;
import net.artelnatif.nicko.disguise.NickoProfile; import xyz.atnrch.nicko.disguise.NickoProfile;
import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.DisplayName;