Skip to content
This repository was archived by the owner on Aug 31, 2019. It is now read-only.

Rebase to Minecraft 1.11 #9

Open
wants to merge 39 commits into
base: spigot_master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
e2a2e19
Change groupId to tc.oc and add our deployment info
tonybruess Sep 7, 2014
114e9b7
Disable security manager
tonybruess Sep 12, 2014
d23b688
Log stderr at WARNING instead of SEVERE
jedediah Nov 19, 2014
b58f1c0
Postpone PluginManager creation so that EventBus gets the right logger
jedediah Nov 27, 2014
83008ed
Log event exceptions at SEVERE level
jedediah Nov 27, 2014
d2d4c55
Improve logging of packet decoding errors
jedediah Nov 28, 2014
12a61c1
A few more packet ID range checks
jedediah Nov 30, 2014
0287453
Ignore a common exception that appears to be harmless
jedediah Dec 13, 2014
aca76c1
Fix NPE caused by the other fix
jedediah Dec 14, 2014
dfbefc1
Remove startup delay for outdated build
jedediah Dec 22, 2014
637b5e9
Add the capability to simulate username changes
jedediah Jan 6, 2015
11939a9
Properly serialize all BaseComponent subclasses
jedediah Feb 13, 2015
790fcc0
Don't set the default log level to ALL
jedediah Aug 31, 2015
c9091ca
Allow commands to dynamically decide if they should be handled or pas…
jedediah Sep 5, 2015
473e67f
Improve component cycle detection
jedediah Oct 3, 2015
1d109a8
Remove parent field from BaseComponent
jedediah Oct 4, 2015
2b8be11
Seems Apache Commons is not available at runtime
jedediah Oct 4, 2015
fd8e6fe
Register PluginLoggers with the LogManager
jedediah Oct 10, 2015
f56d94a
Register root logger with LogManager as well
jedediah Oct 11, 2015
132e8d7
Allow Configuration objects to be cloned
jedediah Jan 16, 2016
56c9497
Safe dynamic modification of the server list
jedediah Jan 24, 2016
1dfbed8
Don't complain about completely irrelevant annotation
jedediah Jan 27, 2016
c26aa8c
Store remote IP in error log records
jedediah Feb 2, 2016
eda0ca7
Handle Ping packets in Status state
jedediah Feb 3, 2016
045198a
Detect more things as bad packets
jedediah Feb 3, 2016
d55b502
Implement minecraft-api
jedediah Feb 4, 2016
ddac4bb
Add selector and score components to chat API
jedediah Mar 5, 2016
71bf876
Various improvements to chat components
jedediah Mar 6, 2016
73111be
Don't autolink the MOTD
jedediah Mar 6, 2016
efc912b
Protocol version API
jedediah Mar 24, 2016
fbdfd0c
Plugins always load classes from their own JAR if present
jedediah Jun 3, 2016
48c2528
Add quiet connect plugin channel message
jedediah Jun 3, 2016
2b4016c
A few helpful methods for converting between components and legacy text
jedediah Jun 3, 2016
1b94bde
Don't throw an exception for unsupported protocols
jedediah Jun 9, 2016
b99a1e6
Implement minecraft-api strict config getters
jedediah Jun 27, 2016
ef44e69
Handle default colors better when converting to/from legacy text
jedediah Jul 6, 2016
951af28
Optionally shutdown if any plugins fail to load
jedediah Jul 24, 2016
93660d0
Sync with minecraft-api
jedediah Sep 23, 2016
38fb4ad
Provide access to exceptions that cause disconnects
jedediah Nov 6, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Sync with minecraft-api
jedediah committed Nov 18, 2016
commit 93660d09aee5d218da715ece91ba23a824f3799a
Original file line number Diff line number Diff line change
@@ -33,13 +33,14 @@
import org.yaml.snakeyaml.Yaml;
import org.yaml.snakeyaml.constructor.Constructor;
import org.yaml.snakeyaml.introspector.PropertyUtils;
import tc.oc.minecraft.api.plugin.PluginFinder;

/**
* Class to manage bridging between plugin duties and implementation duties, for
* example event handling and plugin management.
*/
@RequiredArgsConstructor
public class PluginManager implements tc.oc.minecraft.api.plugin.PluginManager
public class PluginManager implements PluginFinder, tc.oc.minecraft.api.event.EventBus
{

private static final Pattern argsSplit = Pattern.compile( " " );
6 changes: 6 additions & 0 deletions proxy/src/main/java/net/md_5/bungee/BungeeCord.java
Original file line number Diff line number Diff line change
@@ -94,6 +94,7 @@
import net.md_5.bungee.scheduler.BungeeScheduler;
import net.md_5.bungee.util.CaseInsensitiveMap;
import org.fusesource.jansi.AnsiConsole;
import tc.oc.minecraft.api.plugin.PluginFinder;

/**
* Main BungeeCord proxy class.
@@ -721,4 +722,9 @@ public Title createTitle()
public Set<Integer> getProtocolVersions() {
return ImmutableSet.copyOf(ProtocolConstants.SUPPORTED_VERSION_IDS);
}

@Override
public PluginFinder getPluginFinder() {
return pluginManager;
}
}