PlugInterfacepublic class FBLocationPlugIn extends java.lang.Object implements PlugInterface
| Constructor | Description |
|---|---|
FBLocationPlugIn() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
activate() |
This function tells the plug-in that it should be functioning.
|
void |
deactivate() |
This function tells the plug-in that it should not be active.
|
boolean |
hasProperties() |
We have no editable properties
|
boolean |
haveConfig() |
We don't require a directory for our settings
|
void |
initialiseAtLoad() |
Call to initialise any functions required immediately when the plug-in is loaded.
|
boolean |
isActive() |
Returns whether this plug-in is currently active
|
java.lang.String |
plugInDescription() |
This returns a String describing this plug-in
|
java.lang.String |
plugInName() |
This method returns the human-readable name of this plug-in
|
void |
plugInProperties() |
This plug-in has no properties to display
|
java.lang.String |
plugInType() |
Returns a type of either input, output, or other
|
java.lang.String |
plugMain(java.lang.String jamochaString,
MuSocket mSock) |
the core of the plugin
|
void |
setAtHalt() |
Previously this function did most of the functions of deactivate()
but now this is reserved solely for shutting down the plug-in
and doing any necessary clean-up.
|
void |
setSettings(JMConfig mainSettings) |
Set the variable for the JamochaMUD settings.
|
public void setSettings(JMConfig mainSettings)
mainSettings - Main JamochaMUD settings.public java.lang.String plugInName()
plugInName in interface PlugInterfacepublic java.lang.String plugInDescription()
plugInDescription in interface PlugInterfacepublic java.lang.String plugInType()
PlugInterfaceplugInType in interface PlugInterfacepublic java.lang.String plugMain(java.lang.String jamochaString,
MuSocket mSock)
PlugInterfaceplugMain in interface PlugInterfacejamochaString - mSock - public void plugInProperties()
plugInProperties in interface PlugInterfacepublic void initialiseAtLoad()
initialiseAtLoad in interface PlugInterfacepublic void setAtHalt()
PlugInterfacesetAtHalt in interface PlugInterfacepublic boolean haveConfig()
haveConfig in interface PlugInterfacepublic boolean hasProperties()
hasProperties in interface PlugInterfacepublic void activate()
PlugInterfaceactivate in interface PlugInterfacepublic void deactivate()
PlugInterfacedeactivate in interface PlugInterfacepublic boolean isActive()
isActive in interface PlugInterface