Use the new .net URL structure

This commit is contained in:
ME1312 2019-12-11 21:01:28 -05:00
parent 611b59f2c8
commit 35c80bba80
No known key found for this signature in database
GPG Key ID: FEFFE2F698E88FA8
9 changed files with 27 additions and 27 deletions

View File

@ -321,14 +321,14 @@
switch (a.attr("href").toLowerCase()) { switch (a.attr("href").toLowerCase()) {
case "%adfly_app_download%": case "%adfly_app_download%":
if (hash.hasOwnProperty("build")) { if (hash.hasOwnProperty("build")) {
a.attr("href", "https://adf.ly/18562515/https://src.me1312.net/maven/net/ME1312/SubServers/" + hash.app.replace(/^(.+?)\.([^.]*)$/, '$1') + "/" + hash.build + "/" + hash.app.replace(/^(.+?)\.([^.]*)$/, '$1') + "-" + hash.build + ".jar"); a.attr("href", "https://adf.ly/18562515/https://dev.me1312.net/maven/net/ME1312/SubServers/" + hash.app.replace(/^(.+?)\.([^.]*)$/, '$1') + "/" + hash.build + "/" + hash.app.replace(/^(.+?)\.([^.]*)$/, '$1') + "-" + hash.build + ".jar");
} else { } else {
a.attr("href", "https://adf.ly/18562515/https://raw.githubusercontent.com/ME1312/SubServers-2/" + hash.commit.toLowerCase() + "/Artifacts/" + hash.app); a.attr("href", "https://adf.ly/18562515/https://raw.githubusercontent.com/ME1312/SubServers-2/" + hash.commit.toLowerCase() + "/Artifacts/" + hash.app);
} }
break; break;
case "%app_download%": case "%app_download%":
if (hash.hasOwnProperty("build")) { if (hash.hasOwnProperty("build")) {
a.attr("href", "https://src.me1312.net/maven/net/ME1312/SubServers/" + hash.app.replace(/^(.+?)\.([^.]*)$/, '$1') + "/" + hash.build + "/" + hash.app.replace(/^(.+?)\.([^.]*)$/, '$1') + "-" + hash.build + ".jar"); a.attr("href", "https://dev.me1312.net/maven/net/ME1312/SubServers/" + hash.app.replace(/^(.+?)\.([^.]*)$/, '$1') + "/" + hash.build + "/" + hash.app.replace(/^(.+?)\.([^.]*)$/, '$1') + "-" + hash.build + ".jar");
} else { } else {
a.attr("href", "https://raw.githubusercontent.com/ME1312/SubServers-2/" + hash.commit.toLowerCase() + "/Artifacts/" + hash.app); a.attr("href", "https://raw.githubusercontent.com/ME1312/SubServers-2/" + hash.commit.toLowerCase() + "/Artifacts/" + hash.app);
} }

View File

@ -1,6 +1,6 @@
# ![https://s3.postimg.cc/dikyxlz5v/Sub_Banner.png](https://s3.postimg.cc/dikyxlz5v/Sub_Banner.png) # ![https://s3.postimg.cc/dikyxlz5v/Sub_Banner.png](https://s3.postimg.cc/dikyxlz5v/Sub_Banner.png)
[![Build Status](https://src.me1312.net/jenkins/job/SubServers%20Platform/badge/icon)](https://src.me1312.net/jenkins/job/SubServers%20Platform/) [![Build Status](https://dev.me1312.net/jenkins/job/SubServers%20Platform/badge/icon)](https://dev.me1312.net/jenkins/job/SubServers%20Platform/)
[![Release Verison](https://img.shields.io/github/release/ME1312/SubServers-2/all.svg)](https://github.com/ME1312/SubServers-2/releases) [![Snapshot Verison](https://img.shields.io/badge/dynamic/xml.svg?label=snapshot&url=https%3A%2F%2Fsrc.me1312.net%2Fmaven%2Fnet%2FME1312%2FSubServers%2FSubServers.Bungee%2Fmaven-metadata.xml&query=%2F%2Fversioning%2Frelease&colorB=blue)](https://src.me1312.net/jenkins/job/SubServers%20Platform/) [![Discord](https://img.shields.io/discord/526520424880930867.svg)](https://discord.gg/VZ8YJqz)<br><br> [![Release Verison](https://img.shields.io/github/release/ME1312/SubServers-2/all.svg)](https://github.com/ME1312/SubServers-2/releases) [![Snapshot Verison](https://img.shields.io/badge/dynamic/xml.svg?label=snapshot&url=https%3A%2F%2Fdev.me1312.net%2Fmaven%2Fnet%2FME1312%2FSubServers%2FSubServers.Bungee%2Fmaven-metadata.xml&query=%2F%2Fversioning%2Frelease&colorB=blue)](https://dev.me1312.net/jenkins/job/SubServers%20Platform/) [![Discord](https://img.shields.io/discord/526520424880930867.svg)](https://discord.gg/VZ8YJqz)<br><br>
SubServers 2 is a rewrite of SubServers, the Server Management Platform.<br> SubServers 2 is a rewrite of SubServers, the Server Management Platform.<br>
> [https://www.spigotmc.org/resources/subservers-bungee.11264/](https://www.spigotmc.org/resources/subservers-bungee.11264/)<br> > [https://www.spigotmc.org/resources/subservers-bungee.11264/](https://www.spigotmc.org/resources/subservers-bungee.11264/)<br>
> [https://www.spigotmc.org/resources/subservers-host.38833/](https://www.spigotmc.org/resources/subservers-host.38833/)<br> > [https://www.spigotmc.org/resources/subservers-host.38833/](https://www.spigotmc.org/resources/subservers-host.38833/)<br>
@ -15,14 +15,14 @@ These are some quick links for common resources of SubServers 2.
> [https://github.com/ME1312/SubServers-2/wiki/Install](https://github.com/ME1312/SubServers-2/wiki/Install) > [https://github.com/ME1312/SubServers-2/wiki/Install](https://github.com/ME1312/SubServers-2/wiki/Install)
### Snapshot Downloads ### Snapshot Downloads
> [https://src.me1312.net/jenkins/job/SubServers Platform](https://src.me1312.net/jenkins/job/SubServers%20Platform) > [https://dev.me1312.net/jenkins/job/SubServers Platform](https://dev.me1312.net/jenkins/job/SubServers%20Platform)
### Javadocs for Developers ### Javadocs for Developers
> [https://src.me1312.net/jenkins/job/SubServers Platform/javadoc/SubServers.Bungee/](https://src.me1312.net/jenkins/job/SubServers%20Platform/javadoc/SubServers.Bungee/)<br> > [https://dev.me1312.net/jenkins/job/SubServers Platform/javadoc/SubServers.Bungee/](https://dev.me1312.net/jenkins/job/SubServers%20Platform/javadoc/SubServers.Bungee/)<br>
> [https://src.me1312.net/jenkins/job/SubServers Platform/javadoc/SubServers.Host/](https://src.me1312.net/jenkins/job/SubServers%20Platform/javadoc/SubServers.Host/)<br> > [https://dev.me1312.net/jenkins/job/SubServers Platform/javadoc/SubServers.Host/](https://dev.me1312.net/jenkins/job/SubServers%20Platform/javadoc/SubServers.Host/)<br>
> [https://src.me1312.net/jenkins/job/SubServers Platform/javadoc/SubServers.Sync/](https://src.me1312.net/jenkins/job/SubServers%20Platform/javadoc/SubServers.Sync/)<br> > [https://dev.me1312.net/jenkins/job/SubServers Platform/javadoc/SubServers.Sync/](https://dev.me1312.net/jenkins/job/SubServers%20Platform/javadoc/SubServers.Sync/)<br>
> [https://src.me1312.net/jenkins/job/SubServers Platform/javadoc/SubServers.Client.Bukkit/](https://src.me1312.net/jenkins/job/SubServers%20Platform/javadoc/SubServers.Client.Bukkit/)<br> > [https://dev.me1312.net/jenkins/job/SubServers Platform/javadoc/SubServers.Client.Bukkit/](https://dev.me1312.net/jenkins/job/SubServers%20Platform/javadoc/SubServers.Client.Bukkit/)<br>
> [https://src.me1312.net/jenkins/job/SubServers Platform/javadoc/SubServers.Client.Sponge/](https://src.me1312.net/jenkins/job/SubServers%20Platform/javadoc/SubServers.Client.Sponge/) > [https://dev.me1312.net/jenkins/job/SubServers Platform/javadoc/SubServers.Client.Sponge/](https://dev.me1312.net/jenkins/job/SubServers%20Platform/javadoc/SubServers.Client.Sponge/)
### Stats for nerds ### Stats for nerds
> [https://bstats.org/plugin/bungeecord/SubServers_Bungee](https://bstats.org/plugin/bungeecord/SubServers%202)<br> > [https://bstats.org/plugin/bungeecord/SubServers_Bungee](https://bstats.org/plugin/bungeecord/SubServers%202)<br>

View File

@ -16,7 +16,7 @@
</repository> </repository>
<repository> <repository>
<id>me1312-repo</id> <id>me1312-repo</id>
<url>https://src.me1312.net/maven</url> <url>https://dev.me1312.net/maven</url>
</repository> </repository>
</repositories> </repositories>
@ -167,8 +167,8 @@
<reportOutputDirectory>${basedir}/../Javadoc/SubServers.Bungee</reportOutputDirectory> <reportOutputDirectory>${basedir}/../Javadoc/SubServers.Bungee</reportOutputDirectory>
<additionalOptions>-Xdoclint:none</additionalOptions> <additionalOptions>-Xdoclint:none</additionalOptions>
<links> <links>
<link>https://src.me1312.net/jenkins/job/GalaxiEngine/javadoc/GalaxiUtil/</link> <link>https://dev.me1312.net/jenkins/job/GalaxiEngine/javadoc/GalaxiUtil/</link>
<link>https://src.me1312.net/jenkins/job/SubData/javadoc/Server/</link> <link>https://dev.me1312.net/jenkins/job/SubData/javadoc/Server/</link>
<link>https://ci.md-5.net/job/BungeeCord/ws/api/target/apidocs/</link> <link>https://ci.md-5.net/job/BungeeCord/ws/api/target/apidocs/</link>
</links> </links>
</configuration> </configuration>

View File

@ -20,7 +20,7 @@
</repository> </repository>
<repository> <repository>
<id>me1312-repo</id> <id>me1312-repo</id>
<url>https://src.me1312.net/maven</url> <url>https://dev.me1312.net/maven</url>
</repository> </repository>
<repository> <repository>
<id>puharesource-repo</id> <id>puharesource-repo</id>
@ -156,8 +156,8 @@
<reportOutputDirectory>${basedir}/../../Javadoc/SubServers.Client.Bukkit</reportOutputDirectory> <reportOutputDirectory>${basedir}/../../Javadoc/SubServers.Client.Bukkit</reportOutputDirectory>
<additionalOptions>-Xdoclint:none</additionalOptions> <additionalOptions>-Xdoclint:none</additionalOptions>
<links> <links>
<link>https://src.me1312.net/jenkins/job/GalaxiEngine/javadoc/GalaxiUtil/</link> <link>https://dev.me1312.net/jenkins/job/GalaxiEngine/javadoc/GalaxiUtil/</link>
<link>https://src.me1312.net/jenkins/job/SubData/javadoc/Client/</link> <link>https://dev.me1312.net/jenkins/job/SubData/javadoc/Client/</link>
<link>https://hub.spigotmc.org/javadocs/spigot/</link> <link>https://hub.spigotmc.org/javadocs/spigot/</link>
</links> </links>
</configuration> </configuration>

View File

@ -16,7 +16,7 @@
</repository> </repository>
<repository> <repository>
<id>me1312-repo</id> <id>me1312-repo</id>
<url>https://src.me1312.net/maven</url> <url>https://dev.me1312.net/maven</url>
</repository> </repository>
</repositories> </repositories>
@ -125,8 +125,8 @@
<reportOutputDirectory>${basedir}/../../Javadoc/SubServers.Client.Sponge</reportOutputDirectory> <reportOutputDirectory>${basedir}/../../Javadoc/SubServers.Client.Sponge</reportOutputDirectory>
<additionalOptions>-Xdoclint:none</additionalOptions> <additionalOptions>-Xdoclint:none</additionalOptions>
<links> <links>
<link>https://src.me1312.net/jenkins/job/GalaxiEngine/javadoc/GalaxiUtil/</link> <link>https://dev.me1312.net/jenkins/job/GalaxiEngine/javadoc/GalaxiUtil/</link>
<link>https://src.me1312.net/jenkins/job/SubData/javadoc/Client/</link> <link>https://dev.me1312.net/jenkins/job/SubData/javadoc/Client/</link>
<link>https://jd.spongepowered.org/</link> <link>https://jd.spongepowered.org/</link>
</links> </links>
</configuration> </configuration>

View File

@ -12,7 +12,7 @@
<repositories> <repositories>
<repository> <repository>
<id>me1312-repo</id> <id>me1312-repo</id>
<url>https://src.me1312.net/maven</url> <url>https://dev.me1312.net/maven</url>
</repository> </repository>
</repositories> </repositories>

View File

@ -20,7 +20,7 @@ if [[ -z "$cache" ]] || [[ ! -f "$cache/Vanilla-$version.jar" ]]; then
fi fi
mkdir VanillaCord mkdir VanillaCord
echo Downloading the VanillaCord Launcher... echo Downloading the VanillaCord Launcher...
__DL VanillaCord/VanillaCord.jar https://src.me1312.net/jenkins/job/VanillaCord/job/master/lastSuccessfulBuild/artifact/artifacts/VanillaCord.jar; __RETURN=$? __DL VanillaCord/VanillaCord.jar https://dev.me1312.net/jenkins/job/VanillaCord/job/master/lastSuccessfulBuild/artifact/artifacts/VanillaCord.jar; __RETURN=$?
if [[ $__RETURN -eq 0 ]]; then if [[ $__RETURN -eq 0 ]]; then
cd VanillaCord cd VanillaCord
echo Launching VanillaCord echo Launching VanillaCord

View File

@ -12,7 +12,7 @@
<repositories> <repositories>
<repository> <repository>
<id>me1312-repo</id> <id>me1312-repo</id>
<url>https://src.me1312.net/maven</url> <url>https://dev.me1312.net/maven</url>
</repository> </repository>
</repositories> </repositories>
@ -139,8 +139,8 @@
<reportOutputDirectory>${basedir}/../Javadoc/SubServers.Host</reportOutputDirectory> <reportOutputDirectory>${basedir}/../Javadoc/SubServers.Host</reportOutputDirectory>
<additionalOptions>-Xdoclint:none</additionalOptions> <additionalOptions>-Xdoclint:none</additionalOptions>
<links> <links>
<link>https://src.me1312.net/jenkins/job/GalaxiEngine/javadoc/GalaxiEngine/</link> <link>https://dev.me1312.net/jenkins/job/GalaxiEngine/javadoc/GalaxiEngine/</link>
<link>https://src.me1312.net/jenkins/job/SubData/javadoc/Client/</link> <link>https://dev.me1312.net/jenkins/job/SubData/javadoc/Client/</link>
</links> </links>
</configuration> </configuration>
</execution> </execution>

View File

@ -16,7 +16,7 @@
</repository> </repository>
<repository> <repository>
<id>me1312-repo</id> <id>me1312-repo</id>
<url>https://src.me1312.net/maven</url> <url>https://dev.me1312.net/maven</url>
</repository> </repository>
</repositories> </repositories>
@ -160,8 +160,8 @@
<reportOutputDirectory>${basedir}/../Javadoc/SubServers.Sync</reportOutputDirectory> <reportOutputDirectory>${basedir}/../Javadoc/SubServers.Sync</reportOutputDirectory>
<additionalOptions>-Xdoclint:none</additionalOptions> <additionalOptions>-Xdoclint:none</additionalOptions>
<links> <links>
<link>https://src.me1312.net/jenkins/job/GalaxiEngine/javadoc/GalaxiUtil/</link> <link>https://dev.me1312.net/jenkins/job/GalaxiEngine/javadoc/GalaxiUtil/</link>
<link>https://src.me1312.net/jenkins/job/SubData/javadoc/Client/</link> <link>https://dev.me1312.net/jenkins/job/SubData/javadoc/Client/</link>
<link>https://ci.md-5.net/job/BungeeCord/ws/api/target/apidocs/</link> <link>https://ci.md-5.net/job/BungeeCord/ws/api/target/apidocs/</link>
</links> </links>
</configuration> </configuration>