1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

API Mask 2.1.2

A plugin framework primarily aimed at Skript addons to simplify boilerplate tasks.

  1. Commander v2 and 1.16.1 Support

    In this version Mask has been modularised. This may contain some breaking changes.

    The `Mask` module shades all submodules.

    - MagicLogic
    - Commander (requires MagicLogic)
    - Mask

    - MagicMap, a linked map implementation for better index manipulation
    - MagicList, a better list implementation with sorting, randoms and other useful features

    Changes in Commander v2:
    - Uses `CommandImpl` instead of `Main`
    - Consumers have been replaced with `CommandAction`s
    - Now...
  2. 1.16.1 Fixes

    Fixed both of the command systems to work on 1.16.1. These are now done entirely via reflection, so they ought to work across all versions.

    Also removed paper as a transitive dependency, to prevent any paper-only content sneaking in... :emoji_frowning:
  3. Mask v2! Smoke and Mirror

    This is the official Mask v2 release. It may contain breaking changes for your plugins, though stubs have been left in place for the time being to try and maintain legacy projects.

    Mask wiki can be found here.

    In this version the following changes have been made:

    • Unused, old and broken libraries
  4. Web servers, menus, item factories and javadocs :)

    In this version the following changes have been made:

    * Erroneous file creation if using the addon template

    • Basic extendable web server creation system
    • Web action callback events (for GET/POST etc.)
    • Basic system for simple creation of online jSon APIs
    • Better documentation of maps and other classes
    • ItemFactory system for easy creation/editing of items (replaces ItemStacker)
    • Menu GUI system for simple menu creation via callback buttons...
  5. Containers

    This update adds a few libraries that I've been working on in the background, as well as some supportive changes to try and quash any potential clerical errors.

    Key changes:
    • Removed several deprecated classes (these are due to be redone soon)
    • Added the PositionalMap
      - a map that uses an X/Y-based key in order to categorise entries
      - brilliant for ordering stuff in a grid basis
      - trust me this thing is a g when it comes to grid work
      - easy acquisition of rows and columns...
  6. Commander

    A new thing of beauty has been added to Mask: the WrappedCommand interface.

    WrappedCommands are able to be handled entirely from the class itself - no entry in the plugin.yml or setting executors (though, I suppose, you could still bother with that if you want?)

    If you are using the Plugin class template, you can use register(WrappedCommand... commands) to register multiple within your startup() method, or wherever you'd like.

    Equally, if you aren't using the Plugin template, you can use...
  7. Config Overwriter

    A small suggestion from @Blue - the `@Overwrite` annotation on the config's class will clear the contents of the file pre-saving, removing anything already inside.
  8. Converters

    Added some built-in Yaml and Map converters, to easily convert configuration/storage files to navigable treemaps.

    This will soon be extended to jSon as well.