Bumped dependencies, changed to SBDevelopment branding
This commit is contained in:
parent
3ea6a82eaa
commit
2620543e97
48 changed files with 179 additions and 215 deletions
|
@ -1 +0,0 @@
|
||||||
language: java
|
|
21
README.md
21
README.md
|
@ -1,22 +1,19 @@
|
||||||
# V10Lift2
|
# V10Lift
|
||||||
![Build status](https://travis-ci.org/stijnb1234/V10Lift2.svg?branch=master)
|
The official recode of the original [V10Lift](https://github.com/shinyquagsire23/V10Lift) plugin.
|
||||||
|
|
||||||
The recode of the V10Lift plugin!
|
|
||||||
|
|
||||||
*Original source: [Click here](https://github.com/shinyquagsire23/V10Lift)*
|
|
||||||
|
|
||||||
## Maven
|
## Maven
|
||||||
```xml
|
```xml
|
||||||
<repository>
|
<repository>
|
||||||
<id>iobyte-repo</id>
|
<id>sbdevelopment-repo-releases</id>
|
||||||
<url>https://nexus.iobyte.nl/repository/maven-public/</url>
|
<name>SBDevelopment Repository</name>
|
||||||
|
<url>https://repo.sbdevelopment.tech/releases</url>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>nl.SBDeveloper</groupId>
|
<groupId>tech.sbdevelopment</groupId>
|
||||||
<artifactId>V10Lift2</artifactId>
|
<artifactId>V10Lift</artifactId>
|
||||||
<version>0.6</version>
|
<version>0.7.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
© Stijn Bannink - 2019/2022
|
© Stijn Bannink - 2023/2024
|
91
pom.xml
91
pom.xml
|
@ -3,54 +3,46 @@
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>nl.SBDeveloper</groupId>
|
<groupId>tech.sbdevelopment</groupId>
|
||||||
<artifactId>V10Lift2</artifactId>
|
<artifactId>V10Lift</artifactId>
|
||||||
<version>0.7.4.1</version>
|
<version>0.7.5</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>V10Lift</name>
|
<name>V10Lift</name>
|
||||||
<description>Realistic lifts in Minecraft!</description>
|
<description>Realistic lifts in Minecraft!</description>
|
||||||
<url>sbdplugins.nl</url>
|
<url>https://sbdevelopment.tech</url>
|
||||||
|
|
||||||
<distributionManagement>
|
|
||||||
<repository>
|
|
||||||
<id>iobyte-nexus</id>
|
|
||||||
<url>https://nexus.iobyte.nl/repository/maven-releases</url>
|
|
||||||
</repository>
|
|
||||||
</distributionManagement>
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
<maven.lombok.delombok-target>${project.build.directory}/javadoc-delombok</maven.lombok.delombok-target>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>sbdevelopment-repo</id>
|
||||||
|
<url>https://repo.sbdevelopment.tech/releases</url>
|
||||||
|
</repository>
|
||||||
|
</distributionManagement>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<defaultGoal>clean package</defaultGoal>
|
|
||||||
<!-- Include yml files -->
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources</directory>
|
|
||||||
<filtering>true</filtering>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
<finalName>V10Lift v${project.version}</finalName>
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<!-- Shade JAR -->
|
<!-- Shade JAR -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
<version>3.3.0</version>
|
<version>3.5.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<relocations>
|
<relocations>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>org.bstats</pattern>
|
<pattern>org.bstats</pattern>
|
||||||
<shadedPattern>nl.SBDeveloper.V10Lift.libs.metrics</shadedPattern>
|
<shadedPattern>tech.sbdevelopment.v10lift.libs.metrics</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>com.zaxxer.hikari</pattern>
|
<pattern>com.zaxxer.hikari</pattern>
|
||||||
<shadedPattern>nl.SBDeveloper.V10Lift.libs.hikari</shadedPattern>
|
<shadedPattern>tech.sbdevelopment.v10lift.libs.hikari</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
<relocation>
|
<relocation>
|
||||||
<pattern>com.cryptomorin.xseries</pattern>
|
<pattern>com.cryptomorin.xseries</pattern>
|
||||||
<shadedPattern>nl.SBDeveloper.V10Lift.libs.xseries</shadedPattern>
|
<shadedPattern>tech.sbdevelopment.v10lift.libs.xseries</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
</relocations>
|
</relocations>
|
||||||
<filters>
|
<filters>
|
||||||
|
@ -102,7 +94,7 @@
|
||||||
<version>1.18.20.0</version>
|
<version>1.18.20.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
||||||
<outputDirectory>${project.build.directory}/delombok</outputDirectory>
|
<outputDirectory>${maven.lombok.delombok-target}</outputDirectory>
|
||||||
<addOutputDirectory>false</addOutputDirectory>
|
<addOutputDirectory>false</addOutputDirectory>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
|
@ -119,11 +111,10 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>3.4.0</version>
|
<version>3.5.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<sourcepath>${project.build.directory}/delombok</sourcepath>
|
<release>11</release>
|
||||||
|
<sourcepath>${maven.lombok.delombok-target}</sourcepath>
|
||||||
<!-- Exclude all non-API packages -->
|
|
||||||
<sourceFileExcludes>
|
<sourceFileExcludes>
|
||||||
<exclude>nl/SBDeveloper/V10Lift/*.java</exclude>
|
<exclude>nl/SBDeveloper/V10Lift/*.java</exclude>
|
||||||
<exclude>nl/SBDeveloper/V10Lift/commands/*.java</exclude>
|
<exclude>nl/SBDeveloper/V10Lift/commands/*.java</exclude>
|
||||||
|
@ -133,37 +124,13 @@
|
||||||
</sourceFileExcludes>
|
</sourceFileExcludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<!-- SKIP the maven deploy -->
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
|
||||||
<version>3.1.1</version>
|
|
||||||
<configuration>
|
|
||||||
<skip>true</skip>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<!-- Deploy to nexus -->
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.sonatype.plugins</groupId>
|
|
||||||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
||||||
<version>1.6.13</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>default-deploy</id>
|
|
||||||
<phase>deploy</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>deploy</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<serverId>iobyte-nexus</serverId>
|
|
||||||
<nexusUrl>https://nexus.iobyte.nl/</nexusUrl>
|
|
||||||
<skipStaging>true</skipStaging>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
|
@ -186,7 +153,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<version>1.19-R0.1-SNAPSHOT</version>
|
<version>1.20.1-R0.1-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
@ -202,7 +169,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bstats</groupId>
|
<groupId>org.bstats</groupId>
|
||||||
<artifactId>bstats-bukkit</artifactId>
|
<artifactId>bstats-bukkit</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>3.0.2</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
@ -218,7 +185,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.cryptomorin</groupId>
|
<groupId>com.github.cryptomorin</groupId>
|
||||||
<artifactId>XSeries</artifactId>
|
<artifactId>XSeries</artifactId>
|
||||||
<version>8.7.1</version>
|
<version>9.5.0</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
/**
|
|
||||||
* All the enums used for V10Lift
|
|
||||||
*/
|
|
||||||
package nl.SBDeveloper.V10Lift.api.enums;
|
|
|
@ -1,4 +0,0 @@
|
||||||
/**
|
|
||||||
* All the objects used for V10Lift
|
|
||||||
*/
|
|
||||||
package nl.SBDeveloper.V10Lift.api.objects;
|
|
|
@ -1,4 +0,0 @@
|
||||||
/**
|
|
||||||
* The main API package
|
|
||||||
*/
|
|
||||||
package nl.SBDeveloper.V10Lift.api;
|
|
|
@ -1,4 +0,0 @@
|
||||||
/**
|
|
||||||
* All the runnables of V10Lift
|
|
||||||
*/
|
|
||||||
package nl.SBDeveloper.V10Lift.api.runnables;
|
|
|
@ -1,17 +1,17 @@
|
||||||
package nl.SBDeveloper.V10Lift;
|
package tech.sbdevelopment.v10lift;
|
||||||
|
|
||||||
import nl.SBDeveloper.V10Lift.commands.V10LiftCommand;
|
import tech.sbdevelopment.v10lift.commands.V10LiftCommand;
|
||||||
import nl.SBDeveloper.V10Lift.commands.V10LiftTabCompleter;
|
import tech.sbdevelopment.v10lift.commands.V10LiftTabCompleter;
|
||||||
import nl.SBDeveloper.V10Lift.listeners.BlockBreakListener;
|
import tech.sbdevelopment.v10lift.listeners.BlockBreakListener;
|
||||||
import nl.SBDeveloper.V10Lift.listeners.EntityDamageListener;
|
import tech.sbdevelopment.v10lift.listeners.EntityDamageListener;
|
||||||
import nl.SBDeveloper.V10Lift.listeners.PlayerInteractListener;
|
import tech.sbdevelopment.v10lift.listeners.PlayerInteractListener;
|
||||||
import nl.SBDeveloper.V10Lift.listeners.SignChangeListener;
|
import tech.sbdevelopment.v10lift.listeners.SignChangeListener;
|
||||||
import nl.SBDeveloper.V10Lift.managers.DBManager;
|
import tech.sbdevelopment.v10lift.managers.DBManager;
|
||||||
import nl.SBDeveloper.V10Lift.managers.DataManager;
|
import tech.sbdevelopment.v10lift.managers.DataManager;
|
||||||
import nl.SBDeveloper.V10Lift.managers.VaultManager;
|
import tech.sbdevelopment.v10lift.managers.VaultManager;
|
||||||
import nl.SBDeveloper.V10Lift.sbutils.ConfigUpdater;
|
import tech.sbdevelopment.v10lift.sbutils.ConfigUpdater;
|
||||||
import nl.SBDeveloper.V10Lift.sbutils.UpdateManager;
|
import tech.sbdevelopment.v10lift.sbutils.UpdateManager;
|
||||||
import nl.SBDeveloper.V10Lift.sbutils.YamlFile;
|
import tech.sbdevelopment.v10lift.sbutils.YamlFile;
|
||||||
import org.bstats.bukkit.Metrics;
|
import org.bstats.bukkit.Metrics;
|
||||||
import org.bstats.charts.SingleLineChart;
|
import org.bstats.charts.SingleLineChart;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
|
@ -1,16 +1,16 @@
|
||||||
package nl.SBDeveloper.V10Lift.api;
|
package tech.sbdevelopment.v10lift.api;
|
||||||
|
|
||||||
import com.cryptomorin.xseries.XMaterial;
|
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.objects.*;
|
||||||
import nl.SBDeveloper.V10Lift.api.runnables.DoorCloser;
|
import tech.sbdevelopment.v10lift.api.runnables.DoorCloser;
|
||||||
import nl.SBDeveloper.V10Lift.api.runnables.MoveLift;
|
import tech.sbdevelopment.v10lift.api.runnables.MoveLift;
|
||||||
import nl.SBDeveloper.V10Lift.managers.DataManager;
|
import tech.sbdevelopment.v10lift.managers.DataManager;
|
||||||
import nl.SBDeveloper.V10Lift.managers.ForbiddenBlockManager;
|
import tech.sbdevelopment.v10lift.managers.ForbiddenBlockManager;
|
||||||
import nl.SBDeveloper.V10Lift.sbutils.LocationSerializer;
|
import tech.sbdevelopment.v10lift.sbutils.LocationSerializer;
|
||||||
import nl.SBDeveloper.V10Lift.utils.ConfigUtil;
|
import tech.sbdevelopment.v10lift.utils.ConfigUtil;
|
||||||
import nl.SBDeveloper.V10Lift.utils.DirectionUtil;
|
import tech.sbdevelopment.v10lift.utils.DirectionUtil;
|
||||||
import nl.SBDeveloper.V10Lift.utils.DoorUtil;
|
import tech.sbdevelopment.v10lift.utils.DoorUtil;
|
||||||
import org.bukkit.*;
|
import org.bukkit.*;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.block.BlockFace;
|
import org.bukkit.block.BlockFace;
|
||||||
|
@ -19,6 +19,7 @@ import org.bukkit.block.Sign;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
import tech.sbdevelopment.v10lift.api.objects.*;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
@ -156,7 +157,7 @@ public class V10LiftAPI {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a block to a lift
|
* 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 liftName The name of the lift
|
||||||
* @param block The block
|
* @param block The block
|
||||||
|
@ -170,7 +171,7 @@ public class V10LiftAPI {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a block to a lift
|
* 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 blocks The blockset
|
||||||
* @param block The block
|
* @param block The block
|
||||||
|
@ -210,7 +211,7 @@ public class V10LiftAPI {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add a block to a lift
|
* 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 blocks The blockset
|
||||||
* @param block The LiftBlock
|
* @param block The LiftBlock
|
||||||
|
@ -225,7 +226,7 @@ public class V10LiftAPI {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove a block from a lift
|
* 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 liftName The name of the lift
|
||||||
* @param block The block
|
* @param block The block
|
||||||
|
@ -269,7 +270,7 @@ public class V10LiftAPI {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Switch a block at a lift
|
* 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 liftName The name of the lift
|
||||||
* @param block The block
|
* @param block The block
|
||||||
|
@ -282,7 +283,7 @@ public class V10LiftAPI {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Switch a block at a lift
|
* 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 blocks The blockset
|
||||||
* @param block The block
|
* @param block The block
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.api.enums;
|
package tech.sbdevelopment.v10lift.api.enums;
|
||||||
|
|
||||||
public enum LiftDirection {
|
public enum LiftDirection {
|
||||||
UP, DOWN, STOP
|
UP, DOWN, STOP
|
|
@ -0,0 +1,4 @@
|
||||||
|
/**
|
||||||
|
* All the enums used for V10Lift
|
||||||
|
*/
|
||||||
|
package tech.sbdevelopment.v10lift.api.enums;
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.api.objects;
|
package tech.sbdevelopment.v10lift.api.objects;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
|
@ -1,10 +1,10 @@
|
||||||
package nl.SBDeveloper.V10Lift.api.objects;
|
package tech.sbdevelopment.v10lift.api.objects;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
||||||
import lombok.ToString;
|
import lombok.ToString;
|
||||||
import nl.SBDeveloper.V10Lift.api.runnables.DoorCloser;
|
import tech.sbdevelopment.v10lift.api.runnables.DoorCloser;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.api.objects;
|
package tech.sbdevelopment.v10lift.api.objects;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.api.objects;
|
package tech.sbdevelopment.v10lift.api.objects;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.api.objects;
|
package tech.sbdevelopment.v10lift.api.objects;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.api.objects;
|
package tech.sbdevelopment.v10lift.api.objects;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
|
@ -0,0 +1,4 @@
|
||||||
|
/**
|
||||||
|
* All the objects used for V10Lift
|
||||||
|
*/
|
||||||
|
package tech.sbdevelopment.v10lift.api.objects;
|
|
@ -0,0 +1,4 @@
|
||||||
|
/**
|
||||||
|
* The main API package
|
||||||
|
*/
|
||||||
|
package tech.sbdevelopment.v10lift.api;
|
|
@ -1,8 +1,8 @@
|
||||||
package nl.SBDeveloper.V10Lift.api.runnables;
|
package tech.sbdevelopment.v10lift.api.runnables;
|
||||||
|
|
||||||
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
|
import tech.sbdevelopment.v10lift.V10LiftPlugin;
|
||||||
import nl.SBDeveloper.V10Lift.api.V10LiftAPI;
|
import tech.sbdevelopment.v10lift.api.V10LiftAPI;
|
||||||
import nl.SBDeveloper.V10Lift.managers.DataManager;
|
import tech.sbdevelopment.v10lift.managers.DataManager;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
|
|
||||||
/** The DoorCloser runnable, used for checking if the door can be closed. */
|
/** The DoorCloser runnable, used for checking if the door can be closed. */
|
|
@ -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.XMaterial;
|
||||||
import com.cryptomorin.xseries.XSound;
|
import com.cryptomorin.xseries.XSound;
|
||||||
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
|
import tech.sbdevelopment.v10lift.V10LiftPlugin;
|
||||||
import nl.SBDeveloper.V10Lift.api.V10LiftAPI;
|
import tech.sbdevelopment.v10lift.api.V10LiftAPI;
|
||||||
import nl.SBDeveloper.V10Lift.api.enums.LiftDirection;
|
import tech.sbdevelopment.v10lift.api.enums.LiftDirection;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.*;
|
import nl.SBDeveloper.V10Lift.api.objects.*;
|
||||||
import nl.SBDeveloper.V10Lift.managers.AntiCopyBlockManager;
|
import tech.sbdevelopment.v10lift.managers.AntiCopyBlockManager;
|
||||||
import nl.SBDeveloper.V10Lift.managers.DataManager;
|
import tech.sbdevelopment.v10lift.managers.DataManager;
|
||||||
import nl.SBDeveloper.V10Lift.sbutils.LocationSerializer;
|
import tech.sbdevelopment.v10lift.sbutils.LocationSerializer;
|
||||||
import nl.SBDeveloper.V10Lift.utils.ConfigUtil;
|
import tech.sbdevelopment.v10lift.utils.ConfigUtil;
|
||||||
import nl.SBDeveloper.V10Lift.utils.DirectionUtil;
|
import tech.sbdevelopment.v10lift.utils.DirectionUtil;
|
||||||
import org.bukkit.*;
|
import org.bukkit.*;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.block.BlockState;
|
import org.bukkit.block.BlockState;
|
||||||
|
@ -19,6 +19,7 @@ import org.bukkit.block.Sign;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.inventory.Inventory;
|
import org.bukkit.inventory.Inventory;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
import tech.sbdevelopment.v10lift.api.objects.*;
|
||||||
|
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.util.*;
|
import java.util.*;
|
|
@ -0,0 +1,4 @@
|
||||||
|
/**
|
||||||
|
* All the runnables of V10Lift
|
||||||
|
*/
|
||||||
|
package tech.sbdevelopment.v10lift.api.runnables;
|
|
@ -1,16 +1,16 @@
|
||||||
package nl.SBDeveloper.V10Lift.commands;
|
package tech.sbdevelopment.v10lift.commands;
|
||||||
|
|
||||||
import com.cryptomorin.xseries.XMaterial;
|
import com.cryptomorin.xseries.XMaterial;
|
||||||
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
|
import tech.sbdevelopment.v10lift.V10LiftPlugin;
|
||||||
import nl.SBDeveloper.V10Lift.api.V10LiftAPI;
|
import tech.sbdevelopment.v10lift.api.V10LiftAPI;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.Floor;
|
import tech.sbdevelopment.v10lift.api.objects.Floor;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.Lift;
|
import tech.sbdevelopment.v10lift.api.objects.Lift;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.LiftBlock;
|
import tech.sbdevelopment.v10lift.api.objects.LiftBlock;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.LiftSign;
|
import tech.sbdevelopment.v10lift.api.objects.LiftSign;
|
||||||
import nl.SBDeveloper.V10Lift.managers.DataManager;
|
import tech.sbdevelopment.v10lift.managers.DataManager;
|
||||||
import nl.SBDeveloper.V10Lift.managers.VaultManager;
|
import tech.sbdevelopment.v10lift.managers.VaultManager;
|
||||||
import nl.SBDeveloper.V10Lift.sbutils.LocationSerializer;
|
import tech.sbdevelopment.v10lift.sbutils.LocationSerializer;
|
||||||
import nl.SBDeveloper.V10Lift.utils.ConfigUtil;
|
import tech.sbdevelopment.v10lift.utils.ConfigUtil;
|
||||||
import org.bukkit.*;
|
import org.bukkit.*;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.block.BlockState;
|
import org.bukkit.block.BlockState;
|
|
@ -1,9 +1,9 @@
|
||||||
package nl.SBDeveloper.V10Lift.commands;
|
package tech.sbdevelopment.v10lift.commands;
|
||||||
|
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.Lift;
|
import tech.sbdevelopment.v10lift.api.objects.Lift;
|
||||||
import nl.SBDeveloper.V10Lift.managers.DataManager;
|
import tech.sbdevelopment.v10lift.managers.DataManager;
|
||||||
import nl.SBDeveloper.V10Lift.managers.VaultManager;
|
import tech.sbdevelopment.v10lift.managers.VaultManager;
|
||||||
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
|
import tech.sbdevelopment.v10lift.V10LiftPlugin;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
|
@ -1,4 +1,4 @@
|
||||||
/**
|
/**
|
||||||
* The command and tab manager of v10lift
|
* The command and tab manager of v10lift
|
||||||
*/
|
*/
|
||||||
package nl.SBDeveloper.V10Lift.commands;
|
package tech.sbdevelopment.v10lift.commands;
|
|
@ -1,13 +1,12 @@
|
||||||
package nl.SBDeveloper.V10Lift.listeners;
|
package tech.sbdevelopment.v10lift.listeners;
|
||||||
|
|
||||||
import nl.SBDeveloper.V10Lift.api.V10LiftAPI;
|
import tech.sbdevelopment.v10lift.api.V10LiftAPI;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.Floor;
|
import tech.sbdevelopment.v10lift.api.objects.Floor;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.Lift;
|
import tech.sbdevelopment.v10lift.api.objects.Lift;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.LiftBlock;
|
import tech.sbdevelopment.v10lift.api.objects.LiftBlock;
|
||||||
import nl.SBDeveloper.V10Lift.managers.DataManager;
|
import tech.sbdevelopment.v10lift.managers.DataManager;
|
||||||
import nl.SBDeveloper.V10Lift.utils.ConfigUtil;
|
import tech.sbdevelopment.v10lift.utils.ConfigUtil;
|
||||||
import nl.SBDeveloper.V10Lift.utils.DoorUtil;
|
import tech.sbdevelopment.v10lift.utils.DoorUtil;
|
||||||
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.block.Sign;
|
import org.bukkit.block.Sign;
|
|
@ -1,8 +1,8 @@
|
||||||
package nl.SBDeveloper.V10Lift.listeners;
|
package tech.sbdevelopment.v10lift.listeners;
|
||||||
|
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.Lift;
|
import tech.sbdevelopment.v10lift.api.objects.Lift;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.LiftBlock;
|
import tech.sbdevelopment.v10lift.api.objects.LiftBlock;
|
||||||
import nl.SBDeveloper.V10Lift.managers.DataManager;
|
import tech.sbdevelopment.v10lift.managers.DataManager;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.entity.Entity;
|
import org.bukkit.entity.Entity;
|
||||||
import org.bukkit.entity.LivingEntity;
|
import org.bukkit.entity.LivingEntity;
|
|
@ -1,16 +1,16 @@
|
||||||
package nl.SBDeveloper.V10Lift.listeners;
|
package tech.sbdevelopment.v10lift.listeners;
|
||||||
|
|
||||||
import com.cryptomorin.xseries.XMaterial;
|
import com.cryptomorin.xseries.XMaterial;
|
||||||
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
|
import tech.sbdevelopment.v10lift.V10LiftPlugin;
|
||||||
import nl.SBDeveloper.V10Lift.api.V10LiftAPI;
|
import tech.sbdevelopment.v10lift.api.V10LiftAPI;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.Floor;
|
import tech.sbdevelopment.v10lift.api.objects.Floor;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.Lift;
|
import tech.sbdevelopment.v10lift.api.objects.Lift;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.LiftBlock;
|
import tech.sbdevelopment.v10lift.api.objects.LiftBlock;
|
||||||
import nl.SBDeveloper.V10Lift.managers.DataManager;
|
import tech.sbdevelopment.v10lift.managers.DataManager;
|
||||||
import nl.SBDeveloper.V10Lift.managers.ForbiddenBlockManager;
|
import tech.sbdevelopment.v10lift.managers.ForbiddenBlockManager;
|
||||||
import nl.SBDeveloper.V10Lift.managers.VaultManager;
|
import tech.sbdevelopment.v10lift.managers.VaultManager;
|
||||||
import nl.SBDeveloper.V10Lift.utils.ConfigUtil;
|
import tech.sbdevelopment.v10lift.utils.ConfigUtil;
|
||||||
import nl.SBDeveloper.V10Lift.utils.DoorUtil;
|
import tech.sbdevelopment.v10lift.utils.DoorUtil;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.GameMode;
|
import org.bukkit.GameMode;
|
|
@ -1,9 +1,9 @@
|
||||||
package nl.SBDeveloper.V10Lift.listeners;
|
package tech.sbdevelopment.v10lift.listeners;
|
||||||
|
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.Lift;
|
import tech.sbdevelopment.v10lift.api.objects.Lift;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.LiftSign;
|
import tech.sbdevelopment.v10lift.api.objects.LiftSign;
|
||||||
import nl.SBDeveloper.V10Lift.managers.DataManager;
|
import tech.sbdevelopment.v10lift.managers.DataManager;
|
||||||
import nl.SBDeveloper.V10Lift.utils.ConfigUtil;
|
import tech.sbdevelopment.v10lift.utils.ConfigUtil;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
|
@ -1,4 +1,4 @@
|
||||||
/**
|
/**
|
||||||
* All the event listeners of V10Lift
|
* All the event listeners of V10Lift
|
||||||
*/
|
*/
|
||||||
package nl.SBDeveloper.V10Lift.listeners;
|
package tech.sbdevelopment.v10lift.listeners;
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.managers;
|
package tech.sbdevelopment.v10lift.managers;
|
||||||
|
|
||||||
import com.cryptomorin.xseries.XMaterial;
|
import com.cryptomorin.xseries.XMaterial;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
|
@ -1,9 +1,9 @@
|
||||||
package nl.SBDeveloper.V10Lift.managers;
|
package tech.sbdevelopment.v10lift.managers;
|
||||||
|
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
|
import tech.sbdevelopment.v10lift.V10LiftPlugin;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.Lift;
|
import tech.sbdevelopment.v10lift.api.objects.Lift;
|
||||||
import nl.SBDeveloper.V10Lift.sbutils.SQLiteDB;
|
import tech.sbdevelopment.v10lift.sbutils.SQLiteDB;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
|
@ -1,8 +1,8 @@
|
||||||
package nl.SBDeveloper.V10Lift.managers;
|
package tech.sbdevelopment.v10lift.managers;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.Lift;
|
import tech.sbdevelopment.v10lift.api.objects.Lift;
|
||||||
import nl.SBDeveloper.V10Lift.api.objects.LiftBlock;
|
import tech.sbdevelopment.v10lift.api.objects.LiftBlock;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.managers;
|
package tech.sbdevelopment.v10lift.managers;
|
||||||
|
|
||||||
import com.cryptomorin.xseries.XMaterial;
|
import com.cryptomorin.xseries.XMaterial;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
|
@ -1,7 +1,7 @@
|
||||||
package nl.SBDeveloper.V10Lift.managers;
|
package tech.sbdevelopment.v10lift.managers;
|
||||||
|
|
||||||
import net.milkbowl.vault.permission.Permission;
|
import net.milkbowl.vault.permission.Permission;
|
||||||
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
|
import tech.sbdevelopment.v10lift.V10LiftPlugin;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.plugin.RegisteredServiceProvider;
|
import org.bukkit.plugin.RegisteredServiceProvider;
|
|
@ -1,4 +1,4 @@
|
||||||
/**
|
/**
|
||||||
* The package with all the managers, like forbidden blocks, data and more
|
* The package with all the managers, like forbidden blocks, data and more
|
||||||
*/
|
*/
|
||||||
package nl.SBDeveloper.V10Lift.managers;
|
package tech.sbdevelopment.v10lift.managers;
|
|
@ -1,4 +1,4 @@
|
||||||
/**
|
/**
|
||||||
* Main package of V10Lift
|
* Main package of V10Lift
|
||||||
*/
|
*/
|
||||||
package nl.SBDeveloper.V10Lift;
|
package tech.sbdevelopment.v10lift;
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.sbutils;
|
package tech.sbdevelopment.v10lift.sbutils;
|
||||||
|
|
||||||
import org.bukkit.configuration.ConfigurationSection;
|
import org.bukkit.configuration.ConfigurationSection;
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
import org.bukkit.configuration.file.FileConfiguration;
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.sbutils;
|
package tech.sbdevelopment.v10lift.sbutils;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
|
@ -1,8 +1,8 @@
|
||||||
package nl.SBDeveloper.V10Lift.sbutils;
|
package tech.sbdevelopment.v10lift.sbutils;
|
||||||
|
|
||||||
import com.zaxxer.hikari.HikariConfig;
|
import com.zaxxer.hikari.HikariConfig;
|
||||||
import com.zaxxer.hikari.HikariDataSource;
|
import com.zaxxer.hikari.HikariDataSource;
|
||||||
import nl.SBDeveloper.V10Lift.V10LiftPlugin;
|
import tech.sbdevelopment.v10lift.V10LiftPlugin;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.sbutils;
|
package tech.sbdevelopment.v10lift.sbutils;
|
||||||
|
|
||||||
import com.google.gson.JsonParser;
|
import com.google.gson.JsonParser;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
|
@ -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.Bukkit;
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
import org.bukkit.configuration.file.YamlConfiguration;
|
import org.bukkit.configuration.file.YamlConfiguration;
|
|
@ -1,4 +1,4 @@
|
||||||
/**
|
/**
|
||||||
* The package with all the SBDevelopment utils
|
* The package with all the SBDevelopment utils
|
||||||
*/
|
*/
|
||||||
package nl.SBDeveloper.V10Lift.sbutils;
|
package tech.sbdevelopment.v10lift.sbutils;
|
|
@ -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.ChatColor;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.utils;
|
package tech.sbdevelopment.v10lift.utils;
|
||||||
|
|
||||||
import com.cryptomorin.xseries.XMaterial;
|
import com.cryptomorin.xseries.XMaterial;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
|
@ -1,4 +1,4 @@
|
||||||
package nl.SBDeveloper.V10Lift.utils;
|
package tech.sbdevelopment.v10lift.utils;
|
||||||
|
|
||||||
import com.cryptomorin.xseries.XMaterial;
|
import com.cryptomorin.xseries.XMaterial;
|
||||||
import com.cryptomorin.xseries.XSound;
|
import com.cryptomorin.xseries.XSound;
|
|
@ -1,4 +1,4 @@
|
||||||
/**
|
/**
|
||||||
* The package with all the utils
|
* The package with all the utils
|
||||||
*/
|
*/
|
||||||
package nl.SBDeveloper.V10Lift.utils;
|
package tech.sbdevelopment.v10lift.utils;
|
|
@ -1,5 +1,5 @@
|
||||||
name: V10Lift
|
name: V10Lift
|
||||||
main: nl.SBDeveloper.V10Lift.V10LiftPlugin
|
main: tech.sbdevelopment.v10lift.V10LiftPlugin
|
||||||
version: ${project.version}
|
version: ${project.version}
|
||||||
api-version: "1.13"
|
api-version: "1.13"
|
||||||
author: SBDeveloper
|
author: SBDeveloper
|
||||||
|
|
Loading…
Reference in a new issue