LielXD / CS2-WeaponPaints-Website

Some website i've made for my cs2 server for the plugin cs2-weaponpaints and wanted to share this with the community.
https://cs2.lielxd.com
MIT License
57 stars 17 forks source link

[REQ] Option for multiple servers #23

Closed crashzk closed 9 months ago

crashzk commented 9 months ago

When we access the website without logging in via Steam we see the following information:

https://cs2.lielxd.com/

image

As you can see in the print by clicking on CS2.LIELXD.COM we connect to the server cs2. This option is editable in the translations file.

Would it be possible to add an option for multiple servers? It would still show a server, but whenever the page reloads it will show a new server to configure.

Example:

"login": {
        "header": "ZK Servidores™ - Melhores Servidores da Comunidade BR",
        "title": "COMPETITIVO",
        "title_link": "steam://connect/45.179.91.41:27176?appid=730",

        "title": "COMPETITIVO 2",
        "title_link": "steam://connect/45.179.91.41:27176?appid=730",

        "title": "COMPETITIVO 3",
        "title_link": "steam://connect/45.179.91.41:27176?appid=730",

        "title": "COMPETITIVO 4",
        "title_link": "steam://connect/45.179.91.41:27176?appid=730",

        "title_hover": "Conecte-se ao servidor",
        "footer": "Faça login através da Steam para continuar",
        "button": "Entrar com a Steam"
    },
LielXD commented 9 months ago

Added by new release.