see title: no functional changes
This will only work for 1.17, currently I do not plan to release a 1.16 version, if you need that, please join the discord and ask.
After a long break from Spigot, I have returned with the update to this plugin for the recent versions! Enjoy!
Updates are as follows:
- You can now use * in permissions, eg customgui.1.*.view, allowing the person to see all items in menu 1.
- You can now use multiple open commands!
IF YOU ARE A PREVIOUS USER AND ARE UPDATING, CHANGE YOUR OPEN COMMAND FOR ALL OF YOUR MENUS FROM:
OpenCommand: whatever
TO:
OpenCommand:
- whatever
See main page for FillWithPanes option
In the config there is now an "Attributes" list. It defaults to none but if you add "glowing" and remove none it will make the item glow.
I switched the file names around in the zip file by accident. I fixed that!
Now you can move items in your inventory with the CustomGUI open. Also, use <message> in a command to send a message to people who click an item. Supports color codes and PlaceholderAPI.
New permissions and sounds for items! See main page!
Now the admin open command also requires an argument if the regular one does.
Now supports multiple commands! If you are a previous user, you must do the same thin you did to lore when I added support for multi lore lines. Take the command String and make it a List:
From this:
Command: (command)
To:
Command:
- (command)
Added metrics (
https://bstats.org/plugin/bukkit/CustomGUI )
Commands have been changed:
- <console> (command) runs command from console
- <GUI> (target open command) opens another GUI
- (command) runs command as player
- <sound> (sound name) plays sound to player
- <message> (message sent to player)
Added <Username> in commands, gets replaced by the player opening the GUI
Forgot to remove setPlaceholders for two of the three possible item scenarios. The plugin was trying to parse PAPI placeholders of you didn't have them, and it caused an error.
Now there's only one default config for those that only want one menu, the second one won't automatically generate.
I've fixed a bug with the <Arg> in PAPI placeholders.
Added support for no command, put the command to 'null' for no command.
Now you can have multiple lines of lore! As default, an example list is provided. Edit it and add more entries for different lore.
NOTICE: IF YOU COME FROM A PREVIOUS VERSION, BE SURE TO CHANGE YOUR LORE FROM THIS:
Lore: {Lore}
TO:
Lore:
- {Lore}
Name: <Arg> %player_is_op%
Will return if the Arg is op. This will return the default PAPI response, as expected. Using a regular placeholder will return the value for you.
Fixed Item click not working in inventories with <Username>
Added sending commands from console, a new <Username> placeholder that gets replaced by the player who is in the menu, a glowing feature, and fixed a bug where the skulls would not show the actual player's skin when PlaceholderAPI was not installed.
Fixed bug with player skulls without placeholderapi.
The names are now null instead of "Gray Stained Glass Pane".
Now there's a setting for each of your menus thats called 'FillWithPanes:'. If this is set to true, it will fill all empty spaces in that GUI with Gray Stained Glass.
Use <GUI> [GUI you want to open opencommand] in an item command to open another GUI fron this plugin
Just copy and paste one of the default menus to create another!
Title (again) tells all. You need to open an inventory twice for heads to register idk why im looking into it
Fixed bug in heads system.
In config, to make a player head, put SKULL_ITEM as the material and then the data section becomes the name of the player.
Also color codes in title are now supported!
Added support for unlimited items! Just copy and paste the item config from one item to create another! Also, change the inventory size if you want more than 9 items. Color codes are also now supported in Name and Lore!
CustomGUI now supports PlaceholderAPI! Download expansions and use them in item names and lores!
Now, the config value 'OpenCommand' is the one and only command in this plugin. Everything works, including arguments.
Finally, I have figured out the custom command feature. Currently it only works with no arguments or the reload commands. I am working on arguments...
I have now added a data value configuration value for all of the items. Also, CloseOnClick in the config now defaults to false.
Update v1.5.2 brings a new feature:
Setting the amount of items in the GUI. You can still have 9 items, but say you want item 2 to have 10 diamonds in that slot. Now you can with the "Amount" setting under each of the items in the config! Hope you enjoy!
Now there are 9 configurable items in the GUI.
Now 4 items in the GUI, and the default command is /customgui
I am working on making the command configurable.
Added a third item and added support for null commands. See main description.