Move PSSE code into package pickshadow.extension
This commit is contained in:
parent
595cf46e27
commit
e3a2bf4f6d
32 changed files with 98 additions and 100 deletions
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
||||
|
|
@ -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;
|
|
@ -22,4 +22,4 @@
|
|||
*
|
||||
* @since v1-release0
|
||||
*/
|
||||
package de.jeremystartm.pickshadow.api.command;
|
||||
package de.jeremystartm.pickshadow.extension.api.command;
|
|
@ -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;
|
|
@ -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;
|
|
@ -24,4 +24,4 @@
|
|||
*
|
||||
* @since v1-release0
|
||||
*/
|
||||
package de.jeremystartm.pickshadow.api;
|
||||
package de.jeremystartm.pickshadow.extension.api;
|
|
@ -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.
|
|
@ -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;
|
|
@ -22,4 +22,4 @@
|
|||
*
|
||||
* @since v1-release0
|
||||
*/
|
||||
package de.jeremystartm.pickshadow.api.translation;
|
||||
package de.jeremystartm.pickshadow.extension.api.translation;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
|
@ -22,4 +22,4 @@
|
|||
*
|
||||
* @since v1-release0
|
||||
*/
|
||||
package de.jeremystartm.pickshadow.command.general;
|
||||
package de.jeremystartm.pickshadow.extension.command.general;
|
|
@ -22,4 +22,4 @@
|
|||
*
|
||||
* @since v1-release0
|
||||
*/
|
||||
package de.jeremystartm.pickshadow.command;
|
||||
package de.jeremystartm.pickshadow.extension.command;
|
|
@ -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;
|
|
@ -22,4 +22,4 @@
|
|||
*
|
||||
* @since v1-release0
|
||||
*/
|
||||
package de.jeremystartm.pickshadow.command.survival;
|
||||
package de.jeremystartm.pickshadow.extension.command.survival;
|
|
@ -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;
|
|
@ -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;
|
|
@ -22,4 +22,4 @@
|
|||
*
|
||||
* @since v1-release0
|
||||
*/
|
||||
package de.jeremystartm.pickshadow.listener;
|
||||
package de.jeremystartm.pickshadow.extension.listener;
|
|
@ -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;
|
|
@ -22,4 +22,4 @@
|
|||
*
|
||||
* @since v1-release0
|
||||
*/
|
||||
package de.jeremystartm.pickshadow;
|
||||
package de.jeremystartm.pickshadow.extension;
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue