mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Extend BrandInfo setting
Brand Information tells the server what client is being used to connect to the server, possible values are the following: - none (do not tell anything) - vanilla (tells that you are using MC vanilla) - mcc (tell that you are using MCC + version) This will usually not do anything unless plugins developers use this information for developing some MCC interoperability eg more chat interactions instead of using GUIs. This could also be used to block third party clients, that's why brand information can be disabled or changed to vanilla.
This commit is contained in:
parent
fe68e881fb
commit
8560753949
5 changed files with 53 additions and 23 deletions
|
|
@ -120,6 +120,9 @@ namespace MinecraftClient
|
|||
{
|
||||
if (handler.Login())
|
||||
{
|
||||
if (!String.IsNullOrWhiteSpace(Settings.BrandInfo))
|
||||
handler.SendBrandInfo(Settings.BrandInfo.Trim());
|
||||
|
||||
if (singlecommand)
|
||||
{
|
||||
handler.SendChatMessage(command);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue