Skip to content

Commit

Permalink
Remove Spigot Update Checker (no longer use spigotmc) (#616)
Browse files Browse the repository at this point in the history
* Remove Spigot Update Checker (no longer use spigotmc)

* Updates
  • Loading branch information
JT122406 authored Dec 14, 2022
1 parent 83507d4 commit 51fdce9
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/compile_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
url: https://repo.andrei1058.dev
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17.0.3
- name: Set up JDK 17.0.5
uses: actions/setup-java@v2
with:
java-version: '17.0.3'
java-version: '17.0.5'
distribution: 'adopt'
- name: Deploy snapshot with Maven
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
url: https://repo.andrei1058.com
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17.0.3
- name: Set up JDK 17.0.5
uses: actions/setup-java@v2
with:
java-version: '17.0.3'
java-version: '17.0.5'
distribution: 'adopt'
- name: Deploy with Maven
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
url: https://repo.andrei1058.dev
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17.0.3
- name: Set up JDK 17.0.5
uses: actions/setup-java@v2
with:
java-version: '17.0.3'
java-version: '17.0.5'
distribution: 'adopt'
- name: Deploy snapshot with Maven
env:
Expand Down
17 changes: 4 additions & 13 deletions bedwars-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
<id>placeholderapi</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
<repository>
<id>spigotutils-maven</id>
<url>https://gitlab.com/api/v4/projects/14374071/packages/maven</url>
</repository>
<repository>
<id>codemc-public</id>
<url>https://repo.codemc.io/repository/maven-public/</url>
Expand Down Expand Up @@ -72,7 +68,7 @@
<dependency>
<groupId>de.simonsator</groupId>
<artifactId>Party-and-Friends-MySQL-Edition-Spigot-API</artifactId>
<version>1.5.3</version>
<version>1.5.4-RELEASE</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -176,7 +172,7 @@
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.11.1</version>
<version>2.11.2</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand All @@ -185,11 +181,6 @@
<version>[1.0,)</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.andrei1058.spigotutils</groupId>
<artifactId>spigotutils</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
<dependency>
<groupId>commons-io</groupId>
Expand All @@ -214,7 +205,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.36</version>
<version>2.0.5</version>
<optional>true</optional>
</dependency>

Expand Down Expand Up @@ -242,7 +233,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.3.0</version>
<version>3.4.1</version>
<configuration>
<relocations>
<relocation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
import com.andrei1058.bedwars.support.vault.*;
import com.andrei1058.bedwars.support.vipfeatures.VipFeatures;
import com.andrei1058.bedwars.support.vipfeatures.VipListeners;
import com.andrei1058.spigotutils.SpigotUpdater;
import com.andrei1058.vipfeatures.api.IVipFeatures;
import com.andrei1058.vipfeatures.api.MiniGameAlreadyRegistered;
import org.bstats.bukkit.Metrics;
Expand Down Expand Up @@ -534,10 +533,6 @@ public void onEnable() {
}
}

/* Check updates */
new SpigotUpdater(this, 50942, true).checkUpdate();


Bukkit.getScheduler().runTaskLater(this, () -> getLogger().info("This server is running in " + getServerType().toString() + " with auto-scale " + autoscale), 100L);

// Initialize team upgrades
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>23.0.0</version>
<version>23.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -62,7 +62,7 @@
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
</extension>
</extensions>
<plugins>
Expand All @@ -78,7 +78,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<version>3.4.1</version>
<configuration>
<skip>true</skip>
</configuration>
Expand Down

0 comments on commit 51fdce9

Please sign in to comment.