Skip to content

Comments

Config Commands#2051

Open
kevinthegreat1 wants to merge 8 commits intoSkyblockerMod:masterfrom
kevinthegreat1:config-commands
Open

Config Commands#2051
kevinthegreat1 wants to merge 8 commits intoSkyblockerMod:masterfrom
kevinthegreat1:config-commands

Conversation

@kevinthegreat1
Copy link
Collaborator

Allows you to modify the config with commands.

@LifeIsAParadox LifeIsAParadox added the reviews needed This PR needs reviews label Jan 19, 2026
@kevinthegreat1
Copy link
Collaborator Author

This was tested. Only booleans are supported for now. Should be pretty simple to review.

@Alex33856 Alex33856 added this to the 6.0.0 milestone Jan 22, 2026
return literal(name).executes(Scheduler.queueOpenScreenCommand(() -> createGUI(null)))
.then(argument("option", StringArgumentType.greedyString()).executes((ctx) -> Scheduler.queueOpenScreen(createGUI(null, ctx.getArgument("option", String.class)))));
LiteralArgumentBuilder<FabricClientCommandSource> builder = literal(name).executes(Scheduler.queueOpenScreenCommand(() -> createGUI(null)))
.then(literal("search").then(argument("option", StringArgumentType.greedyString()).executes((ctx) -> Scheduler.queueOpenScreen(createGUI(null, ctx.getArgument("option", String.class))))));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes searching from the command more annoying... Maybe the other stuff can be a different subcommand.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can’t think of anything unfortunately. The only thing I thought of is /skyblocker config command …. set doesn’t really work here because you can also query.

@LifeIsAParadox LifeIsAParadox added changes requested This PR need changes and removed reviews needed This PR needs reviews labels Jan 24, 2026
@LifeIsAParadox LifeIsAParadox added reviews needed This PR needs reviews and removed changes requested This PR need changes labels Jan 25, 2026
@AzureAaron AzureAaron added the new feature This issue or PR is a new feature label Jan 28, 2026
Copy link
Collaborator

@viciscat viciscat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nitpick i guess, not gonna request changes since it's minor and it isn't that important from avoiding duplicate code a bit

@Alex33856 Alex33856 removed this from the 6.0.0 milestone Jan 30, 2026
@Alex33856 Alex33856 added merge conflicts This PR has merge conflicts that need solving. and removed reviews needed This PR needs reviews labels Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge conflicts This PR has merge conflicts that need solving. new feature This issue or PR is a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants