ARK: Tribe Log Relay

ARK: Tribe Log Relay 2.04

No permission to download
1605877967728.png

(Config Update Required)
Updated config to have the new discord webhook formatting.
Fix for 1114 loading error.

Attachments

  • Like
Reactions: bladeofdestiny
Bug fix for gestation spamming a birth on lower rate servers.
  • Like
Reactions: wngadmin
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__ "
        }
    },
1595476166661.png


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 SQLite issue introduced in version 1.70 if installing for the first time.
Fixed issue with @everyone not working when using the "AddCodeBlocks" option.
Added new option "AddCodeBlocks" to the "Discord" section to color the text in messages like this...

1595196445677.png
Top