Bumped dependencies, changed to SBDevelopment branding

This commit is contained in:
Stijn Bannink 2023-08-13 16:00:38 +02:00
parent 3ea6a82eaa
commit 2620543e97
48 changed files with 179 additions and 215 deletions

View file

@ -1,4 +0,0 @@
/**
* All the enums used for V10Lift
*/
package nl.SBDeveloper.V10Lift.api.enums;

View file

@ -1,4 +0,0 @@
/**
* All the objects used for V10Lift
*/
package nl.SBDeveloper.V10Lift.api.objects;

View file

@ -1,4 +0,0 @@
/**
* The main API package
*/
package nl.SBDeveloper.V10Lift.api;

View file

@ -1,4 +0,0 @@
/**
* All the runnables of V10Lift
*/
package nl.SBDeveloper.V10Lift.api.runnables;

View file

@ -1,17 +1,17 @@
package nl.SBDeveloper.V10Lift;
package tech.sbdevelopment.v10lift;
import nl.SBDeveloper.V10Lift.commands.V10LiftCommand;
import nl.SBDeveloper.V10Lift.commands.V10LiftTabCompleter;
import nl.SBDeveloper.V10Lift.listeners.BlockBreakListener;
import nl.SBDeveloper.V10Lift.listeners.EntityDamageListener;
import nl.SBDeveloper.V10Lift.listeners.PlayerInteractListener;
import nl.SBDeveloper.V10Lift.listeners.SignChangeListener;
import nl.SBDeveloper.V10Lift.managers.DBManager;
import nl.SBDeveloper.V10Lift.managers.DataManager;
import nl.SBDeveloper.V10Lift.managers.VaultManager;
import nl.SBDeveloper.V10Lift.sbutils.ConfigUpdater;
import nl.SBDeveloper.V10Lift.sbutils.UpdateManager;
import nl.SBDeveloper.V10Lift.sbutils.YamlFile;
import tech.sbdevelopment.v10lift.commands.V10LiftCommand;
import tech.sbdevelopment.v10lift.commands.V10LiftTabCompleter;
import tech.sbdevelopment.v10lift.listeners.BlockBreakListener;
import tech.sbdevelopment.v10lift.listeners.EntityDamageListener;
import tech.sbdevelopment.v10lift.listeners.PlayerInteractListener;
import tech.sbdevelopment.v10lift.listeners.SignChangeListener;
import tech.sbdevelopment.v10lift.managers.DBManager;
import tech.sbdevelopment.v10lift.managers.DataManager;
import tech.sbdevelopment.v10lift.managers.VaultManager;
import tech.sbdevelopment.v10lift.sbutils.ConfigUpdater;
import tech.sbdevelopment.v10lift.sbutils.UpdateManager;
import tech.sbdevelopment.v10lift.sbutils.YamlFile;
import org.bstats.bukkit.Metrics;
import org.bstats.charts.SingleLineChart;
import org.bukkit.Bukkit;

View file

@ -1,16 +1,16 @@
package nl.SBDeveloper.V10Lift.api;
package tech.sbdevelopment.v10lift.api;
import com.cryptomorin.xseries.XMaterial;
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
import tech.sbdevelopment.v10lift.V10LiftPlugin;
import nl.SBDeveloper.V10Lift.api.objects.*;
import nl.SBDeveloper.V10Lift.api.runnables.DoorCloser;
import nl.SBDeveloper.V10Lift.api.runnables.MoveLift;
import nl.SBDeveloper.V10Lift.managers.DataManager;
import nl.SBDeveloper.V10Lift.managers.ForbiddenBlockManager;
import nl.SBDeveloper.V10Lift.sbutils.LocationSerializer;
import nl.SBDeveloper.V10Lift.utils.ConfigUtil;
import nl.SBDeveloper.V10Lift.utils.DirectionUtil;
import nl.SBDeveloper.V10Lift.utils.DoorUtil;
import tech.sbdevelopment.v10lift.api.runnables.DoorCloser;
import tech.sbdevelopment.v10lift.api.runnables.MoveLift;
import tech.sbdevelopment.v10lift.managers.DataManager;
import tech.sbdevelopment.v10lift.managers.ForbiddenBlockManager;
import tech.sbdevelopment.v10lift.sbutils.LocationSerializer;
import tech.sbdevelopment.v10lift.utils.ConfigUtil;
import tech.sbdevelopment.v10lift.utils.DirectionUtil;
import tech.sbdevelopment.v10lift.utils.DoorUtil;
import org.bukkit.*;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
@ -19,6 +19,7 @@ import org.bukkit.block.Sign;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import tech.sbdevelopment.v10lift.api.objects.*;
import javax.annotation.Nonnull;
import java.util.*;
@ -156,7 +157,7 @@ public class V10LiftAPI {
/**
* Add a block to a lift
* Use {@link nl.SBDeveloper.V10Lift.api.V10LiftAPI#sortLiftBlocks(String liftName)} after!
* Use {@link V10LiftAPI#sortLiftBlocks(String liftName)} after!
*
* @param liftName The name of the lift
* @param block The block
@ -170,7 +171,7 @@ public class V10LiftAPI {
/**
* Add a block to a lift
* Use {@link nl.SBDeveloper.V10Lift.api.V10LiftAPI#sortLiftBlocks(String liftName)} after!
* Use {@link V10LiftAPI#sortLiftBlocks(String liftName)} after!
*
* @param blocks The blockset
* @param block The block
@ -210,7 +211,7 @@ public class V10LiftAPI {
/**
* Add a block to a lift
* Use {@link nl.SBDeveloper.V10Lift.api.V10LiftAPI#sortLiftBlocks(String liftName)} after!
* Use {@link V10LiftAPI#sortLiftBlocks(String liftName)} after!
*
* @param blocks The blockset
* @param block The LiftBlock
@ -225,7 +226,7 @@ public class V10LiftAPI {
/**
* Remove a block from a lift
* Use {@link nl.SBDeveloper.V10Lift.api.V10LiftAPI#sortLiftBlocks(String liftName)} after!
* Use {@link V10LiftAPI#sortLiftBlocks(String liftName)} after!
*
* @param liftName The name of the lift
* @param block The block
@ -269,7 +270,7 @@ public class V10LiftAPI {
/**
* Switch a block at a lift
* Use {@link nl.SBDeveloper.V10Lift.api.V10LiftAPI#sortLiftBlocks(String liftName)} after!
* Use {@link V10LiftAPI#sortLiftBlocks(String liftName)} after!
*
* @param liftName The name of the lift
* @param block The block
@ -282,7 +283,7 @@ public class V10LiftAPI {
/**
* Switch a block at a lift
* Use {@link nl.SBDeveloper.V10Lift.api.V10LiftAPI#sortLiftBlocks(String liftName)} after!
* Use {@link V10LiftAPI#sortLiftBlocks(String liftName)} after!
*
* @param blocks The blockset
* @param block The block

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.api.enums;
package tech.sbdevelopment.v10lift.api.enums;
public enum LiftDirection {
UP, DOWN, STOP

View file

@ -0,0 +1,4 @@
/**
* All the enums used for V10Lift
*/
package tech.sbdevelopment.v10lift.api.enums;

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.api.objects;
package tech.sbdevelopment.v10lift.api.objects;
import lombok.Getter;
import lombok.NoArgsConstructor;

View file

@ -1,10 +1,10 @@
package nl.SBDeveloper.V10Lift.api.objects;
package tech.sbdevelopment.v10lift.api.objects;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import nl.SBDeveloper.V10Lift.api.runnables.DoorCloser;
import tech.sbdevelopment.v10lift.api.runnables.DoorCloser;
import java.util.*;

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.api.objects;
package tech.sbdevelopment.v10lift.api.objects;
import lombok.Getter;
import lombok.NoArgsConstructor;

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.api.objects;
package tech.sbdevelopment.v10lift.api.objects;
import lombok.Getter;
import lombok.NoArgsConstructor;

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.api.objects;
package tech.sbdevelopment.v10lift.api.objects;
import lombok.Getter;
import lombok.NoArgsConstructor;

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.api.objects;
package tech.sbdevelopment.v10lift.api.objects;
import lombok.Getter;
import lombok.NoArgsConstructor;

View file

@ -0,0 +1,4 @@
/**
* All the objects used for V10Lift
*/
package tech.sbdevelopment.v10lift.api.objects;

View file

@ -0,0 +1,4 @@
/**
* The main API package
*/
package tech.sbdevelopment.v10lift.api;

View file

@ -1,8 +1,8 @@
package nl.SBDeveloper.V10Lift.api.runnables;
package tech.sbdevelopment.v10lift.api.runnables;
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
import nl.SBDeveloper.V10Lift.api.V10LiftAPI;
import nl.SBDeveloper.V10Lift.managers.DataManager;
import tech.sbdevelopment.v10lift.V10LiftPlugin;
import tech.sbdevelopment.v10lift.api.V10LiftAPI;
import tech.sbdevelopment.v10lift.managers.DataManager;
import org.bukkit.Bukkit;
/** The DoorCloser runnable, used for checking if the door can be closed. */

View file

@ -1,16 +1,16 @@
package nl.SBDeveloper.V10Lift.api.runnables;
package tech.sbdevelopment.v10lift.api.runnables;
import com.cryptomorin.xseries.XMaterial;
import com.cryptomorin.xseries.XSound;
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
import nl.SBDeveloper.V10Lift.api.V10LiftAPI;
import nl.SBDeveloper.V10Lift.api.enums.LiftDirection;
import tech.sbdevelopment.v10lift.V10LiftPlugin;
import tech.sbdevelopment.v10lift.api.V10LiftAPI;
import tech.sbdevelopment.v10lift.api.enums.LiftDirection;
import nl.SBDeveloper.V10Lift.api.objects.*;
import nl.SBDeveloper.V10Lift.managers.AntiCopyBlockManager;
import nl.SBDeveloper.V10Lift.managers.DataManager;
import nl.SBDeveloper.V10Lift.sbutils.LocationSerializer;
import nl.SBDeveloper.V10Lift.utils.ConfigUtil;
import nl.SBDeveloper.V10Lift.utils.DirectionUtil;
import tech.sbdevelopment.v10lift.managers.AntiCopyBlockManager;
import tech.sbdevelopment.v10lift.managers.DataManager;
import tech.sbdevelopment.v10lift.sbutils.LocationSerializer;
import tech.sbdevelopment.v10lift.utils.ConfigUtil;
import tech.sbdevelopment.v10lift.utils.DirectionUtil;
import org.bukkit.*;
import org.bukkit.block.Block;
import org.bukkit.block.BlockState;
@ -19,6 +19,7 @@ import org.bukkit.block.Sign;
import org.bukkit.entity.Entity;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack;
import tech.sbdevelopment.v10lift.api.objects.*;
import java.lang.reflect.Method;
import java.util.*;

View file

@ -0,0 +1,4 @@
/**
* All the runnables of V10Lift
*/
package tech.sbdevelopment.v10lift.api.runnables;

View file

@ -1,16 +1,16 @@
package nl.SBDeveloper.V10Lift.commands;
package tech.sbdevelopment.v10lift.commands;
import com.cryptomorin.xseries.XMaterial;
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
import nl.SBDeveloper.V10Lift.api.V10LiftAPI;
import nl.SBDeveloper.V10Lift.api.objects.Floor;
import nl.SBDeveloper.V10Lift.api.objects.Lift;
import nl.SBDeveloper.V10Lift.api.objects.LiftBlock;
import nl.SBDeveloper.V10Lift.api.objects.LiftSign;
import nl.SBDeveloper.V10Lift.managers.DataManager;
import nl.SBDeveloper.V10Lift.managers.VaultManager;
import nl.SBDeveloper.V10Lift.sbutils.LocationSerializer;
import nl.SBDeveloper.V10Lift.utils.ConfigUtil;
import tech.sbdevelopment.v10lift.V10LiftPlugin;
import tech.sbdevelopment.v10lift.api.V10LiftAPI;
import tech.sbdevelopment.v10lift.api.objects.Floor;
import tech.sbdevelopment.v10lift.api.objects.Lift;
import tech.sbdevelopment.v10lift.api.objects.LiftBlock;
import tech.sbdevelopment.v10lift.api.objects.LiftSign;
import tech.sbdevelopment.v10lift.managers.DataManager;
import tech.sbdevelopment.v10lift.managers.VaultManager;
import tech.sbdevelopment.v10lift.sbutils.LocationSerializer;
import tech.sbdevelopment.v10lift.utils.ConfigUtil;
import org.bukkit.*;
import org.bukkit.block.Block;
import org.bukkit.block.BlockState;

View file

@ -1,9 +1,9 @@
package nl.SBDeveloper.V10Lift.commands;
package tech.sbdevelopment.v10lift.commands;
import nl.SBDeveloper.V10Lift.api.objects.Lift;
import nl.SBDeveloper.V10Lift.managers.DataManager;
import nl.SBDeveloper.V10Lift.managers.VaultManager;
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
import tech.sbdevelopment.v10lift.api.objects.Lift;
import tech.sbdevelopment.v10lift.managers.DataManager;
import tech.sbdevelopment.v10lift.managers.VaultManager;
import tech.sbdevelopment.v10lift.V10LiftPlugin;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;

View file

@ -1,4 +1,4 @@
/**
* The command and tab manager of v10lift
*/
package nl.SBDeveloper.V10Lift.commands;
package tech.sbdevelopment.v10lift.commands;

View file

@ -1,13 +1,12 @@
package nl.SBDeveloper.V10Lift.listeners;
package tech.sbdevelopment.v10lift.listeners;
import nl.SBDeveloper.V10Lift.api.V10LiftAPI;
import nl.SBDeveloper.V10Lift.api.objects.Floor;
import nl.SBDeveloper.V10Lift.api.objects.Lift;
import nl.SBDeveloper.V10Lift.api.objects.LiftBlock;
import nl.SBDeveloper.V10Lift.managers.DataManager;
import nl.SBDeveloper.V10Lift.utils.ConfigUtil;
import nl.SBDeveloper.V10Lift.utils.DoorUtil;
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
import tech.sbdevelopment.v10lift.api.V10LiftAPI;
import tech.sbdevelopment.v10lift.api.objects.Floor;
import tech.sbdevelopment.v10lift.api.objects.Lift;
import tech.sbdevelopment.v10lift.api.objects.LiftBlock;
import tech.sbdevelopment.v10lift.managers.DataManager;
import tech.sbdevelopment.v10lift.utils.ConfigUtil;
import tech.sbdevelopment.v10lift.utils.DoorUtil;
import org.bukkit.Location;
import org.bukkit.block.Block;
import org.bukkit.block.Sign;

View file

@ -1,8 +1,8 @@
package nl.SBDeveloper.V10Lift.listeners;
package tech.sbdevelopment.v10lift.listeners;
import nl.SBDeveloper.V10Lift.api.objects.Lift;
import nl.SBDeveloper.V10Lift.api.objects.LiftBlock;
import nl.SBDeveloper.V10Lift.managers.DataManager;
import tech.sbdevelopment.v10lift.api.objects.Lift;
import tech.sbdevelopment.v10lift.api.objects.LiftBlock;
import tech.sbdevelopment.v10lift.managers.DataManager;
import org.bukkit.Location;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;

View file

@ -1,16 +1,16 @@
package nl.SBDeveloper.V10Lift.listeners;
package tech.sbdevelopment.v10lift.listeners;
import com.cryptomorin.xseries.XMaterial;
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
import nl.SBDeveloper.V10Lift.api.V10LiftAPI;
import nl.SBDeveloper.V10Lift.api.objects.Floor;
import nl.SBDeveloper.V10Lift.api.objects.Lift;
import nl.SBDeveloper.V10Lift.api.objects.LiftBlock;
import nl.SBDeveloper.V10Lift.managers.DataManager;
import nl.SBDeveloper.V10Lift.managers.ForbiddenBlockManager;
import nl.SBDeveloper.V10Lift.managers.VaultManager;
import nl.SBDeveloper.V10Lift.utils.ConfigUtil;
import nl.SBDeveloper.V10Lift.utils.DoorUtil;
import tech.sbdevelopment.v10lift.V10LiftPlugin;
import tech.sbdevelopment.v10lift.api.V10LiftAPI;
import tech.sbdevelopment.v10lift.api.objects.Floor;
import tech.sbdevelopment.v10lift.api.objects.Lift;
import tech.sbdevelopment.v10lift.api.objects.LiftBlock;
import tech.sbdevelopment.v10lift.managers.DataManager;
import tech.sbdevelopment.v10lift.managers.ForbiddenBlockManager;
import tech.sbdevelopment.v10lift.managers.VaultManager;
import tech.sbdevelopment.v10lift.utils.ConfigUtil;
import tech.sbdevelopment.v10lift.utils.DoorUtil;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.GameMode;

View file

@ -1,9 +1,9 @@
package nl.SBDeveloper.V10Lift.listeners;
package tech.sbdevelopment.v10lift.listeners;
import nl.SBDeveloper.V10Lift.api.objects.Lift;
import nl.SBDeveloper.V10Lift.api.objects.LiftSign;
import nl.SBDeveloper.V10Lift.managers.DataManager;
import nl.SBDeveloper.V10Lift.utils.ConfigUtil;
import tech.sbdevelopment.v10lift.api.objects.Lift;
import tech.sbdevelopment.v10lift.api.objects.LiftSign;
import tech.sbdevelopment.v10lift.managers.DataManager;
import tech.sbdevelopment.v10lift.utils.ConfigUtil;
import org.bukkit.ChatColor;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;

View file

@ -1,4 +1,4 @@
/**
* All the event listeners of V10Lift
*/
package nl.SBDeveloper.V10Lift.listeners;
package tech.sbdevelopment.v10lift.listeners;

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.managers;
package tech.sbdevelopment.v10lift.managers;
import com.cryptomorin.xseries.XMaterial;
import org.bukkit.Material;

View file

@ -1,9 +1,9 @@
package nl.SBDeveloper.V10Lift.managers;
package tech.sbdevelopment.v10lift.managers;
import com.google.gson.Gson;
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
import nl.SBDeveloper.V10Lift.api.objects.Lift;
import nl.SBDeveloper.V10Lift.sbutils.SQLiteDB;
import tech.sbdevelopment.v10lift.V10LiftPlugin;
import tech.sbdevelopment.v10lift.api.objects.Lift;
import tech.sbdevelopment.v10lift.sbutils.SQLiteDB;
import org.bukkit.Bukkit;
import java.sql.Connection;

View file

@ -1,8 +1,8 @@
package nl.SBDeveloper.V10Lift.managers;
package tech.sbdevelopment.v10lift.managers;
import lombok.Getter;
import nl.SBDeveloper.V10Lift.api.objects.Lift;
import nl.SBDeveloper.V10Lift.api.objects.LiftBlock;
import tech.sbdevelopment.v10lift.api.objects.Lift;
import tech.sbdevelopment.v10lift.api.objects.LiftBlock;
import java.util.*;

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.managers;
package tech.sbdevelopment.v10lift.managers;
import com.cryptomorin.xseries.XMaterial;
import org.bukkit.Material;

View file

@ -1,7 +1,7 @@
package nl.SBDeveloper.V10Lift.managers;
package tech.sbdevelopment.v10lift.managers;
import net.milkbowl.vault.permission.Permission;
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
import tech.sbdevelopment.v10lift.V10LiftPlugin;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.plugin.RegisteredServiceProvider;

View file

@ -1,4 +1,4 @@
/**
* The package with all the managers, like forbidden blocks, data and more
*/
package nl.SBDeveloper.V10Lift.managers;
package tech.sbdevelopment.v10lift.managers;

View file

@ -1,4 +1,4 @@
/**
* Main package of V10Lift
*/
package nl.SBDeveloper.V10Lift;
package tech.sbdevelopment.v10lift;

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.sbutils;
package tech.sbdevelopment.v10lift.sbutils;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.configuration.file.FileConfiguration;

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.sbutils;
package tech.sbdevelopment.v10lift.sbutils;
import org.bukkit.Bukkit;
import org.bukkit.Location;

View file

@ -1,8 +1,8 @@
package nl.SBDeveloper.V10Lift.sbutils;
package tech.sbdevelopment.v10lift.sbutils;
import com.zaxxer.hikari.HikariConfig;
import com.zaxxer.hikari.HikariDataSource;
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
import tech.sbdevelopment.v10lift.V10LiftPlugin;
import org.bukkit.Bukkit;
import java.io.File;

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.sbutils;
package tech.sbdevelopment.v10lift.sbutils;
import com.google.gson.JsonParser;
import org.bukkit.Bukkit;

View file

@ -1,6 +1,6 @@
package nl.SBDeveloper.V10Lift.sbutils;
package tech.sbdevelopment.v10lift.sbutils;
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
import tech.sbdevelopment.v10lift.V10LiftPlugin;
import org.bukkit.Bukkit;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;

View file

@ -1,4 +1,4 @@
/**
* The package with all the SBDevelopment utils
*/
package nl.SBDeveloper.V10Lift.sbutils;
package tech.sbdevelopment.v10lift.sbutils;

View file

@ -1,6 +1,6 @@
package nl.SBDeveloper.V10Lift.utils;
package tech.sbdevelopment.v10lift.utils;
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
import tech.sbdevelopment.v10lift.V10LiftPlugin;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.utils;
package tech.sbdevelopment.v10lift.utils;
import com.cryptomorin.xseries.XMaterial;
import org.bukkit.block.Block;

View file

@ -1,4 +1,4 @@
package nl.SBDeveloper.V10Lift.utils;
package tech.sbdevelopment.v10lift.utils;
import com.cryptomorin.xseries.XMaterial;
import com.cryptomorin.xseries.XSound;

View file

@ -1,4 +1,4 @@
/**
* The package with all the utils
*/
package nl.SBDeveloper.V10Lift.utils;
package tech.sbdevelopment.v10lift.utils;