diff --git a/pom.xml b/pom.xml index 6fd64a7..3003a71 100644 --- a/pom.xml +++ b/pom.xml @@ -51,5 +51,5 @@ - 1.1 - \ No newline at end of file + 1.1.1 + diff --git a/src/main/java/io/github/zachoooo/ZavMessage.java b/src/main/java/io/github/zachoooo/ZavMessage.java index 18e6d95..6bc2fc3 100644 --- a/src/main/java/io/github/zachoooo/ZavMessage.java +++ b/src/main/java/io/github/zachoooo/ZavMessage.java @@ -56,13 +56,15 @@ public void onEnable() { getServer().getScheduler().cancelTasks(this); getServer().getScheduler().scheduleSyncRepeatingTask(this, new AutoPacketRunnable(this), 0L, ((long) mainConfig.getConfig().getInt("delay") * 20)); PluginPM.sendMessage(Level.INFO, "ZavMessage has loaded!"); - PluginPM.sendMessage(Level.INFO, "Like this plugin? Consider donating towards development!"); - PluginPM.sendMessage(Level.INFO, "PayPal: zachoooo@gmail.com"); - PluginPM.sendMessage(Level.INFO, "Bitcoin: 16L1XuGXNbbNwfS9J3g49QnC22VhgYTn2G"); - PluginPM.sendMessage(Level.INFO, "Ethereum: 0xCd57A4abf36f20a3A68C4624Fefeea8FABa91812"); - PluginPM.sendMessage(Level.INFO, "Litecoin: MDBjepGGBLYhMep76bHaSLsnM6xgBW8erm"); - PluginPM.sendMessage(Level.INFO, "Dash: XmoKNLiL7kUZJ4ShLkELY7guaPGxFHqG75"); - PluginPM.sendMessage(Level.INFO, "ZCash: t1K2YitrCTWE3L1Vq5ByW1vtYAB333AxkQG"); + if (!mainConfig.getConfig().getBoolean("suppressconsoleads")) { + PluginPM.sendMessage(Level.INFO, "Like this plugin? Consider donating towards development!"); + PluginPM.sendMessage(Level.INFO, "PayPal: zachoooo@gmail.com"); + PluginPM.sendMessage(Level.INFO, "Bitcoin: 16L1XuGXNbbNwfS9J3g49QnC22VhgYTn2G"); + PluginPM.sendMessage(Level.INFO, "Ethereum: 0xCd57A4abf36f20a3A68C4624Fefeea8FABa91812"); + PluginPM.sendMessage(Level.INFO, "Litecoin: MDBjepGGBLYhMep76bHaSLsnM6xgBW8erm"); + PluginPM.sendMessage(Level.INFO, "Dash: XmoKNLiL7kUZJ4ShLkELY7guaPGxFHqG75"); + PluginPM.sendMessage(Level.INFO, "ZCash: t1K2YitrCTWE3L1Vq5ByW1vtYAB333AxkQG"); + } PluginPM.sendMessage(Level.INFO, "================================================"); } diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index c1589c4..b446b87 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -20,9 +20,11 @@ requireplayersonline: true dontrepeatrandommessages: true +suppressconsoleads: false # Remove ads linking to developers donation info + messages: default: - '&6Example Message' - 'Thanks for choosing this plugin :D!' - 'Test Message' - - '&4Made by zachooo and javoris767!' \ No newline at end of file + - '&4Made by zachooo and javoris767!'