Move base classes into de.pickshadow.plugin.base
This commit is contained in:
parent
407a123566
commit
0f3b06a596
22 changed files with 31 additions and 30 deletions
|
@ -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;
|
|
@ -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;
|
|
@ -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.*;
|
|
@ -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;
|
|
@ -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;
|
||||||
|
|
|
@ -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.*;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 ]
|
||||||
|
|
Loading…
Reference in a new issue