Upload via Git Manager GUI - Module.java

This commit is contained in:
2026-04-01 10:14:42 +00:00
parent 873480557f
commit 80362ef8e4

View File

@@ -1,24 +1,24 @@
package net.viper.status.module; package net.viper.status.module;
import net.md_5.bungee.api.plugin.Plugin; import net.md_5.bungee.api.plugin.Plugin;
/** /**
* Interface für alle zukünftigen Erweiterungen. * Interface für alle zukünftigen Erweiterungen.
*/ */
public interface Module { public interface Module {
/** /**
* Wird aufgerufen, wenn die API startet. * Wird aufgerufen, wenn die API startet.
*/ */
void onEnable(Plugin plugin); void onEnable(Plugin plugin);
/** /**
* Wird aufgerufen, wenn die API stoppt. * Wird aufgerufen, wenn die API stoppt.
*/ */
void onDisable(Plugin plugin); void onDisable(Plugin plugin);
/** /**
* Eindeutiger Name des Moduls (z.B. "StatsModule"). * Eindeutiger Name des Moduls (z.B. "StatsModule").
*/ */
String getName(); String getName();
} }