Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to modify theme.json's in-game #79

Open
LysergikProductions opened this issue Jun 9, 2021 · 0 comments
Open

Add ability to modify theme.json's in-game #79

LysergikProductions opened this issue Jun 9, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request P3 Lowest Priority Issue
Milestone

Comments

@LysergikProductions
Copy link
Owner

LysergikProductions commented Jun 9, 2021

Use an inventory gui to give the user the options to click on an existing editable theme, or create a new one from scratch which will be stored in a Map<String, Theme> object.

When creating a new one, refresh the gui with the new blank theme available (all themeIDs are ChatColor.WHITE).
When a gui is selected, bring the user to a new inventory gui with wool block options representing the theme color ids i.e. primary, secondary, etc.

The color of the wool block options will match the current color of that id when the gui is refreshed.

Clicking a color id wool block object will open a third level of inventory gui with dye objects as options for each of the 16 available ChatColor colors. After selecting a dye object, set the theme stored in the Map accordingly and return user to the 2 level gui with the colors ids.

Finally when done, user can click the back option or the finish option.

Finish will send the player a message TextComponent with a clickevent to run an internal command to set the theme in memory. This is used to warn the user that this will overwrite the current custom.json.

After that runs successfully send a confirmation notice to the user in-game and to stdout

@LysergikProductions LysergikProductions added the enhancement New feature or request label Jun 9, 2021
@LysergikProductions LysergikProductions added this to the 0.3.5 milestone Jun 9, 2021
@LysergikProductions LysergikProductions self-assigned this Jun 9, 2021
@LysergikProductions LysergikProductions added the P2 Significant Issues label Jun 9, 2021
@LysergikProductions LysergikProductions modified the milestones: 0.3.5, 0.3.4 Jun 9, 2021
@LysergikProductions LysergikProductions modified the milestones: 0.3.4, 0.3.5, 0.3.6, 0.3.7 Jun 12, 2021
@LysergikProductions LysergikProductions added P3 Lowest Priority Issue and removed P2 Significant Issues labels Jun 16, 2021
@LysergikProductions LysergikProductions modified the milestones: 0.3.7, 0.4.0 Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3 Lowest Priority Issue
Projects
None yet
Development

No branches or pull requests

1 participant