# BetterGUI BetterGUI is a Spigot plugin to create inventory menus. It's known for the modular design so that addons can be made to add more features to the main plugin. ## Feature * Stable * Modular design * From Simple to Complex * [Menu]({{% ref "menu/overview" %}}) to make your dream one * [Button]({{% ref "button/overview" %}}) to add * [Item Modifier]({{% ref "modifier/overview" %}}) to edit your display item * [Action]({{% ref "action/overview" %}}) to execute * [Requirement]({{% ref "requirement/overview" %}}) to check before doing actions * [Arguments in menus]({{% ref "argument" %}}) * [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/) support * More features with [Addon]({{% ref "addon" %}}) * [BungeeCord support]({{% ref "addon/bungee-link" %}}) * [Vault support]({{% ref "addon/vault-bridge" %}}) * [PlayerPoints support]({{% ref "addon/player-points-bridge" %}}) * [Custom conditions]({{% ref "addon/eval-extra" %}}) * [PaperMC support]({{% ref "addon/paper-spec" %}}) * [Custom item check]({{% ref "addon/item-gotcha" %}}) * [Animated inventory title]({{% ref "addon/dynamic-title" %}}) * [...and more]({{% ref "addon" %}}) --- # Basic This contains the basic tutorials of the plugin, including the installation, the commands & the FAQs --- ## Install the plugin 1. Download the plugin 2. Copy/Cut the plugin and paste it to your `plugins` folder 3. Start the server to let it load 4. Stop the server 5. Make some configs and menus 6. Start the server and voila --- ## Add a menu 1. Go to the `plugins/BetterGUI/menu` folder 2. Create a ".yml" file 3. Open the created file 4. [Add some menu settings and buttons]({{% ref "menu" %}}) 5. Save the file 6. Reload the plugin 7. Done --- ## Add an addon 1. [Download the addon]({{% ref "addon" %}}) 2. Go to the `plugins/BetterGUI/addon` folder 3. Copy/Cut the downloaded jar file and paste it to the folder 4. Start/Restart the server 5. Done {{% notice style="warning" %}} It's recommended to use [Addon Downloader]({{% ref "menu/addon" %}}) to install the addons. For those who choose to manually download the official addons, make sure to download the one with `-shaded` in its name. {{% /notice %}} --- ## Command & Permission | Command | Permission | Description | | --- | --- | :---: | | `bettergui` | bettergui.help | Show available commands and menu commands | | `addons` | bettergui.addons | Get the loaded addons | | `openmenu [player] [args]` | bettergui.openmenu | Open the specific menu (for a specific player) | | `reloadmenu` | bettergui.reload | Reload all menus | | `reloadplugin` | bettergui.reload | Reload the plugin | | `getvariables` | bettergui.variable | Get the registered variables | | `getvariables ` | bettergui.variable | Get the registered variables for a menu | | `gettemplatebuttons` | bettergui.templatebuttons | Get the registered template buttons | | | bettergui.\.yml | The permission that is required to open the menu | | | bettergui.openmenu.bypass | Allow the player to open all menus | --- ## Config ```yaml # Use BetterGUI's Click Type with support for number keys use-modern-click-type: false # Whether the plugin replaces all similar variables on every check replace-all-variables-each-check: true # Use the legacy button that supports the old settings use-legacy-button: true # Whether the plugin should use the relative path name instead of the file name when registering menus relative-menu-name: false # Whether the plugin should trim the file extension of the menu name trim-menu-file-extension: false # Whether the config file name should be included in template name # If set to true, the template name will be "/