DictPlugin, FBLocationPlugIn, MusicBox, PathWalker, TestPlugIn, Ticker, TimeStamp, Triggerpublic interface PlugInterface
| 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() |
Check to see if the plug-in has configurable properties
|
boolean |
haveConfig() |
This function indicates whether a directory
is required to hold settings for our plug-in.
|
void |
initialiseAtLoad() |
This function is called at load-up, in case
properties are needed...
|
boolean |
isActive() |
Allows JamochaMUD to check whether this plug-in is active
and should be used.
|
java.lang.String |
plugInDescription() |
Returns a description, eg.
|
java.lang.String |
plugInName() |
Returns the plugin's proper name
|
void |
plugInProperties() |
Any user configurable options for the plugin
|
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.
|
java.lang.String plugInName()
java.lang.String plugInDescription()
java.lang.String plugInType()
java.lang.String plugMain(java.lang.String jamochaString,
MuSocket mSock)
jamochaString - mSock - void plugInProperties()
boolean hasProperties()
true- plug-in can be configured
false- plug-in cannot be configured
void initialiseAtLoad()
void activate()
void deactivate()
boolean isActive()
true - this plug-in is active
false - this plug-in is not activevoid setAtHalt()
boolean haveConfig()
true- create a settings directory
false- no directory required