2022-11-14 20:14:25 +01:00
From 9ec33f3c55ffd519b35f4a5a822db2e8d993a620 Mon Sep 17 00:00:00 2001
2016-05-28 18:34:39 +02:00
From: Tux <write@imaginarycode.com>
Date: Thu, 19 May 2016 11:28:45 -0700
Subject: [PATCH] Rename references from BungeeCord to Waterfall
2016-07-17 03:12:39 +02:00
diff --git a/log/src/main/java/net/md_5/bungee/log/LogDispatcher.java b/log/src/main/java/net/md_5/bungee/log/LogDispatcher.java
2017-10-28 21:51:33 +02:00
index f1ccd4f6..d703d6d2 100644
2016-07-17 03:12:39 +02:00
--- a/log/src/main/java/net/md_5/bungee/log/LogDispatcher.java
+++ b/log/src/main/java/net/md_5/bungee/log/LogDispatcher.java
@@ -12,7 +12,7 @@ public class LogDispatcher extends Thread
public LogDispatcher(BungeeLogger logger)
{
- super( "BungeeCord Logger Thread" );
+ super( "Waterfall Logger Thread" );
this.logger = logger;
}
2016-05-28 18:34:39 +02:00
diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
2022-11-14 20:14:25 +01:00
index c2fe9a40..e3065f12 100644
2016-05-28 18:34:39 +02:00
--- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
+++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
2022-11-14 20:14:25 +01:00
@@ -189,7 +189,7 @@ public class BungeeCord extends ProxyServer
2016-05-28 18:34:39 +02:00
public BungeeCord() throws IOException
{
// Java uses ! to indicate a resource inside of a jar/zip/other container. Running Bungee from within a directory that has a ! will cause this to muck up.
- Preconditions.checkState( new File( "." ).getAbsolutePath().indexOf( '!' ) == -1, "Cannot use BungeeCord in directory with ! in path." );
+ Preconditions.checkState( new File( "." ).getAbsolutePath().indexOf( '!' ) == -1, "Cannot use Waterfall in directory with ! in path." );
2022-11-14 20:14:25 +01:00
reloadMessages();
@@ -538,7 +538,7 @@ public class BungeeCord extends ProxyServer
2016-05-28 18:34:39 +02:00
@Override
public String getName()
{
- return "BungeeCord";
+ return "Waterfall";
}
@Override
2018-12-21 16:24:26 +01:00
diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java b/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java
2021-05-21 09:58:24 +02:00
index 7281d6b2..39fc55f9 100644
2018-12-21 16:24:26 +01:00
--- a/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java
+++ b/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java
2021-05-21 09:58:24 +02:00
@@ -54,7 +54,7 @@ public class BungeeCordLauncher
2018-12-21 16:24:26 +01:00
if ( buildDate.before( deadline.getTime() ) )
{
System.err.println( "*** Warning, this build is outdated ***" );
- System.err.println( "*** Please download a new build from http://ci.md-5.net/job/BungeeCord ***" );
+ System.err.println( "*** Please download a new build from https://ci.destroystokyo.com/job/Waterfall/ ***" );
System.err.println( "*** You will get NO support regarding this build ***" );
System.err.println( "*** Server will start in 10 seconds ***" );
Thread.sleep( TimeUnit.SECONDS.toMillis( 10 ) );
2021-05-21 09:58:24 +02:00
@@ -63,7 +63,7 @@ public class BungeeCordLauncher
2018-12-21 16:24:26 +01:00
BungeeCord bungee = new BungeeCord();
ProxyServer.setInstance( bungee );
- bungee.getLogger().info( "Enabled BungeeCord version " + bungee.getVersion() );
+ bungee.getLogger().info( "Enabled Waterfall version " + bungee.getVersion() );
bungee.start();
if ( !options.has( "noconsole" ) )
2016-05-28 18:34:39 +02:00
diff --git a/proxy/src/main/java/net/md_5/bungee/command/CommandBungee.java b/proxy/src/main/java/net/md_5/bungee/command/CommandBungee.java
2017-10-28 21:51:33 +02:00
index b0798791..b26035cf 100644
2016-05-28 18:34:39 +02:00
--- a/proxy/src/main/java/net/md_5/bungee/command/CommandBungee.java
+++ b/proxy/src/main/java/net/md_5/bungee/command/CommandBungee.java
@@ -16,6 +16,6 @@ public class CommandBungee extends Command
@Override
public void execute(CommandSender sender, String[] args)
{
- sender.sendMessage( ChatColor.BLUE + "This server is running BungeeCord version " + ProxyServer.getInstance().getVersion() + " by md_5" );
+ sender.sendMessage( ChatColor.BLUE + "This server is running Waterfall version " + ProxyServer.getInstance().getVersion() + " by md_5" );
}
}
diff --git a/proxy/src/main/java/net/md_5/bungee/command/CommandReload.java b/proxy/src/main/java/net/md_5/bungee/command/CommandReload.java
2019-04-23 10:09:26 +02:00
index efe048c9..720d0c3b 100644
2016-05-28 18:34:39 +02:00
--- a/proxy/src/main/java/net/md_5/bungee/command/CommandReload.java
+++ b/proxy/src/main/java/net/md_5/bungee/command/CommandReload.java
2017-11-10 18:53:59 +01:00
@@ -23,7 +23,7 @@ public class CommandReload extends Command
2016-05-28 18:34:39 +02:00
BungeeCord.getInstance().startListeners();
BungeeCord.getInstance().getPluginManager().callEvent( new ProxyReloadEvent( sender ) );
- sender.sendMessage( ChatColor.BOLD.toString() + ChatColor.RED.toString() + "BungeeCord has been reloaded."
- + " This is NOT advisable and you will not be supported with any issues that arise! Please restart BungeeCord ASAP." );
+ sender.sendMessage( ChatColor.BOLD.toString() + ChatColor.RED.toString() + "Waterfall has been reloaded."
+ + " This is NOT advisable and you will not be supported with any issues that arise! Please restart Waterfall ASAP." );
}
}
diff --git a/proxy/src/main/java/net/md_5/bungee/conf/YamlConfig.java b/proxy/src/main/java/net/md_5/bungee/conf/YamlConfig.java
2022-11-14 20:14:25 +01:00
index 150d8739..8ae799c1 100644
2016-05-28 18:34:39 +02:00
--- a/proxy/src/main/java/net/md_5/bungee/conf/YamlConfig.java
+++ b/proxy/src/main/java/net/md_5/bungee/conf/YamlConfig.java
2020-03-07 23:50:46 +01:00
@@ -216,7 +216,7 @@ public class YamlConfig implements ConfigurationAdapter
2016-05-28 18:34:39 +02:00
Map<String, Object> val = entry.getValue();
String name = entry.getKey();
String addr = get( "address", "localhost:25565", val );
- String motd = ChatColor.translateAlternateColorCodes( '&', get( "motd", "&1Just another BungeeCord - Forced Host", val ) );
+ String motd = ChatColor.translateAlternateColorCodes( '&', get( "motd", "&1Just another Waterfall - Forced Host", val ) );
boolean restricted = get( "restricted", false, val );
2020-01-21 18:36:22 +01:00
SocketAddress address = Util.getAddr( addr );
2016-05-28 18:34:39 +02:00
ServerInfo info = ProxyServer.getInstance().constructServerInfo( name, address, motd, restricted );
--
2022-11-14 20:14:25 +01:00
2.38.1
2016-05-28 18:34:39 +02:00