User Tools

Site Tools


plugins

This is an old revision of the document!


Plugins

What are plugins?

While addons are the recommended method of coding things for Ashita due to ease of use, ease of access for updates and such, as well as allowing others to expand on things and share with the community, users can also develop plugins for Ashita. Plugins are compiled modules that are loaded into the game's memory space. Plugins can interact with Ashita directly via the IAshitaCore interface as well as interact with the games memory directly.

It is recommended to only use plugins for projects you wish to remain closed source or need lower-level access than an addon can give you.


Requirements To Write Plugins

In order to write plugins for Ashita, there are some basic requirements that must be met:

  • Your desired language must support __stdcall calling conventions.
  • Your desired language must support __cdecl calling conventions.
  • Your desired language must understand how to implement the required export functions.
  • Your desired language must understand how to implement the base plugin interface.

It is recommended to use C/C++ to create plugins. The IDE that is recommended is the latest version of Visual Studio from Microsoft.


Using Plugins

Plugins can be used directly through Ashita with the following commands:

/plugin_load
/load
/loadplugin
/pluginload

  • Loads a plugin.
  • Example: /load addons

/plugin_unload
/unload
/unloadplugin
/pluginunload

  • Unloads a plugin.
  • Example: /unload addons

/list

  • Lists the current loaded plugins.
plugins.1468647162.txt.gz · Last modified: 2016/07/15 22:32 by atom0s