Move base classes into de.pickshadow.plugin.base

This commit is contained in:
JeremyStar™ 2024-04-30 21:47:28 +02:00
parent 407a123566
commit 0f3b06a596
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
22 changed files with 31 additions and 30 deletions

View file

@ -16,8 +16,9 @@
You should have received a copy of the GNU Affero General Public License You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package de.pickshadow.plugin; package de.pickshadow.plugin.base;
import de.pickshadow.plugin.BuildConfiguration;
import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl; import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl;
import de.pickshadow.plugin.classes.logger.implementations.ExtendedBukkitLogger; import de.pickshadow.plugin.classes.logger.implementations.ExtendedBukkitLogger;
import de.pickshadow.plugin.loaders.ConfigLoader; import de.pickshadow.plugin.loaders.ConfigLoader;

View file

@ -16,7 +16,7 @@
You should have received a copy of the GNU Affero General Public License You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package de.pickshadow.plugin; package de.pickshadow.plugin.base;
import de.pickshadow.plugin.classes.logger.LoggerImpl; import de.pickshadow.plugin.classes.logger.LoggerImpl;
import de.pickshadow.plugin.loaders.ConfigLoader; import de.pickshadow.plugin.loaders.ConfigLoader;

View file

@ -16,7 +16,7 @@
You should have received a copy of the GNU Affero General Public License You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package de.pickshadow.plugin; package de.pickshadow.plugin.base;
import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl; import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl;
import de.pickshadow.plugin.commands.*; import de.pickshadow.plugin.commands.*;

View file

@ -16,8 +16,9 @@
You should have received a copy of the GNU Affero General Public License You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package de.pickshadow.plugin; package de.pickshadow.plugin.base;
import de.pickshadow.plugin.BuildConfiguration;
import de.pickshadow.plugin.classes.Configuration; import de.pickshadow.plugin.classes.Configuration;
import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl; import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl;
import de.pickshadow.plugin.utils.Miscellaneous; import de.pickshadow.plugin.utils.Miscellaneous;

View file

@ -16,11 +16,10 @@
You should have received a copy of the GNU Affero General Public License You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
package de.pickshadow.plugin.classes; package de.pickshadow.plugin.base;
import de.pickshadow.plugin.BuildConfiguration; import de.pickshadow.plugin.BuildConfiguration;
import de.pickshadow.plugin.GitHead; import de.pickshadow.plugin.GitHead;
import de.pickshadow.plugin.ObjHolder;
import java.util.Arrays; import java.util.Arrays;

View file

@ -18,7 +18,7 @@
*/ */
package de.pickshadow.plugin.classes; package de.pickshadow.plugin.classes;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl; import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.command.*; import org.bukkit.command.*;

View file

@ -18,7 +18,7 @@
*/ */
package de.pickshadow.plugin.classes; package de.pickshadow.plugin.classes;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.ApiStatus;

View file

@ -19,7 +19,7 @@
package de.pickshadow.plugin.classes.logger; package de.pickshadow.plugin.classes.logger;
import de.pickshadow.plugin.BuildConfiguration; import de.pickshadow.plugin.BuildConfiguration;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.Types; import de.pickshadow.plugin.classes.Types;
import de.pickshadow.plugin.utils.Miscellaneous; import de.pickshadow.plugin.utils.Miscellaneous;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;

View file

@ -18,7 +18,7 @@
*/ */
package de.pickshadow.plugin.classes.logger.implementations; package de.pickshadow.plugin.classes.logger.implementations;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.Types; import de.pickshadow.plugin.classes.Types;
import de.pickshadow.plugin.classes.logger.LoggerImpl; import de.pickshadow.plugin.classes.logger.LoggerImpl;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;

View file

@ -18,7 +18,7 @@
*/ */
package de.pickshadow.plugin.commands; package de.pickshadow.plugin.commands;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.CommandBase; import de.pickshadow.plugin.classes.CommandBase;
import de.pickshadow.plugin.classes.Types; import de.pickshadow.plugin.classes.Types;
import de.pickshadow.plugin.utils.Miscellaneous; import de.pickshadow.plugin.utils.Miscellaneous;

View file

@ -19,8 +19,8 @@
package de.pickshadow.plugin.commands; package de.pickshadow.plugin.commands;
import de.pickshadow.plugin.classes.CommandBase; import de.pickshadow.plugin.classes.CommandBase;
import de.pickshadow.plugin.classes.Translation; import de.pickshadow.plugin.base.Translation;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.Types; import de.pickshadow.plugin.classes.Types;
import de.pickshadow.plugin.utils.Miscellaneous; import de.pickshadow.plugin.utils.Miscellaneous;
import de.pickshadow.plugin.utils.TabCompletionHelper; import de.pickshadow.plugin.utils.TabCompletionHelper;

View file

@ -19,7 +19,7 @@
package de.pickshadow.plugin.commands; package de.pickshadow.plugin.commands;
import de.pickshadow.plugin.classes.CommandBase; import de.pickshadow.plugin.classes.CommandBase;
import de.pickshadow.plugin.classes.Translation; import de.pickshadow.plugin.base.Translation;
import de.pickshadow.plugin.classes.Types; import de.pickshadow.plugin.classes.Types;
import de.pickshadow.plugin.utils.Miscellaneous; import de.pickshadow.plugin.utils.Miscellaneous;
import de.pickshadow.plugin.utils.TabCompletionHelper; import de.pickshadow.plugin.utils.TabCompletionHelper;

View file

@ -19,10 +19,10 @@
package de.pickshadow.plugin.commands; package de.pickshadow.plugin.commands;
import de.pickshadow.plugin.BuildConfiguration; import de.pickshadow.plugin.BuildConfiguration;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.CommandBase; import de.pickshadow.plugin.classes.CommandBase;
import de.pickshadow.plugin.classes.PlayerData; import de.pickshadow.plugin.classes.PlayerData;
import de.pickshadow.plugin.classes.Translation; import de.pickshadow.plugin.base.Translation;
import de.pickshadow.plugin.classes.Types; import de.pickshadow.plugin.classes.Types;
import de.pickshadow.plugin.utils.Miscellaneous; import de.pickshadow.plugin.utils.Miscellaneous;
import de.pickshadow.plugin.utils.TabCompletionHelper; import de.pickshadow.plugin.utils.TabCompletionHelper;

View file

@ -19,8 +19,8 @@
package de.pickshadow.plugin.commands; package de.pickshadow.plugin.commands;
import de.pickshadow.plugin.classes.CommandBase; import de.pickshadow.plugin.classes.CommandBase;
import de.pickshadow.plugin.classes.Translation; import de.pickshadow.plugin.base.Translation;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.Types; import de.pickshadow.plugin.classes.Types;
import de.pickshadow.plugin.classes.Configuration; import de.pickshadow.plugin.classes.Configuration;
import de.pickshadow.plugin.utils.Miscellaneous; import de.pickshadow.plugin.utils.Miscellaneous;

View file

@ -19,7 +19,7 @@
package de.pickshadow.plugin.commands; package de.pickshadow.plugin.commands;
import de.pickshadow.plugin.classes.CommandBase; import de.pickshadow.plugin.classes.CommandBase;
import de.pickshadow.plugin.classes.Translation; import de.pickshadow.plugin.base.Translation;
import de.pickshadow.plugin.utils.Miscellaneous; import de.pickshadow.plugin.utils.Miscellaneous;
import de.pickshadow.plugin.utils.TabCompletionHelper; import de.pickshadow.plugin.utils.TabCompletionHelper;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;

View file

@ -18,9 +18,9 @@
*/ */
package de.pickshadow.plugin.commands; package de.pickshadow.plugin.commands;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.CommandBase; import de.pickshadow.plugin.classes.CommandBase;
import de.pickshadow.plugin.classes.Translation; import de.pickshadow.plugin.base.Translation;
import de.pickshadow.plugin.classes.Types; import de.pickshadow.plugin.classes.Types;
import de.pickshadow.plugin.utils.Miscellaneous; import de.pickshadow.plugin.utils.Miscellaneous;
import de.pickshadow.plugin.utils.TabCompletionHelper; import de.pickshadow.plugin.utils.TabCompletionHelper;

View file

@ -18,8 +18,8 @@
*/ */
package de.pickshadow.plugin.listeners; package de.pickshadow.plugin.listeners;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.Translation; import de.pickshadow.plugin.base.Translation;
import de.pickshadow.plugin.utils.Miscellaneous; import de.pickshadow.plugin.utils.Miscellaneous;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;

View file

@ -18,7 +18,7 @@
*/ */
package de.pickshadow.plugin.loaders; package de.pickshadow.plugin.loaders;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.Configuration; import de.pickshadow.plugin.classes.Configuration;
import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl; import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl;
import de.pickshadow.plugin.utils.FileOperations; import de.pickshadow.plugin.utils.FileOperations;

View file

@ -18,9 +18,9 @@
*/ */
package de.pickshadow.plugin.loaders; package de.pickshadow.plugin.loaders;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.PlayerData; import de.pickshadow.plugin.classes.PlayerData;
import de.pickshadow.plugin.classes.Translation; import de.pickshadow.plugin.base.Translation;
import de.pickshadow.plugin.classes.Types; import de.pickshadow.plugin.classes.Types;
import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl; import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl;
import de.pickshadow.plugin.utils.FileOperations; import de.pickshadow.plugin.utils.FileOperations;

View file

@ -18,8 +18,8 @@
*/ */
package de.pickshadow.plugin.utils; package de.pickshadow.plugin.utils;
import de.pickshadow.plugin.classes.Translation; import de.pickshadow.plugin.base.Translation;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.Types; import de.pickshadow.plugin.classes.Types;
import net.kyori.adventure.text.Component; import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.minimessage.MiniMessage; import net.kyori.adventure.text.minimessage.MiniMessage;

View file

@ -20,7 +20,7 @@ package de.pickshadow.plugin.utils;
import com.nikialeksey.hunspell.Hunspell; import com.nikialeksey.hunspell.Hunspell;
import de.pickshadow.plugin.BuildConfiguration; import de.pickshadow.plugin.BuildConfiguration;
import de.pickshadow.plugin.ObjHolder; import de.pickshadow.plugin.base.ObjHolder;
import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl; import de.pickshadow.plugin.classes.logger.LoggerInstanceImpl;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.command.TabCompleter; import org.bukkit.command.TabCompleter;

View file

@ -16,7 +16,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
name: PSSP name: PSSP
version: '${version}' version: '${version}'
main: de.pickshadow.plugin.Main main: de.pickshadow.plugin.base.Main
api-version: '1.20' api-version: '1.20'
prefix: PSSP prefix: PSSP
depend: [ FreedomChat ] depend: [ FreedomChat ]