BentoBoxWorld / ControlPanel

Eclipse Public License 2.0
0 stars 2 forks source link

Make menu items fully customizable #10

Closed johnfriedrich closed 4 years ago

johnfriedrich commented 4 years ago

Description

Is your feature request related to a problem?

I really like GUIs, as they are more intuitive than commands. I had a look at controlpanel and tried to customize menuitems to my likings, but that didn't work out. I wasn't able to get the command out of the item title.

Describe the solution you'd like us to implement.

I would like to able to customize the item name, bound command and the lore. Didn't try multiline lore, but that would be a nice feature aswell.

Additional context

Possible outcome image

How settings could look like image

johnfriedrich commented 4 years ago

Thank you very much!!! Howevery, it still uses commands as name https://github.com/BentoBoxWorld/ControlPanel/commit/a9237cbc9c616375cd0e59a8191c961b95f638e8#diff-4f7d341d6cdb3bc404d5ec92fa01db1dR93

image image

BONNe commented 4 years ago

Hmm, did you re-import your control panels? As contorlPanels.yml and controlPanelsTemplate.yml are just template files for importing :)

johnfriedrich commented 4 years ago

Steps I did:

It imported correctly. When I set the command to the name, it shows the command as name ingame. However this obviously breaks the command. from a quick look at the commit thats also the expected result

BONNe commented 4 years ago

Yea, I found the issue :D I forgot to add name reader from template file :D