public class ServerStatusEventHook
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static ServerStatusEventHook |
getInstance() |
void |
onStartedEvent(cpw.mods.fml.common.event.FMLServerStartedEvent event)
When a server is started.
|
void |
onStoppingEvent(cpw.mods.fml.common.event.FMLServerStoppingEvent event)
When a server is stopping.
|
public static ServerStatusEventHook getInstance()
public void onStartedEvent(cpw.mods.fml.common.event.FMLServerStartedEvent event)
event - The received event.public void onStoppingEvent(cpw.mods.fml.common.event.FMLServerStoppingEvent event)
event - The received event.