From d28c9a5d6a3b4b528cbd1c5117b1505d6dc33cfe Mon Sep 17 00:00:00 2001 From: SBDeveloper Date: Thu, 3 Oct 2024 21:09:14 +0200 Subject: [PATCH] Bumped to 1.21.1 --- pom.xml | 18 +++++++++--------- .../nl/sbdeveloper/mctpaudio/MCTPAudio.java | 4 ++-- .../sbdeveloper/mctpaudio/utils/MainUtil.java | 4 ++-- src/main/resources/plugin.yml | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/pom.xml b/pom.xml index 0c637b4..e7bdde1 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ UTF-8 - https://mcthemeparks.eu + https://mcthemeparks.com @@ -37,9 +37,9 @@ org.apache.maven.plugins maven-compiler-plugin - 3.11.0 + 3.13.0 - 17 + 21 -parameters @@ -48,7 +48,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.4.1 + 3.6.0 package @@ -104,19 +104,19 @@ org.spigotmc spigot-api - 1.20.1-R0.1-SNAPSHOT + 1.21.1-R0.1-SNAPSHOT provided org.bukkit craftbukkit - 1.20.1-R0.1-SNAPSHOT + 1.21.1-R0.1-SNAPSHOT provided org.java-websocket Java-WebSocket - 1.5.4 + 1.5.7 com.mpatric @@ -144,13 +144,13 @@ com.bergerkiller.bukkit BKCommonLib - 1.20.1-v2 + 1.21.1-v1 provided com.bergerkiller.bukkit TrainCarts - 1.20.1-v2 + 1.21.1-v1 provided diff --git a/src/main/java/nl/sbdeveloper/mctpaudio/MCTPAudio.java b/src/main/java/nl/sbdeveloper/mctpaudio/MCTPAudio.java index 17c4a70..4f72a24 100644 --- a/src/main/java/nl/sbdeveloper/mctpaudio/MCTPAudio.java +++ b/src/main/java/nl/sbdeveloper/mctpaudio/MCTPAudio.java @@ -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..."); diff --git a/src/main/java/nl/sbdeveloper/mctpaudio/utils/MainUtil.java b/src/main/java/nl/sbdeveloper/mctpaudio/utils/MainUtil.java index 75f281a..5e4504a 100644 --- a/src/main/java/nl/sbdeveloper/mctpaudio/utils/MainUtil.java +++ b/src/main/java/nl/sbdeveloper/mctpaudio/utils/MainUtil.java @@ -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); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index ddcb010..afb57a8 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -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