QuickClose | 1.8 - 1.14 | 1.3.0

Close inventories with your mouse - Quality of Life plugin!

  1. Benz56
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    Source Code:
    https://github.com/Benz56/QuickClose
    [​IMG]

    QuickClose is a simple Quality of Life plugin allowing players to close inventories by clicking outside of them as an alternative to pressing escape/e; useful when you do not have your hand on the keyboard. You can configure click type, the number of clicks, click timing, and much more.



    Test Server: 142.44.222.241:25602

    [​IMG]
    [​IMG] [​IMG]
    [​IMG]

    Features

    [​IMG]
    • Select triggering click type.
    • World blacklisting/whitelisting.
    • Ignore inventories with custom names.
    • Control click timing for consecutive clicks.
    • Single-click, double-click, triple-click, etc.

    Configuration File

    Code (YAML):
    ############################################################
    # +------------------------------------------------------+ #
    # |     ___         _      _     ___  _                  | #
    # |    / _ \  _  _ (_) __ | |__ / __|| | ___  ___ ___    | #
    # |   | (_) || || || |/ _|| / /| (__ | |/ _ \(_-</ -_)   | #
    # |    \__\_\ \_,_||_|\__||_\_\ \___||_|\___//__/\___|   | #
    # |                                                      | #
    # | By: Benz56                                           | #
    # +------------------------------------------------------+ #
    ############################################################

    # Blacklist some inventory types from being quick closeable. Find inventory types below:
    # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/inventory/InventoryType.html
    InventoryTypeBlackList
    :
    #- CHEST

    # You may invert the above effectively making the blacklist a whitelist.
    InventoryTypeBlackListInvert
    : false

    # Only trigger on clicks that are performed with no item in the hand.
    EmptyHandOnly
    : true

    # The number of consecutive clicks needed to quick close an inventory.
    # E.g. setting the value to 2 will require a double click etc.
    ClicksToClose
    : 1

    # The maximum amount of milliseconds between two clicks to be treated as consecutive.
    ConsecutiveClicksTimeFrame
    : 500

    # The type of click needed to trigger quick close: LEFT, MIDDLE, or RIGHT
    ClickTypeToClose
    : 'RIGHT'

    # By enabling this any inventory with a custom name won't be quick closeable.
    IgnoreNamedInventories
    : false

    # Enable or disable the update checker.
    UpdateCheckerEnabled
    : true

    Commands
    The plugin features a single command:

    • /quickclose reload
      Aliases: [quickc, qclose, qc]
      Argument aliases [rel, r]
      Reload the configuration file. This command is only executable by OPs or via console.

    Installation & Setup
    Installing Quick Close is as simple as with any other plugin.
    1. Download QuickClose.
    2. Drag and drop the plugin into your plugins folder.
    3. Start/Restart/Reload your server.
    4. Configure the plugin as you wish.

    Versions & Support
    QuickClose only supports Spigot servers. That being said the plugin should work on Spigot forks such as PaperSpigot as well.

    Please note that it is not possible to close creative inventories.

    Confirmed working versions:

    • 1.8 - 1.14.x

    [​IMG]
    BF3Chilled and Funtime like this.

Recent Updates

  1. [1.3.0] Tab Completion
  2. [1.2.1] Lombok
  3. [1.2.0] Update Checker

Recent Reviews

  1. HexedHero
    HexedHero
    5/5,
    Version: 1.2.0
    Really cool and interesting plugin. Great author and great code. Thanks for this.
    1. Benz56
      Author's Response
      Thank you for the review, HexedHero!

      Glad that you're finding the plugin cool - appreciate the positive feedback! :D
  2. OnyxianSoul
    OnyxianSoul
    5/5,
    Version: 1.1.0
    So trivial yet so good. Good job, original idea, great implementation. wohooo :D
    1. Benz56
      Author's Response
      Thank you for the review, OnyxianSoul!

      I appreciate the positive feedback - glad you like it! :D
  3. PikaMug
    PikaMug
    5/5,
    Version: 1.1.0
    QuickClose put me through the Five Stages of Grief. First, Denial that the way this works (a slot type for outside the GUI) has existed since 1.8! Second, Anger stemmed from not having thought of this first. Third came Bargaining with myself - surely someone else had thought of this before? Fourth, a harsh Depression kicked in when my search results came back empty. Lastly, warm Acceptance as I downloaded the plugin. No regrets!
    1. Benz56
      Author's Response
      Thank you for the review, PikaMug!

      Gave me a good laugh! I was as surprised as you when I first came up with this idea and the fact that the OUTSIDE SlotType was a thing just made it easier! Glad you like it! :D
  4. Malacaritaa
    Malacaritaa
    5/5,
    Version: 1.0.1
    This is a great and unique plugin, it's a simple idea, the concept I had not seen it in any other plugin or server!
    1. Benz56
      Author's Response
      Thank you for the review, Malacaritaa!

      I appreciate the kind words; glad you’re liking the plugin :D
  5. Verum
    Verum
    5/5,
    Version: 1.0.1
    Works as described, very handy little Quality of Life I will be adding to all my servers. Barely shows on timings and in my testing I set the click amount to 100 and it accurately tracked and closed the inventory.

    10/10 would recommend.
    1. Benz56
      Author's Response
      Thank you for the review, Verum!

      Glad to hear that you’re finding the plugin nifty! Appreciate your testing and the feedback! :D
  6. DerangedWifi
    DerangedWifi
    5/5,
    Version: 1.0.1
    Works on paper. Simple and smart. Definitely a quality of life improvement. Thanks dev!
    1. Benz56
      Author's Response
      Thank you for the review, DerangedWifi!

      Glad to hear that it is, in fact, working on Paper. Let me know if you have any issues, suggestions, or ideas for improvement :)