Skip to content

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

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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