Skip to content

Commit fdcbb33

Browse files
committed
Abort initialization if AuthMeBridge is enabled.
1 parent 338b528 commit fdcbb33

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/fr/xephi/authme/AuthMe.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ public void onEnable() {
120120
// Load the plugin version data from the plugin description file
121121
loadPluginInfo(getDescription().getVersion());
122122

123+
// Prevent running AuthMeBridge due to major exploit issues
124+
if(getServer().getPluginManager().isPluginEnabled("AuthMeBridge")) {
125+
ConsoleLogger.warning("Detected AuthMeBridge, support for it has been dropped as it was "
126+
+ "causing exploit issues, please use AuthMeBungee instead! Aborting!");
127+
stopOrUnload();
128+
return;
129+
}
130+
123131
// Initialize the plugin
124132
try {
125133
initialize();

0 commit comments

Comments
 (0)