MC-Market is now BuiltByBit. Read more

  • We're giving away $35,000 of prizes! Invite 2 friends to our Discord for free Premium! Learn more

ChestEx (Create your own GUIs) 1.0.16

Register now to download for free
Create your own Custom GUI's (Multiple Features)
Tags
Tags
None
Untitled-3.jpg
Code:
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
[/CENTER][/B]

Default Config Result
9ff2602711118358d194faf0c02921ca.png

0a4ad61f69a9c995f3555df550fff519.png

GUI Signs Tutorial / Display
7cd1457c613300ac14649315669b89e3.png

88d526a0da8e0a391c8c04f370df464f.png

Permissions & Variables
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/



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!

A re-develop of the plugin will take place once my Java knowledge has broadened significantly. All config will remain the same so that you don't have to redo them with version 2.

Author

Zilema

Owner
Author
Zilema
Downloads
22
Views
872
First release
Last update
Rating
Not yet rated
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.