From dc946cb8456e60d28fc996c2322a149de3ebac5b Mon Sep 17 00:00:00 2001 From: Matsv Date: Fri, 3 Jun 2016 20:49:06 +0200 Subject: [PATCH] An amazing feature. --- pom.xml | 13 +++++++++++++ src/main/java/us/myles/ViaVersion/Bungee.java | 18 ++++++++++++++++++ src/main/resources/bungee.yml | 4 ++++ 3 files changed, 35 insertions(+) create mode 100644 src/main/java/us/myles/ViaVersion/Bungee.java create mode 100644 src/main/resources/bungee.yml diff --git a/pom.xml b/pom.xml index 9e90cace7..cc5f4bd85 100644 --- a/pom.xml +++ b/pom.xml @@ -136,6 +136,12 @@ spacehq-repo https://repo.spacehq.org/content/repositories/releases/ + + + + bungeecord-repo + https://oss.sonatype.org/content/repositories/snapshots + @@ -205,5 +211,12 @@ 1.16.6 provided + + + + net.md-5 + bungeecord-api + 1.9-SNAPSHOT + diff --git a/src/main/java/us/myles/ViaVersion/Bungee.java b/src/main/java/us/myles/ViaVersion/Bungee.java new file mode 100644 index 000000000..391a655c9 --- /dev/null +++ b/src/main/java/us/myles/ViaVersion/Bungee.java @@ -0,0 +1,18 @@ +package us.myles.ViaVersion; + +import net.md_5.bungee.api.plugin.Plugin; + +import static net.md_5.bungee.api.ChatColor.RED; + +public class Bungee extends Plugin { + + @Override + public void onEnable() { + getLogger().info(RED + "==============================================="); + getLogger().info(RED + "ViaVersion is NOT a Bungeecord plugin"); + getLogger().info(RED + "Install this plugin on all your spigot/bukkit"); + getLogger().info(RED + "servers and use the latest Bungeecord version"); + getLogger().info(RED + "to make ViaVersion work with BungeeCord."); + getLogger().info(RED + "==============================================="); + } +} diff --git a/src/main/resources/bungee.yml b/src/main/resources/bungee.yml new file mode 100644 index 000000000..216d2e7cf --- /dev/null +++ b/src/main/resources/bungee.yml @@ -0,0 +1,4 @@ +name: ViaVersion +main: us.myles.ViaVersion.Bungee +author: _MylesC +version: ${project.version} \ No newline at end of file