Skip to content

Gamerule-like feature request #75

@wifl2k

Description

@wifl2k

It'd be cool if you made it so when you typed each command for example:

/twitch broadcast

it would display the current setting instead of forcing you to provide true/false just like the gamerule command

something like this:

.executes(ctx -> {
boolean currentState = ModConfig.getConfig().isBroadcastEnabled();
ctx.getSource().sendFeedback(Text.literal("Twitch broadcast is currently " + (currentState ? "enabled" : "disabled")));
return 1;
})

also if you did

/twitch watch

with no arg, it'd tell you who you're watching currently or if you're watching nobody

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions