SpigotMC/BungeeCord — pull request #860 by geNAZt (2014-02-02 02:35:17+00:00)
Title: Added auto detection of Plugins (no bungee or plugin.yml needed)

The Main class only need to extend the Plugin class and have a valid PluginDescription annotation. If not valid State was found it throws a IllegalStateException. If the Plugin could not be loaded the Classloader, which now gets created on scanning, gets removed from the global List of Loaders.