Tribe Log Relay [Deleted]

Welcome!

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

SignUp Now!
Status
Not open for further replies.
Lethal updated ARK: Tribe Log Relay with a new update entry:

Tribe Log Relay v1.3

Changelog: (yes, I skipped 1.2 so I can have ATLAS and ARK versions on the same version number)

The reload command now works in the Console, RCON and Chat.
Config.json format completely revamped.

New Config options:
  • "DiscordPingCooldown"
    • Setting to 0 disables the new feature and TLR will act as it always has.
    • Setting to 60 for instance is the number of seconds that must pass before another @everyone can be sent to discord. The message will still be...

Read the rest of this update entry...
 
Couple of things;

Did some testing with the plugin, seems Permissions is not required to use /tlr <webhook> as I was able to do it succesfully without the permission I have in the config (will attach). If I was going to use this, I would only allow it for certain users (donators.)
"ServerName":"MTSArk.co.uk [Recovery#2]",
"Commands":{
"CommandText":"/TLR",
"UsePermissions":true,
"PermissionName":"TLR.add"

Second, wondered whats stopping people from creating hundreds of random webhooks on many discords as I was able to create multiple during testing? Is there any limits to amount of webhooks a user/tribe can create?

Finally, if permissions ends up working - or is infact working as mine is not set up correctly. What will happen to the configured webhook of said user if the Permission is removed from their Steam ID after they have already set it up? Does it continue to work after permission is revoked or will it stop transmitting to discord?

I am using MySQL for Permissions.

And yes - I am using v1.3.

Look forward to hearing your response.
 
Couple of things;

Did some testing with the plugin, seems Permissions is not required to use /tlr <webhook> as I was able to do it succesfully without the permission I have in the config (will attach). If I was going to use this, I would only allow it for certain users (donators.)
"ServerName":"MTSArk.co.uk [Recovery#2]",
"Commands":{
"CommandText":"/TLR",
"UsePermissions":true,
"PermissionName":"TLR.add"

Second, wondered whats stopping people from creating hundreds of random webhooks on many discords as I was able to create multiple during testing? Is there any limits to amount of webhooks a user/tribe can create?

Finally, if permissions ends up working - or is infact working as mine is not set up correctly. What will happen to the configured webhook of said user if the Permission is removed from their Steam ID after they have already set it up? Does it continue to work after permission is revoked or will it stop transmitting to discord?

I am using MySQL for Permissions.

And yes - I am using v1.3.

Look forward to hearing your response.

Were you logged in as an Admin when testing the commands with permissions enabled? I am pretty sure by default the "Admin" group gets all permissions and when you are in "enablecheats" mode you are in the "Admin" group automatically. When I tested this I removed the "*" permission from the Admin group to be sure.

Webhooks are player generated and have no affect on the server at all. Tribes can only assign a single webhook to their tribe id. So they can create as many as they want but they can only actively use 1 per tribe id anyways.

I didn't really build this or add permissions for it to be a pay feature so there isn't any auto cleanup of webhooks when someone loses the permission tier. They just can't change the webhook any longer when losing permissions. Tribe logs will still be sent to the webhook they set perviously.
 
Were you logged in as an Admin when testing the commands with permissions enabled? I am pretty sure by default the "Admin" group gets all permissions and when you are in "enablecheats" mode you are in the "Admin" group automatically. When I tested this I removed the "*" permission from the Admin group to be sure.

Webhooks are player generated and have no affect on the server at all. Tribes can only assign a single webhook to their tribe id. So they can create as many as they want but they can only actively use 1 per tribe id anyways.

I didn't really build this or add permissions for it to be a pay feature so there isn't any auto cleanup of webhooks when someone loses the permission tier. They just can't change the webhook any longer when losing permissions. Tribe logs will still be sent to the webhook they set perviously.
I thought of the Admin overriding the permission requirement. Thats why I had a non-admin friend test further and he was too able to create a webhook without the required permission listed in config.

Regarding clean up of webhooks, would this feature be possible if the permission is removed from a user? If so, would be great.
 
no this is not a good idea. permission is needed if you dont want you can disable it from settings jayhamilton.
 
I thought of the Admin overriding the permission requirement. Thats why I had a non-admin friend test further and he was too able to create a webhook without the required permission listed in config.

Regarding clean up of webhooks, would this feature be possible if the permission is removed from a user? If so, would be great.

I tested the permission code again and it is working properly. As the tribe owner with permissions turn on and not being assigned to the group with my configured "PermissionName" I was not able to set a webhook. Adding myself to that group I was then able to set a webhook. You may want to check this command against the non-admin friend's steam id. I bet he has the "Admins" group assigned to him.
Permissions.PlayerGroups <steam id>

I have no plans to add auto clean up based on permissions. Webhooks are not stored based on PlayerId or SteamID, only TribeID. The permissions system is to control which tribe members can add/change the webhook and that is all.

I did not implement any permissions around blocking messages if users do not have a permission any longer as the intent was not prevent anyone from using the plugin even though that is a potential side effect of adding the permissions system based on server owner choices.
 
Upcoming support for Cryopod style mods like Dino Storage v2 Soul Traps.
Additional tweaks to message performance.
 
We are running the latest version 1.3, but our users are saying that after 3 hours, they have to reset the webhook. From the tribes that are saying this, they are full 12-man tribes and are doing lots of raiding. Should we set Discord PingCooldown to something other than 0?

They are reporting that every time the server restarts, they have to reset the webhooks manually on all maps daily, and that it stops every now and then for several of the tribers.
 
We are running the latest version 1.3, but our users are saying that after 3 hours, they have to reset the webhook. From the tribes that are saying this, they are full 12-man tribes and are doing lots of raiding. Should we set Discord PingCooldown to something other than 0?

They are reporting that every time the server restarts, they have to reset the webhooks manually on all maps daily, and that it stops every now and then for several of the tribers.

The webhooks are stored in a database either MySql or Sqlite depending on what you are using. The only way to change a webhook is using the slash command. There is zero code that removes webhooks automatically or by user command. So, no idea how they would need to be reset

PingCooldown only affects how often "@everyone" can be added to the messages where 0 will always include it if the message is set to use them.

Sounds like the database or TribeLogRelay table is being deleted or something on server restarts? This is the only thing that would cause anyone to have to reset their webhooks.
 
It's still there. The issue we had with our old tribe log relay is really active raiding tribes would break their relays and we'd have to restart the service. I wonder if this is happening here.
 
It's still there. The issue we had with our old tribe log relay is really active raiding tribes would break their relays and we'd have to restart the service. I wonder if this is happening here.

You should be able to look in the TribeLogRelay table in the database and verify if the tribe is missing a webhook. If you can confirm they are missing then I can look further into the issue either way.
 
We're having our weekly chat with our pvp community now, I checked after restart, and all tribes had webhooks still. I asked them tonight how it's working and they say it just randomly stops for them. Some have to re-add the webhooks on restart, some haven't had to. It's really strange.
 
We're having our weekly chat with our pvp community now, I checked after restart, and all tribes had webhooks still. I asked them tonight how it's working and they say it just randomly stops for them. Some have to re-add the webhooks on restart, some haven't had to. It's really strange.

Discord webhooks can only receive 30 messages every 60 seconds. I send 5 messages (10,000 characters) every 10 seconds allowing 30 messages exactly per webhook. If tribes are using the same webhook for multiple purposes and they go beyond the 30 message limit it will timeout their webhook for some duration that is controlled by Discord.

I only recommend using a different webhook per map instead of using the same webhook across all maps.
 
hi Lethal, you do useful plugins thank you for all, would you consider to make a plugin which has chat filter(blacklist&whitelist) and chat cooldown delay capabilities for serverchats. There is one already but it hasnt cooldown feature and whitelist words options I think there is a need for that and would be useful for controlling the rapidly flowing chats with blacklisted and whitelisted wordlists.
 
hi Lethal, you do useful plugins thank you for all, would you consider to make a plugin which has chat filter(blacklist&whitelist) and chat cooldown delay capabilities for serverchats. There is one already but it hasnt cooldown feature and whitelist words options I think there is a need for that and would be useful for controlling the rapidly flowing chats with blacklisted and whitelisted wordlists.

Have you asked the author of the other plugin? If the plugin is open source I might look at adding features but not sure I want to create an exact copy with an additional feature from scratch.
 
Status
Not open for further replies.
Back
Top