Skip to content

Feature suggestion: add option to change links to BattleMetric player profiles instead of Steam profiles #2

@tschetschpi2

Description

@tschetschpi2

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions