Move PSSE code into package pickshadow.extension

This commit is contained in:
JeremyStar™ 2024-10-09 10:51:52 +02:00
parent 595cf46e27
commit e3a2bf4f6d
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
32 changed files with 98 additions and 100 deletions

View file

@ -17,14 +17,14 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow;
package de.jeremystartm.pickshadow.extension;
import de.jeremystartm.pickshadow.api.entity.player.PlayerDataFactory;
import de.jeremystartm.pickshadow.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.command.general.*;
import de.jeremystartm.pickshadow.command.survival.HomeCommand;
import de.jeremystartm.pickshadow.listener.ChatListener;
import de.jeremystartm.pickshadow.listener.ConnectionListener;
import de.jeremystartm.pickshadow.extension.api.entity.player.PlayerDataFactory;
import de.jeremystartm.pickshadow.extension.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.extension.command.general.*;
import de.jeremystartm.pickshadow.extension.command.survival.HomeCommand;
import de.jeremystartm.pickshadow.extension.listener.ChatListener;
import de.jeremystartm.pickshadow.extension.listener.ConnectionListener;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.utility.Miscellaneous;
import lombok.Getter;

View file

@ -17,9 +17,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow;
package de.jeremystartm.pickshadow.extension;
import de.jeremystartm.pickshadow.api.command.completion.StaticTabCompletion;
import de.jeremystartm.pickshadow.extension.api.command.completion.StaticTabCompletion;
import de.staropensource.sosengine.base.implementable.Configuration;
import de.staropensource.sosengine.base.utility.PropertiesReader;
import lombok.Getter;

View file

@ -17,13 +17,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow;
package de.jeremystartm.pickshadow.extension;
import de.staropensource.sosengine.base.Engine;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.type.VersionType;
import de.staropensource.sosengine.base.utility.Miscellaneous;
import de.staropensource.sosengine.base.utility.PropertiesReader;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -17,10 +17,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.api.command;
package de.jeremystartm.pickshadow.extension.api.command;
import de.jeremystartm.pickshadow.api.translation.LanguageString;
import de.jeremystartm.pickshadow.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.extension.api.translation.LanguageString;
import de.jeremystartm.pickshadow.extension.api.translation.TranslationManager;
import org.bukkit.Bukkit;
import org.bukkit.command.*;
import org.bukkit.util.StringUtil;

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.api.command;
package de.jeremystartm.pickshadow.extension.api.command;
import org.bukkit.command.CommandSender;
import org.jetbrains.annotations.NotNull;

View file

@ -17,10 +17,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.api.command.completion;
package de.jeremystartm.pickshadow.extension.api.command.completion;
import de.jeremystartm.pickshadow.ExtensionConfiguration;
import de.jeremystartm.pickshadow.api.command.TabCompletion;
import de.jeremystartm.pickshadow.extension.ExtensionConfiguration;
import de.jeremystartm.pickshadow.extension.api.command.TabCompletion;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;

View file

@ -17,9 +17,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.api.command.completion;
package de.jeremystartm.pickshadow.extension.api.command.completion;
import de.jeremystartm.pickshadow.api.command.TabCompletion;
import de.jeremystartm.pickshadow.extension.api.command.TabCompletion;
import org.bukkit.command.CommandSender;
import org.jetbrains.annotations.NotNull;

View file

@ -18,8 +18,8 @@
*/
/**
* Houses implementations of {@link de.jeremystartm.pickshadow.api.command.TabCompletion}.
* Houses implementations of {@link de.jeremystartm.pickshadow.extension.api.command.TabCompletion}.
*
* @since v1-release0
*/
package de.jeremystartm.pickshadow.api.command.completion;
package de.jeremystartm.pickshadow.extension.api.command.completion;

View file

@ -22,4 +22,4 @@
*
* @since v1-release0
*/
package de.jeremystartm.pickshadow.api.command;
package de.jeremystartm.pickshadow.extension.api.command;

View file

@ -17,13 +17,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.api.entity.player;
package de.jeremystartm.pickshadow.extension.api.entity.player;
import com.google.gson.Gson;
import com.google.gson.JsonSyntaxException;
import com.google.gson.reflect.TypeToken;
import de.jeremystartm.pickshadow.misc.TabListHandler;
import de.jeremystartm.pickshadow.extension.misc.TabListHandler;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import fr.mrmicky.fastboard.adventure.FastBoard;
import lombok.AccessLevel;

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.api.entity.player;
package de.jeremystartm.pickshadow.extension.api.entity.player;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import lombok.Getter;

View file

@ -24,4 +24,4 @@
*
* @since v1-release0
*/
package de.jeremystartm.pickshadow.api;
package de.jeremystartm.pickshadow.extension.api;

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.api.translation;
package de.jeremystartm.pickshadow.extension.api.translation;
/**
* Contains all language strings which can be translated.

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.api.translation;
package de.jeremystartm.pickshadow.extension.api.translation;
import com.google.gson.Gson;
import com.google.gson.JsonSyntaxException;

View file

@ -22,4 +22,4 @@
*
* @since v1-release0
*/
package de.jeremystartm.pickshadow.api.translation;
package de.jeremystartm.pickshadow.extension.api.translation;

View file

@ -17,13 +17,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.command.general;
package de.jeremystartm.pickshadow.extension.command.general;
import de.jeremystartm.pickshadow.api.command.CommandBase;
import de.jeremystartm.pickshadow.api.command.completion.StaticTabCompletion;
import de.jeremystartm.pickshadow.api.command.TabCompletion;
import de.jeremystartm.pickshadow.api.translation.LanguageString;
import de.jeremystartm.pickshadow.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.extension.api.command.CommandBase;
import de.jeremystartm.pickshadow.extension.api.command.completion.StaticTabCompletion;
import de.jeremystartm.pickshadow.extension.api.command.TabCompletion;
import de.jeremystartm.pickshadow.extension.api.translation.LanguageString;
import de.jeremystartm.pickshadow.extension.api.translation.TranslationManager;
import de.staropensource.sosengine.base.utility.PlaceholderEngine;
import lombok.Getter;
import net.kyori.adventure.text.minimessage.MiniMessage;

View file

@ -17,13 +17,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.command.general;
package de.jeremystartm.pickshadow.extension.command.general;
import de.jeremystartm.pickshadow.api.command.CommandBase;
import de.jeremystartm.pickshadow.api.command.completion.StaticTabCompletion;
import de.jeremystartm.pickshadow.api.command.TabCompletion;
import de.jeremystartm.pickshadow.api.translation.LanguageString;
import de.jeremystartm.pickshadow.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.extension.api.command.CommandBase;
import de.jeremystartm.pickshadow.extension.api.command.completion.StaticTabCompletion;
import de.jeremystartm.pickshadow.extension.api.command.TabCompletion;
import de.jeremystartm.pickshadow.extension.api.translation.LanguageString;
import de.jeremystartm.pickshadow.extension.api.translation.TranslationManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;

View file

@ -17,15 +17,15 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.command.general;
package de.jeremystartm.pickshadow.extension.command.general;
import de.jeremystartm.pickshadow.ExtensionInformation;
import de.jeremystartm.pickshadow.api.command.CommandBase;
import de.jeremystartm.pickshadow.api.command.completion.StaticTabCompletion;
import de.jeremystartm.pickshadow.api.command.TabCompletion;
import de.jeremystartm.pickshadow.api.entity.player.PlayerDataFactory;
import de.jeremystartm.pickshadow.api.translation.LanguageString;
import de.jeremystartm.pickshadow.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.extension.ExtensionInformation;
import de.jeremystartm.pickshadow.extension.api.command.CommandBase;
import de.jeremystartm.pickshadow.extension.api.command.completion.StaticTabCompletion;
import de.jeremystartm.pickshadow.extension.api.command.TabCompletion;
import de.jeremystartm.pickshadow.extension.api.entity.player.PlayerDataFactory;
import de.jeremystartm.pickshadow.extension.api.translation.LanguageString;
import de.jeremystartm.pickshadow.extension.api.translation.TranslationManager;
import lombok.Getter;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;

View file

@ -17,13 +17,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.command.general;
package de.jeremystartm.pickshadow.extension.command.general;
import de.jeremystartm.pickshadow.api.command.CommandBase;
import de.jeremystartm.pickshadow.api.command.completion.StubTabCompletion;
import de.jeremystartm.pickshadow.api.command.TabCompletion;
import de.jeremystartm.pickshadow.api.translation.LanguageString;
import de.jeremystartm.pickshadow.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.extension.api.command.CommandBase;
import de.jeremystartm.pickshadow.extension.api.command.completion.StubTabCompletion;
import de.jeremystartm.pickshadow.extension.api.command.TabCompletion;
import de.jeremystartm.pickshadow.extension.api.translation.LanguageString;
import de.jeremystartm.pickshadow.extension.api.translation.TranslationManager;
import lombok.Getter;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;

View file

@ -17,13 +17,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.command.general;
package de.jeremystartm.pickshadow.extension.command.general;
import de.jeremystartm.pickshadow.api.command.CommandBase;
import de.jeremystartm.pickshadow.api.command.completion.StaticTabCompletion;
import de.jeremystartm.pickshadow.api.command.TabCompletion;
import de.jeremystartm.pickshadow.api.translation.LanguageString;
import de.jeremystartm.pickshadow.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.extension.api.command.CommandBase;
import de.jeremystartm.pickshadow.extension.api.command.completion.StaticTabCompletion;
import de.jeremystartm.pickshadow.extension.api.command.TabCompletion;
import de.jeremystartm.pickshadow.extension.api.translation.LanguageString;
import de.jeremystartm.pickshadow.extension.api.translation.TranslationManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;

View file

@ -17,13 +17,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.command.general;
package de.jeremystartm.pickshadow.extension.command.general;
import de.jeremystartm.pickshadow.api.command.CommandBase;
import de.jeremystartm.pickshadow.api.command.completion.StubTabCompletion;
import de.jeremystartm.pickshadow.api.command.TabCompletion;
import de.jeremystartm.pickshadow.api.translation.LanguageString;
import de.jeremystartm.pickshadow.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.extension.api.command.CommandBase;
import de.jeremystartm.pickshadow.extension.api.command.completion.StubTabCompletion;
import de.jeremystartm.pickshadow.extension.api.command.TabCompletion;
import de.jeremystartm.pickshadow.extension.api.translation.LanguageString;
import de.jeremystartm.pickshadow.extension.api.translation.TranslationManager;
import lombok.Getter;
import net.minecraft.server.MinecraftServer;
import net.minecraft.server.level.ServerLevel;

View file

@ -17,14 +17,14 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.command.general;
package de.jeremystartm.pickshadow.extension.command.general;
import de.jeremystartm.pickshadow.Extension;
import de.jeremystartm.pickshadow.api.command.CommandBase;
import de.jeremystartm.pickshadow.api.command.completion.StaticTabCompletion;
import de.jeremystartm.pickshadow.api.command.TabCompletion;
import de.jeremystartm.pickshadow.api.translation.LanguageString;
import de.jeremystartm.pickshadow.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.extension.Extension;
import de.jeremystartm.pickshadow.extension.api.command.CommandBase;
import de.jeremystartm.pickshadow.extension.api.command.completion.StaticTabCompletion;
import de.jeremystartm.pickshadow.extension.api.command.TabCompletion;
import de.jeremystartm.pickshadow.extension.api.translation.LanguageString;
import de.jeremystartm.pickshadow.extension.api.translation.TranslationManager;
import lombok.Getter;
import net.kyori.adventure.key.Key;
import net.kyori.adventure.sound.Sound;

View file

@ -22,4 +22,4 @@
*
* @since v1-release0
*/
package de.jeremystartm.pickshadow.command.general;
package de.jeremystartm.pickshadow.extension.command.general;

View file

@ -22,4 +22,4 @@
*
* @since v1-release0
*/
package de.jeremystartm.pickshadow.command;
package de.jeremystartm.pickshadow.extension.command;

View file

@ -17,13 +17,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.command.survival;
package de.jeremystartm.pickshadow.extension.command.survival;
import de.jeremystartm.pickshadow.api.command.CommandBase;
import de.jeremystartm.pickshadow.api.command.completion.StubTabCompletion;
import de.jeremystartm.pickshadow.api.command.TabCompletion;
import de.jeremystartm.pickshadow.api.translation.LanguageString;
import de.jeremystartm.pickshadow.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.extension.api.command.CommandBase;
import de.jeremystartm.pickshadow.extension.api.command.completion.StubTabCompletion;
import de.jeremystartm.pickshadow.extension.api.command.TabCompletion;
import de.jeremystartm.pickshadow.extension.api.translation.LanguageString;
import de.jeremystartm.pickshadow.extension.api.translation.TranslationManager;
import lombok.Getter;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;

View file

@ -22,4 +22,4 @@
*
* @since v1-release0
*/
package de.jeremystartm.pickshadow.command.survival;
package de.jeremystartm.pickshadow.extension.command.survival;

View file

@ -17,10 +17,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.listener;
package de.jeremystartm.pickshadow.extension.listener;
import de.jeremystartm.pickshadow.api.translation.LanguageString;
import de.jeremystartm.pickshadow.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.extension.api.translation.LanguageString;
import de.jeremystartm.pickshadow.extension.api.translation.TranslationManager;
import io.papermc.paper.event.player.AsyncChatEvent;
import net.kyori.adventure.text.minimessage.MiniMessage;
import org.bukkit.Bukkit;

View file

@ -17,13 +17,13 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.listener;
package de.jeremystartm.pickshadow.extension.listener;
import de.jeremystartm.pickshadow.Extension;
import de.jeremystartm.pickshadow.api.entity.player.PlayerDataFactory;
import de.jeremystartm.pickshadow.api.translation.LanguageString;
import de.jeremystartm.pickshadow.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.command.general.ClearChatCommand;
import de.jeremystartm.pickshadow.extension.Extension;
import de.jeremystartm.pickshadow.extension.api.entity.player.PlayerDataFactory;
import de.jeremystartm.pickshadow.extension.api.translation.LanguageString;
import de.jeremystartm.pickshadow.extension.api.translation.TranslationManager;
import de.jeremystartm.pickshadow.extension.command.general.ClearChatCommand;
import net.kyori.adventure.text.minimessage.MiniMessage;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;

View file

@ -22,4 +22,4 @@
*
* @since v1-release0
*/
package de.jeremystartm.pickshadow.listener;
package de.jeremystartm.pickshadow.extension.listener;

View file

@ -17,10 +17,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.jeremystartm.pickshadow.misc;
package de.jeremystartm.pickshadow.extension.misc;
import de.jeremystartm.pickshadow.Extension;
import de.jeremystartm.pickshadow.api.entity.player.PlayerData;
import de.jeremystartm.pickshadow.extension.Extension;
import de.jeremystartm.pickshadow.extension.api.entity.player.PlayerData;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import fr.mrmicky.fastboard.adventure.FastBoard;
import net.kyori.adventure.text.minimessage.MiniMessage;

View file

@ -22,4 +22,4 @@
*
* @since v1-release0
*/
package de.jeremystartm.pickshadow;
package de.jeremystartm.pickshadow.extension;

View file

@ -1,6 +1,6 @@
name: "PSSE"
version: "${version}"
main: "de.jeremystartm.pickshadow.Extension"
main: "de.jeremystartm.pickshadow.extension.Extension"
description: "Manages PickShadow's subservers"
author: "PickShadow Server Extension Authors"
website: "https://git.staropensource.de/JeremyStarTM/PSSE"