Skip to content

AutoGG and Method Refactor#20

Open
TerraKaminari wants to merge 4 commits into
Legacy-Edition-Minigames:1.20.4from
TerraKaminari:1.20.4
Open

AutoGG and Method Refactor#20
TerraKaminari wants to merge 4 commits into
Legacy-Edition-Minigames:1.20.4from
TerraKaminari:1.20.4

Conversation

@TerraKaminari

Copy link
Copy Markdown

Added AutoGG and renamed the methods in the Spectator Squeak feature to better match its class name.

Added AutoGG and renamed the methods in the Spectator Squeak feature to better match its class name.
@TerraKaminari

Copy link
Copy Markdown
Author

:3

@kyrptonaught

kyrptonaught commented Jun 25, 2026

Copy link
Copy Markdown
Member

Seems fine to me.

Make the GG message configurable?

@TerraKaminari TerraKaminari marked this pull request as draft June 25, 2026 22:15
Bumped version and added the ability to customize the autogg message, thank you kyrptconfig for making that so easy <3
@TerraKaminari TerraKaminari marked this pull request as ready for review June 25, 2026 22:55
@TerraKaminari

Copy link
Copy Markdown
Author

Bumped version and added the ability to customize the autogg message, thank you kyrptconfig for making that so easy <3

@S-N00B-1

Copy link
Copy Markdown
Collaborator

Should AutoGG be disabled or enabled by default?

@PixeoGames

Copy link
Copy Markdown

I would think enabled. We dont really have the volume of people that use LCH that would make it something we should have disabled by default

@TerraKaminari

Copy link
Copy Markdown
Author

should be fine to have it enabled by default, its easy to change anyway, either via config folder or via mod menu

@ThatBooze

Copy link
Copy Markdown

LEMClientHelper usually isn't installed by people before they ever touch LEM. Having this feature enabled by default would throw people off just by having muscle memory to type it in themselves

@PixeoGames

Copy link
Copy Markdown

Yeah, at first i thought "Well no, it shouldnt be installed cause it could be spammy, or if we started having a ton of people install lch, it would flood chat every game" but figured most people who do install it are pretty into lem as is, so it wouldnt be that heavily used.
Is it possible to have it ask on first launch if you want to enable it?

added delay (in ticks) to autoggconfig, implemented a tick delay to the actual feature, and updated the mod menu integration to include it, along with translation key for the new setting
@TerraKaminari

Copy link
Copy Markdown
Author

added a configurable delay (in ticks), and also people say gg after every game as it is, on top of that it can just be disabled for those who dont want it, and even most mentions of lch go ignored anyway so it likely wont come up too often.

if anyone wants to implement a first launch ask for enabling autogg i think thats ok but i am not adding it myself, i can always just set the default state to disabled if people really care that much about it but i think having it enabled by default for now is fine.

the previous iteration decremented the ticksUntilGG variable before checking for a value of 0, making the default delay of 0 never meet the requirement to play the message, this has now been fixed.
@TerraKaminari

Copy link
Copy Markdown
Author

fixed the bug with message not sending on a delay of 0

@kyrptonaught

Copy link
Copy Markdown
Member

I'll look into this more this weekend.

I would like to consider having server utils notifying the clients the game was over to signal the GG rather than a sound event.

@PixeoGames

Copy link
Copy Markdown

That would be a pretty good idea, as i can see some modtools map somewhere made by some troll that spams the sound event to get everyone using LCH to spam chat / cause issues

@TerraKaminari

Copy link
Copy Markdown
Author

i'll see what i can do about that, i will just need a bit to look over serverutils

@kyrptonaught

Copy link
Copy Markdown
Member

It would likely need hooking into the datapack too. I don't think server utils even knows the game is over?

@TerraKaminari

Copy link
Copy Markdown
Author

probably the case, i dont think it'd be that difficult to add to the dp, i could figure something out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants