plugin: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
!Description
!Description
|-
|-
|align=center|plugin
|plugin
|Display a list of currently loaded plugins.
|Display a list of currently loaded plugins.
|-
|-
|align=center|plugin help
|plugin help
|Display plugin help.  
|Display plugin help.  
|}
|}
Line 18: Line 18:




;plugin (load | reload | unload) (<filename> | all)
;plugin (load | reload | unload) (<plugin #> <plugin_name> | all)


:<filename>
:<plugin_name>
::- the plugin filename (the path may be relative to your main bot folder).  
::- the plugin filename. Use only the file name, no need to specify the file path. You can only specify a few letters from the file name.


:Load/reload/unload plugins.  
:Load / reload / unload plugins.  


{| class="wikitable" border="1" cellspacing="0"
{| class="wikitable" border="1" cellspacing="0"
Line 30: Line 30:
!Description
!Description
|-
|-
|align=center|plugin load <filename>
|plugin load <file_name>
|Load a plugin file.
|Load a plugin file (can use regexp).
|-
|-
|align=center|plugin load all
|plugin load all
|Load all plugin files inside the plugins folder.  
|Load all plugin files inside the plugins folder. See [[loadPlugins]] in sys.txt
|-
|-
|align=center|plugin reload <plugin>
|plugin reload <plugin #>
|Reload a registered plugin.
|Reload registered plugin with specified number.
|-
|-
|align=center|plugin reload all
|plugin reload <plugin_name>
|Reload a registered plugin (can use regexp).
|-
|plugin reload all
|Reload all registered plugin.  
|Reload all registered plugin.  
|-
|-
|align=center|plugin unload <plugin>
|plugin unload <plugin #>
|Unload a registered plugin.
|Unload registered plugin with specified number.
|-
|plugin unload <plugin_name>
|Unload a registered plugin (can use regexp).
|-
|-
|align=center|plugin unload all
|plugin unload all
|Unload all registered plugin.  
|Unload all registered plugin.  
|}
|}


[[Category:Console Command]]
[[Category:Console Command]]

Latest revision as of 17:15, 21 August 2022

plugin [help]
Plugin information.
Command Description
plugin Display a list of currently loaded plugins.
plugin help Display plugin help.




plugin (load | reload | unload) (<plugin #> <plugin_name> | all)
<plugin_name>
- the plugin filename. Use only the file name, no need to specify the file path. You can only specify a few letters from the file name.
Load / reload / unload plugins.
Command Description
plugin load <file_name> Load a plugin file (can use regexp).
plugin load all Load all plugin files inside the plugins folder. See loadPlugins in sys.txt
plugin reload <plugin #> Reload registered plugin with specified number.
plugin reload <plugin_name> Reload a registered plugin (can use regexp).
plugin reload all Reload all registered plugin.
plugin unload <plugin #> Unload registered plugin with specified number.
plugin unload <plugin_name> Unload a registered plugin (can use regexp).
plugin unload all Unload all registered plugin.