HomeJavaModsChestEx
ChestEx
[​IMG]
Code (Text):

main:
  name: 'test'

guis:
    # Name of Page. Access page by executing /gui pagename.
    test:
      # Title of the inventory that appears at the top of the GUI.
      title: '&4Test &bMenu'
      # Permission to access GUI
      permission: 'inv.test'
      # Item that when right clicked, opens up the GUI.
      item:
        name: '&4Menu'
        item: DIAMOND
      # Number of slots to display. Options: 9,18,27,36,45,54. 9 Slots per Row.
      slots: 18
      # Slot ID. Slot numbers start at 0 and end 1 less than total slots number above.
      slot17:
        # Name of item.
        name: '&2Item &4Name &6Here'
        # Item Material ID. View Options Here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
        item: DIAMOND_PICKAXE
        # Lore of Item.
        lore:
        - ''
        - '&4Here are your MCMMO Stats'
        - ''
        # Displays the player's MCMMO individual stats. You MUST have MCMMO installed to allow these to work, otherwise DO NOT USE THEM.
        - '&7Acrobatics: &5%MCMMO_ACROBATICS%'
        - '&7Alchemy: &5%MCMMO_ALCHEMY%'
        - '&7Archery: &5%MCMMO_ARCHERY%'
        - '&7Axes: &5%MCMMO_AXES%'
        - '&7Excavation: &5%MCMMO_EXCAVATION%'
        - '&7Fishing: &5%MCMMO_FISHING%'
        - '&7Herbalism: &5%MCMMO_HERBALISM%'
        - '&7Mining: &5%MCMMO_MINING%'
        - '&7Repair: &5%MCMMO_REPAIR%'
        - '&7Salvage: &5%MCMMO_SALVAGE%'
        - '&7Smelting: &5%MCMMO_SMELTING%'
        - '&7Swords: &5%MCMMO_SWORDS%'
        - '&7Taming: &5%MCMMO_TAMING%'
        - '&7UnArmed: &5%MCMMO_UNARMED%'
        - '&7WoodCutting: &5%MCMMO_WOODCUTTING%'
        - ''
        - '&7Power Level: &5%MCMMO_POWERLEVEL%'
        # Item Enchantments. View Options Here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
        enchants:
        - 'DIG_SPEED : 3'
        - 'DURABILITY : 3'
        # Quantity of item in the slot. Minimum 1.
        amount: 5
        # Permission to click the item.
        permission: 'click.diamondpick'
        # Commands executed when clicked.
        commands:
        # Execute commands as the console.
        - 'console: broadcast The Diamond Pickaxe was clicked by %PLAYER%!'
        # Execute commands as the player who clicked the item.
        - 'player: heal %PLAYER%'
        # Message the player who clicked the item.
        - 'tell: %PLAYER% You just clicked a Diamond Pickaxe!'
        # Deposit money into the Player's account. (REQUIRES VAULT)
        - 'deposit: 5000'
        # Withdraw money from the Player's account. (REQUIRES VAULT)
        - 'withdraw: 2500'
        # Add items to the player's inventory. View Options Here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
        - 'give: DIAMOND : 32'
        # Play a sound to the player. View Options Here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
        - 'sound: BLOCK_DISPENSER_DISPENSE'
        # Apply a potion effect to the player (POTION : LEVEL : DURATION IN TICKS), there are 20 ticks in a second. View Options Here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionType.html
        - 'potion: SPEED : 3 : 600'
        # Force player to open another defined GUI.
        - 'open: test2'
        # Close Inventory when clicked? Options: true / false.
        close: true
        # Allow the player to take the item? Option: true / false.
        stealable: false
[/B]

Default Config Result
Spoiler
[​IMG]
[​IMG]

GUI Signs Tutorial / Display
Spoiler
[​IMG]
[​IMG]

Permissions & Variables
Spoiler
Commands:
/GUI [GUI Name] - Opens up a GUI
/MAIN - Opens up the main defined GUI
/CHESTEX RELOAD - Reloads the config.

Permissions: (All Configurable)
Open a certain GUI: Configurable in Config
Select a specific Icon: Configurable in config
Create GUI signs: chestex.createsigns
Reload the config: chestex.reload

Variables for commands:
%PLAYER%: Username of Player
%PLAYERDISPLAY%: Display name of Player (Colour Support)
%WORLD%: World the player is in
%ADDRESS%: Player's IP
%MOTD%:[ Server's MOTD (Colour Support)
%PLAYERCOUNT%: Server Player Slots
%BALANCE%: Displays player's balance

Variables for lores: (Must have MCMMO installed)
%MCMMO_ACROBATICS%: Display player's skill level
%MCMMO_ALCHEMY%: Display player's skill level
%MCMMO_ARCHERY%: Display player's skill level
%MCMMO_AXES%: Display player's skill level
%MCMMO_EXCAVATION%: Display player's skill level
%MCMMO_FISHING%: Display player's skill level
%MCMMO_HERBALISM%: Display player's skill level
%MCMMO_MINING%: Display player's skill level
%MCMMO_REPAIR%: Display player's skill level
%MCMMO_SALVAGE%: Display player's skill level
%MCMMO_SMELTING%: Display player's skill level
%MCMMO_SWORDS%: Display player's skill level
%MCMMO_TAMING%: Display player's skill level
%MCMMO_UNARMED%: Display player's skill level
%MCMMO_WOODCUTTING%: Display player's skill level
%MCMMO_POWERLEVEL%': Display player's power level


Optional plugins to have installed to enable more features:

Vault: http://dev.bukkit.org/bukkit-plugins/vault/.
Essentials: https://www.spigotmc.org/resources/essentialsx.9089/
MCMMO: (Free) https://ci.drtshock.net/job/MCMMO/
MCMMO: (Paid) https://www.spigotmc.org/resources/mcmmo.2445/



Spoiler
Are you using my plugin and would like some server recognition? PM me on Spigot with the server IP and I will list it here so players can join and check out both your server and my plugin.

I must mention, this is my first resource and it will remain an updated and supported plugin. Any requests will also be taken into consideration and added. A rating would be very much appreciated!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ChestEx is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11. Downloaded 2,299 times (via Spigot). Download it and open it directly in the game.

Explore more