public class ScriptEditManager extends AbstractScriptEditManager implements org.bukkit.conversations.ConversationAbandonedListener
| Constructor and Description |
|---|
ScriptEditManager(TriggerReactorCore plugin) |
| Modifier and Type | Method and Description |
|---|---|
void |
conversationAbandoned(org.bukkit.conversations.ConversationAbandonedEvent arg0) |
void |
reload()
Reload all triggers
|
void |
saveAll()
Save all triggers
|
void |
startEdit(ICommandSender sender,
String title,
String script,
ScriptEditor.SaveHandler saveHandler)
Start the script editor.
|
parseSpaceToMarkerdisable, getManagerspublic ScriptEditManager(TriggerReactorCore plugin)
public void startEdit(ICommandSender sender, String title, String script, ScriptEditor.SaveHandler saveHandler)
AbstractScriptEditManagerstartEdit in class AbstractScriptEditManagersender - the sender to start editortitle - title to be shown on the editorscript - the actual script. It can be empty stringsaveHandler - the callback interface that allows you to save the script written by editor.public void conversationAbandoned(org.bukkit.conversations.ConversationAbandonedEvent arg0)
conversationAbandoned in interface org.bukkit.conversations.ConversationAbandonedListenerpublic void reload()
Manager