Skip to content

Demonstrates the basic requirements of writing a plugin for Ashita v4.

License

Notifications You must be signed in to change notification settings

AshitaXI/ExamplePlugin-old

Repository files navigation

ashita
Website Discord server license

Ashita v4 Example Plugin

This repository contains the source code to the current template used to create plugins for Ashita v4.

Requirements

In order to compile this project, you need the following:

SDK Environment Variable Setup

This project makes use of an environment variable (ASHITA4_SDK_PATH) to locate and use the Ashita v4 SDK.
You will need to set this path on your system in order to make use of this project properly.

To add a new environment variable, you can follow these quick steps:

  1. Click Start.
  2. Type in advanced system settings and choose the option that shows. (View advanced system settings)
  3. If not already selected, click the Advanced tab at the top.
  4. Click the Environment Variables button near the bottom of the window.
  5. Under User variables.. click the New button.
  6. For Variable name, enter: ASHITA4_SDK_PATH
  7. For Variable value, enter the path to your Ashita SDK folder. (This is located in the /plugins/ folder where you have Ashita installed.)
    • For example, C:\Ashita\plugins\sdk\
  8. Click Ok on all windows to save the changes.

At this point, restart any instance of Visual Studio you have open, along with any command line prompts or terminals.
Visual Studio should now see the SDK path automatically and allow the example plugin source code to compile.

License

The Ashita plugin SDK, and thus, this plugins source code are both released under GNU LGPL v3

About

Demonstrates the basic requirements of writing a plugin for Ashita v4.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published