MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.67k stars 402 forks source link

Hypixel text on screen showing in log #1547

Closed SsValor closed 3 years ago

SsValor commented 3 years ago

so i tried using MCC in hypixel and i found a problem , hypixel has a system that outputs text in screen , things like announcements , points , and player stats for better understanding of what i'm saying check this picture

Screenshot 2021-04-19 201819

the problem is MCC thinks this is a chat message ( maybe thats the hypixel chat format and nothing is wrong with MCC ) but as you can see in the picture bellow the log will get filled with that text

Screenshot 2021-04-19 202018

and thats a bit annoying i tried filtering the text in MinecraftClient.ini . [Logging] Section , by writing a simple Regex and i tried testing that its working in https://regex101.com/ and its working fine in there but it doesn't work in the bot ( i am using the latest version of the build and everything else i checked is working fine ) im guessing its something to do with the coloring of the text and the bot doesn't detect it in that color

if anyone could help i would really appreciate it , its getting a bit annoying seeing all these text in my log xD

ReinforceZwei commented 3 years ago

You can disable it in the configuration file.

[Main]
...
showxpbarmessages=true

Set it to false.

GamingFrazix commented 2 years ago

Tried It Still Dosent Work Am I Doing This Wrong? image

There Was Not This Option Here I Added It Myself

ReinforceZwei commented 2 years ago

@GamingFrazix https://github.com/MCCTeam/Minecraft-Console-Client/blob/41950c8b20f0d54528b59fc228e01070328b4f67/MinecraftClient/Resources/config/MinecraftClient.ini#L31-L34

GamingFrazix commented 2 years ago

@GamingFrazix

https://github.com/MCCTeam/Minecraft-Console-Client/blob/41950c8b20f0d54528b59fc228e01070328b4f67/MinecraftClient/Resources/config/MinecraftClient.ini#L31-L34

Oh Sorry Got It Now Ty For Helping

Edit: Works Thank You Very Much :D

ORelio commented 2 years ago

If you put the same option twice, the second one will override the first one. Your config file likely had showxpbarmessages=false first then showxpbarmessages=true below 😉