Discord Chat ServerAPI Plugin

Unverified Discord Chat ServerAPI Plugin 1.8.8

No permission to download

Welcome!

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

SignUp Now!

Website User Information:

When a resource is labeled as "unverified," it means that the developer has not yet completed the necessary steps to become a verified resource. However, this tag should not be interpreted as a sign that the resource is dangerous or insecure. Rather, it serves as a reminder that the developer still needs to meet specific requirements to attain verified status. On the other hand, verified resources are those that come from developers who have already met these requirements. These resources can be considered trustworthy and reliable, as they are created by developers who actively engage with the community and consistently provide high-quality content. By using verified resources, users can ensure that they are accessing safe and secure content that has been thoroughly vetted.

Developer Information:

To obtain the verified tag, you must first meet the specific requirements mentioned in the link below. Once you have confirmed that you meet the requirements, the next step is to join our Discord Server. After joining the server, you must create an API support ticket and apply for the verified tag.

How to apply: Click Me To Learn More

Discord Chat ServerAPI Plugin

AsaApi.Plugins.DiscordChat​

ARK:SA In-game chat to Discord and Crossplay RCON support no thirdparty apps needed

Requirements​

  • ServerAPI Download/Install
  • Ofcourse the ARK:SA Server
  • Bot Creation
  • Discord Channel Integration WebHook

Features​

  • Able to send local chat on discord
  • Able to set prefix eg: [Discord]
  • Combination of WebHook and Discord Bot
    • WebHook (Sending Messages with Username and Separated per User)
    • Discord Bot (Fetching all messages in specific channel)
  • Fetch Interval can be change
  • Logging (Global, Tribe, Local, Ally)
  • Tribe chat color (Default green)
  • Direct Messaging /dm <name> <message> also can set the color
  • VIP Tribes messaging can relay to their own Discord server / channel
  • VIP players can set their own color
  • RCON chat is supported for those who crashing on normal RCON chat RCON cmd can be set on config.json
  • Plugin reloads both Console and RCON
    • DiscordChat.Reload
  • Custom Chat Icons
  • Platform Chat Icons [Generic, Steam, XBOX, PS]
  • Permissions
  • Show/Hide Steamname
  • Show/Hide Tribename
  • Show/Hide Platform text
  • Show/Hide Platform Icons
  • Enable/Disable Icons
  • Enable/Disable Admin Color/Icon
  • Discord messages emoticons and color
  • Cross server chat

Future updates​

  • Discord Linker support (able to use discord user nickname and avatar when sending messages)

Select ICONS​

  • ICONS.MD (PICK ONLY PRIMALEARTH for now)

RELOAD COMMANDS​

Both RCON and Console command:
Code:
DiscordChat.Reload

KNOWN ISSUES​

  • Console Log (No Message received) Doesn't affect anything - Still waiting for ServerAPI update

Blank Config​

JSON:
{
  "General": {
    "SendLocal": false,
    "WebHook": "",
    "BotImage": "",
    "FetchMessages": true,
    "BotToken": "",
    "ChannelId": "",
    "DiscordSenderPrefix": "[Discord]",
    "FetchInterval": 5,
    "LogChat": false,
    "LogTribe": false,
    "LogLocal": false,
    "LogAlly": false,
    "UsingDiscordLinker": true,
    "MapName": "[TI]",
    "MessageChatColor": "0,1,1,1",
    "MessageLocalChatColor": "1,0.5,1,1",
    "MessageAllyChatColor": "0.5,0.5,1,1",
    "MessageTribeChatColor": "1,1,0.5,1",
    "MessageDiscordColor": "0.4,0.3,0.1,1",
    "MapnameColor": "0.3,0.3,0.3,1",
    "DiscordColor": "0.5,1,0.5,1",
    "TribeChatColor": "0,1,0,1",
    "DMChatColor": "0.84,0.52,0,1",
    "AdminEnable": true,
    "AdminColor": "1,0,0,1",
    "AdminIcon": "/Game/PrimalEarth/UI/Textures/ServerAdminChat_Icon.ServerAdminChat_Icon",
    "DiscordIcon": "/Game/PrimalEarth/CoreBlueprints/Items/Consumables/Icons/SpoiledMeat_Icon.SpoiledMeat_Icon",
    "ShowMapname": true,
    "ShowSteamname": true,
    "ShowTribename": true,
    "ShowPlatform": true,
    "ShowIcons": true,
    "ShowPlatformIcon": true
  },
  "Crosschat": {
    "Enable": true,
    "ClearInterval": 10,
    "ClearMessages": true,
    "ShowMapname": true,
    "ShowTribeName": true,
    "ShowSteamName": true,
    "ShowIcons": true,
    "ShowPlatform": true,
    "MapnameColor": "0.3,0.3,0.3,1",
    "SenderNameColor": "0.5,1,0.5,1",
    "TribeNameColor": "0.5,1,0.5,1",
    "SteamNameColor": "0.5,1,0.5,1",
    "MessageColor": "0.4,0.3,0.1,1",
    "Database": "C:\\ASACrossChat.db",
    "CurrentServer": "TI",
    "Servers": "SE,Event"
  },
  "DiscordMsgFilters": [
    "@everyone",
    "@here"
  ],
  "GroupColors": {},
  "Tribes": {},
  "Colors": {},
  "GroupIcons": {},
  "Icons": {},
  "Messages": {
    "DMCmd": "/dm",
    "RconCmd": "DiscordChat",
    "DMerror": "Dirrect message error: Invalid Playername or Message"
  }
}



Config Commented​

JSON:
{
  "General": {
    "SendLocal": true, /* send local chats on discord global chat channel */
    "WebHook": "", /* Global chat messaging ingame to discord */
    "BotImage": "", /* Bot avatar */
    "FetchMessages": true, /* enabling fetch message */
    "BotToken": "", /* bot to fetch/send message on discord to game */
    "ChannelId": "", /* channel to recieve global chat ingame */
    "DiscordSenderPrefix": "[Discord]", /* Sender prefix */
    "FetchInterval": 5, /* chat fetch interval */
    "LogChat": false, /* this logs global chat on server api console */
    "LogTribe": false, /* this logs tribe chat on server api console */
    "LogLocal": false, /* this logs local chat on server api console */
    "LogAlly": false, /* this logs ally chat on server api console */
    "UsingDiscordLinker": true, /* automatically gets the player info if the user chat on discord */
    "MapName": "[TI]", /* map name for cluster */
    "MessageChatColor": "0,1,1,1", /* Message global color */
    "MessageLocalChatColor": "1,0.5,1,1", /* Message local color */
    "MessageAllyChatColor": "0.5,0.5,1,1", /* Message ally color */
    "MessageTribeChatColor": "1,1,0.5,1", /* Message tribe color */
    "MessageDiscordColor": "0.4,0.3,0.1,1", /* Message discord color */
    "MapnameColor": "0.3,0.3,0.3,1", /* Mapname color */
    "DiscordColor": "0.5,1,0.5,1", /* Prefix and name color */
    "TribeChatColor": "0,1,0,1", /* default green */
    "DMChatColor": "0.84,0.52,0,1", /* default orange */
    "AdminEnable": true, /* Enables Admin color and icon */
    "AdminColor": "1,0,0,1", /* default red */
    "AdminIcon": "/Game/PrimalEarth/UI/Textures/ServerAdminChat_Icon.ServerAdminChat_Icon", /* default icon */
    "DiscordChatIcon": "/Game/PrimalEarth/CoreBlueprints/Items/Consumables/Icons/SpoiledMeat_Icon.SpoiledMeat_Icon",
    "ShowMapname": true, /* Show mapname */
    "ShowSteamname": true, /* Show steamname */
    "ShowTribename": true, /* Show tribename */
    "ShowPlatform": true, /* Enables Platform eg: [Steam] */
    "ShowIcons": true, /* Enables Icons */
    "ShowPlatformIcon": true /* Enable Platform icons */
  },
  "Crosschat": {
    "Enable": true, /* Enable crosschat */
    "ClearInterval": 10, /* Every 10seconds */
    "ClearMessages": true, /* Enable ClearMessaging */
    "ShowMapname": true,
    "ShowTribeName": true,
    "ShowSteamName": true,
    "ShowIcons": true,
    "ShowPlatform": true,
    "MapnameColor": "0.3,0.3,0.3,1",
    "SenderNameColor": "0.5,1,0.5,1",
    "TribeNameColor": "0.5,1,0.5,1",
    "SteamNameColor": "0.5,1,0.5,1",
    "MessageColor": "0.4,0.3,0.1,1",
    "Database": "C:\\ASACrossChat.db", /* Path to your database */
    "CurrentServer": "TI", /* current server (this need to be the same caps as Servers */
    "Servers": "SE,SVR1,SVR2,EVENT" /* List of servers (don't include current server) if you only have two servers can be written like this "Servers": "SE"*/
  },
  "DiscordMsgFilters": [ /* Filter tag or specific messages (it won't send to discord if found) */
    "@everyone",
    "@here"
  ],
  "GroupColors": {
    "Registered": "1,0,1,1" /* Permission groups */
  },
  "Tribes": {
    "VIP TRIBENAME": {
      "WebHook": "", /* webhoook url for sending messages to specific channel */
      "BotImage": "", /* Tribe Bot avatar */
      "FetchMessages": true, /* enable fetch messages */
      "BotToken": "", /* if the VIP Tribe does their own bot and discord for fetching messages */
      "ChannelId": "", /* VIP Tribe own discord channel id */
      "DiscordSenderPrefix": "[Discord] " /* prefix before playername */
    },
    "VIP TRIBENAME 1": {
      "WebHook": "",
      "FetchMessages": true,
      "BotToken": "",
      "ChannelId": "",
      "DiscordSenderPrefix": "[Discord] "
    },
    "VIP TRIBENAME 2": {
      "WebHook": "",
      "FetchMessages": true,
      "BotToken": "",
      "ChannelId": "",
      "DiscordSenderPrefix": "[Discord] "
    }
  },
  "Colors": {
    "VIP Playername": "1,0,1,1", /* Red, Green, Blue, Alpha = opacity */
    "VIP Playername 1": "1,1,0,1",
    "VIP Playername 2": "1,1,1,1"
  },
  "GroupIcons": { /* Permission groups Icons */
    "Registered": "/Game/PrimalEarth/CoreBlueprints/Items/Consumables/Icons/SpoiledMeat_Icon.SpoiledMeat_Icon"
  },
  "Icons": {
    "ICON Player 1": "/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/Icons/Implant_Icon.Implant_Icon",
    "ICON Player 2": "/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/Icons/Implant_Icon_Gamma.Implant_Icon_Gamma",
    "ICON Player 3": "/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/Icons/Implant_Icon_Beta.Implant_Icon_Beta",
    "ICON Player 4": "/Game/PrimalEarth/CoreBlueprints/Items/Artifacts/Icons/Implant_Icon_Alpha.Implant_Icon_Alpha"
  },
  "Messages": {
    "DMCmd": "/dm", /* Direct message /dm playername */
    "RconCmd": "DiscordChat", /* this can be support different third party apps that uses rcon to send messages */
    "DMerror": "Dirrect message error: Invalid Playername or Message"
  }
}



Give Love!​

Buy me a coffee

Paypal

Source code​

As soon as I am comfortable with my coding I will release it to the public :)

bare minimum source


.
  • ss_ally_chat.png
    ss_ally_chat.png
    448.6 KB · Views: 553
  • ss_global_chat.png
    ss_global_chat.png
    515.6 KB · Views: 553
  • ss_local_chat.png
    ss_local_chat.png
    1.7 MB · Views: 530
  • ss_sample_dm.png
    ss_sample_dm.png
    70.5 KB · Views: 514
  • ss_sample_dm2.png
    ss_sample_dm2.png
    259.5 KB · Views: 455
  • ss_tribe_chat.png
    ss_tribe_chat.png
    667.4 KB · Views: 445
  • ss_icons.png
    ss_icons.png
    279 KB · Views: 405
  • ss_emoticons.png
    ss_emoticons.png
    288.8 KB · Views: 271
  • ss_msg_color.png
    ss_msg_color.png
    167.8 KB · Views: 381

Latest updates

  1. v1.8.8

    - Fix config coma error - added unicode support for different langauges
  2. v1.8.7

    Centralize database (Sqlite) for temporary chat Cluster server should be same machine required*...
  3. 1.8.6

    Changelogs: - Build with new version of api CROSSCHAT NOTES - Dont include current map or it...

Latest reviews

Hi. Recently the plugin started giving an error:

09/12/24 12:18 [DiscordChat][error] (C:\Users\ohmco\Documents\GitHub\AsaApi.Plugins.DiscordChatDev\src\Database\ChatTmpSqlLiteDB.h ChatSqlLite::ClearDBMessages) UpdateDBMessage Unexpected DB error attempt to write a readonly database


As if it refers to a hard-programmed database path... although the link to the database is specified in the settings and everything worked fine before.

"Database": "D:\\ASA\\ARK Survival Ascended Dedicated Server\\CrossChatDB\\ASACrossChat.db",
Hope there is a video tutorial.

I really want to use this plugin, but I don't know how to set it up.
Excellent plugins as always. works perfect. the ability to customize it is really easy to do and does not cause any issues as long as you know the formatting. 10/10
Cool plugin but no Unicode there (using v1.85 at review moment).
Hope it wouldn't be abandoned as most of plugins or modes.
Best wishes to author!
FANTASTIC!! This Dev is amazing. Chat works very well. Had issues with other plugins where xbox users couldnt see messages from discord. This one works 100%. Keep up the great work!!!
Fantastic. Takes the chat and improves it ten-fold. I can NOT go back to native chat after having this. Just really hoping for a toggle for the current 'always on' steam name/ID.
Monetize your ARK server
Tebex
Rogue Vikings Discord Server - Rogue Vikings Gaming Servers - Minecraft Prison Servers - Minecraft Creative Servers
Tempest Dedicated Servers
Back
Top