Kals CrossChat with Discord & Tribes

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
we dont have crashes. This is our Config:

Code:
{
    "ServerKey": "Va",
    "ShowMapName": true,
    "ShowSteamName": false,
    "Icons": {
    },
    "Colors": {
        "Admin": "1.0, 0.0, 0.0, 1.0",
        "Va": "0.0, 1.0, 0.0, 1.0",
        "Ra": "0.0, 1.0, 1.0, 1.0",
        "Ab": "0.6, 0.0, 0.8, 1.0",
        "Ex": "0.0, 0.0, 1.0, 1.0",
        "Cr": "1.0, 1.0, 0.0, 1.0",
    },
    "Mysql": {
        "MysqlHost":"hostname",
        "MysqlUser":"username",
        "MysqlPass":"password",
        "MysqlDB":"database"
    }
}

Code:
{
    "ServerKey": "Ra",
    "ShowMapName": true,
    "ShowSteamName": false,
    "Icons": {
    },
    "Colors": {
        "Admin": "1.0, 0.0, 0.0, 1.0",
        "Va": "0.0, 1.0, 0.0, 1.0",
        "Ra": "0.0, 1.0, 1.0, 1.0",
        "Ab": "0.6, 0.0, 0.8, 1.0",
        "Ex": "0.0, 0.0, 1.0, 1.0",
        "Cr": "1.0, 1.0, 0.0, 1.0",
    },
    "Mysql": {
        "MysqlHost":"hostname",
        "MysqlUser":"username",
        "MysqlPass":"password",
        "MysqlDB":"database"
    }
}

Code:
{
    "ServerKey": "Ab",
    "ShowMapName": true,
    "ShowSteamName": false,
    "Icons": {
    },
    "Colors": {
        "Admin": "1.0, 0.0, 0.0, 1.0",
        "Va": "0.0, 1.0, 0.0, 1.0",
        "Ra": "0.0, 1.0, 1.0, 1.0",
        "Ab": "0.6, 0.0, 0.8, 1.0",
        "Ex": "0.0, 0.0, 1.0, 1.0",
        "Cr": "1.0, 1.0, 0.0, 1.0",
    },
    "Mysql": {
        "MysqlHost":"hostname",
        "MysqlUser":"username",
        "MysqlPass":"password",
        "MysqlDB":"database"
    }
}

Code:
{
    "ServerKey": "Ex",
    "ShowMapName": true,
    "ShowSteamName": false,
    "Icons": {
    },
    "Colors": {
        "Admin": "1.0, 0.0, 0.0, 1.0",
        "Va": "0.0, 1.0, 0.0, 1.0",
        "Ra": "0.0, 1.0, 1.0, 1.0",
        "Ab": "0.6, 0.0, 0.8, 1.0",
        "Ex": "0.0, 0.0, 1.0, 1.0",
        "Cr": "1.0, 1.0, 0.0, 1.0",
    },
    "Mysql": {
        "MysqlHost":"hostname",
        "MysqlUser":"username",
        "MysqlPass":"password",
        "MysqlDB":"database"
    }
}

Code:
{
    "ServerKey": "Cr",
    "ShowMapName": true,
    "ShowSteamName": false,
    "Icons": {
    },
    "Colors": {
        "Admin": "1.0, 0.0, 0.0, 1.0",
        "Va": "0.0, 1.0, 0.0, 1.0",
        "Ra": "0.0, 1.0, 1.0, 1.0",
        "Ab": "0.6, 0.0, 0.8, 1.0",
        "Ex": "0.0, 0.0, 1.0, 1.0",
        "Cr": "1.0, 1.0, 0.0, 1.0",
    },
    "Mysql": {
        "MysqlHost":"hostname",
        "MysqlUser":"username",
        "MysqlPass":"password",
        "MysqlDB":"database"
    }
}

To Create and Add a Bot to you Discord and Setup the Chatbot, follow Thes Steps:

1. go to https://discord.com/developers/applications and Create a new App
2. Open the App and Edit it like u want (Logo, Name, Description)
3. Go to "Bot"
set the BOT to Private (Disable Public) and Copy the Token and Paste it in the config for the Bot.

4. Connect the Bot to your Discord: Go to "OAuth2"
and Check the "Bot" at SCOPES and give him the following Permissions:
- Manage Channels
- Send Messages
- Manage Messages
- Read Message History

otherwise give him "Administrator" but at you own risk!!!
Now copy the given Link under "Scopes" in your Browser and add the Bot to your Server.

Now insert in your config.json the leftover datas:
- ServerID (Right click on your Server)
- Channel ID for the Chat output (Right Click on the Channel)
- Your Database-Data from the CrossChat

- Done -

If you have all right the Bot connects to your Database and give the ingame-chat in the global Channel:

With the same config error 1114
{
"ServerKey": "Is",
"ShowMapName": true,
"ShowSteamName": false,
"Icons": {
},
"Colors": {
"Admin": "1.0, 0.0, 0.0, 1.0",
"Is": "0.0, 1.0, 0.0, 1.0",
"Ra": "0.0, 1.0, 1.0, 1.0",
"Ab": "0.6, 0.0, 0.8, 1.0",
"Ex": "0.0, 0.0, 1.0, 1.0",
"Cr": "1.0, 1.0, 0.0, 1.0",
},
"Mysql": {
"MysqlHost": "localhost",
"MysqlUser": "root",
"MysqlPass": "***",
"MysqlDB": "***"
}
}
View attachment 2936
SQL Server is running.
With discord messages are saved in sql.
View attachment 2937
Russian text is not visible correctly.
 
The config is different than what you posted now
There should be a "Maps" instead of "Colors"

I'll try to fix tribenames/characternames/russian tomorrow


If you are still having 1114 Errors make sure you have the newest config
 
With the same config error 1114
{
"ServerKey": "Is",
"ShowMapName": true,
"ShowSteamName": false,
"Icons": {
},
"Colors": {
"Admin": "1.0, 0.0, 0.0, 1.0",
"Is": "0.0, 1.0, 0.0, 1.0",
"Ra": "0.0, 1.0, 1.0, 1.0",
"Ab": "0.6, 0.0, 0.8, 1.0",
"Ex": "0.0, 0.0, 1.0, 1.0",
"Cr": "1.0, 1.0, 0.0, 1.0",
},
"Mysql": {
"MysqlHost": "localhost",
"MysqlUser": "root",
"MysqlPass": "***",
"MysqlDB": "***"
}
}
View attachment 2936
SQL Server is running.
With discord messages are saved in sql.
View attachment 2937
Russian text is not visible correctly.
my config in this post is the Old Config Format so it wont work anymore
 
The config is different than what you posted now
There should be a "Maps" instead of "Colors"

I'll try to fix tribenames/characternames/russian tomorrow


If you are still having 1114 Errors make sure you have the newest config

Code:
{
    "ServerKey": "server1", //I tried "The Island", "Island", "server1"
    "HideServerTagOnLocal": false,
    "ShowSteamName": false,
    "Icons": {
        "Admin": "/Game/PrimalEarth/UI/Textures/ServerAdminChat_Icon.ServerAdminChat_Icon",
        "Donor1": "/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/Icons/Aberration_Implant_Icon_Gamma.Aberration_Implant_Icon_Gamma",
        "Donor2": "/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/Icons/Implant_Icon_Beta.Implant_Icon_Beta",
        "Donor3": "/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/Icons/Implant_Icon_Alpha.Implant_Icon_Alpha"
    }, //should these groups be in "permissions"?
    "AdminColor": "1, 0.2, 0.2, 1",
    "VipColor": "1, 0.2, 0.2, 1", //should these groups be in "permissions"?
    "Maps": {
        "The Island": {
            "Label": "The Island", //should it be like "ServerKey"?
            "Color": "0.95, 0.62, 0.10, 1"
        },
        "Ragnarok": {
            "Label": "Ragnarok", //should it be like "ServerKey"?
            "Color": "0.66, 0, 0.66, 1"
        }
    },
    "Mysql": {
        "MysqlHost": "localhost", //I tried external, internal, localhost
        "MysqlUser": "root", //I tried a different username
        "MysqlPass": "***",
        "MysqlDB": "ark_server" //I tried other DB
    }
}
Result when using the config 1.1.3 version
View attachment 2938
 
All works fine now with the optional ServerKey! One little "Problem": The Letter "ß" and Letters like ö ä ü doesnt works correct. Ingame i can write with the ö ä ü Letters and other User on another Maps see it. On Discord or Tribenames with this Letters it doesnt works...

And my second Question: We want to use this Plugin for an bigger Cluster (12 Maps, something around 100 Players) and i want to buy it, pls tell me where?! =)
 
Last edited:
After a long time...
As you can see in the screenshot, russian capital letters and letters in the nickname are incorrectly selected.
It turned out that the problem was with standard MySQL server accounts.
And as it seems to me in this authentication plugin.
By creating a new account without this plugin, everything is working!
 
There is a paypal link on the description where you can buy the premium version

I'll dig in more on the broken letters today
 
I need to know what they were *trying* to say
and what the character/tribename is that is messing up

What permission groups are you trying to use for the icons?
Its probably a casing issue, i wrote it wrong on the instructions
It should be "Donor1" "Donor2" "Donor3"
Premium, Vip, Streamer
 
I will work on make custom tags from config instead of only hard coded admin&vip
 
Please add another payment options such as Patreon or credit card payment methods etc. Paypal is the best solution but I cant use Paypal due to government regulations :((((
 
Back
Top