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!
4 15942434075200183 Ragnarok Ragnarok 407959302 Ð—Ð»Ð°Ñ Lipisinka ____Lipisinka Злюка 1704390524 еÑть 0 0 0
5 15942434236068320 Ragnarok Ragnarok 865973100 ☣Рамзик☣ 23RUS ______ Южный 1866993553 ? 0 0 0
6 15942439599346463 Ragnarok Ragnarok 516179664 WooDi WooDi ÐŸÐ»ÐµÐ¼Ñ Ð¸Ð³Ñ€Ð¾ÐºÐ° WooDi 1104697022 2 0 0 0
7 15942439782567384 Ragnarok Ragnarok 516179664 WooDi WooDi ÐŸÐ»ÐµÐ¼Ñ Ð¸Ð³Ñ€Ð¾ÐºÐ° WooDi 1104697022 хммм 0 0 0
8 15942439891667817 Ragnarok Ragnarok 407959302 Ð—Ð»Ð°Ñ Lipisinka ____Lipisinka Злюка 1704390524 ? 0 0 0
 
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"
 
I'm very interested in trying your plugin. Im using a bot atm that shows messages from other servers in notices and this looks alot better. however looking at your configuration format.. how would i use 1 configuration file for all my 7 maps? im using 1 install directory for all the maps your configuration would force the same server key to all my maps and thus only work properly on the first map loaded.

I was using this plugin for a while https://arkserverapi.com/resources/cross-server-chat.65/
his configuration format let me set the ips of all the servers in 1 file and this way i only needed 1 configuration file.

But that plugin has been crashing my servers alot latly. if messages are using the ui character cap... the other servers (not the server where the message was sent but the others receiving) would crash 2-3 of my 6 other maps would crash. That plugin dev isnt answering in his form... so i had to remove that plugin and find an alternative.

Your supports tribes?? Thats cool.

maybe if your configuration had a main key using the MAPNAME (the name used to launch the server)
TheIsland, TheCenter, ScorchedEarth_P, Ragnarok, Aberration_P, Extinction, Valguero_P, Genesis

example: https://pastebin.com/4Hek0iB2

or if you had 1 config file per map.. if you use the default file name it loads for the current instance. otherwise it looks for a file with the MAPNAME in the prefix filename of the configuration? like:
TheIsland_config.json
TheCenter_config.json
Aberration_P_config.json
etc

thanks for your time i would def try this if i could hehe.
 
Last edited:
I could maybe rewrite to not use ServerKey at all, just use the current map name
then in the config provide something like
JSON:
{
    "Maps": {
        "Ragnarok": {
            "Label": "Rag",
            "Color": "0.95, 0.62, 0.10, 1"
        },
        "TheCenter": {
            "Label": "Center",
            "Color": "0, 1, 1, 1"
        },
        "Aberration_P": {
            "Label": "Ab",
            "Color": "0.66, 0, 0.66, 1"
        }
    }
}

I'll try to work on that after work today
 
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:
 
Last edited:
kalendell updated Kals CrossChat with Discord & Tribes with a new update entry:

Config changes

Modified plugin config.json to be the same for all maps

The Colors section has been removed and replaced with:

JSON:
"AdminColor": "1, 0.2, 0.2, 1",
    "VipColor": "1, 0.2, 0.2, 1",
    "Maps": {
        "Ragnarok": {
            "Label": "Ragnarok",
            "Color": "0.95, 0.62, 0.10, 1"
        },
        "Aberration_P": {
            "Label": "Aberration",
            "Color": "0.66, 0, 0.66, 1"
        },
        "CrystalIsles": {
            "Label": "Crystal"...

Read the rest of this update entry...
 
it is posible to make it suport the unicode UTF-8 (russian)?
 
it is posible to make it suport the unicode UTF-8 (russian)?

as u see - in the last update he made russian support:

"
Added support for Russian letters.
Added option for "ShowSteamName" in plugin config.
Added option for "ShowSteamName" in discord bot config.
Fixed a discord bot crashing issue.
Removed MaxMessageLength option from discord, its set constant now.
"
 
View attachment 2919
as u see - in the last update he made russian support:

"
Added support for Russian letters.
Added option for "ShowSteamName" in plugin config.
Added option for "ShowSteamName" in discord bot config.
Fixed a discord bot crashing issue.
Removed MaxMessageLength option from discord, its set constant now.
"
 
Hi, i wanted to test your CrossChat Plugin but i become this Error Message:
07/10/20 16:40 [KalsCrossChat][error] ServerKey must be set in config.json
07/10/20 16:40 [API][warning] (API::pluginManager::LoadAllPlugins) Failed to load plugin - KalsCrossChat

My Config:

{
"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"
},
"AdminColor": "1, 0.2, 0.2, 1",
"VipColor": "1, 0.2, 0.2, 1",
"Maps": {
"The Island": {
"Label": "The Island",
"Color": "0.95, 0.62, 0.10, 1"
},
"Ragnarok": {
"Label": "Ragnarok",
"Color": "0.66, 0, 0.66, 1"
},
"CrystalIsles": {
"Label": "Crystal",
"Color": "0, 1, 1, 1"
}
},
"Mysql": {
"MysqlHost": "localhost",
"MysqlUser": "XXXXX",
"MysqlPass": "XXXXXX",
"MysqlDB": "XXXXX"
}
}


And my Second Question: We have two Ragnarok Maps on our Cluster, your Plugin can show that?


Edit: Its not an issue with our MySQL, the DiscordBot successfully load the DB Connection and is ready but cant work without the Clusterchat Plugin
 
Last edited:
Hi, i wanted to test your CrossChat Plugin but i become this Error Message:
07/10/20 16:40 [KalsCrossChat][error] ServerKey must be set in config.json
07/10/20 16:40 [API][warning] (API::pluginManager::LoadAllPlugins) Failed to load plugin - KalsCrossChat

My Config:

{
"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"
},
"AdminColor": "1, 0.2, 0.2, 1",
"VipColor": "1, 0.2, 0.2, 1",
"Maps": {
"The Island": {
"Label": "The Island",
"Color": "0.95, 0.62, 0.10, 1"
},
"Ragnarok": {
"Label": "Ragnarok",
"Color": "0.66, 0, 0.66, 1"
},
"CrystalIsles": {
"Label": "Crystal",
"Color": "0, 1, 1, 1"
}
},
"Mysql": {
"MysqlHost": "localhost",
"MysqlUser": "XXXXX",
"MysqlPass": "XXXXXX",
"MysqlDB": "XXXXX"
}
}


And my Second Question: We have two Ragnarok Maps on our Cluster, your Plugin can show that?


Edit: Its not an issue with our MySQL, the DiscordBot successfully load the DB Connection and is ready but cant work without the Clusterchat Plugin

2 Servers with the same Map? No The Plugin cannot. Why? The Plugin see the Map and not the Servername oder Server ID.

Too bad

best regards
 
Hi, i wanted to test your CrossChat Plugin but i become this Error Message:
07/10/20 16:40 [KalsCrossChat][error] ServerKey must be set in config.json
07/10/20 16:40 [API][warning] (API::pluginManager::LoadAllPlugins) Failed to load plugin - KalsCrossChat

My Config:

{
"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"
},
"AdminColor": "1, 0.2, 0.2, 1",
"VipColor": "1, 0.2, 0.2, 1",
"Maps": {
"The Island": {
"Label": "The Island",
"Color": "0.95, 0.62, 0.10, 1"
},
"Ragnarok": {
"Label": "Ragnarok",
"Color": "0.66, 0, 0.66, 1"
},
"CrystalIsles": {
"Label": "Crystal",
"Color": "0, 1, 1, 1"
}
},
"Mysql": {
"MysqlHost": "localhost",
"MysqlUser": "XXXXX",
"MysqlPass": "XXXXXX",
"MysqlDB": "XXXXX"
}
}


And my Second Question: We have two Ragnarok Maps on our Cluster, your Plugin can show that?


Edit: Its not an issue with our MySQL, the DiscordBot successfully load the DB Connection and is ready but cant work without the Clusterchat Plugin
you need to add a line
Code:
    "ServerKey": "Island",
the developer seems to have accidentally deleted it
 
View attachment 2922
help with this error...
Code:
{
    "ServerKey": "The Island",
    "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"
    },
    "AdminColor": "1, 0.2, 0.2, 1",
    "VipColor": "1, 0.2, 0.2, 1",
    "Maps": {
        "Ragnarok": {
            "Label": "Ragnarok",
            "Color": "0.95, 0.62, 0.10, 1"
        },
        "Aberration_P": {
            "Label": "Aberration",
            "Color": "0.66, 0, 0.66, 1"
        },
        "The Island": {
            "Label": "The Island",
            "Color": "0.66, 0, 0.66, 1"
        },
        "CrystalIsles": {
            "Label": "Crystal",
            "Color": "0, 1, 1, 1"
        }
    },
    "Mysql": {
        "MysqlHost": "localhost",
        "MysqlUser": "root",
        "MysqlPass": "***",
        "MysqlDB": "***"
    }
}
 
View attachment 2922
help with this error...
Code:
{
    "ServerKey": "The Island",
    "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"
    },
    "AdminColor": "1, 0.2, 0.2, 1",
    "VipColor": "1, 0.2, 0.2, 1",
    "Maps": {
        "Ragnarok": {
            "Label": "Ragnarok",
            "Color": "0.95, 0.62, 0.10, 1"
        },
        "Aberration_P": {
            "Label": "Aberration",
            "Color": "0.66, 0, 0.66, 1"
        },
        "The Island": {
            "Label": "The Island",
            "Color": "0.66, 0, 0.66, 1"
        },
        "CrystalIsles": {
            "Label": "Crystal",
            "Color": "0, 1, 1, 1"
        }
    },
    "Mysql": {
        "MysqlHost": "localhost",
        "MysqlUser": "root",
        "MysqlPass": "***",
        "MysqlDB": "***"
    }
}

SQL Server is running??
 
I removed the ServerKey option and made it default to map name instead
I'm going to re-add it as an "optional override" to use instead of map name


For the russian i still need a list of characters that are not working (not the garbage that is spit out instead)

The alphabet that was given to me is working
 
I removed the ServerKey option and made it default to map name instead
I'm going to re-add it as an "optional override" to use instead of map name


For the russian i still need a list of characters that are not working (not the garbage that is spit out instead)

The alphabet that was given to me is working
the chat Letters works fine,but the character/tribe names does not work
and on the Discord bot both doesnt work (character/tribe and the messeges)
 
Back
Top