Bumped to 1.21.1
This commit is contained in:
parent
b414f9775f
commit
d28c9a5d6a
4 changed files with 14 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue