MicroLib ~ (for 1.7.x - 1.16.x) 2.1.1

Core library with very useful code for other plugins to utilise!

  1. lokka30
    ABOUT
    MicroLib is a resource for developers. It's a library of Java code containing a bunch of useful methods and classes which will make plugin development faster, easier and cleaner.

    Server owners won't even notice MicroLib's presence as it only runs code when a developer's plugin asks for it. No repeating tasks, no metrics, nothing but code for other plugins to utilise! :)

    Developers are recommended to shade it in their plugins using Maven - this makes it so that users installing their plugin don't have to install MicroLib alongside it (no dependency!). Otherwise, server owners will need to install MicroLib in their plugins folder, which does have the advantage of a lower file size for the plugin utilising it (especially premium plugins).

    Server owners: You can install this resource into your /plugins/ folder, although it won't actually do anything other than allow other plugins to access it if need be.


    QUICK LINKS


    FEATURES OVERVIEW

    • Doesn't do any stupid things in the background to slow down your server. Just sits there and does what other plugins want it to do!
    • Various useful Java classes for plugin developers:
      • MicroLogger
        • Get/set the prefix. Set the prefix once and forget it.
        • Removes the white [PluginName] prefix.
        • Can log messages without a prefix.
        • Messages are logged with colour.
      • WholeSound
        • An object that contains all the necessary variables and methods to store and play sounds
      • WholeTitle
        • An object that contains all the necessary variables and methods to store and play titles
      • YamlConfigFile
        • Easy management of YAML configuration files!
      • ItemBuilder
        • Create item stack objects in a single line of code
      • PlayerMoveEventUtils
        • Check if the player in a PlayerMoveEvent moved their X, Y and/or Z coordinate.
        • Check if the player in a PlayerMoveEvent moved a full X, Y and/or Z coordinate.
        • For plugins that need to run heavier code on PlayerMoveEvent, this class can be used to increase the server's performance by not running the heavy code when a player just decided to move their head a smidge.
      • MicroUtils
        • Simple colorize method (translates '&' color codes, e.g. '&4' = dark red).
      • UpdateChecker
        • This is the UpdateChecker class from the Wiki that has been slightly adapted.
        • Asynchronous (won't freeze the server whilst it checks)
        • Please note that this class only works on Minecraft servers version 1.11.x and newer.
      • ...and more, go check out the repository :)


    TECHNICAL SUPPORT
    [​IMG]

    I only provide technical support on the ArcanePlugins Discord Server.
    Please ensure that you have read the documentation before asking for help.


    DONATIONS
    For the generous lads out there that wish to donate - I've got a Patreon page (which gives Discord benefits) and also a PayPal page.

    I'm a senior high school student, so finding the time and money to develop these resources is not easy. Making plugins that other server owners and their users can enjoy is just a hobby, and it takes a considerable chunk out of my free time - it's just the nature of my high standards for every resource I post, free and premium.
    If you would be willing to support me in this endeavor (for it makes very little return to me), as little or as much as you want, it would really mean so much to me.
    If you are unable to donate, 5 star reviews and kind comments are enough to put a smile on my face and keep me motivated to do this.
    Any support from you will positively impact all of the server owners who are using my resources in whatever capacity.
    Thank you so much. :)


    CONTRIBUTORS
    A big thank-you to all of the contributors of the resource!
    • ...none yet. :(


    LICENSE
    Licensed under the MIT License. By using MicroLib, you agree to the license.


    REVIEWS
    I really appreciate feedback and criticism so I know if MicroLib is heading in the right direction.
    However, do not use the reviews section as means to get support. There's a discord server for that! :)

Recent Updates

  1. v2.1.1
  2. v2.1.0
  3. v2.0.0

Recent Reviews

  1. Steviebeenz
    Steviebeenz
    5/5,
    Version: 2.1.0
    Using this in zHack Lite, it's perfect! Simple, Lightweight, what else do I need to say for 80 characters?
    1. lokka30
      Author's Response
      Glad it's working well for you Stevie, and thank you for the review!
  2. Oathkeeper
    Oathkeeper
    5/5,
    Version: 1.0.7-ALPHA
    It's a Library, it's made by Lokka30, it deserves a rating of some kind and might as well get a fiver from me! I can't wait to see what this new generation of plugins you develop will look like! Your previous work sold me pretty easily.
    1. lokka30
      Author's Response
      Thanks so much Oathkeeper! :)