rockyhawk64 / CommandPanels

Command Panels main Github page. Wiki Page Below:
https://commandpanels.net/home
GNU General Public License v3.0
94 stars 25 forks source link

change gui title 1.20+ #308

Closed killertuling closed 6 months ago

killertuling commented 7 months ago

Terms

Is your feature request related to a problem? Please describe.

In version 1.20,paper has added a new method InventoryView#setTitle. I think it is already possible to change the gui title,but i'm not sure for it, I want use it to make some gui background animation effects

Describe the solution you'd like

new tag for change GUI's Title、Refresh Title when gui's title has placeholder

Describe alternatives you've considered

nothing

Screenshots/Videos (you can drag and drop files or paste links)

https://jd.papermc.io/paper/1.20/org/bukkit/inventory/InventoryView.html#setTitle(java.lang.String)

TinyTank800 commented 6 months ago

I have managed to get this working with animate values and has sections updating as well as placeholders will also update.

I will also be looking into adding a panel-title= command tag. Recording 2024-05-04 at 11 42 02