Reference:
|
DisplayName = "Player Profile", |
|
Style = ButtonStyle.Link, |
|
Commands = new List<string> { "https://steamcommunity.com/profiles/{player.id}" }, |
|
PlayerMessage = string.Empty, |
|
ServerMessage = string.Empty, |
|
RequirePermissions = false, |
|
AllowedRoles = new List<Snowflake>(), |
|
AllowedGroups = new List<string>() |
|
}, |
|
new ImageMessageButtonCommand |
|
{ |
|
DisplayName = "Owner Profile", |
|
Style = ButtonStyle.Link, |
|
Commands = new List<string> { "https://steamcommunity.com/profiles/{dsl.entity.owner.id}" }, |
|
PlayerMessage = string.Empty, |
|
ServerMessage = string.Empty, |
|
RequirePermissions = false, |
|
AllowedRoles = new List<Snowflake>(), |
|
AllowedGroups = new List<string>() |
|
}, |
It would be awesome if there was a config setting or other option to change the links from
https://steamcommunity.com/profiles/{player.id}
and
https://steamcommunity.com/profiles/{dsl.entity.owner.id}
to
https://www.battlemetrics.com/rcon/players?filter%5Bsearch%5D={player.id}
and
https://www.battlemetrics.com/rcon/players?filter%5Bsearch%5D={dsl.entity.owner.id}
respectively for those of us who would prefer to pull up their BattleMetrics player profiles instead.
Thank you for a great plugin!
Reference:
Rust.DiscordSignLogger/src/Rust.DiscordSignLogger/Rust.DiscordSignLogger/Configuration/SignMessage.cs
Lines 31 to 50 in 3e31947
It would be awesome if there was a config setting or other option to change the links from
https://steamcommunity.com/profiles/{player.id}and
https://steamcommunity.com/profiles/{dsl.entity.owner.id}to
https://www.battlemetrics.com/rcon/players?filter%5Bsearch%5D={player.id}and
https://www.battlemetrics.com/rcon/players?filter%5Bsearch%5D={dsl.entity.owner.id}respectively for those of us who would prefer to pull up their BattleMetrics player profiles instead.
Thank you for a great plugin!