ShowCaseStandalone

ShowCaseStandalone

470k Downloads

Use json to display lore when hovering over item in chat

RoboMWM opened this issue ยท 1 comments

commented

This would be a neat way to view the lore (other than a chest GUI).

Only downside I can see displaying lore this way is if chat on the current server is scrolling by too fast to view (since you need to hold your cursor over a specific text).

Alternative is to display a chest GUI of the item with lore, though this presents some issues (primarily having to deal with preventing players from taking the item out of the GUI).

commented

In case you want to implement this, I've already done so in my fork: https://github.com/MLG-Fortress/ShowCaseStandalone/blob/mlg-fortress/src/com/kellerkindt/scs/listeners/ShowCaseExecutingListener.java

(Though you'll probably want to implement differently, as I wanted it to make the description text hoverable, and was curiously unable to use Messaging#parse without the message appearing weirdly client-side; my version does not use that method and thus does not use the alternative methods of applying color to the string.)