mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-02-25 00:02:42 +01:00
Abort initialization if AuthMeBridge is enabled.
This commit is contained in:
parent
338b528dbd
commit
fdcbb3334e
@ -120,6 +120,14 @@ public class AuthMe extends JavaPlugin {
|
|||||||
// Load the plugin version data from the plugin description file
|
// Load the plugin version data from the plugin description file
|
||||||
loadPluginInfo(getDescription().getVersion());
|
loadPluginInfo(getDescription().getVersion());
|
||||||
|
|
||||||
|
// Prevent running AuthMeBridge due to major exploit issues
|
||||||
|
if(getServer().getPluginManager().isPluginEnabled("AuthMeBridge")) {
|
||||||
|
ConsoleLogger.warning("Detected AuthMeBridge, support for it has been dropped as it was "
|
||||||
|
+ "causing exploit issues, please use AuthMeBungee instead! Aborting!");
|
||||||
|
stopOrUnload();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Initialize the plugin
|
// Initialize the plugin
|
||||||
try {
|
try {
|
||||||
initialize();
|
initialize();
|
||||||
|
Loading…
Reference in New Issue
Block a user