public class SpongeNegativity extends Object
Constructor and Description |
---|
SpongeNegativity(org.apache.logging.log4j.Logger logger,
org.spongepowered.plugin.PluginContainer container,
Path configDir) |
Modifier and Type | Method and Description |
---|---|
static org.spongepowered.plugin.PluginContainer |
container() |
org.spongepowered.api.network.channel.raw.RawDataChannel |
getBungeecordChannel() |
Path |
getConfigDir() |
org.spongepowered.plugin.PluginContainer |
getContainer() |
static SpongeNegativity |
getInstance() |
org.apache.logging.log4j.Logger |
getLogger() |
NegativityPacketManager |
getPacketManager() |
void |
onCommandRegistration(org.spongepowered.api.event.lifecycle.RegisterCommandEvent<org.spongepowered.api.command.Command.Raw> event) |
void |
onConstructPlugin(org.spongepowered.api.event.lifecycle.ConstructPluginEvent event) |
void |
onLoadedGame(org.spongepowered.api.event.lifecycle.LoadedGameEvent event) |
void |
onRefreshGame(org.spongepowered.api.event.lifecycle.RefreshGameEvent event) |
void |
onStartingEngine(org.spongepowered.api.event.lifecycle.StartingEngineEvent<org.spongepowered.api.Server> event) |
void |
onStoppingEngine(org.spongepowered.api.event.lifecycle.StoppingEngineEvent<org.spongepowered.api.Server> event) |
static void |
sendPluginMessage(byte[] rawMessage) |
@Inject public SpongeNegativity(org.apache.logging.log4j.Logger logger, org.spongepowered.plugin.PluginContainer container, Path configDir)
public org.spongepowered.api.network.channel.raw.RawDataChannel getBungeecordChannel()
public void onConstructPlugin(org.spongepowered.api.event.lifecycle.ConstructPluginEvent event)
public void onStartingEngine(org.spongepowered.api.event.lifecycle.StartingEngineEvent<org.spongepowered.api.Server> event)
public void onLoadedGame(org.spongepowered.api.event.lifecycle.LoadedGameEvent event)
public void onRefreshGame(org.spongepowered.api.event.lifecycle.RefreshGameEvent event)
public void onCommandRegistration(org.spongepowered.api.event.lifecycle.RegisterCommandEvent<org.spongepowered.api.command.Command.Raw> event)
public void onStoppingEngine(org.spongepowered.api.event.lifecycle.StoppingEngineEvent<org.spongepowered.api.Server> event)
public org.apache.logging.log4j.Logger getLogger()
public org.spongepowered.plugin.PluginContainer getContainer()
public Path getConfigDir()
public NegativityPacketManager getPacketManager()
public static void sendPluginMessage(byte[] rawMessage)
public static SpongeNegativity getInstance()
public static org.spongepowered.plugin.PluginContainer container()