Add netty-threads option

By: md_5 <md_5@live.com.au>
This commit is contained in:
Spigot
2013-06-22 14:35:20 +10:00
parent 9f926239de
commit 4a788da52a
6 changed files with 32 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
From 2aec923f52118621b312e361b2a38b3b92c185c2 Mon Sep 17 00:00:00 2001
From 150ae92bc058a84187b9c27bd4f65ff27728638d Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 23 Mar 2013 11:15:11 +1100
Subject: [PATCH] BungeeCord Support
@@ -75,7 +75,7 @@ index 7cae665..21141f2 100644
public Spigot spigot()
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
index 606b01e..042241c 100644
index 910d0de..b71d425 100644
--- a/src/main/java/org/spigotmc/SpigotConfig.java
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
@@ -7,6 +7,7 @@ import java.lang.reflect.InvocationTargetException;
@@ -86,9 +86,9 @@ index 606b01e..042241c 100644
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
@@ -190,4 +191,14 @@ public class SpigotConfig
listeners.add( new Listener( host, port, netty, connectionThrottle ) );
}
@@ -193,4 +194,14 @@ public class SpigotConfig
nettyThreads = getInt( "settings.netty-threads", 3 );
}
+ public static List<String> bungeeAddresses = Arrays.asList( new String[]
+ {