
org.bukkit.event.server.PluginEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
package org.bukkit.event.server;
import org.bukkit.plugin.Plugin;
/**
* Used for plugin enable and disable events
*/
public abstract class PluginEvent extends ServerEvent {
private final Plugin plugin;
public PluginEvent(final Plugin plugin) {
this.plugin = plugin;
}
/**
* Gets the plugin involved in this event
*
* @return Plugin for this event
*/
public Plugin getPlugin() {
return plugin;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy