GUI Commands v1.6.2

A plugin for making GUI's that execute commands on click. Supports /server (Bungee)

  1. Darrionat
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    • 1.14
    GUI Commands
    Author: Darrionat


    [​IMG]
    The graph starts when v1.5 was released
    [​IMG]
    GUI Commands is a plugin that lets developers create GUI's that can allow players to execute commands when they click on an item in the UI. This plugin allows admins to customize their GUI very much (with many more features expected in the future.) Custom names, lores, GUI opening item (e.g. a server selector compass), and permissions!

    Features:

    • GUI Settings
    • Custom GUI Name (Displayed at the top)
    • Custom GUI open command
    • Custom GUI close command
    • Customize your GUI rows
    • True/False if the GUI will remain open after a player clicks an item
    • A custom fill item for slots that aren't taken
    • Can support /server!
    • GUI Item Login Item
    • True/False that a player logs in with a custom item
    • Change the custom item type
    • Add a lore to the custom item
    • Add a name to the custom item
    • Set what slot this item will be in
    • True/False option to let players move the item
    • True/False option to let players drop the item
    • Custom GUI
    • Allows a player to create items within a GUI they can customize
    • Set the id of an item
    • Set the quantity of an item
    • Set a name for the item
    • Add a lore for the item
    • Add a executable command to the item in the GUI
    • Custom permission for a player to see the item in the GUI
    • Custom permission for a player to click the item in the GUI
    • Custom message for when a player doesn't have permission to click on an item.
    Code (YAML):
    ##########################################################################
    #  ____ _   _ ___    ____                                          _     #
    # / ___| | | |_ _|  / ___|___  _ __ ___  _ __ ___   __ _ _ __   __| |___ #
    #| |  _| | | || |  | |   / _ \| '_ ` _ \| '_ ` _ \ / _` | '_ \ / _` / __|#
    #| |_| | |_| || |  | |__| (_) | | | | | | | | | | | (_| | | | | (_| \__ \#
    # \____|\___/|___|  \____\___/|_| |_| |_|_| |_| |_|\__,_|_| |_|\__,_|___/#                                                              
    # ____          ____                  _                                  #
    #| __ ) _   _  |  _ \  __ _ _ __ _ __(_) ___  _ __                       #
    #|  _ \| | | | | | | |/ _` | '__| '__| |/ _ \| '_ \                      #
    #| |_) | |_| | | |_| | (_| | |  | |  | | (_) | | | |                     #
    #|____/ \__, | |____/ \__,_|_|  |_|  |_|\___/|_| |_|                     #
    #       |___/                                                            #
    ##########################################################################

    ## For support on this plugin or any others created by Darrion, please join my Discord
    ##  https://discord.gg/xNKrH5Z


    GUIName
    : 'Gui Commands' # What will show at the top of the GUI.
    GUICommand
    : '/opengui' # A command to open the GUI. You need the /
    GUICloseCommand
    : '/closegui' # Useful for making an item close the GUI. You need the /
    GUIRows
    : 6 # 1 is min. 6 is the max. Making less/more might break the plugin.
    KeepOpen
    : true # This is if the GUI will close when a player clicks on something

    ## Custom Join Item, such as a server navigator compass!
    ## If a player right-clicks with this item, it'll open the GUI.
    GUIItemOnLogin
    : true
    GUIItemType
    : 'COMPASS' # Use all caps, make sure it's a valid item type.
    GUIItemLore
    : '' #
    GUIItemName
    : '&eServer Selector'
    GUIItemSlot
    : 5
    PlayerCanMoveItem
    : false # Can move the item in their inventory, still can move if in creative.
    PlayerCanDropItem
    : false # Can drop the item on the ground

    ## id: It must be capitalized and in '' Make sure it's the name, not the ID number. (Required)
    ## qty: the amount of blocks in that slot (Required)
    ## name: Add a custom name to the item, works with color codes. Put in '' (Optional)
    ## lore: Add a custom lore to the item, works with color codes. Put in '' (Optional)
    ## command: the command that will be executed when a player clicks on the item. Put in '' You don't need a / (Required)
    ## view-permission: Permission to see the item, leave '' empty if you don't want a permission. (Optional)
    ## click-permission: Permission to click the item, leave '' empty if you don't want a permission. (Optional)
    ## click-no-permission-message: Message for when a player clicks but doesn't have the permission click-permission (Optional)

    ## Don't delete any lines in your item, so always have it like this.
    ## 23: # This is the slot number.
    ##         id: 'DIAMOND_ORE'
    ##         byteid: 1 (Only needed in 1.12, for something like red_wool. Leave 0 if you don't need it) If you're in 1.13/1.14 just leave as 0
    ##         qty: 32
    ##         name: ''
    ##         lore: ''
    ##         command: 'say one'
    ##         view-permission: 'test.test'
    ##         click-permission: 'click.permission'
    ##         click-no-permission-message: 'You dont have that permission'
    ## Deleting any of the options will throw you an error in console. If you don't want an option, just leave '' empty.
    GUI
    :
        14
    : # This is the slot number.
            id
    : 'CHEST'
            byteid
    : 0
            qty
    : 1
            name
    : '&eGUI Commands'
            lore
    : '&aA plugin for making GUIs that execute commands on click'
            command
    : 'say one'
            view-permission
    : 'view.chest'
            click-permission
    : 'click.permission'
            click-no-permission-message
    : '&cYou dont have that permission'
        29
    : # This is the slot number.
            id
    : 'BOW'
            byteid
    : 0
            qty
    : 1
            name
    : '&cBowPVP'
            lore
    : ''
            command
    : 'warp bowpvp'
            view-permission
    : 'view.bowpvp'
            click-permission
    : 'click.permission'
            click-no-permission-message
    : '&cYou dont have that permission'
        31
    : # This is the slot number.
            id
    : 'DIAMOND_SWORD'
            byteid
    : 0
            qty
    : 1
            name
    : '&cKitPvP'
            lore
    : ''
            command
    : 'warp kitpvp'
            view-permission
    : 'view.kitpvp'
            click-permission
    : 'click.permission'
            click-no-permission-message
    : '&cYou dont have that permission'
        33
    : # This is the slot number.
            id
    : 'DIAMOND_CHESTPLATE'
            byteid
    : 0
            qty
    : 1
            name
    : '&bArmory'
            lore
    : ''
            command
    : 'warp armory'
            view-permission
    : 'view.armory'
            click-permission
    : 'click.permission'
            click-no-permission-message
    : '&cYou dont have that permission'
        35
    : # This is the slot number.
            id
    : 'GOLDEN_APPLE' # GOLDEN_APPLE in 1.12
            byteid
    : 1      # 1 in 1.12
            qty
    : 1
            name
    : '&eFood'
            lore
    : ''
            command
    : 'warp food'
            view-permission
    : ''
            click-permission
    : ''
            click-no-permission-message
    : 'You can leave the permissions empty for no perm required.'
        50
    :
            id
    : 'BARRIER'
            byteid
    :
            qty
    : 1
            name
    : '&4Close GUI'
            lore
    : '&8A way to leave the menu.'
            command
    : 'closegui' # This is the same command as the one at the top of the config, to close the gui.
            view-permission
    : 'custom.permission'
            click-permission
    : 'click.permission'
            click-no-permission-message
    : '&cYou dont have that permission'

    Permissions/Commands:

    • Commands
    • /guicommands
    • /guicommands reload
    • Permissions
    • guicommands.reload
    • (config.yml)view-permission; ''
    • (config.yml)click-permission; ''
    • These permissions can be custom made to whatever you want, or they can be left blank for no permission required!
    Support/Bug Reports:
    [​IMG]
    • You can receive quick support for this plugin by joining my Discord, listed at the top of the page.
    • If you have found any bugs within the plugin please join my Discord and send me the bug report!
    • You can find the known bugs within my Discord also.
    Aqurat and RockyHawk like this.

Recent Updates

  1. Bugfix v1.6.2
  2. Update v1.6.1 - Bugfix
  3. Update v1.6 (Bungee Support)

Recent Reviews

  1. KatsuroKurosaki
    KatsuroKurosaki
    5/5,
    Version: v1.6.2
    I just needed a simple compass plugin with bungee support: easily send players across the network. Suggestion: Add an example of bungee server teleport in default config. Other than that: 5 stars. Thank you very much
    1. Darrionat
      Author's Response
      Thank you for the review! I appreciate it :)
  2. RockyHawk
    RockyHawk
    5/5,
    Version: v1.4.6
    Received very good support on the discord server, I can't wait to see even more new features in the future!
    1. Darrionat
      Author's Response
      Thank you for the feedback!