Hello!
For all of you who need a plugin to connect a player's account (EOS-ID) to a Discord account, here it is.
It's important to note that this only adds the command to use a code generated by a Discord bot or other type of system (I do not provide the bot, only the plugin).
Importantly, this uses MySQL, not SQLite.
If you need a bot, you can use this from @anzety
Companion bot for ASA - ARKLinkDiscord + Rank Claiming
OR @x3R07YP3
ASA Linker - Github
Example:
For all of you who need a plugin to connect a player's account (EOS-ID) to a Discord account, here it is.
It's important to note that this only adds the command to use a code generated by a Discord bot or other type of system (I do not provide the bot, only the plugin).
Importantly, this uses MySQL, not SQLite.
If you need a bot, you can use this from @anzety
Companion bot for ASA - ARKLinkDiscord + Rank Claiming
OR @x3R07YP3
ASA Linker - Github
Example:
- Bot discord saves discordId and a random code to the db, example code: bG2X7g4W.
- You write in the chat /linkdiscord bG2X7g4W, and it will get the player's EOS ID and add it to the db.
- Link your EOS-ID to Discord
- Save in-game playerId
- Save character name
- Save tribe ID
- Save tribe name
- Option to add to a group when linking their EOS account to Discord.
- /linkdiscord code
- ArkLinkDiscord.Reload
- player_discord
JSON:
{
{
"Settings": {
"MessagesDuration": 10,
"NotificationMode": false,
"UsePermissions": false,
"PermissionGroupToAdd": "Verified",
"UpdatePlayerDataOnLogout": false,
"debug": false,
"MapName": "The Island",
"Discord": {
"EnableDiscord": true,
"SenderName": "MyWebHookName",
"WebHookUrl": "",
"CustomMessage": "The player with EOS-ID **{EOS}** and character Name **{CharacterName}** (*PlayerID: {PlayerId}*) linked his account from the map **{MapName}** (TribeID: {TribeId} / TribeName: {TribeName})"
}
},
"Messages": {
"LinkDiscordCmd": "/linkdiscord",
"Sender": "MyServer ",
"CmdUsage": "Use: /linkdiscord <code>",
"AccountAlredyLinked": "Your account is already linked to Discord.",
"InvalidCode": "That code does not exist, please try generating a new code.",
"AccountLinked": "Congratulations! Your account is now linked to Discord."
},
"Database": {
"MysqlHost": "localhost",
"MysqlPort": 3306,
"MysqlUser": "user",
"MysqlPass": "password",
"MysqlDB": "database"
}
}