"Idea" for an interaction screen #211
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I added a Module which opens a screen when the middle mouse button is clicked.
You can customize the screen via the command
interactionwhere you can add or remove an entry, list or clear all.An entry is constructed out of an alias ( which gets shown on the interaction screen ) and a command ( which runs once the alias on the screen is selected )
The command can be customized with following two options:
%nameand%suggestion%.%namewill become the name of the entity which is focused when the screen is opened.%suggestion%has to be at the start of the specified command. When it is present the command won´t be send to the chat immediately rather it will open the chat hud and just puts in the text of the command. This allows for commands like%suggestion /msg %user-> When the command is executed the chat hud will appear and you can type the rest of the command. Now you don´t have to type the hole name yourself if you are standing in front of a person you want to talk to.Here a short example video (in the old GUI): https://streamable.com/y19dz7
This is in completely alpha state and propably generates merge conflicts 👍
Things to improve:
%name%