reloaded from https://github.com/KernelFreeze/PluginManager support build after https://github.com/SpigotMC/BungeeCord/commit/e6b0d43d66f3d310eea520c802fd0a2aa71edcfe