2020-10-21 01:00:41 +02:00
From 233bdfc84602018866f1734a59acd7283cff9637 Mon Sep 17 00:00:00 2001
2016-06-06 21:50:15 +02:00
From: Techcable <Techcable@techcable.net>
Date: Mon, 6 Jun 2016 13:47:46 -0600
Subject: [PATCH] Rename references from Waterfall to Travertine
diff --git a/bootstrap/src/main/java/net/md_5/bungee/Bootstrap.java b/bootstrap/src/main/java/net/md_5/bungee/Bootstrap.java
2017-01-17 16:10:10 +01:00
index a4516ed9..1f63a2c2 100644
2016-06-06 21:50:15 +02:00
--- a/bootstrap/src/main/java/net/md_5/bungee/Bootstrap.java
+++ b/bootstrap/src/main/java/net/md_5/bungee/Bootstrap.java
@@ -7,7 +7,7 @@ public class Bootstrap
{
if ( Float.parseFloat( System.getProperty( "java.class.version" ) ) < 52.0 )
{
- System.err.println( "*** ERROR *** Waterfall requires Java 8 or above to function! Please download and install it!" );
+ System.err.println( "*** ERROR *** Travertine requires Java 8 or above to function! Please download and install it!" );
System.out.println( "You can check your Java version with the command: java -version" );
return;
}
2016-07-17 04:41:50 +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-01-17 16:10:10 +01:00
index d703d6d2..d8dcdc1e 100644
2016-07-17 04:41:50 +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( "Waterfall Logger Thread" );
+ super( "Travertine Logger Thread" );
this.logger = logger;
}
2016-06-06 21:50:15 +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
2020-07-01 11:44:36 +02:00
index 2938f2f1..f7f1e7cc 100644
2016-06-06 21:50:15 +02:00
--- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
+++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
2020-07-01 11:44:36 +02:00
@@ -188,7 +188,7 @@ public class BungeeCord extends ProxyServer
2016-06-06 21:50:15 +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 Waterfall in directory with ! in path." );
+ Preconditions.checkState( new File( "." ).getAbsolutePath().indexOf( '!' ) == -1, "Cannot use Travertine in directory with ! in path." );
try
{
2020-07-01 11:44:36 +02:00
@@ -538,7 +538,7 @@ public class BungeeCord extends ProxyServer
2016-06-06 21:50:15 +02:00
@Override
public String getName()
{
- return "Waterfall";
+ return "Travertine";
}
@Override
2018-12-21 16:48:19 +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
2020-01-21 18:41:57 +01:00
index dc2c584d..ad9a6d0c 100644
2018-12-21 16:48:19 +01:00
--- a/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java
+++ b/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java
2019-03-20 04:58:21 +01:00
@@ -49,7 +49,7 @@ public class BungeeCordLauncher
2018-12-21 16:48:19 +01:00
if ( buildDate.before( deadline.getTime() ) )
{
System.err.println( "*** Hey! This build is potentially outdated :( ***" );
2019-02-04 19:06:59 +01:00
- System.err.println( "*** Please check for a new build from https://papermc.io/ci/job/Waterfall/ ***" );
+ System.err.println( "*** Please check for a new build from https://papermc.io/ci/job/Travertine/ ***" );
2018-12-21 16:48:19 +01:00
System.err.println( "*** Should this build be outdated, you will get NO support for it. ***" );
System.err.println( "*** Server will start in 10 seconds ***" );
Thread.sleep( TimeUnit.SECONDS.toMillis( 10 ) );
2019-03-20 04:58:21 +01:00
@@ -58,7 +58,7 @@ public class BungeeCordLauncher
2018-12-21 16:48:19 +01:00
BungeeCord bungee = new BungeeCord();
ProxyServer.setInstance( bungee );
- bungee.getLogger().info( "Enabled Waterfall version " + bungee.getVersion() );
+ bungee.getLogger().info( "Enabled Travertine version " + bungee.getVersion() );
bungee.start();
if ( !options.has( "noconsole" ) )
2016-06-06 21:50:15 +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-01-17 16:10:10 +01:00
index b26035cf..4e2c6129 100644
2016-06-06 21:50:15 +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 Waterfall version " + ProxyServer.getInstance().getVersion() + " by md_5" );
+ sender.sendMessage( ChatColor.BLUE + "This server is running Travertine 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:34:01 +02:00
index 720d0c3b..dca7601b 100644
2016-06-06 21:50:15 +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-19 09:47:57 +01:00
@@ -23,7 +23,7 @@ public class CommandReload extends Command
2016-06-06 21:50:15 +02:00
BungeeCord.getInstance().startListeners();
BungeeCord.getInstance().getPluginManager().callEvent( new ProxyReloadEvent( sender ) );
- 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." );
+ sender.sendMessage( ChatColor.BOLD.toString() + ChatColor.RED.toString() + "Travertine has been reloaded."
+ + " This is NOT advisable and you will not be supported with any issues that arise! Please restart Travertine 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
2020-03-07 23:52:15 +01:00
index 65121ba2..d4fad294 100644
2016-06-06 21:50:15 +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:52:15 +01:00
@@ -227,7 +227,7 @@ public class YamlConfig implements ConfigurationAdapter
2016-06-06 21:50:15 +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 Waterfall - Forced Host", val ) );
+ String motd = ChatColor.translateAlternateColorCodes( '&', get( "motd", "&1Just another Travertine - Forced Host", val ) );
boolean restricted = get( "restricted", false, val );
2020-01-21 18:41:57 +01:00
SocketAddress address = Util.getAddr( addr );
2016-06-06 21:50:15 +02:00
ServerInfo info = ProxyServer.getInstance().constructServerInfo( name, address, motd, restricted );
--
2020-09-10 23:05:53 +02:00
2.27.0.windows.1
2016-06-06 21:50:15 +02:00