Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Server status custom buttons #46

Open
crashzk opened this issue Oct 24, 2024 · 1 comment
Open

[REQUEST] Server status custom buttons #46

crashzk opened this issue Oct 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@crashzk
Copy link

crashzk commented Oct 24, 2024

I configured the server status buttons as follows:

{
  "Update Time": 300,
  "Channel ID": "XXXXXXXXXX",
  "Message ID": "XXXXXXXXXXXXXXXX",
  "Server Status Embed": {
    "Content": "",
    "Title": "{Server.Name}",
    "Description": "> IP: `{Server.IP}`\n> Tempo restante: `{Server.Timeleft}`",
    "Fields": "👥 Jogadores;{Server.OnlinePlayers}/{Server.MaxPlayers};True|🗺️ Mapa;{Server.MapName};True",
    "Thumbnail": "",
    "Image": "{Server.MapImageUrl}",
    "HEX Color": "#ffad33",
    "Footer": "Última atualização",
    "Footer Timestamp": true,
    "Buttons": {
      "Join Button": {
        "Enabled": true,
        "Button Text": "Junte-se ao servidor",
        "Button URL": "{Server.JoinUrl}",
        "Button Color": 3,
        "Button Emoji": ":rocket:"
      },
      "Banlist Button": {
        "Enabled": false,
        "Button Text": "Banlist",
        "Button Color": 4,
        "Button Emoji": ":no_entry_sign:"
      },
      "Leaderboard Button": {
        "Enabled": false,
        "Server Name": "Public",
        "Button Text": "Leaderboard",
        "Button Color": 3,
        "Button Emoji": ":trophy:"
      },
      "Search Player Button": {
        "Enabled": false,
        "Server Name": "Public",
        "Button Text": "Search Players Stats",
        "Button Color": 1,
        "Button Emoji": ":bar_chart:"
      },
      "Skinchanger": {
        "Enabled": true,
        "Button Text": "Skinchanger",
        "Button URL": "https://cs2.zkservidores.com",
        "Button Color": 3,
        "Button Emoji": ":gear:"
      },
      "Adquira VIP": {
        "Enabled": true,
        "Button Text": "Adquira VIP",
        "Button URL": "https://vip.zkservidores.com",
        "Button Color": 3,
        "Button Emoji": ":star2:"
      }
    }
  },
  "ConfigVersion": 1
}

Did not create the Skinchanger and Adquira VIP buttons or change the color of Junte-se ao servidor.

image

@NockyCZ
Copy link
Owner

NockyCZ commented Oct 24, 2024

Custom buttons are not supported, but i can add it in the next update

@NockyCZ NockyCZ changed the title [BUG] Server status buttons do not change [REQUEST] Server status custom buttons Oct 24, 2024
@NockyCZ NockyCZ added the enhancement New feature or request label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants