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

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

    The `Mask` module shades all submodules.

    Modules:
    - MagicLogic
    - Commander (requires MagicLogic)
    - Mask

    Additions:
    - 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

    Moderocky
    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

    Moderocky
    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:

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

    Moderocky
    In this version the following changes have been made:

    Fixed
    * Erroneous file creation if using the addon template

    Added
    • 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

    Moderocky
    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

    Moderocky
    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

    Moderocky
    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

    Moderocky
    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.