ATLAS: Tribe Log Relay

ATLAS: Tribe Log Relay 2.11

No permission to download
2.10
Fixed Unicode TribeNames not displaying properly in the discord messages.
The TribeName will look correct in the database now also.
Fixed Unicode TribeNames not displaying properly in the discord messages.
The TribeName will look correct in the database now also.
Changed to using collation utf8mb4_general_ci to support MySQL and MariaDB

2.11
Fixed issues with adding webhooks.
Fixed Unicode character support not working reliably with Keywords.
Changed update timer.
Updated config to have the new discord webhook formatting.
Fix for 1114 loading error.
Code optimization for the new naming system that was added.
Fixed the config included with 1.91 I had forgotten to update the actual config for that release. Which would prevent the plugin from loading properly.
Bug fix for grid coordinates I had them backwards it seems.
Bug fix for gestation spamming a birth on lower rate servers.
New "TextTransformer" system that will transform the text before sending to Discord leaving tribe logs looking clean and Discord looking the way you want. When using "AddCodeBlocks":true emojis will not work within code blocks. "EnableRegex" is an advanced option that allows for complete customization of the text used to display in discord. The example I built below transforms the standard "unclaimed" message in ARK to the one you see in the examples below.

JSON:
    "TextTransformer":{
        "Enabled":true, //Enables this feature however "AddCodeBlocks":true, will prevent discord emoji's from displaying
        "TribeMessages":true, //Will modify tribe messages
        "AdminMessages":true, //Will modify admin messages
        "AdminPublicMessages":true, //Will modify adamin public messages
        "EnableRegex":true, //Enable advanced regex feature
        "Regex":{ //If a match is found it will not process anything from the "Replace" list
            "^(.*:)\\s(\\w+)\\sunclaimed\\s('.*')!$":"$1 __$3__ was unclaimed by **$2**!"
        },
        "Replace":{ //Keyword (left) will be replaced the keyword (right)
            " froze ":" :cold_face: **froze** ",
            " killed ":" :knife: ",
            " killed!":" :knife:!",
            " baby ":" :baby: baby :baby: ",
            " unfroze ":" :hotsprings: __unfroze__ "
        }
    },
View attachment 3056

Also included is a new Atlas only change:
"ServerNameFormat":"{0} {1} - {2}", //0=ServerName, 1=GridCoordinate (A1), 2=GridName (Tropical N Freeport)
I have also included a commented_config.json to help explain the config options.

Please note that I have removed the abilty to reload the plugin. You can accomplish the same thing by doing the following from RCON:
1) plugins.unload TribeLogRelay
2) Wait 15 seconds so the messaging threads can close properly
3) plugins.load TribeLogRelay
Fixed issue with @everyone not working when using the "AddCodeBlocks" option.
Top