Bumped to 1.21.1
This commit is contained in:
parent
b414f9775f
commit
d28c9a5d6a
4 changed files with 14 additions and 14 deletions
18
pom.xml
18
pom.xml
|
@ -15,7 +15,7 @@
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<url>https://mcthemeparks.eu</url>
|
||||
<url>https://mcthemeparks.com</url>
|
||||
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
|
@ -37,9 +37,9 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.11.0</version>
|
||||
<version>3.13.0</version>
|
||||
<configuration>
|
||||
<release>17</release>
|
||||
<release>21</release>
|
||||
<compilerArgs>
|
||||
<arg>-parameters</arg>
|
||||
</compilerArgs>
|
||||
|
@ -48,7 +48,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.4.1</version>
|
||||
<version>3.6.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
|
@ -104,19 +104,19 @@
|
|||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.20.1-R0.1-SNAPSHOT</version>
|
||||
<version>1.21.1-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bukkit</groupId>
|
||||
<artifactId>craftbukkit</artifactId>
|
||||
<version>1.20.1-R0.1-SNAPSHOT</version>
|
||||
<version>1.21.1-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.java-websocket</groupId>
|
||||
<artifactId>Java-WebSocket</artifactId>
|
||||
<version>1.5.4</version>
|
||||
<version>1.5.7</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.mpatric</groupId>
|
||||
|
@ -144,13 +144,13 @@
|
|||
<dependency>
|
||||
<groupId>com.bergerkiller.bukkit</groupId>
|
||||
<artifactId>BKCommonLib</artifactId>
|
||||
<version>1.20.1-v2</version>
|
||||
<version>1.21.1-v1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.bergerkiller.bukkit</groupId>
|
||||
<artifactId>TrainCarts</artifactId>
|
||||
<version>1.20.1-v2</version>
|
||||
<version>1.21.1-v1</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
|
|
@ -36,13 +36,13 @@ public final class MCTPAudio extends JavaPlugin {
|
|||
|
||||
instance = this;
|
||||
|
||||
getConfig().addDefault("Regions.demosound", "https://www.mcthemeparks.eu/musicupload/downloads/Berlin/kaad.mp3");
|
||||
getConfig().addDefault("Regions.demosound", "https://www.mcthemeparks.com/musicupload/downloads/Berlin/kaad.mp3");
|
||||
getConfig().addDefault("HueRegions.demosound", "255_0_0_254");
|
||||
getConfig().options().copyDefaults(true);
|
||||
saveConfig();
|
||||
|
||||
Bukkit.getLogger().info("[MCTPAudio] Connecting with socket...");
|
||||
client = new Client("ws://116.203.197.161:25564");
|
||||
client = new Client("ws://116.203.56.13:25564");
|
||||
client.connect();
|
||||
|
||||
Bukkit.getLogger().info("[MCTPAudio] Loading commands and events...");
|
||||
|
|
|
@ -5,10 +5,10 @@ import java.io.IOException;
|
|||
public class MainUtil {
|
||||
public static void sendMessageDiscord(WebhookMessage.EmbedObject embed, String mention) throws IOException {
|
||||
WebhookMessage webhookMessage = new WebhookMessage("https://discord.com/api/webhooks/706629612955762778/MztXWVWupAIoTIHwb0XK8ExfOz6nrygB_FEl9EpbFENGUCGobMib_5Apj2rnUSXuMlbR");
|
||||
webhookMessage.setAvatarUrl("https://mcthemeparks.eu/musicupload/downloads/Designs/Logo2.png");
|
||||
webhookMessage.setAvatarUrl("https://mcthemeparks.com/musicupload/downloads/Designs/Logo2.png");
|
||||
webhookMessage.setUsername("McThemeParks Audio");
|
||||
|
||||
embed.setFooter("© McThemeParks 2021/2022", "https://mcthemeparks.eu/musicupload/downloads/Designs/Logo2.png");
|
||||
embed.setFooter("© McThemeParks 2021/2022", "https://mcthemeparks.com/musicupload/downloads/Designs/Logo2.png");
|
||||
webhookMessage.addEmbed(embed);
|
||||
|
||||
if (mention != null) webhookMessage.setContent(mention);
|
||||
|
|
|
@ -5,4 +5,4 @@ api-version: 1.19
|
|||
depend: [ WorldGuard, Train_Carts ]
|
||||
authors: [ SBDeveloper ]
|
||||
description: The audio plugin of MCThemeParks!
|
||||
website: https://mcthemeparks.eu
|
||||
website: https://mcthemeparks.com
|
||||
|
|
Loading…
Add table
Reference in a new issue