NucleoidMC / player-roles

Fabric role & permission management for servers
MIT License
38 stars 16 forks source link

feat: add hover support to name decoration override #78

Closed williambl closed 1 year ago

williambl commented 1 year ago

Closes #23.

As specified in issue #23, this PR makes it possible to change the hover event of a player's name. An optional hover field is added to the name decoration override, which accepts hover events:

"name_decoration": {
  "hover": {
    "action": "show_text",
    "contents": "hi!!!"
  }
}

image

Documentation is also added to the README.