You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.
When checking for the plot's flag list (using /plot flag list) you could be able to insert a flag's value into the chat.
When using the use flag, things can get very long and would be very tiring to retype to add a new block to the list. So, Shift+Click the flag value to insert to your already typed /plot flag set use message.
How to implement: insertion is a key in the JSON, it only accepts a string of text. {..., "insertion": "flag values", ...}
or using net.md_5.bungee.api.chat.BaseComponent: component.setInsertion("flag values");
Reference: https://minecraft.gamepedia.com/Raw_JSON_text_format
Additionally, flag values could be autocompleted aswell when setting them.
Additional context
Checklist:
I made sure there are no duplicates of my suggestion (Use search)
PlotSquared Feature Suggestion:
How should it be implemented?
When checking for the plot's flag list (using
/plot flag list
) you could be able to insert a flag's value into the chat.When using the
use
flag, things can get very long and would be very tiring to retype to add a new block to the list. So, Shift+Click the flag value to insert to your already typed/plot flag set use
message.How to implement:
insertion
is a key in the JSON, it only accepts a string of text.{..., "insertion": "flag values", ...}
or using
net.md_5.bungee.api.chat.BaseComponent
:component.setInsertion("flag values");
Reference: https://minecraft.gamepedia.com/Raw_JSON_text_format
Additionally, flag values could be autocompleted aswell when setting them.
Additional context
Checklist:
The text was updated successfully, but these errors were encountered: