IntellectualSites / IntellectualSites/PlotSquared

`/plot info` Usage of MiniMessage by list item (Add preprocessed tags for click actions)

Open
#4,289 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Approved Feature
Dominant language
Java
Stars
653
Forks
975
Avg merge
2m
Merged PRs (30d)
6

Description

Server Implementation

Paper

Server Version

1.19.4

Describe the bug

I would like to include a suggest-command in the player list of /plot info, but I do not get the expected conversion of the MiniMessage definition. In the suggest-command part, the <user> is not transferred to the username of the list item. The hover works and the <user> name is displaying too, but the suggest-command down't work here.

"info.plot_user_list": "<click:suggest_command:'<user>'><hover:show_text:'<gray>Copy user name'><white><user><gray></hover></click>",

grafik

grafik

To Reproduce

Changing the info.plot_user_list part of messages_en.json with the new message ->

  "info.plot_user_list": "<click:suggest_command:'<user>'><hover:show_text:'<gray>Copy user name'><white><user><gray></hover></click>",

Usage of /plot info -> Owner, Added, Trusted player list

Expected behaviour

grafik

Screenshots / Videos

No response

Error log (if applicable)

No response

Plot Debugpaste

XXX

PlotSquared Version

PlotSquared 7.2.0

Checklist
Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue through /plot info using the info.plot_user_list message in messages_en.json. Trace how the list item is assembled and how MiniMessage click actions are processed; done means the suggest-command action uses the listed player's username while the existing hover text still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.