Jump to content

Cross Ark Chat Program now with discord bot and linux support


Spikeydragoon

Recommended Posts

Due to major changes i will be skipping to 5.0. Make sure to use all new config files as things have changed a lot.

  • Updated _configuration.json to be cleaner and more grouped for settings.
  1. Servers can now share settings with other servers.
  2. Tribes can now share settings with other tribes.
  3. Moved all log options to the application settings section.
  4. Changed Map to NameTag in server settings.
  5. Servers and tribes now have a setting to use option this allows you to share settings. You can have as many setting groups as you want. You can still do 1 setting per server.
  6. Prefixs are now set to their own group. This will allow you to send messages to a list of servers instead of just one servers at a time. You can set up as many server groups as you want. You can still put only one server in the list per prefix.

 

  • Updated _timecommands.json to me more customizable.
  1. Commands can now be send to a list of servers instead of one at a time. Note you can still put just 1 server in the list or just type all to send to all servers.
  • Added new auto reconnect feature.
  1. You can now start the bot even with the server offline and once the bot is able to connect to the server it will add it to the message que.
  2. If a server losses connection the bot will now remove it from the message que put it in the auto reconnect que until it can connect again. Once its able to connect it will re-add it to the message que.
  • Added option to disable sending to chat and discord separate from the prefixs. This means you no longer have to enable prefix just to turn cross chat off.
  1. This will allow you to turn cross chat off while still getting messages in discord or using the other features of the bot.
  2. This will allow you to turn cross chat for discord off while still getting logs and rcon commands sent to discord.
  • Added new _translation.json file.
  1. This will allow you to change everything the bot replies with to what ever message/language you want.
  • Added option to easily edit messages for discord markdowns per server.
  1. ServerTag is the mark down before the server name
  2. ServerPlayerTag is the mark down after the server name and before the player name.
  3. PlayerChatTag is the markdown after the player name and before the chat message.
  4. ChatTag is the markdown after the chat message.
  5. This allows you do add messages or markdowns before and after every part of the message.
  • Added option to hide server name from both in-game and discord. This is settable per server.
  • Fixed player names with spaces not showing up properly.
  • Fixed player counter this should now properly show 0 when all players are off. Note this still uses rcon so if server still says a player is online so will this count.
  • Fixed prefixs and game commands they should now work with atlas.
Link to comment
Share on other sites

  • Replies 72
  • Created
  • Last Reply

v5.1 is now live to fix some bugs.
Only patchs in this release so you can reuse the config folder from v5.0

  • Fixed issue where only server to server messages wouldnt work when hidenametag was set to true.
  • Fixed Discord markdowns not working correctly.
  • Fixed server name tag being deleted for admin commands.
  • Fixed issue where messages from discord was only going to the first server in the list when using shared channel ids.
  • Fixed stop command only working first time its ran.
Link to comment
Share on other sites

  • 2 weeks later...

v5.3 is now live

No config changes in this release so can copy your old config folder from 5.2 over.

  • Fixed player counter not tracking properly. It should now correctly show count per server and total count for all channel and reset back to 0 when no one is online.
  • Fixed colors not correctly applying in discord tribe log embeds.
  • Added console logging for servers when being added and removed from the auto reconnect que.
 
Link to comment
Share on other sites

v5.4 is now live

No config changes in this release so can copy your old config folder from 5.3 over.

  • Fixed issue with discord role names matching when they shouldn't. Bot now matches the role name letter for letter and is no longer case sensitive. So admin will match Admin however it no longer matches Admin to ArkAdmin.
Link to comment
Share on other sites

  • 2 weeks later...

v5.5 is now live.

No config changes in this release so can copy your old config folder from 5.4 over.

  • Fixed timed commands running more than one when having multi commands active.
  • Fixed commands not listing servers when over 25 active at one time. Servers are now paged by 10 servers at a time. You still use it the same way just have pages to view now.
Link to comment
Share on other sites

  • 4 weeks later...

Есть вопрос - как настроить, чтобы кросс-чат работал по префиксам серверов на разные каналы в Discord?

Т.е. чтобы было 2 канала в Discord для серверов PvE и PvP раздельно?

  "PrefixGroups": [
    {
      "ChatPrefix": "/pve",
      "ServerList": [
        "Ragnarog",
        "Center",
        "Island"
      ]
    },
    {
      "ChatPrefix": "/pvp",
      "ServerList": [
        "HOPE"
      ]
    }
  ],
 

image.thumb.png.d1b1b243dec777b716234ca46a0b44c0.png

Link to comment
Share on other sites

@GAVsi Looks like you have it set up properly just make sure to set "UsePrefixToSendChat": true, so when people use the prefix it will go to those channels.

However you can just set those servers to use the same discord channel.

So set all pvp servers to setting 1 and all pve servers to setting 2 this will allow them to go to just those discord channels.

For faster support tho since im not on here often is to join the discord server.

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

"ServerSettings": [
    {
      "SettingNumber": 1,
      "ServerTag": "",
      "ServerPlayerTag": ":",
      "PlayerChatTag": ":",
      "ChatTag": "",
      "HideNameTag": false,
      "DiscordChannelId": PVPServersChannelId
    },
    {
      "SettingNumber": 2,
      "ServerTag": "",
      "ServerPlayerTag": ":",
      "PlayerChatTag": ":",
      "ChatTag": "",
      "HideNameTag": false,
      "DiscordChannelId": PVEServersChannelID
    }
  ],

Then give all pvp servers setting to use of 1 and pve setting to use of 2.

Link to comment
Share on other sites

v5.7 is now live.

Config is new so make sure to use the new files.

  • Added option in config to allow the bot to interact with other discord bots. Note this should remain disabled unless you know what your doing.
  • Added option in config to show either the discord username or nickname when sending messages to a server from discord.
  • Fixed issue with discord messages being blocked/timing out due to a delay from the ark servers.
Link to comment
Share on other sites

  • 1 month later...

v5.8 is now live

Config files are the same so you can just copy your old config folder over.

  • Fixed bot sending messages from itself back to the server again when IgnoreOtherBots was set to false.


Be sure to check out the bot's official host ServerBlend.com.
Affiliate Disclosure: By using this link CrossArkChat will receive a small commission at no additional cost to you, if you sign up for the service.

Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...
  • 1 month later...

v5.9 is now live

Config files are the same so you can just copy your old config folder over.

Windows
https://www.dropbox.com/s/kgwf36tzv3yvt6b/CrossArkChat.zip?dl=0

Linux
https://www.dropbox.com/s/30c759smqzd7xzb/CrossArkChatLinux.zip?dl=0

Arm-linux based
https://www.dropbox.com/s/4xo6u4qz4775u4r/CrossArkChatArm.zip?dl=0

* Fixed bot sending messages to discord when send to server was false however discord prefix was enabled but the prefix was wrong.

Be sure to check out the bot's official host [ServerBlend.com](https://serverblend.com/my/aff.php?aff=175).  
Affiliate Disclosure: By using this link CrossArkChat will receive a small commission at no additional cost to you, if you sign up for the service.

Link to comment
Share on other sites

  • 2 months later...

I've been using this on my cluster for about a week now and it's been working great. Highly recommended!!

I've setup cross chat between the servers and scheduled dino wipes. I'm going to start looking into the Discord stuff shortly. I'm primarily interested in join and leave notifications, no chat. Is that easy to set up?

Link to comment
Share on other sites

  • 3 months later...
On 5/4/2020 at 2:22 PM, DrunkenZumbie said:

Sorry if this has been asked already, but I didn't see it. How difficult is it to get this working with a cluster hosted through G-Portal?

If you have a place to host the program it will work fine with ANY Steam Ark host that allows rcon. Everything it does is through rcon to the servers. You'd have to ask gportal if they can host the bot. If they don't you just need a Windows or Linux machine available that runs 24/7 connected to the Internet. You can rent a starter VPS from a place like OVH for about $3.50/month that would work. Or even buy an older model Raspberry Pi off of eBay to run it from home.

Link to comment
Share on other sites

  • 7 months later...
  • 1 month later...
On 12/21/2020 at 6:09 PM, Xenu said:

We're currently having issues getting this set up for our server. We're trying to figure it out but this kind of stuff confuses us. Anyway you could help us?

 

I just set this up on my cluster following the Github instructions provided by Spikeydragoon. It took bout 5 minutes tops. Only thing I wish I knew how to do, was to get the text to appear as though it does in regular chat. With this basic setup, xserver global chat appears as server logs (yellow). 

"

You only have to change a few things to make the bot work. Follow the install guides first before this. Note this is just a fast guide to make the basic cross chat work with no extra settings.

  1. In the _configuration.json file you should know if your running discord or not. If you are not and only want cross chat then at the top set UseDiscord to false. Otherwise leave to true. You can ignore the rest of those settings for now.
  2. Add your servers to the _configuration.json file. IE
{
      "NameTag": "Island", "You any name you want to use i prefer map name."
      "IP": "192.168.1.2", "This should be your lan ip if on same network or public ip of the server if rented."
      "RconPort": 32331, "Servers default rcon port normally."
      "QueryPort": 27015, "Server default query port normally."
      "Password": "BestPasswordEver", "This must be the admin password for the server."
      "SettingToUse": 1, "default setting to use"
      "Active": true "This must be true for bot to use the server otherwise it ignores it. Use false for your servers you dont run often like event servers and just switch them to true when your ready to use them again note bot must be rebooted after change."
},
  1. If you set UseDiscord to false boom you are done start the CrossArkChat.exe up and it will start working. If you have UseDiscord to true then a few more steps are needed.
  2. Go to Discord Settings at bottom and set a discord CommandPrefix or can leave default of d! this is what you type before your command to use rcon and bot commands in discord only.
  3. Set you discordbottoken this should be done if you followed this discord setup if you havent go do that first to see how to do this.
  4. Under ServerChatSettings set the chatdiscordchannelid this is the discord channel all your servers chat will go to using the default settings. Note you should not run commands here make a separate channel for that.
  5. Make sure SendChatToDiscord is set to true then boom your done start the CrossArkChat.exe and watch chat flow to discord.

For more advance settings look at all the Configuration for filename guides this goes over the settings in detail. The above is just a quick start to make chat work on a basic level."

Link to comment
Share on other sites

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...