Skip to content

skUnity/skUnity-Docs-Annotation

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

skUnity-Docs-Annotation

The official annotation used to import syntax to the docs.

Adding to your Addon

To add this to your addon, you have to copy the SKU class into your plugin and change the package to one of your own.

How to use

These annotations work best with syntax loaded staticly with Skript's native registration system. Here is an example:

@SKU.data(
        name = "Name of the Element",
        desc = "Description of the element.",
        example = "An example "
)
public class SampleEffect extends Effect {

    static {
        Skript.registerEffect(SampleEffect.class, "[syn]tax");
    }

About

The official annotation used to import syntax to the docs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages